WO2015042853A1 - 数据通信网络分域方法、装置及系统 - Google Patents
数据通信网络分域方法、装置及系统 Download PDFInfo
- Publication number
- WO2015042853A1 WO2015042853A1 PCT/CN2013/084418 CN2013084418W WO2015042853A1 WO 2015042853 A1 WO2015042853 A1 WO 2015042853A1 CN 2013084418 W CN2013084418 W CN 2013084418W WO 2015042853 A1 WO2015042853 A1 WO 2015042853A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- domain
- node
- gateway
- data communication
- target node
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/12—Discovery or management of network topologies
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a data communication network domain method, apparatus, and system.
- a data communication network (English: Data Communication Network, abbreviated: DCN) can include multiple nodes, each of which needs to record the data communication.
- the boundary point of the data communication network needs to be determined manually by manual planning or searching; then the boundary point is manually set. If there are many data communication network nodes, it is difficult to manually plan or find the boundary points of the data communication network.
- the technical problem to be solved by the present invention is how to determine the boundary point in the domain division process of the data communication network.
- the present invention proposes a data Communication network domain method, including:
- the target node receives the domain command, and the domain command includes information of each target node that needs to be divided from the old domain to the new domain and the new domain identifier;
- the distance between the target node and the gateway is the respective target node and said
- the target node sets itself as a boundary point.
- the target node sets itself as a boundary point, including:
- the target node sets the network number in the IP address of the port used by the new domain to the network number corresponding to the new domain identifier.
- the method further includes:
- the target node sets itself in a network in an IP address of a port used by the old domain. No., changed to the network number corresponding to the new domain identifier.
- the target node receiving the domain command includes:
- the master node When the target node is a master node, the master node receives the domain command from the network manager through the gateway, and sends the domain command to other target nodes than the master node;
- the target node receives the domain command from the master node.
- the first possible implementation of the first aspect to any one of the possible implementations of the third possible implementation of the first aspect, in a fourth possible implementation, the And the distance between the target node and the gateway is the smallest one of the distances between the target nodes and the gateway, and after the target node sets itself as a boundary point, the method further includes:
- a disconnection notification is sent to a target node other than the boundary point, so that the boundary point is said to be
- the other target nodes outside re-determine the boundary points.
- the present invention provides a data communication network sub-domain device, including:
- a receiving unit configured to receive a domain command, where the domain command includes information of each target node that needs to be allocated from the old domain to the new domain, and the new domain identifier;
- a determining unit configured to be connected to the receiving unit, configured to determine, according to the network topology information of the old domain and the information of each target node, whether the distance between the device and the gateway of the old domain is the target node The smallest of the distances from the gateway;
- the setting unit is connected to the determining unit, and is configured to set itself as a boundary point when the distance between the device and the gateway is the smallest distance between the target nodes and the gateway.
- the setting unit specifically includes: configured to: when a distance between the device and the gateway is the smallest distance between each target node and the gateway And setting the network number in the IP address of the port used by the device in the new domain to the network number corresponding to the new domain identifier.
- the setting unit is further configured to: the distance between the device and the gateway is not the target node When the distance between the gateways is the smallest, the network number in the IP address of the port used by the device in the old domain is changed to the new i or the network number corresponding to the identifier.
- the receiving unit specifically includes:
- a first receiving subunit configured to: when the device is a master node, receive the domain command from the network manager by using the gateway, and send the domain command to other targets than the master node Node
- a second receiving subunit configured to receive the subdomain command from the primary node if the device is not a primary node.
- a sending unit configured to be connected to the setting unit, configured to send a disconnection notification to a target node other than the boundary point if the boundary point is disconnected from the old domain, so that the The target node other than the boundary point re-determines the boundary point.
- the present invention provides a data communication network sub-domain system, including: a network manager, a gateway, and at least one node device;
- the node device adopts the second aspect or the first possible implementation manner of the second aspect to the data communication network domain-dividing device in any one of the possible implementation manners of the fourth possible implementation manner of the second aspect;
- the gateway is connected to the network manager, and configured to receive the domain command sent by the network manager, and forward the domain command to the node device.
- the target node according to the network topology information and the information of each target node, if the distance between itself and the gateway is each target node and If the distance of the gateway is the smallest, the target node sets itself as the boundary point, and determines the process order, which can reduce the manual planning boundary point or find the disconnection caused by the boundary point error.
- the target node other than the boundary point changes the network number in the IP address of the port used by the old domain to the network number corresponding to the new domain identifier, and divides the data communication network into domains, thereby reducing the size of the data communication network. The route flapping converges quickly.
- Figure la is a flow chart of a method for dividing a data communication network according to Embodiment 1 of the present invention.
- Figure lb is a schematic diagram of a data communication network before the domain division method of the data communication network according to the first embodiment of the present invention
- Figure lc is a schematic diagram of a data communication network after the domain division method of the data communication network according to the first embodiment of the present invention.
- FIG. 2 is a flow chart of a method for dividing a data communication network according to Embodiment 2 of the present invention
- FIG. 3 is a structural block diagram of a data communication network domain dividing apparatus according to Embodiment 3 of the present invention.
- FIG. 4 is a structural block diagram of a data communication network domain dividing apparatus according to Embodiment 4 of the present invention.
- FIG. 5 is a structural block diagram of a data communication network domain dividing apparatus according to Embodiment 5 of the present invention.
- FIG. 6 is a structural diagram of a data communication network sub-domain system according to Embodiment 6 of the present invention. Intention.
- Figure la is a flow chart of a method for dividing a data communication network according to Embodiment 1 of the present invention.
- the data communication network domain method may specifically include:
- Step S110 The target node receives the domain command, and the domain command includes information of each target node that needs to be divided from the old domain to the new domain and the new domain identifier.
- each data communication network may include multiple nodes (also referred to as network elements), and each data communication network has a domain identifier that distinguishes it from other data communication networks (English: Identification, abbreviation) : ID ).
- ID can be a number. If the network numbers of the IP addresses of the ports used by the plurality of nodes in the data communication network are the same, the plurality of nodes belong to the same data communication network.
- the network number of each data communication network has a corresponding relationship with the domain identifier of the data communication network, and the correspondence relationship may be selected according to rules or policies, for example: according to rules Or the policy, set the network number of the data communication network with the domain identifier 0 to 192.168.0.1, and set the network number of the data communication network with the domain identifier 1 to 129.8.0.0.
- the Network Manager (English: Network Manager, abbreviated: NM) can access the managed data communication network by sending a login command to each node of the managed data communication network to enable it to log in to each node.
- the network manager can first send a login command to the gateway in the data communication network (English: Gateway), and the gateway can add its own IP address to the login command to form a new number.
- the gateway sends the new packet to each node.
- each node After receiving the new data packet, each node performs login authentication, records the IP address of the gateway, and according to the gateway book.
- the IP address returns the authentication result to the gateway.
- the gateway summarizes the authentication results of each node and sends them to the network manager.
- the network manager can send a domain command to the gateway.
- the current data communication network is an old domain
- the data communication network formed by the target nodes divided from the old domain is a new domain
- the old domain is removed from the target node, and the nodes other than the old domain still belong to the old domain.
- the identity of the new domain is a domain.
- FIG. 1b is a schematic diagram of a data communication network before the domain division method of the data communication network according to the first embodiment of the present invention
- FIG. 1c is a data communication network after the domain division method of the data communication network according to the first embodiment of the present invention.
- the data communication network may include multiple nodes, the node connected to the network manager is a gateway, and the node that receives the domain command sent by the gateway is the master node, and the node that needs to be separated from the data communication network is Target node.
- the old domain ID is 1 and the new domain ID is 2.
- the old domain includes nodes 1 to 6 with a total of six nodes. Assume that node 1 is the gateway and node 2 to node 5 are the target nodes. From node 2 to node 5, it can be learned from the received domain command that it has to be divided into new domains, and the new domain identifier is 2.
- the target node receiving the domain command may include:
- the target node is a master node (English: master )
- the master receives the domain command from the network manager through the gateway, and sends the domain command to other target nodes than the master node;
- the target node receives the domain command from the primary node.
- a node may be selected as the master node of the data communication network, and the master node may be arbitrarily selected in the node of the data communication network, or may be selected according to other rules or policies. I don’t say this.
- the gateway may send the domain command to the master node, and then the book
- the master node forwards the domain command to the target node. If the user is not the master node, the domain command sent by the master node may be received; if the master node is the master node, the domain command sent by the gateway may be received, and the domain command is sent to other targets than itself. node.
- the node 1 is a gateway
- the node 6 is a master node of the old domain
- the nodes 4 to 5 are the target nodes.
- Step S130 The target node determines, according to the network topology information of the old domain and the information of each target node, whether the distance between itself and the gateway of the old domain is the target node and the gateway. The smallest of the distance.
- the network topology information of the node may be a tree rooted at itself, and the node may calculate the distance from itself to any node in the network topology information. Therefore, the target node can determine whether the distance between itself and the gateway is smaller than the distance from the target node to the gateway other than itself.
- Method 1 The target node calculates the distance from all the target nodes to the gateway separately; then compares the distance from the gateway to the gateway and the distance from other target nodes to the gateway.
- node 1 is a gateway
- node 2 to node 5 are target nodes
- node 2 can calculate distance L 2 from node 2 to gateway, distance L 3 from node 3 to gateway
- the distance L 4 from the node 4 to the gateway and the distance L 5 from the node 5 to the gateway are compared with L 2 , L 3 , U and L 5 to determine whether L 2 is smaller than L 3 , L 4 and L 5 .
- Node 3 can calculate L 2 , L 3 , L 4 , and L 5 to determine if L 3 is less than L 2 , L 4 , and L 5 .
- Node 4 can calculate L 2 , L 3 , L 4 , and L 5 to determine if L 4 is less than L 2 , L 3 , and L 5 .
- Node 5 can calculate L 2 , L 3 , L 4 , and L 5 to determine if L 5 is less than L 2 , L 3 , and L 4 .
- Method 2 The target node calculates its own distance to the gateway; and then receives the target node other than itself sent by the target node other than itself to the network.
- the distance is closed, and then the distance from the gateway to the gateway is compared with the distance from other target nodes to the gateway.
- node 2 may calculate the distance to the gateway node 2 L 2, and the receiving node 3 L 3 transmitted, the node 4 L 4 and transmitted L 5 sent by the node 5, Comparative L 2, L 3, L 4 and L 5, and then determines L 2 is smaller than L 3, L 4 and L 5.
- Node 3 may calculate the node 3 to the distance from the gateway L 3, and the receiving node L 2, L 5 node 4 L 4 and the node are sent as 5 transmission 2, Comparative L 2, L 3, L 4 and L 5, and then It is judged whether L 3 is smaller than L 2 , L 4 and L 5 .
- node 4 to the gateway from node 4 may compute nodes L 4, and the receiving node L 2, L 5 L 3 and node transmission 3 transmits the 5 transmission 2, Comparative L 2, L 3, L 4 and L 5, and then It is judged whether L 4 is smaller than L 2 , L 3 and L 5 .
- Node 5 may calculate the node 5 to the gateway the distance L 5, and the receiving node L 2, L 4, Comparative L 2, L 3, L 4 and L 5 transmitted L 3 and node transmission 34 transmitted 2, then It is judged whether L 5 is smaller than L 2 , L 3 and L 4 .
- Step S150 In a case where the distance between the target node and the gateway is the smallest among the distances of the target nodes and the gateway, the target node sets itself as a boundary point.
- the usual method of determining the boundary points is to manually plan or find the boundary points in the data communication network through certain rules. If the rules of manual planning or finding are incorrectly set, the boundary points are determined to be incorrect, causing all target nodes to be taken out of control.
- the target node of this embodiment receives the above-mentioned subdomain command. After that, the target node can determine that it is a boundary point according to the network topology information stored by itself and the information of each target node, and the distance between the target node and the gateway is the smallest among the distance between the target node and the gateway.
- the boundary point can interact with nodes in the old domain as well as with nodes in the new domain. That is: the interaction between the old domain and the new domain can be achieved through the boundary point.
- the target node sets itself as a boundary point, including: the target node refers to an IP address of a port used by the new domain.
- the network number in the middle is set to the network number corresponding to the new domain identifier.
- the target node determines that the distance between itself and the gateway is each target node and the book
- the target node can retain the IP address of the port used by the old domain. At the same time, set the network number in the IP address of the port used by the new domain to the new domain identifier. Network number.
- the data communication network sub-domain method further includes: if a distance between the target node and the gateway is not the smallest among the distances between the target nodes and the gateway, The target node changes the network number in the IP address of the port used by the old domain to the network number corresponding to the new domain identifier.
- ⁇ is set in the first mode or the second mode in step S130, and after comparing node 2 to node 5, it is known that: L 2 ⁇ L 3 ⁇ L 5 ⁇ L 4 , then nodes 2 to 5 can be known.
- Node 2 is the boundary point, and node 2 can retain the IP address of the port used by the old domain whose domain ID is 1 and the IP address of the port used by the new domain whose domain ID is 2
- the network number is set to the network number corresponding to domain identifier 2.
- the node 3, the node 4, and the node 5 can change the network number in the IP address of the port used by the old domain whose domain ID is 1 to the network number corresponding to the domain identifier 2, respectively.
- the old domain after the domain is divided into the figure lc the node 2 to node 5 which are separated from the old domain with the domain identifier of 1 constitutes a new domain with the domain identifier 2, and the domain identifier is 1.
- the old domain removes node 3, node 2, and node 6 except nodes 3 to 5
- the node still belongs to the old domain with domain ID 1.
- the interaction between the old domain with domain ID 1 and the new domain with domain ID 2 can be implemented by node 2.
- the target node sets the target node according to the network topology information and the information of each target node. If the distance between the target node and the gateway is the smallest, the target node sets itself. For the boundary point, determine the process bill, which can reduce the manual planning of the boundary point or find the decoupling caused by the mistake of the boundary point. Said that the target node other than the boundary point will use itself in the port used by the old domain
- the network number in the IP address is changed to the network number corresponding to the new domain identifier.
- the data communication network is divided into domains, which can reduce the size of the data communication network, and the route flapping convergence is fast.
- FIG. 2 is a flow chart of a method for dividing a data communication network according to a second embodiment of the present invention.
- the same steps in Fig. 2 as those in Fig. 1 have the same functions, and a detailed description of these steps will be omitted for the sake of clarity.
- the main difference between the data communication network domain method shown in FIG. 2 and the data communication network domain method shown in FIG. 1 is that, in addition to the step S110, step S130 and step S in the first embodiment, In addition to 150, it can also include:
- Step S210 When the boundary point is disconnected from the old domain, send a disconnection notification to a target node other than the boundary point, so that the target node other than the boundary point is sent. Re-determine the boundary points.
- the target node may be other than the boundary point.
- the other target node sends a disconnection notification, and after receiving the disconnection notification, the target node other than the boundary point knows that the connection between the target node set as the boundary point and the old domain is disconnected, and the target node other than the boundary point
- the network topology information can be updated, and the boundary points are re-determined and the boundary points are set according to the methods in steps S130 and S150.
- branch node 2 is the boundary point, the old domain has been divided into domains, If the connection between the node 2 and the old domain with the domain identifier of 1 is broken, the node 2 can send a disconnection notification to the node 3, the node 4, and the node 5, respectively. After receiving the disconnection notification sent by the node 2, the node 3, the node 4, and the node 5 respectively update the network topology information stored by themselves.
- the node 3 can calculate the distance L 3 from the node 3 to the gateway, the distance L 4 from the node 4 to the gateway, and the distance L 5 from the node 5 to the gateway, and then compare L 3 , L 4 and L 5 to determine whether L 3 is smaller than L 4 and L 5 .
- Node 4 can calculate L 3 , L 4 , and L 5 , and then compare L 3 , L 4 , and L 5 to determine if L 4 is less than L 3 and L 5 .
- Node 5 can calculate L 3 , L 4 and L 5 , and then compare L 3 , L 4 and L 5 to determine whether L 5 is smaller than L 3
- the IP address of the port used in the new domain with the domain ID 2, and the network number in the IP address of the port used by the old domain whose domain ID is 1 is set, and the network corresponding to the domain ID 1 is set. number.
- the target node sets the target node according to the network topology information and the information of each target node. If the distance between the target node and the gateway is the smallest, the target node sets itself. For the boundary point, the process cartridge is determined, which can reduce the manual planning or find the disconnection caused by the mistake of the boundary point.
- the target node other than the boundary point changes the network number in the IP address of the port used by the old domain to the network number corresponding to the new domain identifier, and divides the data communication network into domains, thereby reducing the data communication network. Scale, route oscillating convergence is fast.
- a disconnection notification is sent to other target nodes than the boundary point, so that the target node other than the boundary point re-determines the boundary point, and the boundary point can be avoided.
- the other target nodes are out of control.
- FIG. 3 is a structural block diagram of a data communication network domain dividing apparatus according to Embodiment 3 of the present invention.
- the data communication network domain device 300 provided in this embodiment is used to implement the data communication network domain method provided by the embodiment shown in FIG.
- the data communication network domain device 300 may include:
- the receiving unit 310 is configured to receive a domain command, where the domain command includes information of each target node that needs to be allocated from the old domain to the new domain, and the new domain identifier.
- each data communication network may include a plurality of nodes, and each of the data communication networks has a domain identifier that distinguishes it from other data communication networks.
- the domain ID can be a number. If the network numbers of the IP addresses of the ports used by the plurality of nodes in the data communication network are the same, the plurality of nodes belong to the same data communication network.
- the network number of each data communication network and the domain identifier of the data communication network have
- the correspondence relationship may be selected according to a rule or a policy, for example: a network number of a data communication network with a domain identifier of 0 may be set according to a rule or a policy.
- the network manager can access the managed data communication network by sending login commands to various nodes of the managed data communication network to enable it to log in to each node.
- the network manager may first send a login command to the gateway in the data communication network, and the gateway may add its own IP address to the login command to form a new data packet, and the gateway sends the new data packet to each node.
- each node After receiving the new data packet, each node records the IP address of the gateway, performs login authentication, and returns the authentication result to the gateway according to the IP address of the gateway.
- the gateway summarizes the authentication results of each node and sends them to the network manager. In some cases (such as when there are many nodes in a data communication network) that need to be partitioned, the network manager can send a domain command to the gateway.
- the current data communication network is an old domain
- the data communication network formed by the target node divided from the old domain is a new domain
- the node other than the old domain removal target node still belongs to the old domain
- the new domain identifier is the new domain.
- the target node can be a domain communication device of the data communication network of the present embodiment.
- the old domain includes a total of six nodes from node 1 to node 6, assuming that node 1 is a gateway, nodes 4 to 5 are the target nodes, and nodes 2 to 5 can be data communication network domain devices 300.
- the subdomains that Node 2 ⁇ Node 5 can receive from respective receiving units 310, respectively In the command, you know that you want to divide the domain into the new domain, and the new domain ID is 2.
- the receiving unit 310 may specifically include: a first receiving subunit 311, configured to receive the domain command from the network manager by using the gateway, if the device is the master node, Sending the domain command to other target nodes than the master node;
- the second receiving subunit 313 is configured to receive the domain command from the master node if the device is not the master node.
- a node in the node of the data communication network, a node may be selected as the master node of the data communication network, and the master node may be in the node of the data communication network.
- the gateway may send the domain command to the master node, and then the master node forwards the domain command to the master node.
- Target node If the device is not the master node, the second receiving subunit 313 can receive the domain command sent by the master node; if the device is the master node, the first receiving subunit 311 can receive the domain command sent by the gateway. , the domain command is sent to a target node other than the device.
- node 1 is the gateway
- node 6 is the primary node of the old domain
- node 4 to node 5 are the target nodes.
- the node 6 receives the domain command sent by the node 1
- the second receiving subunit 313 of the node 2 may receive the domain command sent by the node 6
- the second receiving subunit 313 of the node 3 may receive the domain sent by the node 6.
- the second receiving sub-unit 313 of the node 4 may receive the sub-domain command sent by the node 6
- the second receiving sub-unit 313 of the node 5 may receive the sub-domain command sent by the node 6.
- the determining unit 330 is connected to the receiving unit 310, and configured to determine, according to the network topology information of the old domain and the information of each target node, whether the distance between the device and the gateway of the old domain is the The smallest of the distance between the target node and the gateway.
- the determining unit 330 can determine the device and the following two manners. Whether the distance of the gateway is smaller than the distance from the target node to the gateway other than the device.
- the determining unit 330 calculates the distances of all the target nodes to the gateway respectively; and compares the distance from the device to the gateway to the distance from the target node other than the device to the gateway.
- node 1 is a gateway
- nodes 2 to 5 are target nodes
- the determining unit 330 of node 2 can calculate the distance L 2 from node 2 to the gateway, respectively.
- the judging unit 330 may calculate L 2 , L 3 , L 4 , and L 5 , respectively, and determine whether L 3 is smaller than L 2 , L 4 , and L 5 .
- the judging unit 330 of the node 4 can calculate L 2 , L 3 , L 4 , and L 5 , respectively, and determine whether L 4 is smaller than L 2 , L 3 , and L 5 .
- the judging unit 330 of the node 5 can calculate L 2 , L 3 , L 4 , and L 5 , respectively, and determine whether L 5 is smaller than L 2 , L 3 , and L 4 .
- the determining unit 330 calculates the distance from the device to the gateway; and then receives the distance from the target node to the gateway sent by the target node other than the device, and compares the distance between the device and the gateway. The distance from the target node to the gateway other than the device.
- the determining unit 330 of node 2 can calculate the distance L 2 from the node 2 to the gateway, and send the L 3 and node 4 sent by the receiving node 3 to send L 4 and L 5 of the transmitting node 5, Comparative L 2, L 3, L 4 and L 5, and then determines L 2 is smaller than L 3, L 4 and L 5.
- Node determining unit 3 330 may calculate the node 3 to the gateway the distance L 3, and the receiving node L 5 2 L 2, node L 4 and node 5 are sent as transmission 4, Comparative L 2, L 3, L 4 and L 5 , and then judge whether L 3 is smaller than L 2 , L 4 and L 5 .
- Node determining unit 4 330 may calculate 4 to the gateway from node L 4, and the receiving node 2 L 2 transmitted, L 5 3 L 5 transmitted from the transmitter 3 and the node, comparing L 2, L 3, L 4 and L 5 , and then judge whether L 4 is smaller than L 2 , L 3 and L 5 .
- the determining unit 330 of the node 5 can calculate the distance L 5 from the node 5 to the gateway, and receive the L 2 and node 3 sent by the node 2 L 3 and sent to the transmission node 4 L 4, Comparative L 2, L 3, L 4 and L 5, L 5 then determines whether less than L 2, L 3 and L 4.
- the setting unit 350 is connected to the determining unit 330, and is configured to set the device as a boundary point when the distance between the device and the gateway is the smallest distance between the target nodes and the gateway.
- the setting unit 350 specifically includes: a distance between the device and the gateway is a distance between each target node and the gateway.
- the network number in the IP address of the port used by the device in the new domain is set to the network number corresponding to the new domain identifier.
- the setting unit 350 may retain the IP address of the port used by the device in the old domain, and at the same time, The network number in the IP address of the port used by the device in the new domain is set to the network number corresponding to the new domain identifier.
- the setting unit 350 is further configured to: when the distance between the device and the gateway is not the smallest of the distance between the target node and the gateway, The network number in the IP address of the port used by the old domain is changed to the network number corresponding to the new domain identifier.
- the judgment unit 330 of the node 2 to the node 5 compares and learns that: L 2 ⁇ L 3 ⁇ L 5 ⁇ L 4 , the setting unit 350 of the node 2 to the node 5 can know that the node 2 is a boundary point.
- the setting unit 350 of the node 2 may retain the IP address of the port used by the device in the old domain with the domain identifier 1 and the IP address of the port used by the device in the new domain with the domain ID 2
- the network number is set to the network number corresponding to domain identifier 2.
- the setting unit 350 of the node 3 may change the network number in the IP address of the port used by the device in the old domain with the domain identifier 1 to the network number corresponding to the domain identifier 2, and the setting unit 350 of the node 4 may The network number in the IP address of the port used by the device in the old domain with the domain identifier 1 is changed to the network number corresponding to the domain identifier 2.
- the setting unit 350 of the node 5 can identify the old domain whose device is identified as 1 in the domain. Port used in The network number in the IP address is changed to the network number corresponding to the domain identifier 2.
- the determining unit may, according to the network topology information and the information of each target node, if the distance between the device and the gateway is the smallest among the distances between the target nodes and the gateway, the setting unit will The device is set as a boundary point to determine the process cartridge, which can reduce the manual planning of the boundary point or find the decoupling caused by the mistake of the boundary point.
- the setting unit of the target node other than the boundary point changes the network number in the IP address of the port used by the old domain to the network corresponding to the new domain identifier.
- the data communication network is divided into domains, which can reduce the scale of the data communication network, and the route oscillation converges quickly.
- FIG. 4 is a block diagram showing the structure of a data communication network domain dividing apparatus according to a fourth embodiment of the present invention.
- the data communication network domain device 400 provided in this embodiment is used to implement the data communication network domain method provided by the embodiment shown in FIG. 2.
- the components of the same reference numerals as those of FIG. 3 in FIG. 4 include: a receiving unit 310, a first receiving subunit 311, a second receiving subunit 313, a judging unit 330, and a setting unit 350, which have substantially the same functions as the foregoing, For the sake of clarity, a detailed description of these components is omitted.
- the data communication network domain-dividing device 400 further Can include:
- a sending unit 410 configured to be connected to the setting unit 350, configured to send a disconnection notification to a target node other than the boundary point when the boundary point is disconnected from the old domain, so that The target nodes other than the boundary points are re-determined boundary points.
- the sending unit 410 may send the disconnection to other target nodes except the device. Notifying that, after receiving the disconnection notification, the target node other than the device knows that the connection between the device and the old domain is disconnected, except the device Other target nodes than others may update the network topology information, and the determination unit 330 and the setting unit 350 of the target nodes other than the present apparatus may re-determine the boundary points and set the boundary points.
- the node 2 is a boundary point, the old domain has been divided into domains, and the connection between the node 2 and the old domain with the domain identifier 1 is disconnected, and the sending unit 410 of the node 2 can respectively reach the node 3.
- Node 4 and Node 5 send a disconnect notification. After receiving the disconnection notification sent by the transmitting unit 410 of the node 2, the node 3, the node 4, and the node 5 respectively update their storage.
- the determining unit 330 of the node 3 can calculate the distance L 3 from the node 3 to the gateway, the distance L 4 from the node 4 to the gateway, and the distance L 5 from the node 5 to the gateway, and then compare L 3 , the book
- L 4 and L 5 judge whether L 3 is smaller than L 4 and L 5 .
- the judging unit 330 of the node 4 can calculate L 3 , L 4 , and L 5 , and then compare L 3 , L 4 , and L 5 to determine whether L 4 is smaller than L 3 and L 5 .
- the judging unit 330 of the node 5 can calculate L 3 , L 4 , and L 5 , and then compare L 3 , L 4 , and L 5 to determine whether L 5 is smaller than L 3 and L 4 .
- the setting unit 350 of the node 3 may retain the IP address of the port itself used in the new domain with the domain identifier 2, and the network number in the IP address of the port used by the old domain whose domain is identified as 1 in the domain , Set the network number corresponding to domain ID 1.
- the determining unit may, according to the network topology information and the information of each target node, if the distance between the device and the gateway is the smallest among the distances between the target nodes and the gateway, the setting unit will The device is set as a boundary point to determine the process cartridge, which can reduce manual planning or find the pipe off caused by the mistake of the boundary point.
- the setting unit of the target node other than the boundary point changes the network number in the IP address of the port used by the old domain to the network number corresponding to the new domain identifier, and divides the data communication network into domains, thereby reducing data communication.
- the transmitting unit transmits a disconnection notification to the target node other than the device, so that the device other than the device Its target node re-determines the boundary point, which can avoid the deactivation of other target nodes except the device.
- the data communication network domain dividing device 500 may be a computing server host computer, a personal computer PC, or a portable computer or terminal Wait.
- the specific embodiment of the present invention does not limit the specific implementation of the computing node.
- the data communication network domain device 500 includes a receiver (English: receiver) 510, a processor (English: processor) 520, and a memory (English: book
- the data communication network domain device 500 may further include a transmitter (English: transmitter) 530.
- the receiver 510, the processor 520, the transmitter 530, and the memory 540 perform communication with each other via the bus 550.
- the receiver 510 is configured to receive the domain command.
- the memory 540 is configured to store information including a program routine.
- the memory 540 may include a high speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory.
- Memory 540 can also be a memory array.
- Memory 540 may also be partitioned, and the blocks may be combined into virtual volumes according to certain rules.
- the processor 520 is coupled to the receiver 510, the transmitter 530, and the memory 540 for controlling execution of the program routine.
- the processor 520 may be a central processing unit CPU, or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention.
- the processor 520 controls the execution of the program routine, and specifically includes:
- the device In the case where the distance between the device and the gateway is the smallest of the distances between the respective target nodes and the gateway, the device is set as a boundary point.
- the program routine further includes:
- the distance between the device and the gateway is not the said target node and the network said
- the network number in the IP address of the port used by the device in the old domain is changed to the network number corresponding to the new domain identifier.
- a transmitter 530 configured to send, when the boundary point is disconnected from the old domain, a disconnection notification to a target node other than the boundary point, so that the other than the boundary point Other target nodes re-determine the boundary points.
- the device is set as a boundary.
- Point determine the process bill, can reduce the manual planning or find the pipe off caused by the mistake of the boundary point.
- the target node other than the boundary point changes the network number in the IP address of the port used by the old domain to the network number corresponding to the new domain identifier, and divides the data communication network into domains, which can reduce the data communication network. Scale, route oscillating convergence is fast.
- a disconnection notification is sent to a target node other than the device, so that the target node other than the device re-determines the boundary point, and the device other than the device can be avoided.
- the other target nodes are out of control.
- the function is implemented in the form of computer software and sold or used as a stand-alone product, it may be considered to some extent that all or part of the technical solution of the present invention (for example, a part contributing to the prior art) is It is embodied in the form of computer software products.
- the computer software product is typically stored in a computer readable storage medium, including instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the method of various embodiments of the present invention.
- the foregoing storage medium includes a USB flash drive, a mobile hard disk, a read only memory (English: Read-Only Memory, abbreviation: ROM), and a random access memory (English: Random book)
- RAM Random Access Memory
- disk or disc etc.
- Figure 6 is a block diagram showing the structure of a data communication network sub-domain system according to a sixth embodiment of the present invention.
- the data communication network sub-domain system 600 can include:
- Network manager 610 Gateway 630 and at least one node device 650.
- the domain command includes information of each target node device that needs to be divided from the old domain to the new domain and the new domain identifier;
- the node device 650 may adopt any of the data communication network sub-domain devices in the foregoing Embodiments 3 to 5;
- the gateway 630 is connected to the network manager 610, and configured to receive the domain command sent by the network manager 610, and forward the domain command to the node device 650.
- the target node device when the node device receives the domain command sent by the network manager through the gateway, the target node device according to the network topology information and the information of each target node device, if it and the gateway The distance is the smallest of the distance between each target node and the gateway, and the target node device sets itself as the boundary point setting. Prepare, determine the process of the single, can reduce the manual planning or find the boundary point equipment failure caused by the pipe.
- the target node device other than the border point device changes the network number in the IP address of the port used by the old domain to the network number corresponding to the new domain identifier, and divides the data communication network into domains, thereby reducing data communication.
- the point device is out of control.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明涉及一种数据通信网络分域方法、装置及系统。其中,该数据通信网络分域方法包括:目标节点接收分域命令,分域命令包括需要从旧域划分到新域的各个目标节点的信息和新域标识;目标节点根据旧域的网络拓扑信息和各个目标节点的信息,判断自身与旧域的网关的距离是否是各个目标节点与网关的距离中最小的;在目标节点与网关的距离是各个目标节点与网关的距离中最小的情况下,目标节点将自身设置为边界点。本发明实施例根据网络拓扑信息和各个目标节点的信息,若自身与网关的距离是各个目标节点与网关的距离中最小的,则目标节点将自身设置为边界点,确定过程简单,可以减少人工规划边界点或查找边界点失误造成的脱管。
Description
数据通信网络分域方法、 装置及系统
技术领域
本发明涉及通信技术领域, 尤其涉及一种数据通信网络分域方 法、 装置及系统。
背景技术
说
一个数据通信网给 (英文: Data Communication Network , 缩 写: DCN ) 中可以包括多个节点, 每个节点都需要记录该数据通信
书
网络中所有节点的信息。 随着节点数量的增加, 一个数据通信网络 中的每个节点需要记录的节点信息也会增加, 占用了节点的有效资 源。 随着虚拟网元技术的出现, 可以将一个数据通信网络分域为多 个子网络, 每个子网络的节点数量相对较少, 从而减少每个节点存 储的节点信息。
通常的数据通信网络的分域方法, 需要先通过人工规划或查找 来确定该数据通信网络的边界点; 再手动设置该边界点。 若数据通 信网络节点较多, 则人工规划或查找该数据通信网络的边界点的难 度较大。
综上所述, 通常的在数据通信网络的分域过程中, 确定边界点 的难度大。
发明内容
技术问题
有鉴于此, 本发明要解决的技术问题是, 如何在数据通信网络 的分域过程中确定边界点。
解决方案
为了解决上述技术问题, 在第一方面, 本发明提出了一种数据
通信网络分域方法, 包括:
目标节点接收分域命令, 所述分域命令包括需要从旧域划分到 新域的各个目标节点的信息和所述新域标识;
所述目标节点根据所述旧域的网络拓朴信息和所述各个目标 节点的信息, 判断自身与所述旧域的网关的距离是否是所述各个目 标节点与所述网关的距离中最小的;
在所述目标节点与所述网关的距离是所述各个目标节点与所 说
述网关的距离中最小的情况下, 所述目标节点将自身设置为边界 点。
书
结合第一方面, 在第一种可能的实现方式中, 所述目标节点将 自身设置为边界点, 包括:
所述目标节点将自身在所述新域所使用的端口的 IP地址中的 网络号, 设置为所述新域标识对应的网络号。
结合第一方面或第一方面的第一种可能的实现方式,在第二种 可能的实现方式中, 还包括:
在所述目标节点与所述网关的距离不是所述各个目标节点与 所述网关的距离中最小的情况下, 所述目标节点将自身在所述旧域 所使用的端口的 IP地址中的网络号, 变更为所述新域标识对应的网 络号。
结合第一方面、第一方面的第一种可能的实现方式或第一方面 的第二种可能的实现方式, 在第三种可能的实现方式中, 所述目标 节点接收分域命令, 包括:
在所述目标节点为主节点的情况下, 所述主节点通过所述网关 从网络管理器接收所述分域命令,将所述分域命令发送给除了所述 主节点以外的其它目标节点;
在所述目标节点非主节点的情况下, 所述目标节点从所述主节 点接收所述分域命令。
结合第一方面、第一方面的第一种可能的实现方式至第一方面 的第三种可能的实现方式中任一种可能的实现方式,在第四种可能 的实现方式中,所述在所述目标节点与所述网关的距离是所述各个 目标节点与所述网关的距离中最小的情况下, 所述目标节点将自身 设置为边界点之后, 还包括:
在所述边界点与所述旧域断开连接的情况下, 向除了所述边界 点以外的其它目标节点发送断开通知, 以使所述除了所述边界点以 说
外的其它目标节点重新确定边界点。
第二方面, 本发明提出了一种数据通信网络分域装置, 包括: 书
接收单元, 用于接收分域命令, 所述分域命令包括需要从旧域 划分到新域的各个目标节点的信息和所述新域标识;
判断单元, 与所述接收单元连接, 用于根据所述旧域的网络拓 朴信息和所述各个目标节点的信息, 判断本装置与所述旧域的网关 的距离是否是所述各个目标节点与所述网关的距离中最小的;
设置单元, 与所述判断单元连接, 用于在本装置与所述网关的 距离是所述各个目标节点与所述网关的距离中最小的情况下,将自 身设置为边界点。
结合第二方面, 在第一种可能的实现方式中, 所述设置单元具 体包括: 用于在本装置与所述网关的距离是所述各个目标节点与所 述网关的距离中最小的情况下,将本装置在所述新域所使用的端口 的 IP地址中的网络号, 设置为所述新域标识对应的网络号。
结合第二方面或第二方面的第一种可能的实现方式,在第二种 可能的实现方式中, 所述设置单元还用于在本装置与所述网关的距 离不是所述各个目标节点与所述网关的距离中最小的情况下,将本 装置在所述旧域所使用的端口的 IP地址中的网络号, 变更为所述新 i或标识对应的网络号。
结合第二方面、第二方面的第一种可能的实现方式或第二方面
的第二种可能的实现方式, 在第三种可能的实现方式中, 所述接收 单元具体包括:
第一接收子单元, 用于在本装置为主节点的情况下, 通过所述 网关从网络管理器接收所述分域命令,将所述分域命令发送给除了 所述主节点以外的其它目标节点;
第二接收子单元, 用于在本装置非主节点的情况下, 从所述主 节点接收所述分域命令。
结合第二方面、第二方面说的第一种可能的实现方式至第二方面 的第三种可能的实现方式中任一种可能的实现方式,在第四种可能 书
的实现方式中, 还包括:
发送单元, 与所述设置单元连接, 用于在所述边界点与所述旧 域断开连接的情况下, 向除了所述边界点以外的其它目标节点发送 断开通知, 以使所述除了所述边界点以外的其它目标节点重新确定 边界点。
第三方面, 本发明提出了一种数据通信网络分域系统, 包括: 网络管理器、 网关和至少一个节点设备;
包括需要从旧域划分到新域的各个目标节点设备的信息和所述新 域标识;
所述节点设备采用第二方面或第二方面的第一种可能的实现 方式至第二方面的第四种可能的实现方式中任一种可能的实现方 式中的数据通信网络分域装置;
所述网关与所述网络管理器连接,用于接收所述网络管理器发 送的所述分域命令, 将所述分域命令转发给所述节点设备。
有益效果
本实施例的数据通信网络分域方法, 目标节点根据网络拓朴信 息和各个目标节点的信息, 若自身与网关的距离是各个目标节点与
网关的距离中最小的, 则目标节点将自身设置为边界点, 确定过程 筒单, 可以减少人工规划边界点或查找边界点失误造成的脱管。 除 了边界点之外的其它目标节点将自身在旧域所使用的端口的 IP地 址中的网络号变更为新域标识对应的网络号, 将数据通信网络分 域, 可以减小数据通信网络的规模, 路由震荡收敛快。
根据下面参考附图对示例性实施例的详细说明, 本发明的其它 特征及方面将变得清楚。
说 附图说明
书
包含在说明书中并且构成说明书的一部分的附图与说明书一 起示出了本发明的示例性实施例、 特征和方面, 并且用于解释本发 明的原理。
图 la为根据本发明实施例一的数据通信网络分域方法的流程 图;
图 lb为根据本发明实施例一的数据通信网络分域方法分域之 前的数据通信网络示意图;
图 lc为根据本发明实施例一的数据通信网络分域方法分域之 后的数据通信网络示意图;
图 2为根据本发明实施例二的数据通信网络分域方法的流程 图;
图 3为根据本发明实施例三的数据通信网络分域装置的结构框 图;
图 4为根据本发明实施例四的数据通信网络分域装置的结构框 图;
图 5为根据本发明实施例五的数据通信网络分域装置的结构框 图; 以及
图 6为根据本发明实施例六的数据通信网络分域系统的结构示
意图。
具体实施方式
以下将参考附图详细说明本发明的各种示例性实施例、特征和 方面。 附图中相同的附图标记表示功能相同或相似的元件。 尽管在 附图中示出了实施例的各种方面, 但是除非特别指出, 不必按比例 绘制附图。
说
在这里专用的词"示例性 "意为 "用作例子、 实施例或说明性 "。 这里作为"示例性 "所说明的任何实施例不必解释为优于或好于其
书
它实施例。
另外, 为了更好的说明本发明, 在下文的具体实施方式中给出 了众多的具体细节。本领域技术人员应当理解,没有某些具体细节, 本发明同样可以实施。 在另外一些实例中, 对于本领域技术人员熟 知的方法、 手段、 元件和电路未作详细描述, 以便于凸显本发明的 王曰 。
实施例 1
图 la为根据本发明实施例一的数据通信网络分域方法的流程 图。 如图 la所示, 该数据通信网络分域方法具体可以包括:
步骤 S 110、 目标节点接收分域命令, 所述分域命令包括需要从 旧域划分到新域的各个目标节点的信息和所述新域标识。
具体地, 每一个数据通信网络 ( DCN ) 可以包括多个节点 (也 称为网元), 且每一个数据通信网络都具有一个使其区别于其它数 据通信网络的域标识 (英文: Identification , 缩写: ID )。 域标识可 以是一个数字。 若多个节点在数据通信网络中所使用的端口的 IP地 址中的网络号相同, 则该多个节点属于同一个数据通信网络。 每一 个数据通信网络的网络号与该数据通信网络的域标识具有对应关 系, 该对应关系可以根据规则或者策略选取, 例如: 可以根据规则
或者策略, 设定域标识为 0的数据通信网络的网络号为 192.168.0.1 , 设定域标识为 1的数据通信网络的网络号为 129.8.0.0。
网络管理器 (英文: Network Manager , 缩写: NM ) 可以通过 向所管理的数据通信网络的各个节点发送登录命令的方式, 来接入 所管理的数据通信网络, 以使其能够登录各个节点。 网络管理器可 以先向数据通信网络中的网关 (英文: Gateway ) 发送登录命令, 而网关可以将自身的 IP地址添加到该登录命令中构成一个新的数 说
据包, 网关再将该新的数据包发送给各个节点。 各个节点接收到该 新的数据包之后, 进行登录认证, 记录网关的 IP地址, 并根据网关 书
的 IP地址将认证结果返回给网关。 最后由网关将各个节点的认证结 果汇总之后发送给网络管理器。 在某些情况下 (例如数据通信网络 中的节点较多 )需要进行分域时, 网络管理器可以向网关发送分域 命令。 其中, 当前的数据通信网络为旧域, 从旧域中划分出去的目 标节点所组成的数据通信网络为新域, 旧域去除目标节, 以外的节 点仍然属于该旧域, 新域标识为该新域的标识。
例如, 图 lb为根据本发明实施例一的数据通信网络分域方法分 域之前的数据通信网络示意图, 图 l c为根据本发明实施例一的数据 通信网络分域方法分域之后的数据通信网络示意图。参见图 lb和图 l c , 数据通信网络可以包括多个节点, 与网络管理器连接的节点为 网关, 接收网关发送的分域命令的节点为主节点, 需要从数据通信 网络分域出去的节点为目标节点。 旧域标识为 1 , 新域标识为 2。 旧 域中包括节点 1〜节点 6共六个节点, 假设节点 1为网关, 节点 2〜节 点 5这四个节点是目标节点。 节点 2 ~节点 5可以从接收到的分域命 令中, 获知自 己要分域到新域, 且该新域标识为 2。
在一种可能的实现方式中, 所述目标节点接收分域命令, 可以 包括:
在所述目标节点为主节点 (英文: master ) 的情况下, 所述主
节点通过所述网关从网络管理器接收所述分域命令,将所述分域命 令发送给除了所述主节点以外的其它目标节点;
在所述目标节点非所述主节点的情况下, 所述目标节点从所述 主节点接收所述分域命令。
具体地, 在数据通信网络的节点中, 可以选取一个节点作为该 数据通信网络的主节点,该主节点可以在数据通信网络的节点中任 意选取, 也可以根据其它规则或者策略选取, 本实施例中对此不做 说
限制。 当需要分域时, 例如, 在旧域的节点太多时, 网关从网络管 理器接收上述分域命令后, 可以向主节点发送该分域命令, 再由该 书
主节点将该分域命令转发给目标节点。 其中, 若自身不是主节点, 则可以接收主节点发送的该分域命令; 若自身是主节点, 则可以接 收网关发送的该分域命令,将该分域命令发送给除了 自身以外的其 它目标节点。 例如, 参见图 lb , 支设节点 1为网关, 节点 6为旧域的 主节点, 节点 2〜节点 5这四个节点为目标节点。 当节点 6接收到节 点 1发送的分域命令时, 节点 2 ~节点 5这四个目标节点可以接收到 节点 6发送的分域命令。
步骤 S 130、所述目标节点根据所述旧域的网络拓朴信息和所述 各个目标节点的信息,判断自身与所述旧域的网关的距离是否是所 述各个目标节点与所述网关的距离中最小的。
具体地, 节点的网络拓朴信息可以是一张以自己为根的树, 节 点可以计算出 自己到网络拓朴信息中任意一个节点的距离。 因此, 目标节点可以采用以下两种方式, 判断自身与网关的距离是否小于 除了 自身以外的其它目标节点到网关的距离。
方式一、 目标节点分别计算所有的目标节点到网关的距离; 再 比较自身到网关的距离与其它目标节点到网关的距离。
例如, 参见图 lb , 假设节点 1为网关, 节点 2〜节点 5为目标节 点, 节点 2可以计算节点 2到网关的距离 L2、 节点 3到网关的距离 L3、
节点 4到网关的距离 L4和节点 5到网关的距离 L5 , 再比较 L2、 L3、 U 和 L5 , 判断 L2是否小于 L3、 L4和 L5。 节点 3可以计算 L2、 L3、 L4和 L5 , 判断 L3是否小于 L2、 L4和 L5。 节点 4可以计算 L2、 L3、 L4和 L5 , 判断 L4是否小于 L2、 L3和 L5。 节点 5可以计算 L2、 L3、 L4和 L5 , 判断 L5 是否小于 L2、 L3和 L4。
方式二、 目标节点计算自身到网关的距离; 然后接收除了 自身 以外的其它目标节点发送的该除了 自身以外的其它目标节点到网 说
关的距离, 再比较自身到网关的距离与其它目标节点到网关的距 离。
书
例如, 参见图 lb , 假设节点 1为网关, 节点 2〜节点 5为目标节 点, 节点 2可以计算节点 2到网关的距离 L2 , 并接收节点 3发送的 L3、 节点 4发送的 L4和节点 5发送的 L5 , 比较 L2、 L3、 L4和 L5 , 再判断 L2 是否小于 L3、 L4和 L5。 节点 3可以计算节点 3到网关的距离 L3 , 并接 收节点 2发送的 L2、 节点 4发送的 L4和节点 5发送的 L5 , 比较 L2、 L3、 L4和 L5 , 再判断 L3是否小于 L2、 L4和 L5。 节点 4可以计算节点 4到网 关的距离 L4 , 并接收节点 2发送的 L2、 节点 3发送的 L3和节点 5发送 的 L5 , 比较 L2、 L3、 L4和 L5 , 再判断 L4是否小于 L2、 L3和 L5。 节点 5 可以计算节点 5到网关的距离 L5 , 并接收节点 2发送的 L2、 节点 3发 送的 L3和节点 4发送的 L4 , 比较 L2、 L3、 L4和 L5 , 再判断 L5是否小于 L2、 L3和 L4。
步骤 S 150、在所述目标节点与所述网关的距离是所述各个目标 节点与所述网关的距离中最小的情况下, 所述目标节点将自身设置 为边界点。
具体地, 通常的边界点的确定方法是通过某些规则, 人工规划 或者查找数据通信网络中的边界点。若人工规划或查找的规则设置 失误, 则边界点确定失误, 导致所有目标节点脱管。 对比于通常的 边界点的确定方法, 本实施例的目标节点接收到上述分域命令之
后, 目标节点可以根据自身存储的网络拓朴信息和各个目标节点的 信息,在自身与网关的距离是各个目标节点与网关的距离中最小的 情况下, 确定自身是边界点。
具体地, 边界点既可以和旧域中的节点交互, 也可以和新域中 的节点交互。即: 旧域和新域之间的交互可以通过该边界点来实现。
在一种可能的实现方式中, 所述目标节点将自身设置为边界 点, 包括: 所述目标节点将自身在所述新域所使用的端口的 IP地址 说
中的网络号, 设置为所述新域标识对应的网络号。
具体地, 若目标节点判定自身与网关的距离是各个目标节点与 书
网关的距离中最小的, 则目标节点可以保留自身在旧域中所使用的 端口的 IP地址, 同时, 将自身在新域所使用的端口的 IP地址中的网 络号, 设置为新域标识对应的网络号。
在一种可能的实现方式中, 所述数据通信网络分域方法还包 括: 在所述目标节点与所述网关的距离不是所述各个目标节点与所 述网关的距离中最小的情况下,所述目标节点将自身在所述旧域所 使用的端口的 IP地址中的网络号, 变更为所述新域标识对应的网络 号。
例如, 参见图 lb , ^ 设在步骤 S 130的方式一或方式二中, 节点 2〜节点 5比较之后得知: L2 < L3 < L5 < L4 , 则节点 2〜节点 5可以获 知节点 2为边界点, 节点 2可以保留自身在域标识为 1的旧域中所使 用的端口的 IP地址, 并且, 将自身在域标识为 2的新域中所使用的 端口的 IP地址中的网络号, 设置为域标识 2对应的网络号。 节点 3、 节点 4和节点 5可以分别将自身在域标识为 1的旧域中所使用的端口 的 IP地址中的网络号, 变更为域标识 2对应的网络号。 因此, 分域 之后的旧域, 可以参见图 l c , 从域标识为 1的旧域中分域出去的节 点 2〜节点 5这四个节点组成了域标识为 2的新域,域标识为 1的旧域 去除节点 3 ~节点 5这三个节点以外的节点 1、 节点 2和节点 6这三个
节点仍然属于域标识为 1的旧域。 此外, 域标识为 1的旧域和域标识 为 2的新域之间的交互可以通过节点 2来实现。
本发明实施例的数据通信网络分域方法, 目标节点根据网络拓 朴信息和各个目标节点的信息,若自身与网关的距离是各个目标节 点与网关的距离中最小的, 则目标节点将自身设置为边界点, 确定 过程筒单, 可以减少人工规划边界点或查找边界点失误造成的脱 管。 除了边界点之外的其它目标节点将自身在旧域所使用的端口的 说
IP地址中的网络号, 变更为新域标识对应的网络号, 将数据通信网 络分域, 可以减小数据通信网络的规模, 路由震荡收敛快。
书
实施例 2
图 2为根据本发明实施例二的数据通信网络分域方法的流程 图。 图 2中标号与图 1相同的步骤具有相同的功能, 为筒明起见, 省 略对这些步骤的详细说明。
如图 2所示, 图 2所示的数据通信网络分域方法与图 la所示数据 通信网络分域方法的主要区别在于, 除了包括实施例一中的步骤 S 110、 步骤 S 130和步骤 S 150之外, 还可以包括:
步骤 S210、 在所述边界点与所述旧域断开连接的情况下, 向除 了所述边界点以外的其它目标节点发送断开通知, 以使所述除了所 述边界点以外的其它目标节点重新确定边界点。
具体地, 在旧域分域之后, 若步骤 S 150中设置的边界点与该旧 域的连接断开, 为了确保新域中的节点不脱管, 该目标节点可以向 除了边界点之外的其它目标节点发送断开通知, 除了边界点之外的 其它目标节点接收到该断开通知之后, 获知设置为边界点的目标节 点和旧域的连接断开, 除了边界点之外的其它目标节点可以更新网 络拓朴信息,按照步骤 S 130和步骤 S 150中的方法重新确定边界点并 设置边界点。
例如, 参见图 lc , 支设节点 2为边界点, 旧域已经分域, 殳设
节点 2和域标识为 1的旧域的连接断开, 则节点 2可以分别向节点 3、 节点 4和节点 5发送断开通知。 节点 3、 节点 4和节点 5接收到节点 2 发送的断开通知后, 分别更新自身存储的网络拓朴信息。 节点 3可 以计算节点 3到网关的距离 L3、 节点 4到网关的距离 L4和节点 5到网 关的距离 L5 , 再比较 L3、 L4和 L5 , 判断 L3是否小于 L4和 L5。 节点 4 可以计算 L3、 L4和 L5 , 再比较 L3、 L4和 L5 , 判断 L4是否小于 L3和 L5。 节点 5可以计算 L3、 L4和 L5 , 再比较 L3、 L4和 L5 , 判断 L5是否小于 L3 说
和 L4。 支设节点 3、 节点 4和节点 5比较之后得知: L3 < L5 < L4 , 则 节点 3、 节点 4和节点 5可以获知节点 3为边界点。 节点 3可以保留自 书
身在域标识为 2的新域中所使用的端口的 IP地址, 并且, 将自身在 域标识为 1的旧域中所使用的端口的 IP地址中的网络号, 设置域标 识 1对应的网络号。
本发明实施例的数据通信网络分域方法, 目标节点根据网络拓 朴信息和各个目标节点的信息,若自身与网关的距离是各个目标节 点与网关的距离中最小的, 则目标节点将自身设置为边界点, 确定 过程筒单, 可以减少人工规划或查找边界点失误造成的脱管。 除了 边界点之外的其它目标节点将自身在旧域所使用的端口的 IP地址 中的网络号,变更为新域标识对应的网络号,将数据通信网络分域, 可以减小数据通信网络的规模, 路由震荡收敛快。 此外, 在边界点 和旧域的连接断开时, 向除了边界点之外的其它目标节点发送断开 通知, 使得除了边界点之外的其它目标节点重新确定边界点, 可以 避免除了边界点之外的其它目标节点脱管。
实施例 3
图 3为根据本发明实施例三的数据通信网络分域装置的结构框 图。 本实施例提供的数据通信网络分域装置 300用于实现图 l a所示 实施例提供的数据通信网络分域方法。 如图 3所示, 该数据通信网 络分域装置 300可以包括:
接收单元 310 , 用于接收分域命令, 所述分域命令包括需要从 旧域划分到新域的各个目标节点的信息和所述新域标识。
具体地, 每一个数据通信网络可以包括多个节点, 且每一个数 据通信网络都具有一个使其区别于其它数据通信网络的域标识。域 标识可以是一个数字。若多个节点在数据通信网络中所使用的端口 的 IP地址中的网络号相同, 则该多个节点属于同一个数据通信网 络。每一个数据通信网络的网络号与该数据通信网络的域标识具有 说
对应关系, 该对应关系可以根据规则或者策略选取, 例如: 可以根 据规则或者策略, 设定域标识为 0的数据通信网络的网络号为 书
192.168.0.1 , 设定域标识为 1的数据通信网络的网络号为 129.8.0.0。
网络管理器可以通过向所管理的数据通信网络的各个节点发 送登录命令的方式, 来接入所管理的数据通信网络, 以使其能够登 录各个节点。 网络管理器可以先向数据通信网络中的网关发送登录 命令, 而网关可以将自身的 IP地址添加到该登录命令中构成一个新 的数据包, 网关再将该新的数据包发送给各个节点。 各个节点接收 到该新的数据包之后, 记录网关的 IP地址, 进行登录认证, 并根据 网关的 IP地址将认证结果返回给网关。 最后由网关将各个节点的认 证结果汇总之后发送给网络管理器。 在某些情况下 (例如数据通信 网络中的节点较多 )需要进行分域时, 网络管理器可以向网关发送 分域命令。 其中, 当前的数据通信网络为旧域, 从旧域中划分出去 的目标节点所组成的数据通信网络为新域, 旧域去除目标节点以外 的节点仍然属于该旧域, 新域标识为该新域的标识。 该目标节点可 以为本实施例的数据通信网络分域装置。
例如, 参见图 lb和图 lc , 旧域标识为 1 , 新域标识为 2。 旧域中 包括节点 1〜节点 6共 6个节点, 假设节点 1为网关, 节点 2〜节点 5 这 4个节点是目标节点, 节点 2 ~节点 5可以为数据通信网络分域装 置 300。 节点 2 ~节点 5可以分别从各自的接收单元 310接收到的分域
命令中, 获知自身要分域到新域, 且该新域标识为 2。
在一种可能的实现方式中, 接收单元 310具体可以包括: 第一接收子单元 311 , 用于在本装置为主节点的情况下, 通过 所述网关从网络管理器接收所述分域命令,将所述分域命令发送给 除了所述主节点以外的其它目标节点;
第二接收子单元 313 , 用于在本装置非所述主节点的情况下, 从所述主节点接收所述分域命令。
说
具体地, 在数据通信网络的节点中, 可以选取一个节点作为该 数据通信网络的主节点,该主节点可以在数据通信网络的节点中任 书
意选取, 也可以根据其它规则或者策略选取, 本实施例中对此不做 限制。 当需要分域时, 例如, 在旧域的节点太多时, 网关从网络管 理器接收上述分域命令后, 可以向主节点发送该分域命令, 再由该 主节点将该分域命令转发给目标节点。其中,若本装置不是主节点, 则第二接收子单元 313可以接收主节点发送的该分域命令; 若本装 置是主节点, 则第一接收子单元 311可以接收网关发送的该分域命 令, 将该分域命令发送给除了本装置以外的其它目标节点。 例如, 参见图 lb , 假设节点 1为网关, 节点 6为旧域的主节点, 节点 2〜节 点 5这 4个节点为目标节点。 当节点 6接收到节点 1发送的分域命令 时, 节点 2的第二接收子单元 313可以接收节点 6发送的分域命令; 节点 3的第二接收子单元 313可以接收节点 6发送的分域命令; 节点 4 的第二接收子单元 313可以接收节点 6发送的分域命令; 节点 5的第 二接收子单元 313可以接收节点 6发送的分域命令。
判断单元 330 , 与所述接收单元 310连接, 用于根据所述旧域的 网络拓朴信息和所述各个目标节点的信息,判断本装置与所述旧域 的网关的距离是否是所述各个目标节点与所述网关的距离中最小 的。
具体地, 判断单元 330可以采用以下两种方式, 判断本装置与
网关的距离是否小于除了本装置以外的其它目标节点到网关的距 离。
方式一、判断单元 330分别计算所有的目标节点到网关的距离; 再比较本装置到网关的距离与除了本装置以外的其它目标节点到 网关的距离。
例如, 参见图 lb , 假设节点 1为网关, 节点 2〜节点 5为目标节 点, 节点 2的判断单元 330可以分别计算节点 2到网关的距离 L2、 节 说
点 3到网关的距离 L3、 节点 4到网关的距离 L4和节点 5到网关的距离 L5 , 并比较 L2、 L3、 L4和 L5 , 再判断 L2是否小于 L3、 L4和 L5。 节点 3 书
的判断单元 330可以分别计算 L2、 L3、 L4和 L5 , 并判断 L3是否小于 L2、 L4和 L5。 节点 4的判断单元 330可以分别计算 L2、 L3、 L4和 L5 , 并判断 L4是否小于 L2、 L3和 L5。 节点 5的判断单元 330可以分别计算 L2、 L3、 L4和 L5 , 并判断 L5是否小于 L2、 L3和 L4。
方式二、 判断单元 330计算本装置到网关的距离; 然后接收除 了本装置以外的其它目标节点发送的该除了本装置以外的其它目 标节点到网关的距离,再比较本装置到网关的距离与除了本装置以 外的其它目标节点到网关的距离。
例如, 参见图 lb , 假设节点 1为网关, 节点 2〜节点 5为目标节 点, 节点 2的判断单元 330可以计算节点 2到网关的距离 L2 , 并接收 节点 3发送的 L3、 节点 4发送的 L4和节点 5发送的 L5 , 比较 L2、 L3、 L4和 L5 , 再判断 L2是否小于 L3、 L4和 L5。 节点 3的判断单元 330可以 计算节点 3到网关的距离 L3 , 并接收节点 2发送的 L2、 节点 4发送的 L4和节点 5发送的 L5 , 比较 L2、 L3、 L4和 L5 , 再判断 L3是否小于 L2、 L4和 L5。 节点 4的判断单元 330可以计算节点 4到网关的距离 L4 , 并 接收节点 2发送的 L2、 节点 3发送的 L3和节点 5发送的 L5 , 比较 L2、 L3、 L4和 L5 , 再判断 L4是否小于 L2、 L3和 L5。 节点 5的判断单元 330 可以计算节点 5到网关的距离 L5 , 并接收节点 2发送的 L2、 节点 3发
送的 L3和节点 4发送的 L4 , 比较 L2、 L3、 L4和 L5 , 再判断 L5是否小于 L2、 L3和 L4。
设置单元 350 , 与所述判断单元 330连接, 用于在本装置与所述 网关的距离是所述各个目标节点与所述网关的距离中最小的情况 下, 将本装置设置为边界点。
在一种可能的实现方式中, 所述设置单元 350具体包括: 用于 在本装置与所述网关的距离是所述各个目标节点与所述网关的距 说
离中最小的情况下, 将本装置在所述新域所使用的端口的 IP地址中 的网络号, 设置为所述新域标识对应的网络号。
书
具体地, 若判断单元 330判定本装置与网关的距离是各个目标 节点与网关的距离中最小的, 则设置单元 350可以保留本装置在旧 域中所使用的端口的 IP地址, 同时, 将本装置在新域所使用的端口 的 IP地址中的网络号, 设置为新域标识对应的网络号。
在一种可能的实现方式中, 所述设置单元 350还用于在本装置 与所述网关的距离不是所述各个目标节点与所述网关的距离中最 小的情况下, 将本装置在所述旧域所使用的端口的 IP地址中的网络 号, 变更为所述新域标识对应的网络号。
例如, 参见图 lb , 假设节点 2〜节点 5的判断单元 330比较之后 得知: L2 < L3 < L5 < L4 , 则节点 2〜节点 5的设置单元 350可以获知 节点 2为边界点, 节点 2的设置单元 350可以保留本装置在域标识为 1 的旧域中所使用的端口的 IP地址, 并且, 将本装置在域标识为 2的 新域中所使用的端口的 IP地址中的网络号, 设置为域标识 2对应的 网络号。 节点 3的设置单元 350可以将本装置在域标识为 1的旧域中 所使用的端口的 IP地址中的网络号, 变更为域标识 2对应的网络号, 节点 4的设置单元 350可以将本装置在域标识为 1的旧域中所使用的 端口的 IP地址中的网络号, 变更为域标识 2对应的网络号, 节点 5的 设置单元 350可以将本装置在域标识为 1的旧域中所使用的端口的
IP地址中的网络号, 变更为域标识 2对应的网络号。
本发明实施例的数据通信网络分域装置, 判断单元可以根据网 络拓朴信息和各个目标节点的信息, 若本装置与网关的距离是各个 目标节点与网关的距离中最小的, 设置单元将本装置设置为边界 点, 确定过程筒单, 可以减少人工规划边界点或查找边界点失误造 成的脱管。 除了边界点之外的其它目标节点的设置单元将自身在旧 域所使用的端口的 IP地址中的网络号, 变更为新域标识对应的网络 说
号, 将数据通信网络分域, 可以减小数据通信网络的规模, 路由震 荡收敛快。
书
实施例 4
图 4为根据本发明实施例四的数据通信网络分域装置的结构框 图。本实施例提供的数据通信网络分域装置 400用于实现图 2所示实 施例提供的数据通信网络分域方法。 其中, 图 4中与图 3标号相同的 组件, 包括: 接收单元 310、 第一接收子单元 311、 第二接收子单元 313、 判断单元 330和设置单元 350 , 具有与前述基本相同的功能, 为筒明起见, 省略对这些组件的详细说明。
此外, 通过比较图 3和图 4可知, 图 4所示实施例与图 3所示实施 例的主要区别在于, 在图 3所示的实施例的基础上, 该数据通信网 络分域装置 400还可以包括:
发送单元 410 , 与所述设置单元 350连接, 用于在所述边界点与 所述旧域断开连接的情况下, 向除了所述边界点以外的其它目标节 点发送断开通知, 以使所述除了所述边界点以外的其它目标节点重 新确定边界点。
具体地, 在旧域分域之后, 若本装置与该旧域的连接断开, 为 了确保新域中的节点不脱管, 发送单元 410可以向除了本装置之外 的其它目标节点发送断开通知, 除了本装置之外的其它目标节点接 收到该断开通知之后, 获知本装置和旧域的连接断开, 除了本装置
之外的其它目标节点可以更新网络拓朴信息, 除了本装置之外的其 它目标节点的判断单元 330和设置单元 350可以重新确定边界点并 设置边界点。
例如, 参见图 lc , 支设节点 2为边界点, 旧域已经分域, 殳设 节点 2和域标识为 1的旧域的连接断开, 则节点 2的发送单元 410可以 分别向节点 3、 节点 4和节点 5发送断开通知。 节点 3、 节点 4和节点 5 接收到节点 2的发送单元 410发送的断开通知后, 分别更新自身存储 说
的网络拓朴信息。 节点 3的判断单元 330可以计算节点 3到网关的距 离 L3、 节点 4到网关的距离 L4和节点 5到网关的距离 L5 , 再比较 L3、 书
L4和 L5 , 判断 L3是否小于 L4和 L5。 节点 4的判断单元 330可以计算 L3、 L4和 L5 , 再比较 L3、 L4和 L5 , 判断 L4是否小于 L3和 L5。 节点 5的判断 单元 330可以计算 L3、 L4和 L5 , 再比较 L3、 L4和 L5 , 判断 L5是否小于 L3和 L4。 假设节点 3的判断单元 330、 节点 4的判断单元 330和节点 5 的判断单元 330比较之后得知: L3 < L5 < L4 , 则节点 3的设置单元 350、 节点 4的设置单元 350和节点 5的设置单元 350可以获知节点 3 为边界点。 节点 3的设置单元 350可以保留自身在域标识为 2的新域 中所使用的端口的 IP地址, 并且, 将自身在域标识为 1的旧域中所 使用的端口的 IP地址中的网络号, 设置域标识 1对应的网络号。
本发明实施例的数据通信网络分域装置, 判断单元可以根据网 络拓朴信息和各个目标节点的信息,若本装置与网关的距离是各个 目标节点与网关的距离中最小的, 设置单元将本装置设置为边界 点, 确定过程筒单, 可以减少人工规划或查找边界点失误造成的脱 管。 除了边界点之外的其它目标节点的设置单元将自身在旧域所使 用的端口的 IP地址中网络号, 变更为新域标识对应的网络号, 将数 据通信网络分域,可以减小数据通信网络的规模,路由震荡收敛快。 此外, 在本装置和数据通信网络的连接断开时, 发送单元向除了本 装置之外的其它目标节点发送断开通知,使得除了本装置之外的其
它目标节点重新确定边界点,可以避免除了本装置之外的其它目标 节点脱管。
实施例 5
图 5为根据本发明实施例五的数据通信网络分域装置的结构框 图; 所述数据通信网络分域装置 500可以是具备计算能力的主机服 务器、 个人计算机 PC、 或者可携带的便携式计算机或终端等。 本发 明具体实施例并不对计算节点的具体实现做限定。
说
所述数据通信 网 络分域装置 500包括接收器(英文: receiver)510、 处理器(英文: processor)520、 存储器(英文: 书
memory)540和总线 550。在数据通信网络分域装置 500为边界点的情 况下, 该数据通信网络分域装置 500还可以包括发送器(英文: transmitter)530。 其中, 接收器 510、 处理器 520、 发送器 530、 以及 存储器 540通过总线 550完成相互间的通信。
接收器 510 , 用于接收分域命令。
存储器 540 , 用于存储包括程序例程的信息。 其中, 存储器 540 可能包含高速 RAM存储器, 也可能还包括非易失性存储器(英文: non-volatile memory) , 例如至少一个磁盘存储器。 存储器 540也可 以是存储器阵列。 存储器 540还可能被分块, 并且所述块可按一定 的规则组合成虚拟卷。
处理器 520 , 与接收器 510、 发送器 530和存储器 540耦合, 用于 控制所述程序例程的执行。 其中, 处理器 520可能是一个中央处理 器 CPU ,或者是专用集成电路(英文: Application Specific Integrated Circuit , 缩写: ASIC ) , 或者是被配置成实施本发明实施例的一个 或多个集成电路。 处理器 520控制所述程序例程的执行, 具体可以 包括:
接收分域命令, 所述分域命令包括需要从旧域划分到新域的各 个目标节点的信息和所述新域标识;
根据所述旧域的网络拓朴信息和所述各个目标节点的信息,判 断本装置与所述旧域的网关的距离是否是所述各个目标节点与所 述网关的距离中最小的;
在本装置与所述网关的距离是所述各个目标节点与所述网关 的距离中最小的情况下, 将本装置设置为边界点。
在一种可能的实现方式中, 所述程序例程还包括:
在本装置与所述网关的距离不是所述各个目标节点与所述网 说
关的距离中最小的情况下, 将本装置在所述旧域所使用的端口的 IP 地址中的网络号, 变更为所述新域标识对应的网络号。
书
发送器 530 , 用于在所述边界点与所述旧域断开连接的情况下, 向除了所述边界点以外的其它目标节点发送断开通知, 以使所述除 了所述边界点以外的其它目标节点重新确定边界点。
本发明实施例的数据通信网络分域装置,根据网络拓朴信息和 各个目标节点的信息, 若本装置与网关的距离是各个目标节点与网 关的距离中最小的, 则将本装置设置为边界点, 确定过程筒单, 可 以减少人工规划或查找边界点失误造成的脱管。 除了边界点之外的 其它目标节点将自身在旧域所使用的端口的 IP地址中的网络号, 变 更为新域标识对应的网络号, 将数据通信网络分域, 可以减小数据 通信网络的规模, 路由震荡收敛快。 此外, 在本装置和旧域的连接 断开时, 向除了本装置之外的其它目标节点发送断开通知, 使得除 了本装置之外的其它目标节点重新确定边界点, 可以避免除了本装 置之外的其它目标节点脱管。
本领域普通技术人员可以意识到,本文所描述的实施例中的各 示例性单元及算法步骤, 能够以电子硬件、 或者计算机软件和电子 硬件的结合来实现。 这些功能究竟以硬件还是软件形式来实现, 取 决于技术方案的特点应用和设计约束条件。专业技术人员可以针对 特定的应用选择不同的方法来实现所描述的功能,但是这种实现不
应认为超出本发明的范围。
如果以计算机软件的形式来实现所述功能并作为独立的产品 销售或使用时, 则在一定程度上可以认为本发明的技术方案的全部 或部分(例如对现有技术做出贡献的部分)是以计算机软件产品的 形式体现的。该计算机软件产品通常存储在计算机可读取的存储介 质中, 包括若干指令用以使得计算机设备(可以是个人计算机、 服 务器、 或者网络设备等)执行本发明各实施例方法的全部或部分步 说
骤。 而前述的存储介质包括 U盘、 移动硬盘、 只读存储器 (英文: Read-Only Memory , 缩写: ROM )、 随机存取存储器(英文: Random 书
Access Memory , 缩写: RAM )、 磁碟或者光盘等各种可以存储程 序代码的介质。
实施例 6
图 6为根据本发明实施例六的数据通信网络分域系统的结构示 意图。 如图 6所示, 该数据通信网络分域系统 600可以包括:
网络管理器 610、 网关 630和至少一个节点设备 650。
域命令包括需要从旧域划分到新域的各个目标节点设备的信息和 所述新域标识;
所述节点设备 650可以采用上述实施例三至实施例五中的任一 数据通信网络分域装置;
所述网关 630与所述网络管理器 610连接, 用于接收所述网络管 理器 610发送的所述分域命令, 将所述分域命令转发给所述节点设 备 650。
本发明实施例的数据通信网络分域系统,在节点设备接收到网 络管理器通过网关发送的分域命令时, 目标节点设备根据网络拓朴 信息和各个目标节点设备的信息, 若自身与网关的距离是各个目标 节点与网关的距离中最小的, 目标节点设备将自身设置为边界点设
备, 确定过程筒单, 可以减少人工规划或查找边界点设备失误造成 的脱管。 除了边界点设备之外的其它目标节点设备将自身在旧域所 使用的端口的 IP地址中的网络号, 变更为新域标识对应的网络号, 将数据通信网络分域, 可以减小数据通信网络的规模, 路由震荡收 敛快。 此外, 在边界点设备和旧域的连接断开时, 向除了边界点设 备之外的其它目标节点设备发送断开通知,使得除了边界点边界之 外的其它目标节点设备重新确定边界点设备, 可以避免其它目标节 说
点设备脱管。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围 书
并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技 术范围内, 可轻易想到变化或替代, 都应涵盖在本发明的保护范围 之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。
Claims
1、 一种数据通信网络分域方法, 其特征在于, 包括:
目标节点接收分域命令, 所述分域命令包括需要从旧域划分到 新域的各个目标节点的信息和所述新域标识;
所述目标节点根据所述旧域的网络拓朴信息和所述各个目标 节点的信息, 判断自身与所述旧域的网关的距离是否是所述各个目 标节点与所述网关的距离中最小的;
在所述目标节点与所述网关的距离是所述各个目标节点与所 述网关的距离中最小的情况下, 所述目标节点将自身设置为边界 点。
2、根据权利要求 1所述的数据通信网络分域方法,其特征在于, 所述目标节点将自身设置为边界点, 包括:
所述目标节点将自身在所述新域所使用的端口的 IP地址中的 网络号, 设置为所述新域标识对应的网络号。
3、 根据权利要求 1或 2所述的数据通信网络分域方法, 其特征 在于, 还包括:
在所述目标节点与所述网关的距离不是所述各个目标节点与 所述网关的距离中最小的情况下, 所述目标节点将自身在所述旧域 所使用的端口的 IP地址中的网络号, 变更为所述新域标识对应的网 络号。
4、根据权利要求 1至 3中任一项所述的数据通信网络分域方法, 其特征在于, 所述目标节点接收分域命令, 包括:
在所述目标节点为主节点的情况下, 所述主节点通过所述网关 从网络管理器接收所述分域命令,将所述分域命令发送给除了所述 主节点以外的其它目标节点;
在所述目标节点非所述主节点的情况下, 所述目标节点从所述 主节点接收所述分域命令。
5、根据权利要求 1至 4中任一项所述的数据通信网络分域方法,
权 利 要 求 书
其特征在于, 所述在所述目标节点与所述网关的距离是所述各个目 标节点与所述网关的距离中最小的情况下,所述目标节点将自身设 置为边界点之后, 还包括:
在所述边界点与所述旧域断开连接的情况下, 向除了所述边界 点以外的其它目标节点发送断开通知, 以使所述除了所述边界点以 外的其它目标节点重新确定边界点。
6、 一种数据通信网络分域装置, 其特征在于, 包括:
接收单元, 用于接收分域命令, 所述分域命令包括需要从旧域 划分到新域的各个目标节点的信息和所述新域标识;
判断单元, 与所述接收单元连接, 用于根据所述旧域的网络拓 朴信息和所述各个目标节点的信息, 判断本装置与所述旧域的网关 的距离是否是所述各个目标节点与所述网关的距离中最小的;
设置单元, 与所述判断单元连接, 用于在本装置与所述网关的 距离是所述各个目标节点与所述网关的距离中最小的情况下,将本 装置设置为边界点。
7、根据权利要求 6所述的数据通信网络分域装置,其特征在于, 所述设置单元具体包括: 用于在本装置与所述网关的距离是所述各 个目标节点与所述网关的距离中最小的情况下,将本装置在所述新 域所使用的端口的 IP地址中的网络号, 设置为所述新域标识对应的 网络号。
8、 根据权利要求 6或 7所述的数据通信网络分域装置, 其特征 在于, 所述设置单元还用于在本装置与所述网关的距离不是所述各 个目标节点与所述网关的距离中最小的情况下,将本装置在所述旧 域所使用的端口的 IP地址中的网络号, 变更为所述新域标识对应的 网络号。
9、根据权利要求 6至 8中任一项所述的数据通信网络分域装置, 其特征在于, 所述接收单元具体包括:
权 利 要 求 书
第一接收子单元, 用于在本装置为主节点的情况下, 通过所述 网关从网络管理器接收所述分域命令,将所述分域命令发送给除了 所述主节点以外的其它目标节点;
第二接收子单元, 用于在本装置非主节点的情况下, 从所述主 节点接收所述分域命令。
10、 根据权利要求 6至 9中任一项所述的数据通信网络分域装 置, 其特征在于, 还包括:
发送单元, 与所述设置单元连接, 用于在所述边界点与所述旧 域断开连接的情况下, 向除了所述边界点以外的其它目标节点发送 断开通知, 以使所述除了所述边界点以外的其它目标节点重新确定 边界点。
11、 一种数据通信网络分域系统, 其特征在于, 包括: 网络管理器、 网关和至少一个节点设备; 包括需要从旧域划分到新域的各个目标节点设备的信息和所述新 域标识;
所述节点设备采用权利要求 6至 10中任一项所述的数据通信网 络分域装置;
所述网关与所述网络管理器连接,用于接收所述网络管理器发 送的所述分域命令, 将所述分域命令转发给所述节点设备。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2013/084418 WO2015042853A1 (zh) | 2013-09-27 | 2013-09-27 | 数据通信网络分域方法、装置及系统 |
| CN201380001341.4A CN104685829B (zh) | 2013-09-27 | 2013-09-27 | 数据通信网络分域方法、装置及系统 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2013/084418 WO2015042853A1 (zh) | 2013-09-27 | 2013-09-27 | 数据通信网络分域方法、装置及系统 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2015042853A1 true WO2015042853A1 (zh) | 2015-04-02 |
Family
ID=52741799
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2013/084418 Ceased WO2015042853A1 (zh) | 2013-09-27 | 2013-09-27 | 数据通信网络分域方法、装置及系统 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN104685829B (zh) |
| WO (1) | WO2015042853A1 (zh) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106972884A (zh) * | 2017-04-12 | 2017-07-21 | 东华大学 | 一种基于光传送网的dcn测试及保护方法 |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2006008559A2 (en) * | 2004-07-23 | 2006-01-26 | King S College London | A method of mapping a first interface to a second interface, and people presence estimation method |
| CN1825814A (zh) * | 2005-02-25 | 2006-08-30 | 华为技术有限公司 | 一种数据通信网络分域及路由信息扩散的方法 |
| CN102546254A (zh) * | 2012-01-06 | 2012-07-04 | 烽火通信科技股份有限公司 | 数据通信网络的管理方法 |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100970221B1 (ko) * | 2003-06-18 | 2010-07-16 | 주식회사 케이티 | 무선 통신 네트워크의 최적 설계 시스템 및 그 방법 |
| CN101184087A (zh) * | 2006-11-16 | 2008-05-21 | 华为技术有限公司 | 域变换的方法、设备及系统 |
-
2013
- 2013-09-27 WO PCT/CN2013/084418 patent/WO2015042853A1/zh not_active Ceased
- 2013-09-27 CN CN201380001341.4A patent/CN104685829B/zh active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2006008559A2 (en) * | 2004-07-23 | 2006-01-26 | King S College London | A method of mapping a first interface to a second interface, and people presence estimation method |
| CN1825814A (zh) * | 2005-02-25 | 2006-08-30 | 华为技术有限公司 | 一种数据通信网络分域及路由信息扩散的方法 |
| CN102546254A (zh) * | 2012-01-06 | 2012-07-04 | 烽火通信科技股份有限公司 | 数据通信网络的管理方法 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104685829A (zh) | 2015-06-03 |
| CN104685829B (zh) | 2017-08-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN114401274B (zh) | 一种通信线路创建方法、装置、设备及可读存储介质 | |
| CN108322467B (zh) | 基于ovs的虚拟防火墙配置方法、电子设备及存储介质 | |
| TWI702817B (zh) | 具有鏈路層發現之自動多機箱鏈路聚合組態 | |
| JP5466723B2 (ja) | ホスト提供システム及び通信制御方法 | |
| US11799753B2 (en) | Dynamic discovery of service nodes in a network | |
| KR20140014263A (ko) | 통신 경로 제어 시스템, 및 통신 경로 제어 방법 | |
| EP3813306B1 (en) | Message processing method and communications system | |
| US20140169214A1 (en) | Method and apparatus of network configuration for storage federation | |
| CN106559246A (zh) | 集群的实现方法和服务器 | |
| WO2012100671A1 (zh) | 一种绑定物理网口的方法、网卡及通信系统 | |
| TWI500295B (zh) | 鏈結狀態識別碼衝突處理 | |
| US11528222B2 (en) | Decentralized control plane | |
| CN108377199A (zh) | 共享与配置项有关的策略和配置信息 | |
| CN106227470A (zh) | 一种存储资源管理方法及装置 | |
| WO2021213185A1 (zh) | 一种路由处理方法及设备 | |
| CN106982162B (zh) | 用于转发业务流的方法、装置和系统 | |
| CN110535947A (zh) | 一种存储设备集群配置节点切换方法、装置及设备 | |
| CN112217680B (zh) | 基于软件定义广域网的控制器能力基准测试方法和装置 | |
| CN107409102A (zh) | 对多机架以太信道对等体的自动发现和配设 | |
| CN110830598B (zh) | Bgp会话建立、发送接口地址和别名的方法及网络设备 | |
| WO2015042853A1 (zh) | 数据通信网络分域方法、装置及系统 | |
| CN107995047A (zh) | 一种数据中心的拓扑组网方法及装置 | |
| CN106909322B (zh) | 一种虚拟化系统中支持存储灾备的路由方法及装置 | |
| US9929932B2 (en) | Locating traffic origin in a network | |
| CN105245635B (zh) | FCoE通信方法、装置及系统 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13894487 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 13894487 Country of ref document: EP Kind code of ref document: A1 |