CN106506312B - A kind of networking configuration method, data communications method and device - Google Patents
A kind of networking configuration method, data communications method and device Download PDFInfo
- Publication number
- CN106506312B CN106506312B CN201611049072.0A CN201611049072A CN106506312B CN 106506312 B CN106506312 B CN 106506312B CN 201611049072 A CN201611049072 A CN 201611049072A CN 106506312 B CN106506312 B CN 106506312B
- Authority
- CN
- China
- Prior art keywords
- equipment
- address
- subordinate
- distribute
- subordinate equipment
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the present invention provides a kind of networking configuration method, data communications method and device, is applied to multilevel communication system, is related to the communications field.The described method includes: the intermediate equipment in multilevel communication system obtains and stores for and the first routing iinformation for communicating of higher level equipment and corresponding with intermediate equipment first can distribute address pool;Intermediate equipment can distribute address pool according to first, and address pool or the address of its subordinate equipment can be distributed by obtaining corresponding with its subordinate equipment second, and the secondary route information for communicating with subordinate equipment;Secondary route information is stored, and sends its subordinate equipment for address that corresponding with its subordinate equipment second can distribute address pool or its subordinate equipment and secondary route information.The communication of whole system can be realized since this mode only need to establish communication connection in the superior and the subordinate's equipment room in multilevel communication system, significantly reduce the performance requirement to devices in system, be conducive to the establishment of the higher multilevel communication system of complexity.
Description
Technical field
The present invention relates to the communications fields, in particular to a kind of networking configuration method, data communications method and device.
Background technique
Virtual Private Network is usually that information communication is realized using tunneling technique, in the prior art, multiple in order to realize
The TOCOM total communication of miscellaneous multilevel communication system, it is necessary to the equipment room of communication in need establish tunnel two-by-two.However this side
Formula just needs to establish for entire multilevel communication system various tunnel connections, this is to the equipment in multilevel communication system
Performance has very high requirement.
Summary of the invention
In view of this, the embodiment of the present invention is designed to provide a kind of networking configuration method, data communications method and dress
It sets, to solve the above problems.
To achieve the goals above, technical solution used in the embodiment of the present invention is as follows:
In a first aspect, being applied to multilevel communication system, the side the embodiment of the invention provides a kind of networking configuration method
Method includes: that the intermediate equipment in the multilevel communication system obtains and stores the first routing iinformation for communicating with higher level equipment
And the intermediate equipment corresponding first can distribute address pool;The intermediate equipment can distribute address pool according to described first, obtain
To take corresponding with its subordinate equipment second can distribute address pool or the address of its subordinate equipment, and for communicating with subordinate equipment
Secondary route information;By the secondary route information store, and will corresponding with its subordinate equipment second can distribute address pool or
The address of its subordinate equipment and the secondary route information are sent to its subordinate equipment.
Second aspect, the embodiment of the invention provides a kind of data communications methods, are applied to multilevel communication system, described more
The first via for communicating with higher level equipment obtained according to the networking configuration method is stored in advance in grade communication system by believing
Breath, the secondary route information for communicating with subordinate equipment and the intermediate equipment corresponding first can distribute address pool, described
If method includes: that intermediate equipment receives the first forwarding information from its subordinate equipment, inquiry first can distribute address pool, if
The destination address of the forwarding information is stored in described first and can distribute in address pool, then the intermediate equipment is according to secondary route
The forwarding information is sent corresponding subordinate equipment by information;If the destination address of the forwarding information is not stored in described
First can distribute in address pool, then the intermediate equipment sends it for first forwarding information according to the first routing iinformation
Higher level equipment;If the intermediate equipment receives the second forwarding information from the higher level equipment, the secondary route is inquired
Second forwarding information is sent corresponding subordinate equipment by information.
The third aspect, the embodiment of the invention provides a kind of networking configuration devices, in multilevel communication system
Between equipment, described device includes: the first acquisition module, for obtaining and storing the first via for communicating with higher level equipment by believing
Breath and the intermediate equipment corresponding first can distribute address pool;Second obtains module, and being used for can be distributively according to described first
Location pond, address pool or the address of its subordinate equipment can be distributed by obtaining corresponding with its subordinate equipment second, and for setting with junior
The secondary route information of standby communication;Sending module, for the secondary route information to be stored, and will be corresponding with its subordinate equipment
Second can distribute the address of address pool or its subordinate equipment and the secondary route information is sent to its subordinate equipment.
Fourth aspect, the embodiment of the invention provides a kind of data communication equipments, in multilevel communication system
Between equipment, the first routing iinformation for communicating with higher level equipment is stored in advance in the multilevel communication system, is used for and junior
The secondary route information and the intermediate equipment corresponding first of equipment communication can distribute address pool, and described device includes: first
Processing module, if receiving the first forwarding information from its subordinate equipment for intermediate equipment, inquiry first can distribute address
Pond, if the destination address of the forwarding information, which is stored in described first, to distribute in address pool, the intermediate equipment is according to
The forwarding information is sent corresponding subordinate equipment by two routing iinformations;If the destination address of the forwarding information is not stored
It can be distributed in address pool in described first, then the intermediate equipment sends out first forwarding information according to the first routing iinformation
It is sent to its higher level equipment;Second processing module, if receiving second turn from the higher level equipment for the intermediate equipment
Photos and sending messages inquire the secondary route information, send corresponding subordinate equipment for second forwarding information.
Compared with prior art, a kind of networking configuration method, data communications method and device provided in an embodiment of the present invention,
In multilevel communication system, by each intermediate equipment obtain the first routing iinformation for being communicated with higher level equipment, for
The secondary route information and the intermediate equipment corresponding first of subordinate equipment communication can distribute the mode of address pool, from top to bottom
Ground completes the configuration of whole addresses and routing iinformation, forms and only establishes the backbone network of communication connection in the superior and the subordinate's equipment room
Network, any two equipment room may be by the backbone network and be communicated in system.Since this mode only need to be logical in multistage
The superior and the subordinate's equipment room in letter system, which establishes communication connection, can be realized the communication of whole system, significantly reduce in system
The performance requirement of equipment is conducive to the establishment of the higher multilevel communication system of complexity.
Other features and advantages of the present invention will be illustrated in subsequent specification, also, partly be become from specification
It is clear that by implementing understanding of the embodiment of the present invention.The objectives and other advantages of the invention can be by written theory
Specifically noted structure is achieved and obtained in bright book, claims and attached drawing.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of networking schematic diagram of multilevel communication system provided in an embodiment of the present invention.
Fig. 2 is a kind of flow chart for networking configuration method that first embodiment of the invention provides.
Fig. 3 is a kind of partial process view for networking configuration method that first embodiment of the invention provides.
Fig. 4 is a kind of partial process view for networking configuration method that first embodiment of the invention provides.
Fig. 5 is a kind of partial process view for networking configuration method that first embodiment of the invention provides.
Fig. 6 is a kind of partial process view for networking configuration method that first embodiment of the invention provides.
Fig. 7 is a kind of principle of step S521 to S523 in a kind of networking configuration method of first embodiment of the invention offer
Schematic diagram.
Fig. 8 is that the another kind of step S521 to S523 in a kind of networking configuration method of first embodiment of the invention offer is former
Manage schematic diagram.
Fig. 9 is a kind of partial process view for networking configuration method that first embodiment of the invention provides.
Figure 10 is a kind of flow chart for data communications method that second embodiment of the invention provides.
Figure 11 is a kind of structural block diagram for networking configuration device that third embodiment of the invention provides.
Figure 12 is a kind of structural block diagram for data communication equipment that fourth embodiment of the invention provides.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete
Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist
The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause
This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below
Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.Meanwhile of the invention
In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
As shown in Figure 1, being a kind of structural schematic diagram of multilevel communication system provided in an embodiment of the present invention.It is described multistage logical
Letter system includes overlay device 110, and intermediate equipment (as shown in fig. 1 121 to 128) and underlying device are (as shown in fig. 1
131 to 136).It is understood that the number of the overlay device, the intermediate equipment and the underlying device is not constituted
Limitation to the specific embodiment of the invention.
Wherein, the overlay device 110 refers to that the equipment there is no higher level equipment, the overlay device can be service
Device, the server can be network server, database server etc..
The intermediate equipment (as shown in fig. 1 121 to 128), which refers to existing higher level equipment again, the equipment of subordinate equipment,
The intermediate equipment can be server and be also possible to router.Each intermediate equipment respectively with its higher level equipment and one
Or multiple its subordinate equipment connections, higher level equipment can may be another described in addition to itself for the overlay device
Intermediate equipment, subordinate equipment can may be another intermediate equipment in addition to itself for the underlying device.
The underlying device (as shown in fig. 1 131 to 136) refers to the equipment there is no subordinate equipment, and the bottom is set
It is also possible to router for can be server.
The overlay device, the intermediate equipment or the underlying device can be received from web camera, individual
Computer (personal computer, PC), tablet computer, smart phone, personal digital assistant (personal digital
Assistant, PDA), the information of the terminals such as wearable device.Wherein, when the overlay device, the intermediate equipment and described
Underlying device receives the monitoring information from heterogeneous networks video camera, and then structure when the monitoring information is handled and forwarded
At a multistage video frequency monitoring system.
It is understood that as an implementation, the overlay device can also directly connect with the underlying device
It connects.
Fig. 2 shows a kind of flow charts for networking configuration method that first embodiment of the invention provides, referring to Fig. 2, institute
Method is stated applied to multilevel communication system, which comprises
Step S301, the intermediate equipment in the multilevel communication system obtain and store for being communicated with higher level equipment
One routing iinformation and the intermediate equipment corresponding first can distribute address pool.
Wherein, the first via includes the first ground for the higher level equipment with the intermediate device communication by information
Location, for and the communication of its higher level equipment the intermediate equipment the second address, corresponding with the intermediate equipment first can divide
With the mapping relations between addresses all in address pool.
It actually include more in first routing iinformation when the address that described first can distribute address pool has multiple
A route table items, wherein each route table items can distribute appointing in address pool with the-the second address-the first of the first address
The form of one address is stored, it is of course also possible to can distribute the-the second address-the of any address in address pool with first
The form of one address is stored, it is to be understood that first routing iinformation is stored in the specific reality of the intermediate equipment
Mode is applied, can not be limited the scope of the invention.
The intermediate equipment obtains first routing iinformation and described first can distribute there are many modes of address pool.Example
Such as, if the higher level equipment of the intermediate equipment is configured according to rule and stored for the 4th with the intermediate device communication
Routing iinformation and the intermediate equipment corresponding first can distribute address pool, the higher level equipment of the intermediate equipment can directly to
The intermediate equipment is sent for described 4th routing iinformation (routing iinformation and described first with the intermediate device communication
Routing iinformation is identical) and the intermediate equipment corresponding first can distribute address pool, can also from the intermediate equipment actively to
Its higher level equipment sendaisle establishes request, and obtains according to Path Setup request distribution from its higher level equipment
First can distribute address pool and first routing iinformation.
Referring to Fig. 1, assuming that the corresponding third of higher level equipment 121 of the intermediate equipment 123 can distribute address pool and be
172.10.1.1-172.10.1.33,172.10.2.1-172.10.2.33,172.10.3.1-172.10.3.33,….It is described
Higher level equipment 121 can distribute in address pool from the third of its own selects an address (such as 172.10.1.1) as virtual
The address of port A, i.e. the first address of the higher level equipment 121 for being communicated with its subordinate equipment;Again from remaining address
One group address of middle selection (such as 172.10.1.2-172.10.1.33), using each address in the group address as be used for
Its its subordinate equipment communicated address (such as using 172.10.1.2 as the address of the virtual port B of the intermediate equipment 123,
That is the second address);Then further according to needing to distribute a group address to its each subordinate equipment from remaining address, as under it
Grade equipment is corresponding distribute address pool (as described in distributing to 172.10.2.1-172.10.2.33 intermediate equipment 123, i.e., with
Intermediate equipment 123 corresponding first can distribute address pool), if its subordinate equipment is underlying device, do not give the underlying device
Distribution can distribute address pool;It is finally that the first address, the address for its subordinate equipment for being used to communicate with, its subordinate equipment is corresponding
The mapping relations distributed in address pool between all addresses as the 4th routing iinformation for being communicated with its subordinate equipment
(such as it can distribute the first address 172.10.1.1, the second address 172.10.1.2, first to address pool 172.10.2.1-
172.10.2.33 the mapping relations between are as the 4th routing iinformation for communicating with the intermediate equipment 123) it is deposited
Storage.When the higher level equipment 121 according to rule configure and store be used on the 4th routing iinformation communicated with its subordinate equipment and
Its subordinate equipment is corresponding distribute address pool after, can directly send to its subordinate equipment for communicating with its subordinate equipment
4th routing iinformation and its subordinate equipment is corresponding distributes address pool (will such as be used to communicate with the intermediate equipment 123
Four routing iinformations and first it can distribute address pool and be sent to the intermediate equipment 123, wherein for logical with the intermediate equipment 123
4th routing iinformation of letter is identical as first routing iinformation).
Further, it can also establish and request from 123 active of intermediate equipment to its 121 sendaisle of higher level equipment,
The Path Setup request may include number of addresses to be requested, so that the higher level equipment 121 distributes to the intermediate equipment
The address of 123 numbers corresponding with the number of addresses to be requested.After the higher level equipment 121 receives Path Setup request,
Can be distributed in address pool from the third of its own select an address as virtual port A address (such as
172.10.1.1), i.e. the first address;Then selected from remaining address an address as virtual port B address (such as
172.10.1.2), i.e. the second address;The address with the number of addresses same number to be requested is selected from remaining address again
(such as 172.10.1.3-172.10.1.10) can distribute address pool as with the intermediate equipment 123 corresponding first;Finally will
First address, the second address, first can distribute the mapping relations between all addresses in address pool be used as with it is described in
Between equipment 123 communicate the 4th routing iinformation stored, and by the be used to communicate with the intermediate equipment 123 the 4th routing believe
Breath and first it can distribute address pool and be sent to the intermediate equipment 123, wherein for being communicated with the intermediate equipment 123 the 4th
Routing iinformation is identical as first routing iinformation.
Referring to Fig. 1, as an implementation, it is described if the overlay device is directly connected with the underlying device
Overlay device obtains address corresponding with the underlying device, and the 4th routing iinformation for communicating with the underlying device,
4th routing iinformation is the address of the overlay device for communicating with the underlying device, for setting with the top layer
Mapping relations between the address of the underlying device of standby communication;The overlay device is by the corresponding address of the underlying device
And the 4th routing iinformation for communicating with the underlying device is sent to the underlying device.
It is understood that the rule of distribution routing iinformation and address pool is not limited to above-mentioned example, it is also possible to other
Achievable rule, specific rules can need to formulate respectively according to different multilevel communication systems.
Step S302, the intermediate equipment can distribute address pool according to described first, obtain corresponding with its subordinate equipment
Second can distribute address pool or the address of its subordinate equipment, and the secondary route information for communicating with subordinate equipment.
If its described subordinate equipment is underlying device, it can distribute in address pool and be chosen for being set with its junior from described first
For the third address of the intermediate equipment of communication, for the 4th ground of the underlying device with the intermediate device communication
Location, and using the third address and the four address mapping relations as the secondary route for being used to communicate with its subordinate equipment
Information.Wherein, the mapping relations in the secondary route information for communicating with its subordinate equipment can be with third address-
Four address form is stored, and can also be stored in the form of the third address of four addresses-, it is to be understood that
The secondary route information for communicating with its subordinate equipment is stored in the specific embodiment of the intermediate equipment, can not
It limits the scope of the invention.
If its described subordinate equipment is not underlying device, from described first can distribute in address pool choose for its junior
Equipment communication the intermediate equipment third address, for the 4th ground of the subordinate equipment with the intermediate device communication
Location and its subordinate equipment corresponding second can distribute address pool, by the third address, the 4th address, corresponding with its subordinate equipment
Second can distribute mapping relations in address pool between all addresses as the secondary route for communicating with its subordinate equipment
Information.Wherein, the mapping relations in the secondary route information for communicating with its subordinate equipment can be with third address-
The form for any address that 4th address-the second can be distributed in address pool is stored, and can also can distribute address pool with second
In the-the four addresses of any address-third address form stored, it is to be understood that it is described be used for and its junior
The secondary route information of equipment communication is stored in the specific embodiment of the intermediate equipment, can not limit protection of the invention
Range.
Wherein, the intermediate equipment judge its subordinate equipment whether be underlying device embodiment there are many, for example, can
With at the beginning carry out multilevel communication system networking when, each its subordinate equipment of the intermediate equipment storage inside type or
Model etc., according to the type or model of the subordinate equipment, the intermediate equipment just can judge whether its subordinate equipment is bottom
Equipment.
Further, as an implementation, referring to Fig. 3, before step S302, the method can also include
Step S400:
Step S401 receives the Path Setup request of its subordinate equipment transmission, and the Path Setup request includes for knowing
The mark of the type of the not described subordinate equipment.
Equipment not at the same level can identify its own location in the multilevel communication system, and described more
Grade communication system can be pre-stored a device map, such as may include in the device map when networking connects
(A class server-underlying device), the mapping relations such as (B class server-intermediate equipment), further, (A class server-bottom
Equipment) and (B class server-intermediate equipment) may include again some server concrete model and underlying device or intermediate equipment
Mapping relations.
The embodiment of the mark of the type of the subordinate equipment can there are many, according to the implementation of the device map
Mode is different and different, for example, the junior sets at this time if being (A class server-underlying device) in the device map
The mark of standby type can be A class server;If in the device map being the concrete model and bottom of some server
The mapping relations of equipment or intermediate equipment, then the mark of the type of the subordinate equipment can be the specific of current server at this time
Model.
Step S402 judges whether the subordinate equipment is underlying device according to the mark.
When subordinate equipment sends the mark of its type, the intermediate equipment can by inquiring the device map,
Judge whether the subordinate equipment is underlying device by query result.
Step S303 stores the secondary route information, and corresponding with its subordinate equipment second will can distribute address
The address and the secondary route information of pond or its subordinate equipment are sent to its subordinate equipment.
When each of multilevel communication system intermediate equipment has configured address pool by above-mentioned steps from top to down
And after routing iinformation, only it is formed in the backbone network that the superior and the subordinate's equipment room establishes communication connection, at this point, the multistage communication
Any two equipment room may be by the backbone network and be communicated in system.
As an implementation, referring to Fig. 4, the method can also include:
Step S511 obtains the unique identifier of its subordinate equipment, and the unique identifier can be distributed with described second
Address pool or the address matching of the subordinate equipment and storage.
When the subordinate equipment is underlying device, simultaneously by the address matching of the unique identifier and the subordinate equipment
Storage;It, can by the unique identifier corresponding with the subordinate equipment second when the subordinate equipment is not underlying device
Distribution address pool is matched and is stored.
Step S512 receives the reconstruction channel request of its subordinate equipment transmission, includes described in the reconstruction channel request
The unique identifier of subordinate equipment.
Step S513, the ground of address pool or the subordinate equipment can be distributed by inquiring the unique identifier corresponding second
Location, by address that described second can distribute address pool or the subordinate equipment and be used to communicate with the subordinate equipment
Two routing iinformations are sent to the subordinate equipment.
When the intermediate equipment inquires, the unique identifier corresponding second can distribute address pool or the junior sets
The third address, the 4th address and described second can be distributed mapping relations or institute between address pool by standby address
State the mapping relations between third address and the address of the subordinate equipment be added to for being communicated with the subordinate equipment
In two routing iinformations, and by address that described second can distribute address pool or the subordinate equipment and it is used for and the junior
The secondary route information of equipment communication is sent to the subordinate equipment.
If the subordinate equipment is lost the address information or routing iinformation of storage because of reasons such as power-off, network congestions, from
And when leading to the communication disruption of two equipment rooms, due to the intermediate equipment store the unique identifier to match and
Described second can distribute the address of address pool or the subordinate equipment, described there is no need to deallocation or routing iinformation
Identical second can distribute address pool before intermediate equipment can be interrupted by the unique identifier to subordinate equipment distribution
Or the address of the subordinate equipment, in addition, the address that can distribute address pool or the subordinate equipment by described second also weighs
It is new to establish and interrupt preceding identical routing iinformation.
Further, the unique identifier of its available subordinate equipment of the overlay device, by the unique identifier
The address matching that address pool or its subordinate equipment can be distributed with described first and storage.When its subordinate equipment is because of power-off, network resistance
The reasons such as plug are lost the address information or routing iinformation of storage, so as to cause two equipment rooms communication disruption when, receive under it
The reconstruction channel request that grade equipment is sent, the unique identifier rebuild in channel request including its subordinate equipment.Inquiry institute
Address pool or the address of its subordinate equipment can be distributed by stating unique identifier corresponding first, by described first can distribute address pool or
The address of its subordinate equipment and the 4th routing iinformation for communicating with its subordinate equipment are sent to its subordinate equipment.
As another embodiment, referring to Fig. 5, the method can also include:
Step S514 obtains the unique identifier of its subordinate equipment, and the unique identifier can be distributed with described second
Address pool or the address matching of the subordinate equipment and storage.
When the subordinate equipment is underlying device, simultaneously by the address matching of the unique identifier and the subordinate equipment
Storage;It, can by the unique identifier corresponding with the subordinate equipment second when the subordinate equipment is not underlying device
Distribution address pool is matched and is stored.
Step S515 receives the reconstruction channel request of its subordinate equipment transmission, includes described in the reconstruction channel request
The authentication information of the unique identifier of subordinate equipment and the subordinate equipment.
The authentication information can be the corresponding user name of the subordinate equipment and password.The authentication information can be in institute
It is pre-stored within when stating multilevel communication system networking at the intermediate equipment, it can also be when establishing channel for the first time by the junior
Equipment is sent to the intermediate equipment, and is stored in the intermediate equipment.
The intermediate equipment is after receiving the reconstruction channel request, by the authentication in the reconstruction channel request
User name and password in information respectively with the user name and password in the corresponding authentication information for being stored in the intermediate equipment
It is matched.
Step S516, the ground of address pool or the subordinate equipment can be distributed by inquiring the unique identifier corresponding second
Location, by address that described second can distribute address pool or the subordinate equipment and be used to communicate with the subordinate equipment
Two routing iinformations are sent to the subordinate equipment.
After the user name rebuild in the corresponding authentication information of channel request and password match success, institute is inquired
The address of address pool or the subordinate equipment can be distributed by stating unique identifier corresponding second.By the third address, described
Four addresses and described second can distribute the mapping relations between address pool or the address of the third address and the subordinate equipment
Between mapping relations be added in the secondary route information for being communicated with the subordinate equipment, and described second can be distributed
The address of address pool or the subordinate equipment and the secondary route information for communicating with the subordinate equipment are sent to described
Subordinate equipment.
If the subordinate equipment is lost the address information or routing iinformation of storage because of reasons such as power-off, network congestions, from
And when leading to the communication disruption of two equipment rooms, since the intermediate equipment stores the unique identifier to match and described
Second can distribute the address of address pool or the subordinate equipment, there is no need to deallocation or routing iinformation, the centre
Identical second can distribute address pool or institute before equipment can be interrupted by the unique identifier to subordinate equipment distribution
The address of subordinate equipment is stated, in addition, the address that can distribute address pool or the subordinate equipment by described second is also built again
Identical routing iinformation before vertical and interruption.
Further, the unique identifier of its available subordinate equipment of the overlay device, by the unique identifier
The address matching that address pool or its subordinate equipment can be distributed with described first and storage.When its subordinate equipment is because of power-off, network resistance
The reasons such as plug are lost the address information or routing iinformation of storage, so as to cause two equipment rooms communication disruption when, receive under it
The reconstruction channel request that grade equipment is sent, the unique identifier rebuild in channel request including its subordinate equipment and authentication letter
Breath.The authentication information of its subordinate equipment is matched with the corresponding authentication information for being stored in the overlay device, matching at
After function, address pool or the address of its subordinate equipment can be distributed by inquiring the unique identifier corresponding first, can by described first
It distributes the address of address pool or its subordinate equipment and the 4th routing iinformation for communicating with its subordinate equipment is sent under it
Grade equipment.
As an implementation, referring to Fig. 6, the method can also include:
Step S521, the intermediate equipment receive the first update request of its subordinate equipment transmission, and first update is asked
It asks including request type and address pool information to be updated.
Wherein, the request type may include removing request and merging to request.
If the request type is to remove request, when the subordinate equipment is not underlying device, the ground to be updated
Location pond information may include that the subordinate equipment corresponding second can distribute address pool, for the institute with the intermediate device communication
State the 4th address of subordinate equipment;When the subordinate equipment is underlying device, the address pool information to be updated can be
The 4th address for the subordinate equipment with the intermediate device communication.
If the request type is to merge request, when the subordinate equipment is not underlying device, the ground to be updated
Location pond information may include that the subordinate equipment the corresponding 4th can distribute address pool, the institute for communicating with the subordinate equipment
State the 5th address of intermediate equipment, for the 6th address of the subordinate equipment with the intermediate device communication;Under described
When grade equipment is underlying device, the address pool information to be updated may include for described in communicating with the subordinate equipment
5th address of intermediate equipment, for the 6th address of the subordinate equipment with the intermediate device communication.
Step S522, the type and address pool information to be updated for updating request according to described first update described first
Address pool, first routing iinformation and the secondary route information can be distributed.
If the described first type for updating request is to remove request, the intermediate equipment can distribute address pool for described first
Described in the corresponding address of to be updated address pool information delete, and by first routing iinformation and the secondary route information
Described in corresponding mapping relations in address in address pool information to be updated delete.
It, will be described if the described first type for updating request is merging request and the subordinate equipment is not underlying device
Address in address pool information to be updated, which is added to described first, to be distributed in address pool, by first address, described
Double-address, mapping relations corresponding with the address in the address pool information to be updated are added to first routing iinformation
In, and the 6th ground with the subordinate equipment of the intermediate device communication will be used in the address pool information to be updated
Location, for and subordinate equipment communication the intermediate equipment the 5th address, the corresponding with the subordinate equipment the 4th can
The corresponding mapping relations in address in distribution address pool are added in the secondary route information for communicating with the subordinate equipment.
If the described first type for updating request is to merge request and the subordinate equipment when being underlying device, will it is described to
Address in the address pool information of update, which is added to described first, to be distributed in address pool, by first address, described second
Address, mapping relations corresponding with the address in the address pool information to be updated are added in first routing iinformation,
And by the 6th address of subordinate equipment described in the address pool information to be updated, the institute for being used to communicate with the subordinate equipment
It states the mapping relations between the 5th address of intermediate equipment and is added to secondary route information for communicating with the subordinate equipment
In.
Step S523 sends second and updates request and arrives its higher level equipment so that the higher level equipment update its corresponding the
Three routing iinformations, the 4th routing iinformation and third can distribute address pool information.
Described second to update request include updating the corresponding request type of request and described to be updated with described first
Address pool information.
If the described second type for updating request is to remove request, the higher level equipment is by the higher level equipment corresponding the
Three, which can distribute the corresponding address of address pool information to be updated described in address pool, deletes, and will be stored at the higher level equipment
The third routing iinformation and the 4th routing iinformation described in address in address pool information to be updated is corresponding reflects
Penetrate relationship deletion.
If the described second type for updating request is to merge request, the higher level equipment believes the address pool to be updated
Address in breath, which is added to the third, to be distributed in address pool, by first address, second address, with it is described to more
The corresponding mapping relations in address in new address pool information are added to for believing with the 4th of the intermediate device communication the routing
In breath, and by the 7th address of the higher level equipment for the higher level equipment for being used to communicate with the higher level equipment, be used for it is described
Ground in the 8th address and the address pool information to be updated of the higher level equipment of the higher level equipment communication of higher level equipment
The corresponding mapping relations in location are added in the third routing iinformation.
It is illustrated below with specific embodiment.
As shown in Figure 1, it is assumed that described the first of the storage of intermediate equipment 123 can distribute address pool, first routing iinformation
And the secondary route information for communicating with its subordinate equipment 125 is as shown in table 1;The higher level equipment 121 of institute's intermediate equipment 123 is deposited
The third of storage can distribute address pool, the third routing iinformation, the 4th routing for communicating with the intermediate equipment 123
Information and the 4th routing iinformation for communicating with intermediate equipment 124 are as shown in table 2.
Table 1
Table 2
It is below to remove request and merge request to be illustrated respectively with the request type.
(1) request type is to remove request.
Assuming that the subordinate equipment 125 of the intermediate equipment 123 store second can distribute address pool and for it is described in
Between equipment communicate the 5th routing iinformation it is as shown in table 3.
Table 3
If the intermediate equipment 123, which receives its subordinate equipment 125 issues first, updates request, the request type is to move
Except request, the address pool information to be updated include second can distribute address pool 172.10.2.10-172.10.2.20 and
4th address 172.10.2.2.
The intermediate equipment 123 can distribute the address in address pool information to be updated described in address pool by first
(172.10.2.10-172.10.2.20,172.10.2.2) is deleted, and by the first routing iinformation and is used for and its subordinate equipment 125
In address pool information to be updated described in the secondary route information of communication address (172.10.2.10-172.10.2.20,
172.10.2.2) corresponding mapping relations delete.After the information update that the intermediate equipment 123 stores as shown in table 4.
Table 4
The intermediate equipment 123, which is sent, updates request to its higher level equipment with the first update request corresponding second
121.After the higher level equipment 121 of the intermediate equipment 123 receives the second update request, the third stored can be distributed
The corresponding address of address pool information to be updated described in address pool (172.10.2.10-172.10.2.20,172.10.2.2)
It deletes, and by the third routing iinformation for being stored in the higher level equipment 121 and the be used to communicate with the intermediate equipment 123 the 4th
Address (172.10.2.10-172.10.2.20,172.10.2.2) in address pool information to be updated described in routing iinformation
Corresponding mapping relations are deleted.After the information update stored at the higher level equipment 121 of the intermediate equipment 123 as shown in table 5.
Table 5
What the subordinate equipment 125 of the intermediate equipment 123 stored second can distribute address pool and be used for and its higher level equipment
5th routing iinformation of communication is still constant, as shown in table 3.
The higher level equipment 121 of the intermediate equipment 123 continue up transmission update request, the higher level equipment 121 it is upper
Grade equipment 110 continues the processing similar with the above method, and details are not described herein again.When the higher level of the higher level equipment 121 sets
After standby 110 complete the update of address pool and routing iinformation, finished referring to Fig. 7, removing.
(2) request type is to merge request.
Assuming that the subordinate equipment 126 of the intermediate equipment 124 is completed after the intermediate equipment 124 removal, the centre
What equipment 123 stored described first can distribute address pool, first routing iinformation and for communicating with its subordinate equipment 125
Secondary route information is as shown in table 1;The third that the higher level equipment 121 of institute's intermediate equipment 123 stores can distribute address pool, institute
State third routing iinformation, the 4th routing iinformation for communicating with the intermediate equipment 123 and for communicating with intermediate equipment 124
The 4th routing iinformation it is as shown in table 6;The subordinate equipment 126 of the intermediate equipment 124 store the 4th can distribute address pool and
The 6th routing iinformation for communicating with its higher level equipment is as shown in table 7.
Table 6
Table 7
If the intermediate equipment 123 receives the first update request of the sending of equipment 126, the request type is to merge to ask
Ask, the address pool information to be updated include the 5th address 172.10.3.1, the 6th address 172.10.3.2, the 4th can
Distribute address pool 172.10.3.10-172.10.3.20.
The intermediate equipment 123 by the address pool information to be updated address (172.10.3.1,
172.10.3.2,172.10.3.10-172.10.3.20) it is added to first and can distributes in address pool, by the first address
172.10.1.1, the second address 172.10.1.2, with the address pool information to be updated in address (172.10.3.1,
172.10.3.2,172.10.3.10-172.10.3.20) corresponding mapping relations are added in the first routing iinformation, and by
Five address 172.10.3.1, the 6th address 172.10.3.2, the 4th can distribute in address pool 172.10.3.10-172.10.3.20
All addresses between mapping relations, i.e., equipment 126 store the 6th routing iinformation be added to for its subordinate equipment 126
In the secondary route information of communication.After the information update that the intermediate equipment 123 stores as shown in table 8.
Table 8
The intermediate equipment 123, which is sent, updates request to its higher level equipment with the first update request corresponding second
121.Described second type for updating request is to merge request, and higher level equipment 121 will be in the address pool information to be updated
Address (172.10.3.1,172.10.3.2,172.10.3.10-172.10.3.20) be added to third and can distribute address pool
In, by the address in the first address 172.10.1.1, the second address 172.10.1.2 and the address pool information to be updated
(172.10.3.1,172.10.3.2,172.10.3.10-172.10.3.20) corresponding mapping relations be added to for centre
Equipment 123 communicate the 4th routing iinformation in, and by the 7th address 10.1.1.1, the 8th address 10.1.1.2, with it is described to more
Address (172.10.3.1,172.10.3.2,172.10.3.10-172.10.3.20) in new address pool information is corresponding to be reflected
The relationship of penetrating is added in the third routing iinformation.After the information update that the higher level equipment 121 of the intermediate equipment 123 stores such as
Shown in table 9.
Table 9
What the subordinate equipment 126 of the intermediate equipment 123 stored the 4th can distribute address pool and be used for and its higher level equipment
6th routing iinformation of communication is still constant, as shown in table 7.
The higher level equipment 121 of the intermediate equipment 123 continue up transmission update request, the higher level equipment 121 it is upper
Grade equipment 110 continues the processing similar with the above method, and details are not described herein again.When the higher level of the higher level equipment 121 sets
After standby 110 complete the update of address pool and routing iinformation, finished referring to Fig. 8, merging.
Through the above steps it is found that the subordinate equipment is without again when the subordinate equipment needs to remove or merge
Address pool and routing iinformation are obtained, still using the address pool and routing iinformation got before removal or merging.
As an implementation, referring to Fig. 9, the method can also include:
Step S531, the third for receiving the transmission of its higher level equipment update request, and it includes to more that the third, which updates in request,
The first routing iinformation and/or secondary route information of the new intermediate equipment.
Step S532 by first routing iinformation and/or secondary route information update to be updated and is stored.
For example, it is assumed that the structure of the multilevel communication system as shown in Figure 1, the intermediate equipment 123 store information such as
Shown in table 1, the information that the subordinate equipment 125 of the intermediate equipment 123 stores is as shown in table 3, if after its subordinate equipment 125 removes
The first routing iinformation that the intermediate equipment 123 stores does not carry out corresponding update, then the intermediate equipment 123 receives its higher level
The third that equipment 121 is sent updates request, and the third updates the first via that request includes the intermediate equipment 123 to be updated
By information, the first routing iinformation of the intermediate equipment 123 to be updated is the first address 172.10.1.1, the second address
172.10.1.2, address to be deleted (172.10.2.10-172.10.2.20,172.10.2.2) corresponding mapping relations, then
The intermediate equipment 123 updates request according to the third and is updated to the first routing iinformation of storage, i.e., by the of storage
First address 172.10.1.1, the second address 172.10.1.2, address (172.10.2.10- to be deleted in one routing iinformation
172.10.2.20,172.10.2.2) corresponding mapping relations delete.
Lead to the road of equipment room as removed or merging when there are the changes of equipment room relationship in the multilevel communication system
When being changed by information, except can successively be set from equipment to be removed or combined to its higher level during removal or merging
Preparation goes out to request, so that all higher level equipments update other than respective routing iinformation according to the request, it can also be from overlay device
Start, successively issued to subordinate equipment and update request, so that all devices request to update respective road according to the update in system
By information.
It is therefore preferred that the method can also include:
When detecting that its higher level equipment and/or its subordinate equipment are disconnected with it, itself and the higher level equipment are deleted
Corresponding first routing iinformation and/or its secondary route information corresponding with the subordinate equipment.
When detecting that its higher level equipment is disconnected with it, the first routing iinformation corresponding with its higher level equipment is deleted;
When detecting that its subordinate equipment is disconnected with it, secondary route information corresponding with its subordinate equipment is deleted;When detecting
When its higher level equipment and its subordinate equipment simultaneously disconnect, delete the first routing iinformation corresponding with its higher level equipment and with
The corresponding secondary route information of its subordinate equipment.
For example, it is assumed that the structure of the multilevel communication system as shown in Figure 1, the intermediate equipment 123 store information such as
Shown in table 1, the information that the higher level equipment 121 of the intermediate equipment 123 stores is as shown in table 2, if the intermediate equipment 123 detects
When disconnecting to its higher level equipment 121 with it, the intermediate equipment 123 deletes its first via corresponding with higher level equipment 121 by believing
Breath, i.e. the first address, the second address, first can distribute mapping relations in address pool between all addresses.
Preferably, if the subordinate equipment is underlying device, secondary route letter corresponding with the subordinate equipment is being deleted
When breath, can by the third address for the intermediate equipment for being used to communicate with the subordinate equipment, be used for and the intermediate equipment
The 4th address of the subordinate equipment of communication is stored, so that the request of its subordinate equipment can be by described the when rebuilding channel
Mapping relations between three addresses and the 4th address are sent to the subordinate equipment as secondary route information, make its junior
Equipment obtains and disconnects preceding identical routing iinformation;If the subordinate equipment is not underlying device, in the case where deleting and being described
It, can by the third for the intermediate equipment for being used to communicate with the subordinate equipment when the grade corresponding secondary route information of equipment
Location matches simultaneously for that can distribute address pool with described second with the 4th address of the subordinate equipment of the intermediate device communication
Storage, so that the request of its subordinate equipment can by the third address, the 4th address and described second when rebuilding channel
The mapping relations between address in distribution address pool are sent to the subordinate equipment as secondary route information, set its junior
It is standby to obtain and disconnect preceding identical routing iinformation.
Networking configuration method provided in an embodiment of the present invention is obtained by each intermediate equipment for communicating with higher level equipment
The first routing iinformation, the secondary route information for being communicated with subordinate equipment and the intermediate equipment corresponding first can distribute
The mode of address pool completes the configuration of whole addresses and routing iinformation from top to down, forms only in the superior and the subordinate's equipment room
The backbone network for establishing communication connection, any two equipment room may be by the backbone network and be communicated in system.Due to
This mode, which only need to establish communication connection in the superior and the subordinate's equipment room in multilevel communication system, can be realized the communication of whole system,
The performance requirement to devices in system is significantly reduced, the establishment of the higher multilevel communication system of complexity is conducive to.Into one
Step ground, when the broken communication connection of two equipment rooms, be not necessarily to deallocation or routing iinformation, the subordinate equipment remain to from
Address and the routing iinformation of identical address pool or the subordinate equipment before interrupting are obtained at its higher level equipment.In addition, working as institute
When stating the removal of subordinate equipment needs or merging, the subordinate equipment is still used without reacquiring address pool and routing iinformation
The address pool and routing iinformation for removing or being got before merging.
Figure 10 shows a kind of flow chart of data communications method of second embodiment of the invention offer, the data communication
Method is applied to multilevel communication system, and the use obtained in the networking configuration method has been stored in advance in the multilevel communication system
In the first routing iinformation communicated with higher level equipment, secondary route information and the intermediate equipment for being communicated with subordinate equipment
Corresponding first can distribute address pool, referring to Fig. 10, the described method includes:
Step S601, if intermediate equipment receives the first forwarding information from its subordinate equipment, inquiry first can be distributed
Address pool, if the destination address of first forwarding information, which is stored in described first, to distribute in address pool, the centre is set
For according to secondary route information, corresponding subordinate equipment is sent by first forwarding information;If first forwarding information
Destination address be not stored in described first and can distribute in address pool, then the intermediate equipment is according to the first routing iinformation, by institute
It states the first forwarding information and is sent to its higher level equipment.
Wherein, first forwarding information may include the ground for the subordinate equipment with the intermediate device communication
Location, content to be forwarded and destination address.
It illustrates below and step S601 is illustrated.
Assuming that the information stored at the intermediate equipment is as shown in table 8, the intermediate equipment is received to be set from its junior
The first forwarding information that preparation is sent.If the subordinate equipment of first forwarding information being used for the intermediate device communication
Address be the 5th address 172.10.3.1, destination address 172.10.2.15, the intermediate equipment inquires the destination address
Being stored in first can distribute in address pool, then inquires mapping relations corresponding with the destination address in secondary route information, i.e., and
The mapping relations of three address 172.10.2.1, the 4th address 172.10.2.2 and destination address 172.10.2.15, reflect according to described
It penetrates relationship and sends corresponding subordinate equipment for first forwarding information;If first forwarding information for it is described in
Between the address of the subordinate equipment that communicates of equipment be the 5th address 172.10.3.1, destination address 192.10.2.1, it is described
Intermediate equipment inquires the destination address and is not stored in first and can distribute in address pool, then inquire in the first routing iinformation with it is described
The corresponding mapping relations in 5th address, i.e. the 5th address 172.10.3.1, the second address 172.10.1.2 and the first address
172.10.1.1 mapping relations send its higher level equipment for first forwarding information according to the mapping relations.
Step S602, if the intermediate equipment receives the second forwarding information from the higher level equipment, described in inquiry
Second forwarding information is sent corresponding subordinate equipment by secondary route information.
Wherein, second forwarding information may include the ground for the higher level equipment with the intermediate device communication
Location, content to be forwarded and destination address.
It illustrates below and step S602 is illustrated.
Assuming that the address pool and routing iinformation that store at the intermediate equipment are as shown in table 8, the intermediate equipment is received
The second forwarding information sent from the higher level equipment.If the second forwarding information destination address is 172.10.3.15,
The intermediate equipment inquires mapping relations corresponding with the destination address, i.e. the 5th address in secondary route information
172.10.3.1, the mapping relations of the 6th address 172.10.3.2 and destination address 172.10.3.15, according to the mapping relations
Corresponding subordinate equipment is sent by second forwarding information.
Data communications method provided in an embodiment of the present invention obtains in the networking configuration method due to being stored in advance
The first routing iinformation for communicating with higher level equipment, the secondary route information for communicating with subordinate equipment and the centre are set
Standby corresponding first can distribute address pool, when any two equipment room in the multilevel communication system has communication requirement, to
The routing that the message of forwarding may pass through this method selection reaches at the location of designated destination, to realize the communication of data.
Figure 11 is a kind of structural block diagram for networking configuration device 800 that third embodiment of the invention provides, and described device is answered
For the intermediate equipment in multilevel communication system, Figure 11 is please referred to, the networking configuration device 800 includes the first acquisition module
810, second module 820 and the first sending module 830 are obtained.
Described first obtains module 810, for obtain and store the first routing iinformation for being communicated with higher level equipment and
The intermediate equipment corresponding first can distribute address pool.
Wherein, the first via includes the first ground for the higher level equipment with the intermediate device communication by information
Location, for and the communication of its higher level equipment the intermediate equipment the second address, corresponding with the intermediate equipment first can divide
With the mapping relations between addresses all in address pool.
Described second obtains module 820, for that can distribute address pool according to described first, obtains corresponding with its subordinate equipment
Second can distribute address pool or the address of its subordinate equipment, and the secondary route information for being communicated with subordinate equipment.
As a kind of specific embodiment, described second obtains module 820, if being specifically for its described subordinate equipment
Underlying device can distribute in address pool the third for choosing the intermediate equipment for communicating with its subordinate equipment from described first
Address, for the 4th address of the underlying device with the intermediate device communication, and by the third address and described
Four address mapping relations are as the secondary route information for communicating with its subordinate equipment;If its described subordinate equipment is not bottom
Layer equipment, the third for choosing the intermediate equipment for communicating with its subordinate equipment can be distributed in address pool from described first
Location, for that can be distributed with the 4th address of the underlying device of the intermediate device communication and its subordinate equipment corresponding second
Address pool, by the third address, the 4th address, corresponding with its subordinate equipment second can distribute in address pool all addresses it
Between mapping relations as the secondary route information for being communicated with its subordinate equipment.
First sending module 830, for the secondary route information to be stored, and will be corresponding with its subordinate equipment
Second can distribute the address of address pool or its subordinate equipment and the secondary route information is sent to its subordinate equipment.
Preferably, the networking configuration device 800 can also include third processing module 840, fourth processing module 850,
5th processing module 860, the 6th processing module 870 and the 7th processing module 880.
The third processing module 840, for receiving the Path Setup request of its subordinate equipment transmission, the Path Setup
Request includes the mark of the type of the subordinate equipment for identification;According to the mark, judge the subordinate equipment whether be
Underlying device.
The fourth processing module 850, for obtaining the unique identifier of its subordinate equipment, by the unique identifier with
Described second can distribute the address matching of address pool or the subordinate equipment and storage;The reconstruction for receiving the transmission of its subordinate equipment is logical
Road request, the unique identifier rebuild in channel request including the subordinate equipment;It is corresponding to inquire the unique identifier
The second address that can distribute address pool or the subordinate equipment, address pool or the subordinate equipment can be distributed by described second
Address and secondary route information for communicating with the subordinate equipment are sent to the subordinate equipment.
5th processing module 860 updates request for receiving the first of the transmission of its subordinate equipment, and described first updates
Request includes request type and address pool information to be updated;The type for updating request according to described first and address to be updated
Pond information, address pool, first routing iinformation and the secondary route information can be distributed by updating described first;Send second more
Its higher level equipment is arrived in new request, so that the higher level equipment updates its corresponding third routing iinformation, the 4th routing iinformation and the
Three can distribute address pool information.
6th processing module 870, the third for receiving the transmission of its higher level equipment update request, and the third updates
It include the first routing iinformation and/or secondary route information of the intermediate equipment to be updated in request;It will be described to be updated
First routing iinformation and/or secondary route information update simultaneously store.
7th processing module 880 detects that its higher level equipment and/or its subordinate equipment are disconnected with it for working as
When, delete itself and corresponding first routing iinformation of the higher level equipment and/or its secondary route corresponding with the subordinate equipment
Information.
Figure 12 is a kind of structural block diagram for data communication equipment 900 that fourth embodiment of the invention provides, and described device is answered
For the intermediate equipment in multilevel communication system, for communicating with higher level equipment is stored in advance in the multilevel communication system
One routing iinformation, the secondary route information for communicating with subordinate equipment and the intermediate equipment corresponding first can distribute address
Pond, please refers to Figure 12, and the data communication equipment 900 includes first processing module 910 and Second processing module 920.
The first processing module 910, for when receiving the first forwarding information from its subordinate equipment, inquiry the
One can distribute address pool, if the destination address of the forwarding information, which is stored in described first, to distribute in address pool, it is described in
Between equipment according to secondary route information, send corresponding subordinate equipment for the forwarding information;If the mesh of the forwarding information
Mark address is not stored in described first and can distribute in address pool, then the intermediate equipment is according to the first routing iinformation, by described the
One forwarding information is sent to its higher level equipment.
The Second processing module 920, for inquiring when receiving from the second forwarding information of the higher level equipment
Second forwarding information is sent corresponding subordinate equipment by the secondary route information.
Above each module can be by software code realization, and above each module equally can be by hardware such as ic core
Piece is realized.
Networking configuration device 800 and data communication equipment 900, realization principle and generation provided by the embodiment of the present invention
Technical effect it is identical with preceding method embodiment, for briefly describe, Installation practice part do not refer to place, can refer to aforementioned
Corresponding contents in embodiment of the method.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through
Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and block diagram in attached drawing
Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product,
Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code
Part, a part of the module, section or code, which includes that one or more is for implementing the specified logical function, to be held
Row instruction.It should also be noted that function marked in the box can also be to be different from some implementations as replacement
The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes
It can execute in the opposite order, this depends on the function involved.It is also noted that every in block diagram and or flow chart
The combination of box in a box and block diagram and or flow chart can use the dedicated base for executing defined function or movement
It realizes, or can realize using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation together
Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.It needs
Illustrate, herein, relational terms such as first and second and the like be used merely to by an entity or operation with
Another entity or operation distinguish, and without necessarily requiring or implying between these entities or operation, there are any this realities
The relationship or sequence on border.Moreover, the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability
Contain, so that the process, method, article or equipment for including a series of elements not only includes those elements, but also including
Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device.
In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element
Process, method, article or equipment in there is also other identical elements.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.Therefore, protection scope of the present invention is answered described
It is subject to the protection scope in claims.It should also be noted that similar label and letter indicate similar terms in following attached drawing, because
This does not need then to carry out further defining reconciliation to it in subsequent attached drawing once being defined in a certain Xiang Yi attached drawing
It releases.
Claims (9)
1. a kind of networking configuration method, which is characterized in that be applied to multilevel communication system, which comprises
Intermediate equipment in the multilevel communication system obtain and store the first routing iinformation for being communicated with higher level equipment and
The intermediate equipment corresponding first can distribute address pool, the first via by information include for the intermediate device communication
The first address of the higher level equipment, the intermediate equipment for being communicated with its higher level equipment the second address, with it is described
Intermediate equipment corresponding first can distribute the mapping relations in address pool between all addresses, wherein first address and institute
State the address that the second address is virtual port;
The intermediate equipment can distribute address pool according to described first, and address can be distributed by obtaining corresponding with its subordinate equipment second
The address in pond or its subordinate equipment, and the secondary route information for being communicated with subordinate equipment, wherein obtain for being set with junior
If it is underlying device that the secondary route information of standby communication, which includes: its described subordinate equipment, address can be distributed from described first
Chosen in pond the intermediate equipment for being communicated with its subordinate equipment third address, for the intermediate device communication
4th address of the underlying device, and using the third address and the four address mapping relations as second tunnel
By information;If its described subordinate equipment is not underlying device, from described first can distribute in address pool choose for its junior
Equipment communication the intermediate equipment third address, for the 4th ground of the subordinate equipment with the intermediate device communication
Location and its subordinate equipment corresponding second can distribute address pool, by the third address, the 4th address and its subordinate equipment
Corresponding second can distribute mapping relations in address pool between all addresses as the secondary route information, wherein described
Third address and the 4th address are the address of virtual port;
The secondary route information is stored, and corresponding with its subordinate equipment second will can distribute address pool or its subordinate equipment
Address and the secondary route information be sent to its subordinate equipment.
2. the method according to claim 1, wherein can divide in the acquisition corresponding with its subordinate equipment second
Before address with address pool or its subordinate equipment, the method also includes:
The Path Setup request of its subordinate equipment transmission is received, the Path Setup request includes the subordinate equipment for identification
Type mark;
According to the mark, judge whether the subordinate equipment is underlying device.
3. according to claim 1 to 2 described in any item methods, which is characterized in that the method also includes:
The unique identifier for obtaining its subordinate equipment, by the unique identifier with described second can distribute address pool or it is described under
Grade equipment address matching and storage;
The reconstruction channel request of its subordinate equipment transmission is received, described rebuild includes the unique of the subordinate equipment in channel request
Identifier;
The address of address pool or the subordinate equipment can be distributed by inquiring the unique identifier corresponding second, can by described second
It distributes the address of address pool or the subordinate equipment and the secondary route information for communicating with the subordinate equipment is sent to
The subordinate equipment.
4. according to claim 1 to 2 described in any item methods, which is characterized in that the method also includes:
The intermediate equipment receives the first update request of its subordinate equipment transmission, and the first update request includes request type
And address pool information to be updated;
According to it is described first update request type and address pool information to be updated, update described first can distribute address pool,
First routing iinformation and the secondary route information;
It sends second and updates request and arrive its higher level equipment, so that the higher level equipment updates its corresponding third routing iinformation, the
Four routing iinformations and third can distribute address pool information.
5. according to claim 1 to 2 described in any item methods, which is characterized in that the method also includes:
The third for receiving the transmission of its higher level equipment updates request, and it includes that the centre to be updated is set that the third, which updates in request,
Standby the first routing iinformation and/or secondary route information;
By first routing iinformation and/or secondary route information update to be updated and store.
6. according to claim 1 to 2 described in any item methods, which is characterized in that the method also includes:
When detecting that its higher level equipment and/or its subordinate equipment are disconnected with it, it is corresponding with the higher level equipment to delete it
The first routing iinformation and/or its secondary route information corresponding with the subordinate equipment.
7. a kind of data communications method, which is characterized in that be applied to multilevel communication system, deposited in advance in the multilevel communication system
Store up first for communicating with higher level equipment obtained in networking configuration method according to any one of claim 1 to 6
Routing iinformation, the secondary route information for communicating with subordinate equipment and the intermediate equipment corresponding first can distribute address
Pond, which comprises
If intermediate equipment receives the first forwarding information from its subordinate equipment, inquiry first can distribute address pool, if described
The destination address of first forwarding information is stored in described first and can distribute in address pool, then the intermediate equipment is according to secondary route
First forwarding information is sent corresponding subordinate equipment by information;If the destination address of first forwarding information is not deposited
Being stored in described first can distribute in address pool, then the intermediate equipment is according to the first routing iinformation, by first forwarding information
It is sent to its higher level equipment;
If the intermediate equipment receives the second forwarding information from the higher level equipment, the secondary route information is inquired,
Corresponding subordinate equipment is sent by second forwarding information.
8. a kind of networking configuration device, which is characterized in that applied to the intermediate equipment in multilevel communication system, described device packet
It includes:
First obtains module, for obtaining and storing the first routing iinformation and the intermediate equipment for communicating with higher level equipment
Corresponding first can distribute address pool, and the first via includes setting for the higher level with the intermediate device communication by information
The first standby address, the intermediate equipment for being communicated with its higher level equipment the second address, corresponding with the intermediate equipment
First can distribute mapping relations in address pool between all addresses, wherein first address and second address are equal
For the address of virtual port;
Second obtains module, and for that can distribute address pool according to described first, obtaining corresponding with its subordinate equipment second can divide
Address with address pool or its subordinate equipment, and the secondary route information for being communicated with subordinate equipment, wherein obtain for
If it is underlying device that the secondary route information of subordinate equipment communication, which includes: its described subordinate equipment, can divide from described first
With choosing the third address of the intermediate equipment for communicate with its subordinate equipment in address pool, be used for and the intermediate equipment
4th address of the underlying device of communication, and using the third address and the four address mapping relations as described in
Secondary route information;If its described subordinate equipment is not underlying device, from described first can distribute in address pool choose for
Its subordinate equipment communication the intermediate equipment third address, for the subordinate equipment with the intermediate device communication
4th address and its subordinate equipment corresponding second can distribute address pool, by the third address, the 4th address, with it under
Grade equipment corresponding second can distribute the mapping relations in address pool between all addresses as the secondary route information,
In, the third address and the 4th address are the address of virtual port;
First sending module for storing the secondary route information, and corresponding with its subordinate equipment second will can distribute
The address and the secondary route information of address pool or its subordinate equipment are sent to its subordinate equipment.
9. a kind of data communication equipment, which is characterized in that applied to the intermediate equipment in multilevel communication system, the multistage communication
The first routing iinformation for communicating with higher level equipment, the letter of the secondary route for communicating with subordinate equipment are stored in advance in system
Breath and the intermediate equipment corresponding first can distribute address pool, and described device includes:
First processing module, if receiving the first forwarding information from its subordinate equipment for intermediate equipment, inquiry first can
Address pool is distributed, if the destination address of the forwarding information, which is stored in described first, to distribute in address pool, the centre is set
For according to secondary route information, corresponding subordinate equipment is sent by the forwarding information;If the target of the forwarding information
Location is not stored in described first and can distribute in address pool, then the intermediate equipment is according to the first routing iinformation, by described first turn
Photos and sending messages are sent to its higher level equipment;
Second processing module, if receiving the second forwarding information from the higher level equipment for the intermediate equipment, inquiry
Second forwarding information is sent corresponding subordinate equipment by the secondary route information;
Second obtains module, if being underlying device for its described subordinate equipment, can distribute in address pool and choose from described first
The third address of the intermediate equipment for being communicated with its subordinate equipment, for the bottom with the intermediate device communication
4th address of equipment, and using the third address and the four address mapping relations as the secondary route information;
If its described subordinate equipment is not underlying device, it can distribute in address pool and be chosen for being communicated with its subordinate equipment from described first
The intermediate equipment third address, for the subordinate equipment with the intermediate device communication the 4th address and its under
Grade equipment corresponding second can distribute address pool, by the third address, the 4th address, corresponding with its subordinate equipment the
Two can distribute mapping relations in address pool between all addresses as the secondary route information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611049072.0A CN106506312B (en) | 2016-11-24 | 2016-11-24 | A kind of networking configuration method, data communications method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611049072.0A CN106506312B (en) | 2016-11-24 | 2016-11-24 | A kind of networking configuration method, data communications method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106506312A CN106506312A (en) | 2017-03-15 |
CN106506312B true CN106506312B (en) | 2019-08-27 |
Family
ID=58328169
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611049072.0A Active CN106506312B (en) | 2016-11-24 | 2016-11-24 | A kind of networking configuration method, data communications method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106506312B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103338274A (en) * | 2013-05-15 | 2013-10-02 | 中国科学技术大学苏州研究院 | Routing-oriented address assignment method in tree-shaped ubiquitous network |
CN105554173A (en) * | 2015-12-21 | 2016-05-04 | 南京奥特迈新信息技术有限公司 | Network node address assignment method in asymmetric ZigBee network |
CN105591871A (en) * | 2015-10-16 | 2016-05-18 | 杭州华三通信技术有限公司 | Method and device for configuration of auto discovery virtual private network (ADVPN) spoke |
CN105589749A (en) * | 2014-12-30 | 2016-05-18 | 中国银联股份有限公司 | Method and device for allocating network IP resources in cloud computing environment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140172947A1 (en) * | 2012-12-17 | 2014-06-19 | Benu Networks, Inc. | Cloud-based virtual local networks |
-
2016
- 2016-11-24 CN CN201611049072.0A patent/CN106506312B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103338274A (en) * | 2013-05-15 | 2013-10-02 | 中国科学技术大学苏州研究院 | Routing-oriented address assignment method in tree-shaped ubiquitous network |
CN105589749A (en) * | 2014-12-30 | 2016-05-18 | 中国银联股份有限公司 | Method and device for allocating network IP resources in cloud computing environment |
CN105591871A (en) * | 2015-10-16 | 2016-05-18 | 杭州华三通信技术有限公司 | Method and device for configuration of auto discovery virtual private network (ADVPN) spoke |
CN105554173A (en) * | 2015-12-21 | 2016-05-04 | 南京奥特迈新信息技术有限公司 | Network node address assignment method in asymmetric ZigBee network |
Also Published As
Publication number | Publication date |
---|---|
CN106506312A (en) | 2017-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103825954B (en) | A kind of OpenFlow control methods and corresponding plug-in unit, platform and network | |
CN110401588B (en) | Method and system for realizing VPC (virtual private network) peer-to-peer connection in public cloud platform based on openstack | |
CN105634956B (en) | A kind of message forwarding method, device and system | |
CN104811371B (en) | A kind of brand-new instantaneous communication system | |
CN102843286B (en) | Implementation method, and system of virtual routers | |
CN103441932B (en) | A kind of Host routes list item generates method and apparatus | |
CN103795631A (en) | Flow forwarding method and device equipped with Ethernet virtual interconnection (EVI) in network | |
CN111817869B (en) | Network configuration recovery method and related equipment thereof | |
CN104780088A (en) | Service message transmission method and equipment | |
CN105282003B (en) | Establish the method and system and tunnel control device and virtual switch in tunnel | |
CN105262667A (en) | Method and device for controlling multicast transmission in Overlay network | |
CN105872128B (en) | The distribution method and device of virtual ip address | |
CN103139037A (en) | Method and device used for achieving flexible virtual local area network | |
CN102422601A (en) | Relay communication system and first relay server | |
CN106487837B (en) | The method and apparatus for being sent into network and obtaining target data from network | |
CN105227460B (en) | A kind of seismic interpretation system based on SDN | |
CN102316416A (en) | Access method for terminal and wireless communication network | |
CN105556916A (en) | Network flow information statistics method and apparatus | |
CN107566237A (en) | A kind of data message processing method and device | |
CN103095508B (en) | Operational Visit method and edge device | |
CN109246762A (en) | A kind of local service shunt method and device | |
CN114024886A (en) | Cross-resource-pool network intercommunication method, electronic equipment and readable storage medium | |
CN107360089A (en) | A kind of method for routing foundation, business datum conversion method and device | |
CN102780701B (en) | Access control method and equipment | |
CN107005479A (en) | The method, apparatus and system of data forwarding in software defined network SDN |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |