[go: up one dir, main page]

CN105656665A - Switch port configuring method and switch - Google Patents

Switch port configuring method and switch Download PDF

Info

Publication number
CN105656665A
CN105656665A CN201510990700.4A CN201510990700A CN105656665A CN 105656665 A CN105656665 A CN 105656665A CN 201510990700 A CN201510990700 A CN 201510990700A CN 105656665 A CN105656665 A CN 105656665A
Authority
CN
China
Prior art keywords
port
configuration data
data document
key
configuration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510990700.4A
Other languages
Chinese (zh)
Inventor
郝鹏
于治楼
郑亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Group Co Ltd
Original Assignee
Inspur Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Group Co Ltd filed Critical Inspur Group Co Ltd
Priority to CN201510990700.4A priority Critical patent/CN105656665A/en
Publication of CN105656665A publication Critical patent/CN105656665A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric
    • H04L49/253Routing or path finding in a switch fabric using establishment or release of connections between ports

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

本发明提供一种交换机端口配置的方法和交换机,该方法包括:定义数据文档模板,所述数据文档模板包含键值对,并确定包含的各个端口;根据所述数据文档模板和包含的键值对,为所述各个端口建立对应的配置数据文档;将存在于所述配置数据文档中的键值对中的键值设置为默认值,并存储所述配置数据文档;确定所有配置信息以及与第一节点连接的所述各个端口中的第一端口;根据所述配置信息中与所述第一端口相关的端口配置信息,更改所述第一端口对应的配置数据文档中的键值,有效地提高了交换机端口配置效率。

The present invention provides a method for port configuration of a switch and a switch. The method includes: defining a data file template, the data file template includes a key-value pair, and determining each port included; according to the data file template and the included key value Yes, establish a corresponding configuration data file for each port; set the key value in the key-value pair in the configuration data file as a default value, and store the configuration data file; determine all configuration information and The first port among the ports connected to the first node; according to the port configuration information related to the first port in the configuration information, change the key value in the configuration data file corresponding to the first port, effectively This greatly improves the efficiency of switch port configuration.

Description

一种交换机端口配置的方法和交换机Method and switch for switch port configuration

技术领域 technical field

本发明涉及交换机应用技术领域,特别涉及一种交换机端口配置的方法和交换机。 The invention relates to the technical field of switch applications, in particular to a switch port configuration method and switch.

背景技术 Background technique

交换机能够通过其自身存在的多个端口为与这多个端口连接的网络节点提供电信号通路。为了保证电信号正常传输,需要对各个与节点连接的端口进行配置。 A switch can provide electrical signal paths for network nodes connected to the multiple ports through its multiple ports. In order to ensure the normal transmission of electrical signals, it is necessary to configure each port connected to the node.

目前,交换机端口配置的方式主要是通过建立多个数据表,将配置信息存储到这多个数据表中,并构建这多个数据表中数据间的关联关系。例如:一个交换机有10个端口,其中,有5个端口与节点相连,那么,将这10个端口号等基本信息存储在数据表1中,并将与节点相连的5个端口的IP存储到数据表2中,与节点相连的5个端口的工作模式等配置属性存储到表3中等等,然后,建立数据表1中端口a的基本信息与数据表2中端口a的IP以及数据表2中端口a的配置属性间的关联关系。那么,当数据表个数较多时,关联关系的建立将消耗较长时间,导致交换机端口配置效率降低。 At present, the switch port configuration method is mainly to establish multiple data tables, store the configuration information in the multiple data tables, and construct the association relationship between the data in the multiple data tables. For example: a switch has 10 ports, of which 5 ports are connected to nodes, then, store the basic information such as these 10 port numbers in data table 1, and store the IPs of 5 ports connected to nodes in In data table 2, the configuration attributes such as the working mode of the five ports connected to the node are stored in table 3, etc., and then, the basic information of port a in data table 1 and the IP of port a in data table 2 and data table 2 are established. The association relationship between the configuration attributes of port a in the middle. Then, when the number of data tables is large, the establishment of the association relationship will take a long time, resulting in a decrease in the efficiency of switch port configuration.

发明内容 Contents of the invention

本发明提供一种交换机端口配置的方法和交换机,能够有效地提高交换机端口配置效率。 The invention provides a switch port configuration method and a switch, which can effectively improve the port configuration efficiency of the switch.

一种交换机端口配置的方法,定义数据文档模板,所述数据文档模板包含键值对,并确定包含的各个端口;还包括: A method for port configuration of a switch, which defines a data document template, the data document template includes a key-value pair, and determines each port included; it also includes:

根据所述数据文档模板和包含的键值对,为所述各个端口建立对应的配置数据文档; Establish corresponding configuration data files for each port according to the data file template and the included key-value pairs;

将存在于所述配置数据文档中的键值对中的键值设置为默认值,并存储所述配置数据文档; setting the key value in the key value pair existing in the configuration data file as a default value, and storing the configuration data file;

确定所有配置信息以及与第一节点连接的所述各个端口中的第一端口; determining all configuration information and a first port among the ports connected to the first node;

根据所述配置信息中与所述第一端口相关的端口配置信息,更改所述第一端口对应的配置数据文档中的键值。 According to the port configuration information related to the first port in the configuration information, the key value in the configuration data file corresponding to the first port is changed.

优选地,该方法进一步包括: Preferably, the method further comprises:

当与第二节点连接的第二端口发生故障时,将所述第二节点连接到第三端口; connecting the second node to a third port when a second port connected to the second node fails;

将所述第二端口对应的配置数据文档中的键值写入所述第三端口对应的配置数据文档中的键值对。 Writing the key-value in the configuration data file corresponding to the second port into the key-value pair in the configuration data file corresponding to the third port.

优选地,该方法进一步包括: Preferably, the method further comprises:

获取包含所述各个端口信息的端口列表; Obtain a port list including the information of each port;

在所述将存在于所述配置数据文档中的键值对中的键值设置为默认值之后,在所述存储所述配置数据文档之前,进一步包括:将所述端口列表中各个端口的端口号写入所述各个端口对应的配置数据文档中; After said setting the key values in the key-value pairs in the configuration data file as default values, before storing the configuration data file, it further includes: setting the port of each port in the port list No. is written into the configuration data file corresponding to each port;

在所述确定第一节点连接的所述各个端口中的第一端口之后,在所述更改所述第一端口对应的配置数据文档中的键值之前,进一步包括:根据各个配置数据文档中的端口号,确定所述第一端口对应的配置数据文档。 After determining the first port among the ports connected to the first node, before changing the key value in the configuration data file corresponding to the first port, further comprising: according to each configuration data file The port number is used to determine the configuration data file corresponding to the first port.

优选地,在所述将所述第二节点连接到第三端口之前,进一步包括:确定所述各个端口的占用情况,并根据所述占用情况,提供空闲端口或者备用端口; Preferably, before connecting the second node to the third port, it further includes: determining the occupancy of each port, and providing an idle port or a spare port according to the occupancy;

所述将所述第二节点连接到第三端口,包括:将所述第二节点连接到所述空闲端口或者所述备用端口中的第三端口。 The connecting the second node to the third port includes: connecting the second node to the idle port or the third port in the standby port.

优选地,在所述将所述第二节点连接到第三端口之后,在所述将所述第二端口对应的配置数据文档中的键值写入所述第三端口对应的配置数据文档中的键值对之后,进一步包括: Preferably, after the second node is connected to the third port, after the key value in the configuration data file corresponding to the second port is written into the configuration data file corresponding to the third port After the key-value pairs, further include:

接收到连接切换命令; A connection switching command is received;

解析所述连接切换命令中所述第二端口和所述第三端口的端口号; Analyzing the port numbers of the second port and the third port in the connection switching command;

并根据所述端口号,确定所述第二端口对应的配置数据文档和所述第三端口对应的配置数据文档。 And according to the port number, determine the configuration data file corresponding to the second port and the configuration data file corresponding to the third port.

优选地,该方法进一步包括:划分出公共缓存区; Preferably, the method further includes: dividing a public cache area;

所述将所述第二端口对应的配置数据文档中的键值写入所述第三端口对应的配置数据文档中键值对,包括: The writing the key-value pair in the configuration data file corresponding to the second port into the key-value pair in the configuration data file corresponding to the third port includes:

将所述第二端口对应的配置数据文档中的键值存储到所述公共缓存区,并将所述第二端口对应的配置数据文档中的键值恢复为默认值; storing the key value in the configuration data file corresponding to the second port in the public cache area, and restoring the key value in the configuration data file corresponding to the second port to a default value;

读取所述公共缓存区中第二端口对应的键值; Read the key value corresponding to the second port in the public cache;

利用所述第二端口对应的键值,更新所述第三端口对应的配置数据文档中键值对。 Using the key value corresponding to the second port, update the key value pair in the configuration data file corresponding to the third port.

一种交换机,通过各个端口与外设的节点相连,包括: A switch, connected to nodes of peripheral devices through various ports, including:

设置单元,用于定义数据文档模板,所述数据文档模板包含键值对; A setting unit is used to define a data document template, and the data document template includes key-value pairs;

配置单元,用于确定包含的各个端口,根据所述设置单元定义的数据文档模板和所述数据文档模板包含的键值对,为所述各个端口建立对应的配置数据文档,并将存在于所述配置数据文档中的键值对中的键值设置为默认值; The configuration unit is used to determine the included ports, create corresponding configuration data files for each port according to the data file template defined by the setting unit and the key-value pairs included in the data file template, and store them in all the ports. The key value in the key value pair in the above configuration data document is set as the default value;

非关系型数据库,用于存储所述配置单元配置的配置数据文档; a non-relational database for storing configuration data files of the hive configuration;

确定单元,用于确定所有配置信息以及与第一节点连接的所述各个端口中的第一端口; a determining unit, configured to determine all configuration information and the first port among the ports connected to the first node;

修改单元,用于根据所述确定单元确定的配置信息中与所述第一端口相关的端口配置信息,更改所述非关系型数据库中第一端口对应的配置数据文档中的键值。 The modifying unit is configured to modify the key value in the configuration data file corresponding to the first port in the non-relational database according to the port configuration information related to the first port in the configuration information determined by the determining unit.

优选地,所述修改单元,进一步用于: Preferably, the modifying unit is further used for:

当与外设的第二节点连接的第二端口发生故障,确定将所述外设的第二节点连接到第三端口时,将所述非关系型数据库存储的第二端口对应的配置数据文档中的键值写入所述第三端口对应的配置数据文档中的键值对。 When the second port connected to the second node of the peripheral device fails and it is determined to connect the second node of the peripheral device to the third port, the configuration data file corresponding to the second port stored in the non-relational database The key-value in is written into the key-value pair in the configuration data file corresponding to the third port.

优选地,上述交换机进一步包括:获取单元,其中, Preferably, the above-mentioned switch further includes: an acquisition unit, wherein,

所述获取单元,用于获取包含所述各个端口信息的端口列表; The obtaining unit is configured to obtain a port list including the information of each port;

所述配置单元,用于将所述获取单元获取的端口列表中各个端口的端口号写入所述各个端口对应的配置数据文档中; The configuration unit is configured to write the port number of each port in the port list acquired by the acquisition unit into the configuration data file corresponding to each port;

所述修改单元,进一步用于根据所述配置单元写入的各个配置数据文档中的端口号,确定所述第一端口对应的配置数据文档。 The modification unit is further configured to determine the configuration data file corresponding to the first port according to the port number in each configuration data file written by the configuration unit.

优选地,上述交换机进一步包括:提供单元,其中, Preferably, the above-mentioned switch further includes: a providing unit, wherein,

所述提供单元,用于确定所述各个端口的占用情况,并根据所述占用情况,提供空闲端口或者备用端口; The providing unit is configured to determine the occupancy of each port, and provide an idle port or a spare port according to the occupancy;

所述修改单元,用于确定将所述外设的第二节点连接到所述提供单元提供的空闲端口或者备用端口中的第三端口。 The modifying unit is configured to determine to connect the second node of the peripheral device to a third port among the free ports or spare ports provided by the providing unit.

优选地,所述修改单元,用于接收连接切换命令,解析所述连接切换命令中所述第二端口和所述第三端口的端口号;并根据所述端口号,确定所述第二端口对应的配置数据文档和所述第三端口对应的配置数据文档。 Preferably, the modifying unit is configured to receive a connection switching command, parse the port numbers of the second port and the third port in the connection switching command; and determine the second port according to the port number The corresponding configuration data file and the configuration data file corresponding to the third port.

优选地,上述交换机进一步包括:公共缓存区,其中, Preferably, the above-mentioned switch further includes: a public buffer area, wherein,

所述公共缓存区,用于当与外设的第二节点连接的第二端口发生故障时,接收并存储所述非关系型数据库存储的第二端口对应的配置数据文档中的键值; The public cache area is used to receive and store the key value in the configuration data file corresponding to the second port stored in the non-relational database when the second port connected to the second node of the peripheral device fails;

所述修改单元,用于将所述第二端口对应的配置数据文档中的键值恢复为默认值,并读取所述公共缓存区中第二端口对应的键值;利用所述第二端口对应的键值,更新所述第三端口对应的配置数据文档中键值对。 The modifying unit is configured to restore the key value in the configuration data file corresponding to the second port to a default value, and read the key value corresponding to the second port in the public cache area; use the second port corresponding to the key value, updating the key-value pair in the configuration data file corresponding to the third port.

本发明实施例提供了一种交换机端口配置的方法和交换机,该方法包括:定义数据文档模板,所述数据文档模板包含键值对,为端口建立配置数据文档提供标准的模板,并确定包含的各个端口;根据所述数据文档模板和包含的键值对,为所述各个端口建立对应的配置数据文档;将存在于所述配置数据文档中的键值对中的键值设置为默认值,并存储所述配置数据文档;实现了为每一个端口建立一个配置数据文档,而无需使每一个端口对应多个关系数据表,确定所有配置信息以及与第一节点连接的所述各个端口中的第一端口;根据所述配置信息中与所述第一端口相关的端口配置信息,更改所述第一端口对应的配置数据文档中的键值,由于每一个端口均只对应一个配置数据文档,那么,与端口相关的配置信息可以全部存储到对应的配置数据文档中,而无需将配置信息分配给多个数据表,有效地提高了交换机端口配置效率。 The embodiment of the present invention provides a switch port configuration method and a switch, the method includes: defining a data document template, the data document template contains key-value pairs, provides a standard template for establishing a configuration data document for a port, and determines the included Each port; according to the data document template and the included key-value pairs, establish a corresponding configuration data document for each port; set the key value in the key-value pair existing in the configuration data document as a default value, and store the configuration data file; realize the establishment of a configuration data file for each port, without making each port correspond to multiple relational data tables, determine all configuration information and the information in each port connected to the first node the first port; according to the port configuration information related to the first port in the configuration information, change the key value in the configuration data file corresponding to the first port, since each port only corresponds to one configuration data file, Then, all the configuration information related to the port can be stored in the corresponding configuration data file without distributing the configuration information to multiple data tables, which effectively improves the port configuration efficiency of the switch.

附图说明 Description of drawings

图1为本发明实施例提供的一种交换机端口配置的方法的流程图; Fig. 1 is the flowchart of the method for a kind of switch port configuration provided by the embodiment of the present invention;

图2为本发明另一实施例提供的一种交换机端口配置的方法的流程图; FIG. 2 is a flow chart of a method for configuring a switch port provided by another embodiment of the present invention;

图3为本发明实施例提供的一种交换机的结构示意图; FIG. 3 is a schematic structural diagram of a switch provided by an embodiment of the present invention;

图4为本发明另一实施例提供的一种交换机的结构示意图。 Fig. 4 is a schematic structural diagram of a switch provided by another embodiment of the present invention.

具体实施方式 detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。 The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

图1为本发明实施例提供的一种交换机端口配置的方法,该方法可以包括: Fig. 1 provides a kind of switch port configuration method that the embodiment of the present invention provides, and this method can comprise:

步骤101:定义数据文档模板,数据文档模板包含键值对,并确定包含的各个端口; Step 101: define a data document template, the data document template contains key-value pairs, and determine the included ports;

步骤102:根据数据文档模板和包含的键值对,为各个端口建立对应的配置数据文档; Step 102: according to the data file template and the included key-value pairs, create a corresponding configuration data file for each port;

步骤103:将存在于配置数据文档中的键值对中的键值设置为默认值,并存储配置数据文档; Step 103: Set the key value in the key-value pair existing in the configuration data file as a default value, and store the configuration data file;

步骤104:确定所有配置信息以及与第一节点连接的各个端口中的第一端口; Step 104: Determine all configuration information and the first port among the ports connected to the first node;

步骤105:根据配置信息中与第一端口相关的端口配置信息,更改第一端口对应的配置数据文档中的键值。 Step 105: According to the port configuration information related to the first port in the configuration information, change the key value in the configuration data file corresponding to the first port.

在本发明一个实施例中,为了实现端口配置的快速迁移,该方法进一步包括:当与第二节点连接的第二端口发生故障时,将第二节点连接到第三端口;将第二端口对应的配置数据文档中的键值写入第三端口对应的配置数据文档中的键值对。 In one embodiment of the present invention, in order to realize the rapid migration of port configuration, the method further includes: when the second port connected to the second node fails, connect the second node to the third port; The key-values in the configuration data file are written into the key-value pairs in the configuration data file corresponding to the third port.

在本发明一个实施例中,为了能够准确地定位端口对应的配置数据文件,该方法进一步包括:获取包含各个端口信息的端口列表;在步骤103中,在将存在于配置数据文档中的键值对中的键值设置为默认值之后,在存储配置数据文档之前,进一步包括:将端口列表中各个端口的端口号写入各个端口对应的配置数据文档中;在步骤104之后,在步骤105之前,进一步包括:根据各个配置数据文档中的端口号,确定第一端口对应的配置数据文档。 In one embodiment of the present invention, in order to accurately locate the configuration data file corresponding to the port, the method further includes: obtaining a port list containing information about each port; After the key value in the pair is set to a default value, before storing the configuration data file, it further includes: writing the port number of each port in the port list into the configuration data file corresponding to each port; after step 104, before step 105 , further comprising: according to the port numbers in each configuration data file, determining the configuration data file corresponding to the first port.

在本发明一个实施例中,定位出空闲端口或者备用端口,以快速的替换故障端口,该方法进一步包括:确定各个端口的占用情况,并根据占用情况,提供空闲端口或者备用端口;将第二节点连接到空闲端口或者备用端口中的第三端口。 In one embodiment of the present invention, locating idle ports or spare ports to quickly replace faulty ports, the method further includes: determining the occupancy of each port, and providing idle ports or spare ports according to the occupancy; The node is connected to the free port or the third port of the spare ports.

在本发明一个实施例中,为了保证端口配置迁移的准确性,该方法进一步包括:接收到连接切换命令;解析连接切换命令中第二端口和第三端口的端口号;并根据端口号,确定第二端口对应的配置数据文档和第三端口对应的配置数据文档。 In an embodiment of the present invention, in order to ensure the accuracy of port configuration migration, the method further includes: receiving the connection switching command; parsing the port numbers of the second port and the third port in the connection switching command; and according to the port numbers, determining The configuration data file corresponding to the second port and the configuration data file corresponding to the third port.

在本发明一个实施例中,为了避免端口配置迁移出错造成配置数据丢失,该方法进一步包括:划分出公共缓存区;将第二端口对应的配置数据文档中的键值存储到公共缓存区,并将第二端口对应的配置数据文档中的键值恢复为默认值;读取公共缓存区中第二端口对应的键值;利用第二端口对应的键值,更新第三端口对应的配置数据文档中键值对。 In an embodiment of the present invention, in order to avoid configuration data loss caused by port configuration migration errors, the method further includes: dividing a public cache area; storing the key value in the configuration data file corresponding to the second port in the public cache area, and Restore the key value in the configuration data file corresponding to the second port to the default value; read the key value corresponding to the second port in the public cache area; use the key value corresponding to the second port to update the configuration data file corresponding to the third port A key-value pair.

如图2所示,本发明另一实施例提供一种交换机端口配置的方法,该方法可以包括如下步骤: As shown in Figure 2, another embodiment of the present invention provides a method for port configuration of a switch, which may include the following steps:

步骤201:定义数据文档模板,数据文档模板包含键值对,并确定包含的各个端口,划分出公共缓存区; Step 201: define a data document template, the data document template contains key-value pairs, and determine the included ports, and divide the public buffer area;

交换机中包含有多个端口,每个端口均被分配了一个端口号,在该步骤中,划分出公共缓存区主要是在交换机中的内存中划分出一个区域作为公共缓存区。 The switch includes a plurality of ports, and each port is assigned a port number. In this step, dividing the public buffer area is mainly to divide an area in the memory of the switch as the public buffer area.

步骤202:获取包含各个端口信息的端口列表; Step 202: Obtain a port list including information about each port;

步骤203:根据数据文档模板和包含的键值对,为各个端口建立对应的配置数据文档; Step 203: Create corresponding configuration data files for each port according to the data file template and the included key-value pairs;

在该步骤中,通过数据文档模板可以使配置数据文档具有统一的格式,方便对配置数据文档的管理。 In this step, the configuration data file can have a uniform format through the data file template, which facilitates the management of the configuration data file.

步骤204:将存在于配置数据文档中的键值对中的键值设置为默认值; Step 204: Set the key value in the key value pair existing in the configuration data file as the default value;

例如:数据文档中包含的键值对:端口号:×××;端口IP:×××;端口基本信息:×××等等,在该步骤中,通过设置默认值,避免键值的空白,方便后续步骤的修改,如:端口IP的默认值可以设置为0.0.0.0;端口号的默认值可以设置为000000等等。 For example: the key-value pairs contained in the data file: port number: ×××; port IP: ×××; basic port information: ×××, etc., in this step, avoid blank key values by setting default values , to facilitate modification in subsequent steps, such as: the default value of the port IP can be set to 0.0.0.0; the default value of the port number can be set to 000000 and so on.

步骤205:将端口列表中各个端口的端口号写入各个端口对应的配置数据文档中,并存储配置数据文档; Step 205: Write the port number of each port in the port list into the configuration data file corresponding to each port, and store the configuration data file;

在该步骤中,通过将端口的端口号作为键值,填写到对应的端口号键值对中,那么,当用户查询端口对应的配置数据文档时,可以根据配置数据文档中的端口号确定出配置数据文档,另外,在该步骤中,可以将配置数据文档存储到MongoDB非关系型数据库中。 In this step, the port number of the port is used as the key value to fill in the corresponding port number key-value pair. Then, when the user queries the configuration data file corresponding to the port, it can be determined according to the port number in the configuration data file. The configuration data document, in addition, in this step, the configuration data document may be stored in a MongoDB non-relational database.

步骤206:确定所有配置信息以及与第一节点连接的各个端口中的第一端口; Step 206: Determine all configuration information and the first port among the ports connected to the first node;

该配置信息可以是用户手动输入的,也可以是交换机自动生成的。 The configuration information may be manually input by the user, or automatically generated by the switch.

步骤207:根据各个配置数据文档中的端口号,确定第一端口对应的配置数据文档; Step 207: Determine the configuration data file corresponding to the first port according to the port number in each configuration data file;

步骤208:根据配置信息中与第一端口相关的端口配置信息,更改第一端口对应的配置数据文档中的键值; Step 208: According to the port configuration information related to the first port in the configuration information, change the key value in the configuration data file corresponding to the first port;

例如:确定出配置信息中,端口a的IP为112.168.0.1,那么,可在该端口a对应的配置数据文档中将IP默认值0.0.0.0修改为112.168.0.1。 For example, if it is determined in the configuration information that the IP of port a is 112.168.0.1, then the default IP value 0.0.0.0 can be modified to 112.168.0.1 in the configuration data file corresponding to the port a.

上述步骤主要是为各个端口配置数据文档的过程,而当端口发生故障,需要将发生故障端口连接的节点重新连接到空闲端口或者备用端口,那么,故障端口对应的配置数据的迁移方式,将直接影响到网络的恢复。在本发明实施例中,通过直接将故障端口对应的配置数据文档中的键值复制到与节点建立新的连接的空闲端口或者备用端口,可以迅速的完成空闲端口或者备用端口的端口配置,那么从查找空闲端口或者备用端口到配置数据文档中配置数据的迁移的过程可以通过步骤209至步骤216来完成。 The above steps are mainly the process of configuring data files for each port. When a port fails, the node connected to the faulty port needs to be reconnected to a free port or a standby port. Then, the migration method of the configuration data corresponding to the faulty port will be directly Affect the recovery of the network. In the embodiment of the present invention, by directly copying the key value in the configuration data file corresponding to the faulty port to the idle port or standby port that establishes a new connection with the node, the port configuration of the idle port or the standby port can be quickly completed, then The process from searching for idle ports or spare ports to migrating configuration data in the configuration data file can be completed through steps 209 to 216 .

步骤209:当与第二节点连接的第二端口发生故障时,确定各个端口的占用情况,并根据占用情况,提供空闲端口或者备用端口; Step 209: When the second port connected to the second node fails, determine the occupancy of each port, and provide an idle port or a spare port according to the occupancy;

在该步骤中,当端口发生故障时,交换机可以发出警告以通知用户。各个端口的占用情况,用户可以通过查看端口的命令来获取,例如:用户可以通过在命令窗口输入showport,交换机为用户提供各个端口是占用、故障还是空闲等等。 In this step, when a port fails, the switch can issue a warning to notify the user. The user can obtain the occupancy status of each port by viewing the command of the port. For example, the user can enter showport in the command window, and the switch will provide the user with information about whether each port is occupied, faulty, or idle.

步骤210:将第二节点连接到空闲端口或者备用端口中的第三端口; Step 210: Connect the second node to the third port in the idle port or the spare port;

该步骤可以通过用户改变节点与端口的物理连接,使节点与空闲端口或者备用端口连接。 In this step, the user can change the physical connection between the node and the port, so that the node can be connected to an idle port or a standby port.

步骤211:接收到连接切换命令; Step 211: receiving a connection switching command;

当用户将节点与端口间的物理连接更改后,通过命令窗口将这种更改以连接切换命令的方式通知给交换机。 When the user changes the physical connection between the node and the port, the change is notified to the switch in the form of a connection switching command through the command window.

步骤212:解析连接切换命令中第二端口和第三端口的端口号; Step 212: Parse the port numbers of the second port and the third port in the connection switching command;

步骤213:根据端口号,确定第二端口对应的配置数据文档和第三端口对应的配置数据文档; Step 213: According to the port number, determine the configuration data file corresponding to the second port and the configuration data file corresponding to the third port;

步骤214:将第二端口对应的配置数据文档中的键值存储到公共缓存区,并将第二端口对应的配置数据文档中的键值恢复为默认值; Step 214: Store the key value in the configuration data file corresponding to the second port to the public cache, and restore the key value in the configuration data file corresponding to the second port to a default value;

通过该公共缓存区,可以避免配置文档间的直接交互,避免配置数据文档间直接传输数据过程造成数据错误或丢失,而影响网络连接。 Through the public buffer area, direct interaction between configuration files can be avoided, and data error or loss caused by direct data transmission between configuration data files can be avoided, which will affect network connections.

步骤215:读取公共缓存区中第二端口对应的键值; Step 215: read the key value corresponding to the second port in the public cache;

步骤216:利用第二端口对应的键值,更新第三端口对应的配置数据文档中键值对。 Step 216: Using the key value corresponding to the second port, update the key value pair in the configuration data file corresponding to the third port.

如图3所示,本发明实施例提供一种交换机,通过各个端口与外设的节点相连,包括: As shown in FIG. 3, the embodiment of the present invention provides a switch, which is connected to peripheral nodes through various ports, including:

设置单元301,用于定义数据文档模板,数据文档模板包含键值对; The setting unit 301 is used to define a data document template, and the data document template includes a key-value pair;

配置单元302,用于确定包含的各个端口,根据设置单元301定义的数据文档模板和数据文档模板包含的键值对,为各个端口建立对应的配置数据文档,并将存在于配置数据文档中的键值对中的键值设置为默认值; The configuration unit 302 is used to determine the included ports, according to the data document template defined by the setting unit 301 and the key-value pairs included in the data document template, to establish a corresponding configuration data file for each port, and to store the configuration data files that exist in the configuration data file The key value in the key value pair is set to the default value;

非关系型数据库303,用于存储配置单元302配置的配置数据文档; A non-relational database 303, configured to store configuration data files configured by the configuration unit 302;

确定单元304,用于确定所有配置信息以及与第一节点连接的各个端口中的第一端口; a determining unit 304, configured to determine all configuration information and the first port among the ports connected to the first node;

修改单元305,用于根据确定单元304确定的配置信息中与第一端口相关的端口配置信息,更改非关系型数据库303中第一端口对应的配置数据文档中的键值。 The modifying unit 305 is configured to modify the key value in the configuration data file corresponding to the first port in the non-relational database 303 according to the port configuration information related to the first port in the configuration information determined by the determining unit 304 .

在本发明另一实施例中,修改单元305,进一步用于当与外设的第二节点连接的第二端口发生故障,确定将外设的第二节点连接到第三端口时,将非关系型数据库303存储的第二端口对应的配置数据文档中的键值写入第三端口对应的配置数据文档中的键值对。 In another embodiment of the present invention, the modifying unit 305 is further configured to connect the second node of the peripheral device to the third port when the second port connected to the second node of the peripheral device fails, and the non-relationship The key value in the configuration data file corresponding to the second port stored in the type database 303 is written into the key-value pair in the configuration data file corresponding to the third port.

在本发明另一实施例中,上述交换机,进一步包括:获取单元(图中未示出),其中, In another embodiment of the present invention, the above switch further includes: an acquisition unit (not shown in the figure), wherein,

获取单元,用于获取包含各个端口信息的端口列表; an obtaining unit, configured to obtain a port list including information about each port;

配置单元302,用于将获取单元获取的端口列表中各个端口的端口号写入各个端口对应的配置数据文档中; The configuration unit 302 is configured to write the port number of each port in the port list acquired by the acquisition unit into the configuration data file corresponding to each port;

修改单元305,进一步用于根据配置单元302写入的各个配置数据文档中的端口号,确定所述第一端口对应的配置数据文档。 The modification unit 305 is further configured to determine the configuration data file corresponding to the first port according to the port number in each configuration data file written by the configuration unit 302 .

如图4所示,在本发明另一实施例中,上述交换机,进一步包括:提供单元401,其中, As shown in FIG. 4, in another embodiment of the present invention, the above switch further includes: a providing unit 401, wherein,

提供单元401,用于确定各个端口的占用情况,并根据占用情况,提供空闲端口或者备用端口; The providing unit 401 is configured to determine the occupancy of each port, and provide an idle port or a spare port according to the occupancy;

修改单元305,用于确定将外设的第二节点连接到提供单元401提供的空闲端口或者备用端口中的第三端口。 The modifying unit 305 is configured to determine to connect the second node of the peripheral device to the idle port provided by the providing unit 401 or the third port among the spare ports.

在本发明另一实施例中,修改单元,用于接收连接切换命令,解析连接切换命令中第二端口和第三端口的端口号;并根据端口号,确定第二端口对应的配置数据文档和第三端口对应的配置数据文档。 In another embodiment of the present invention, the modifying unit is configured to receive the connection switching command, analyze the port numbers of the second port and the third port in the connection switching command; and determine the configuration data file and the configuration data file corresponding to the second port according to the port number The configuration data file corresponding to the third port.

在本发明又一实施例中,上述交换机,进一步包括:公共缓存区(图中未示出),其中, In yet another embodiment of the present invention, the above-mentioned switch further includes: a public buffer area (not shown in the figure), wherein,

公共缓存区,用于当与外设的第二节点连接的第二端口发生故障时,接收并存储非关系型数据库存储的第二端口对应的配置数据文档中的键值; The public cache area is used to receive and store the key value in the configuration data file corresponding to the second port stored in the non-relational database when the second port connected to the second node of the peripheral device fails;

修改单元305,用于将第二端口对应的配置数据文档中的键值恢复为默认值,并读取公共缓存区中第二端口对应的键值;利用第二端口对应的键值,更新第三端口对应的配置数据文档中键值对。 The modifying unit 305 is configured to restore the key value in the configuration data file corresponding to the second port to a default value, and read the key value corresponding to the second port in the public cache; update the key value corresponding to the second port by using the key value corresponding to the second port The key-value pairs in the configuration data file corresponding to the three ports.

值得说明的是,上述的非关系性数据库可以为MongoDB数据库。 It should be noted that the aforementioned non-relational database may be a MongoDB database.

本发明实施例提供的方案,至少能够达到如下有益效果: The solutions provided by the embodiments of the present invention can at least achieve the following beneficial effects:

1.通过定义数据文档模板,数据文档模板包含键值对,为端口建立配置数据文档提供标准的模板,并确定包含的各个端口;根据数据文档模板和包含的键值对,为各个端口建立对应的配置数据文档;将存在于配置数据文档中的键值对中的键值设置为默认值,并存储配置数据文档;实现了为每一个端口建立一个配置数据文档,而无需使每一个端口对应多个关系数据表,确定所有配置信息以及与第一节点连接的各个端口中的第一端口;根据配置信息中与第一端口相关的端口配置信息,更改第一端口对应的配置数据文档中的键值,由于每一个端口均只对应一个配置数据文档,那么,与端口相关的配置信息可以全部存储到对应的配置数据文档中,而无需将配置信息分配给多个数据表,有效地提高了交换机端口配置效率。 1. By defining the data document template, the data document template contains key-value pairs, provides a standard template for establishing configuration data documents for ports, and determines the included ports; according to the data document template and included key-value pairs, establish correspondence for each port The configuration data file; set the key value in the key-value pair in the configuration data file as the default value, and store the configuration data file; realize the establishment of a configuration data file for each port, without making each port corresponding A plurality of relational data tables, determine all configuration information and the first port among the ports connected to the first node; according to the port configuration information related to the first port in the configuration information, change the configuration data file corresponding to the first port key value, since each port only corresponds to one configuration data file, then all the configuration information related to the port can be stored in the corresponding configuration data file without distributing the configuration information to multiple data tables, effectively improving the Switch port configuration efficiency.

2.在本发明实施例中,由于每个端口的配置信息存在于对应的配置数据文档中,那么,只需要定位到配置数据文档即可全部获取到端口的配置信息,与现有技术中通过多表查询的方式才能获取到完整的端口配置信息相比,有效地提高了端口配置信息的查询效率。 2. In the embodiment of the present invention, since the configuration information of each port exists in the corresponding configuration data file, then all the configuration information of the port can be obtained by locating the configuration data file, which is different from the prior art through Compared with the way of multi-table query to obtain complete port configuration information, it effectively improves the query efficiency of port configuration information.

3.当与第二节点连接的第二端口发生故障时,将第二节点连接到第三端口;将第二端口对应的配置数据文档中的键值写入第三端口对应的配置数据文档中的键值对,而无需依次查找并修改多个数据表中的数据,有效的提高了端口配置的迁移速率,从而实现网络系统的稳定性与可用性。 3. When the second port connected to the second node fails, connect the second node to the third port; write the key value in the configuration data file corresponding to the second port into the configuration data file corresponding to the third port key-value pairs, without the need to sequentially search and modify the data in multiple data tables, which effectively improves the port configuration migration rate, thereby achieving the stability and availability of the network system.

4.通过获取包含各个端口信息的端口列表,将端口列表中各个端口的端口号写入各个端口对应的配置数据文档中,根据各个配置数据文档中的端口号,确定第一端口对应的配置数据文档,使配置数据文档管理更佳规范。 4. By obtaining the port list containing the information of each port, write the port number of each port in the port list into the configuration data file corresponding to each port, and determine the configuration data corresponding to the first port according to the port number in each configuration data file Documentation for better specification of configuration data documentation.

5.在本发明实施例中,划分出公共缓存区;将第二端口对应的配置数据文档中的键值存储到公共缓存区,并将第二端口对应的配置数据文档中的键值恢复为默认值;读取公共缓存区中第二端口对应的键值;利用第二端口对应的键值,更新第三端口对应的配置数据文档中键值对,避免键值迁移过程中出错或丢失造成配置数据文档中键值设置的混乱,使配置数据文档管理更加规范。 5. In the embodiment of the present invention, a public buffer area is divided; the key value in the configuration data file corresponding to the second port is stored in the public buffer area, and the key value in the configuration data file corresponding to the second port is restored as Default value; read the key value corresponding to the second port in the public cache area; use the key value corresponding to the second port to update the key-value pair in the configuration data file corresponding to the third port to avoid errors or loss during key value migration. The confusion of key-value settings in configuration data documents makes the management of configuration data documents more standardized.

需要说明的是,在本文中,诸如第一和第二之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个······”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同因素。 It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is a relationship between these entities or operations. There is no such actual relationship or sequence. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional same elements in the process, method, article or apparatus comprising said element.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。 The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the present invention. within the scope of protection.

Claims (10)

1. the method for a switch ports themselves configuration, it is characterised in that definition data file template, described data file template comprises key-value pair, and determines each port comprised; Also include:
According to described data file template and the key-value pair comprised, set up corresponding configuration data document for each port described;
The key assignments that will be present in the key-value pair in described configuration data document uses as default, and stores described configuration data document;
Determine all configuration informations and the first port in each port described in being connected with primary nodal point;
According to port configuration information relevant to described first port in described configuration information, change the key assignments in the configuration data document that described first port is corresponding.
2. method according to claim 1, it is characterised in that farther include:
When the second port failure being connected with secondary nodal point, described secondary nodal point is connected to the 3rd port;
Key assignments in configuration data document corresponding for described second port is write the key-value pair in the configuration data document that described 3rd port is corresponding.
3. method according to claim 1, it is characterised in that farther include:
Obtain the port list comprising each port information described;
After key assignments in the described key-value pair that will be present in described configuration data document uses as default, before the described configuration data document of described storage, farther include: by configuration data document corresponding for port numbers write each port described of each port in described port list;
After described the first port determined in each port described in primary nodal point connection, before the key assignments in the configuration data document that described first port of described change is corresponding, farther include: according to the port numbers in each configuration data document, it is determined that the configuration data document that described first port is corresponding.
4. method according to claim 2, it is characterised in that
Described described secondary nodal point is connected to the 3rd port before, farther include: determine the situation that takies of each port described, and take situation according to described, it is provided that idle port or standby port;
Described described secondary nodal point is connected to the 3rd port, including: described secondary nodal point is connected to the 3rd port in described idle port or described standby port;
And/or,
Described described secondary nodal point is connected to the 3rd port after, described key assignments in configuration data document corresponding for described second port write the key-value pair in the configuration data document that described 3rd port is corresponding after, farther include:
Receive connection switching command;
Resolve the port numbers of the second port and described 3rd port described in described connection switching command;
And according to described port numbers, it is determined that the configuration data document that configuration data document that described second port is corresponding is corresponding with described 3rd port.
5. the method according to claim 2 or 4, it is characterised in that
Farther include: mark off public buffer area;
Described by key-value pair in configuration data document corresponding for key assignments described 3rd port of write in configuration data document corresponding for described second port, including:
Key assignments in configuration data document corresponding for described second port is stored described public buffer area, and the key assignments in configuration data document corresponding for described second port is reverted to default value;
Read the key assignments that in described public buffer area, the second port is corresponding;
Utilize the key assignments that described second port is corresponding, update key-value pair in the configuration data document that described 3rd port is corresponding.
6. a switch, it is characterised in that be connected with the node of peripheral hardware by each port, including:
Arranging unit, be used for defining data file template, described data file template comprises key-value pair;
Dispensing unit, for determining each port comprised, according to the key-value pair that the described data file template arranging unit definition and described data file template comprise, set up corresponding configuration data document for each port described, and the key assignments that will be present in the key-value pair in described configuration data document uses as default;
Non-relational database, for storing the configuration data document of described dispensing unit configuration;
Determine unit, for the first port determining all configuration informations and in each port described in being connected with primary nodal point;
Amendment unit, for determining port configuration information relevant to described first port in the configuration information that unit is determined according to described, changes the key assignments in the configuration data document that the first port in described non-relational database is corresponding.
7. switch according to claim 6, it is characterised in that described amendment unit, is further used for:
When the second port failure being connected with the secondary nodal point of peripheral hardware, determining when the secondary nodal point of described peripheral hardware is connected to three ports, the key assignments in the configuration data document that the second port of described non-relational database being stored is corresponding writes the key-value pair in the configuration data document that described 3rd port is corresponding.
8. switch according to claim 6, it is characterised in that farther include: acquiring unit, wherein,
Described acquiring unit, for obtaining the port list comprising each port information described;
Described dispensing unit, is used in the configuration data document that each port described in the port numbers write of each port in the port list obtained by described acquiring unit is corresponding;
Described amendment unit, is further used for the port numbers in each configuration data document write according to described dispensing unit, it is determined that the configuration data document that described first port is corresponding.
9. switch according to claim 7, it is characterised in that farther include: unit is provided, wherein,
Described offer unit, for determining the situation that takies of each port described, and takies situation according to described, it is provided that idle port or standby port;
Described amendment unit, for determining the 3rd port in the idle port or standby port that the secondary nodal point of described peripheral hardware is connected to the offer of described offer unit;
And/or,
Described amendment unit, is used for receiving connection switching command, resolves the port numbers of the second port and described 3rd port described in described connection switching command; And according to described port numbers, it is determined that the configuration data document that configuration data document that described second port is corresponding is corresponding with described 3rd port.
10. the switch according to claim 7 or 9, it is characterised in that farther include: public buffer area, wherein,
Described public buffer area, for when the second port failure being connected with the secondary nodal point of peripheral hardware, receives and stores the key assignments in the configuration data document that the second port that described non-relational database stores is corresponding;
Described amendment unit, for the key assignments in configuration data document corresponding for described second port reverts to default value, and reads the key assignments that in described public buffer area, the second port is corresponding; Utilize the key assignments that described second port is corresponding, update key-value pair in the configuration data document that described 3rd port is corresponding.
CN201510990700.4A 2015-12-24 2015-12-24 Switch port configuring method and switch Pending CN105656665A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510990700.4A CN105656665A (en) 2015-12-24 2015-12-24 Switch port configuring method and switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510990700.4A CN105656665A (en) 2015-12-24 2015-12-24 Switch port configuring method and switch

Publications (1)

Publication Number Publication Date
CN105656665A true CN105656665A (en) 2016-06-08

Family

ID=56476825

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510990700.4A Pending CN105656665A (en) 2015-12-24 2015-12-24 Switch port configuring method and switch

Country Status (1)

Country Link
CN (1) CN105656665A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107204864A (en) * 2016-03-16 2017-09-26 北大方正集团有限公司 Application method, management method, terminal and the server of the network port
CN108833611A (en) * 2018-08-01 2018-11-16 中国联合网络通信集团有限公司 A kind of allocation method of NAT address translation
CN111314198A (en) * 2020-02-06 2020-06-19 苏州浪潮智能科技有限公司 Method and equipment for setting port IP of white box switch
CN112612455A (en) * 2020-12-04 2021-04-06 潍柴动力股份有限公司 Method and system for distinguishing communication modes
CN113553297A (en) * 2021-06-08 2021-10-26 优刻得科技股份有限公司 Management method and system for switch configuration information

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079795A (en) * 2007-07-27 2007-11-28 杭州华三通信技术有限公司 Data forwarding method and forwarding device
CN101202671A (en) * 2007-12-20 2008-06-18 华为技术有限公司 Port configuration method and device
CN101335737A (en) * 2008-08-05 2008-12-31 中兴通讯股份有限公司 Network processor and data processing method thereof
CN101582806A (en) * 2009-06-17 2009-11-18 杭州华三通信技术有限公司 Method for MIB management of multi-vendor equipment and device
US20120201169A1 (en) * 2011-02-05 2012-08-09 Force 10 Networks, Inc. Method & apparatus for provisioning a network switch port
CN102932161A (en) * 2011-08-11 2013-02-13 中兴通讯股份有限公司 Template-based configuration method and device
CN103118076A (en) * 2013-01-11 2013-05-22 烽火通信科技股份有限公司 Upgraded server cluster system and load balancing method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079795A (en) * 2007-07-27 2007-11-28 杭州华三通信技术有限公司 Data forwarding method and forwarding device
CN101202671A (en) * 2007-12-20 2008-06-18 华为技术有限公司 Port configuration method and device
CN101335737A (en) * 2008-08-05 2008-12-31 中兴通讯股份有限公司 Network processor and data processing method thereof
CN101582806A (en) * 2009-06-17 2009-11-18 杭州华三通信技术有限公司 Method for MIB management of multi-vendor equipment and device
US20120201169A1 (en) * 2011-02-05 2012-08-09 Force 10 Networks, Inc. Method & apparatus for provisioning a network switch port
CN102932161A (en) * 2011-08-11 2013-02-13 中兴通讯股份有限公司 Template-based configuration method and device
CN103118076A (en) * 2013-01-11 2013-05-22 烽火通信科技股份有限公司 Upgraded server cluster system and load balancing method thereof

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107204864A (en) * 2016-03-16 2017-09-26 北大方正集团有限公司 Application method, management method, terminal and the server of the network port
CN107204864B (en) * 2016-03-16 2020-09-04 北大方正集团有限公司 Application method, management method, terminal and server of network port
CN108833611A (en) * 2018-08-01 2018-11-16 中国联合网络通信集团有限公司 A kind of allocation method of NAT address translation
CN111314198A (en) * 2020-02-06 2020-06-19 苏州浪潮智能科技有限公司 Method and equipment for setting port IP of white box switch
CN112612455A (en) * 2020-12-04 2021-04-06 潍柴动力股份有限公司 Method and system for distinguishing communication modes
CN112612455B (en) * 2020-12-04 2023-08-18 潍柴动力股份有限公司 Method and system for distinguishing communication modes
CN113553297A (en) * 2021-06-08 2021-10-26 优刻得科技股份有限公司 Management method and system for switch configuration information

Similar Documents

Publication Publication Date Title
US10534547B2 (en) Consistent transition from asynchronous to synchronous replication in hash-based storage systems
US10824372B2 (en) Data recovery method and device, and cloud storage system
CN107545046B (en) Method and device for fusion of multi-source heterogeneous data
KR102376713B1 (en) Composite partition functions
US8676951B2 (en) Traffic reduction method for distributed key-value store
CN106815218B (en) Database access method, device and database system
US9158803B2 (en) Incremental schema consistency validation on geographic features
US8856079B1 (en) Application programming interface for efficient object information gathering and listing
CN105656665A (en) Switch port configuring method and switch
CN107104824B (en) Network topology determination method and device
CN107977396B (en) A kind of updating method and table data updating device of data table of KeyValue database
EP3376403A1 (en) Method of accessing distributed database and device providing distributed data service
WO2018137373A1 (en) Data configuration method and data configuration apparatus
US8934378B1 (en) Resilient cache-based topology detection of a dynamic cluster
CN111309523A (en) Data reading and writing method, data remote copying method and device and distributed storage system
CN107273504A (en) A Kudu-based data query method and device
CN111381820A (en) Method and device for automatically generating API based on GUI
CN105247814B (en) The method and apparatus for managing the physical location of the network equipment
WO2025112848A1 (en) Multi-data-stream parallel processing method and apparatus and nonvolatile storage medium
US9747294B2 (en) Generic data collection plugin and configuration file language for SMI-S based agents
US20200097490A1 (en) Generating multidimensional database queries
CN105045918A (en) Mutual comparison device for any tables of two databases and mutual comparison method of for any tables of two databases
CN104683148A (en) A Unified Port Model and Its Method for Accessing Logical Ports
CN117579472A (en) Asset connection relation configuration processing method and device in network asset mapping
CN108959640B (en) ES index rapid construction method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160608