CN106230983A - A kind of control device and method - Google Patents
A kind of control device and method Download PDFInfo
- Publication number
- CN106230983A CN106230983A CN201610812836.0A CN201610812836A CN106230983A CN 106230983 A CN106230983 A CN 106230983A CN 201610812836 A CN201610812836 A CN 201610812836A CN 106230983 A CN106230983 A CN 106230983A
- Authority
- CN
- China
- Prior art keywords
- packet
- network equipment
- communication path
- network
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/562—Brokering proxy services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a kind of control device and method, this control device includes: information storage module, for storing the communication path between at least two network equipment;Information receiving module, for receiving the packet that external switch sends;Data distribution module, for determining the data type of packet, when the data message that data type is network of packet, forwards the packet to link discovery module;Link discovery module, for resolving packet with source network device that the source IP address determining packet the is corresponding purpose network equipment corresponding with the purpose IP address of packet, determines the destinations traffic path between source network device and the purpose network equipment;Issue management module, for sending to external switch, destinations traffic path and packet so that external switch sends data packets to the purpose network equipment according to destinations traffic path.The present invention can realize the unified management of communication path between each network equipment.
Description
Technical field
The present invention relates to field of computer technology, particularly to a kind of control device and method.
Background technology
Along with the development of computer networking technology, the quantity of information that network is carried sharply increases, and user is to obtaining these letters
Acquisition mode (wired or mobile), information type (text, voice or video) and the information quality etc. of breath present diversification requirement.
In order to meet the diversification requirement of user, network is deployed with multiple network equipment, such as router and switch
Deng, each network equipment has the most proprietary control software;Owing to each control protocol controlled between software is different, respectively
When the individual network equipment carries out information exchange, the control protocol according to respective control software is corresponding is needed to search optional communication lines
Footpath, it is impossible to realize the unified management of communication path between each network equipment.
Summary of the invention
Embodiments provide a kind of control device and method, it is achieved that communication path between each network equipment
Unified management.
First aspect, embodiments provides a kind of control device, it is characterised in that including: information storage module,
Information receiving module, data distribution module, link discovery module and issue management module;Wherein,
Described information storage module, for storing the communication path between at least two network equipment;
Described information receiving module, for receiving the packet that external switch sends, and is sent to described packet
Described data distribution module;
Described data distribution module, for determining the data type of described packet, when the data type of described packet
During for the data message of network, described packet is forwarded to described link discovery module;
Described link discovery module, for resolving described packet with source corresponding to the source IP address determining described packet
The purpose network equipment that the network equipment is corresponding with the purpose IP address of described packet, from leading to that described information storage module stores
Letter determines the destinations traffic path between described source network device and the described purpose network equipment, by described destinations traffic in path
Path issues management module described in being sent to;
Described issue management module, for sending described destinations traffic path and described packet to the most described outside exchange
Machine, so that described packet is sent to the described purpose network equipment by described external switch according to described destinations traffic path.
Preferably,
This control device farther includes: network topology module;Wherein,
Described data distribution module, is further used for when the type of described packet is facility information, by described data
Bag sends to described network topology module;
Described network topology module, for resolving described packet to determine newly added being connected with described external switch
New network device, determine the network topology structure that described external switch is corresponding with described new network device, according to described net
Network topological structure updates the communication path of storage in described information storage module.
Preferably,
Described link discovery module, described determining from the communication path that described information storage module stores described in execution
During destinations traffic path between first network equipment and described second network equipment, for storing from described information storage module
Communication path in determine at least one communication path between described source network device and the described purpose network equipment, determine institute
State communication path the shortest at least one communication path, using the shortest described communication path as described destinations traffic path.
Preferably,
Described information receiving module, is further used for receiving at least two packet that described external switch sends
Time, described at least two packet is ranked up according to order set in advance, according to described order set in advance by institute
State at least two packet and be sent to described data distribution module.
Preferably,
Described information storage module, for storing, at least one pair of network equipment is corresponding with at least one communication path to close
System;
Described link discovery module, described determining from the communication path that described information storage module stores described in execution
During destinations traffic path between source network device and the described purpose network equipment, described for determining according to described corresponding relation
Source network device described destinations traffic path corresponding with the described purpose network equipment.
Second aspect, embodiments provides a kind of control method, it is characterised in that prestore at least two net
Communication path between network equipment, including:
Receive the packet that external switch sends;
Determine the data type of described packet;
When the data message that data type is network of described packet, resolve described packet to determine described data
The purpose network equipment that the source network device corresponding to source IP address of bag is corresponding with the purpose IP address of described packet;
The target between described source network device and the described purpose network equipment is determined from the communication path prestored
Communication path;
Described destinations traffic path and described packet are sent to described external switch, so that described external switch
According to described destinations traffic path, described packet is sent to the described purpose network equipment.
Preferably,
After the described data type determining packet, farther include:
When the type of described packet is facility information, resolve described packet newly added with described outside to determine
The new network device that switch is connected, determines the network topology structure that described external switch is corresponding with described new network device,
The communication path prestored according to the renewal of described network topology structure.
Preferably,
Described determine from the communication path prestored between described source network device and the described purpose network equipment
Destinations traffic path, including:
Determine from the described communication path prestored between described source network device and the described purpose network equipment
At least one communication path, determines communication path the shortest in described at least one communication path, by the shortest described communication lines
Footpath is as described destinations traffic path.
Preferably,
After the packet that described reception external switch sends, the described data type determining described packet it
Before, farther include:
Receive described external switch send at least two packet time, by described at least two packet according to
Order set in advance is ranked up, according at least two packet described in described sequential processing set in advance.
Preferably,
The described communication path prestored between at least two network equipment, including:
Store the corresponding relation of at least one pair of network equipment and at least one communication path;
Described determine from the communication path prestored between described source network device and the described purpose network equipment
Destinations traffic path, including:
Described source network device described destinations traffic corresponding with the described purpose network equipment is determined according to described corresponding relation
Path.
Embodiments provide a kind of control apparatus and method, by prestoring between at least two network equipment
Communication path, receive external switch send packet after, determine the data type of described packet, when described
When the data type of packet is the data message of network, resolve described packet to determine the first net sending described packet
Network equipment and second network equipment of the described network equipment of reception, set according to described first network equipment and described second network
Standby, from the communication path prestored, determine the destinations traffic between described first network equipment and described second network equipment
Path, sends described destinations traffic path and described packet to described external switch, so that described external switch root
According to described destinations traffic path, described packet is sent to second network equipment;Due to by the communication between each network equipment
Path prestores, and sets with receive packet second according to the first equipment sending packet when packet-switching
Standby, from the communication path of storage, directly invoke destinations traffic path, and without facing according to the communication protocol between each equipment
Time search available communication path, it is achieved thereby that the unified management of communication path between each network equipment.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to according to
These accompanying drawings obtain other accompanying drawing.
Fig. 1 is a kind of structural representation controlling device that one embodiment of the invention provides;
Fig. 2 is a kind of structural representation controlling device that another embodiment of the present invention provides;
Fig. 3 is the flow chart of a kind of control method that one embodiment of the invention provides;
Fig. 4 is the flow chart of a kind of control method that another embodiment of the present invention provides;
Fig. 5 is the network topology structure schematic diagram that one embodiment of the invention provides.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
The a part of embodiment of the present invention rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained on the premise of not making creative work, broadly falls into the scope of protection of the invention.
As it is shown in figure 1, embodiments provide a kind of control device, including: information storage module 101, information connect
Receive module 102, data distribution module 103, link discovery module 104 and issue management module 105;Wherein,
Described information storage module 101, for storing the communication path between at least two network equipment;
Described information receiving module 102, for receiving the packet that external switch sends, and sends described packet
To described data distribution module 103;
Described data distribution module 103, for determining the data type of described packet, when the data class of described packet
When type is the data message of network, described packet is forwarded to described link discovery module 104;
Described link discovery module 104, corresponding with the source IP address determining described packet for resolving described packet
The source network device purpose network equipment corresponding with the purpose IP address of described packet, from described information storage module 101
The communication path of storage determines the destinations traffic path between described source network device and the described purpose network equipment, by described
Destinations traffic path issues management module 105 described in being sent to;
Described issuing manages module 105, for sending described destinations traffic path and described packet to described outside
Switch, sets so that described packet is sent extremely described second network according to described destinations traffic path by described external switch
Standby.
In above-described embodiment, by prestoring the communication path between at least two network equipment, receiving outside
After the packet that switch sends, determine the data type of described packet, when the data type of described packet is network
Data message time, resolve described packet with determine the first network equipment sending described packet and receive described network set
The second standby network equipment, according to described first network equipment and described second network equipment, from the communication path prestored
The middle destinations traffic path determined between described first network equipment and described second network equipment, by described destinations traffic path
And described packet sends to described external switch so that described external switch according to described destinations traffic path by described
Packet sends to second network equipment;Owing to the communication path between each network equipment is prestored, in data
According to sending the first equipment of packet and receiving the second equipment of packet, from the communication path of storage directly during packet switch
Invocation target communication path, and without searching available communication path according to the communication protocol between each equipment temporarily, thus
Achieve the unified management of communication path between each network equipment.
Due to being continuously increased of the network user, the data volume that network is carried increases the most day by day, in order to meet data exchange
Requirement, the network equipment disposed in networking also need to along with increase, in order to be managed collectively the network equipment newly added in network with
Communication path between other network equipments, as in figure 2 it is shown, in one embodiment of the invention, this control device can be further
Including: network topology module 201;Wherein,
Described data distribution module 103, is further used for when the type of described packet is facility information, by described number
Send to described network topology module 201 according to bag;
Described network topology module 201, for resolving described packet to determine newly added being connected with described switch
The 3rd network equipment, determine the network topology structure that described switch is corresponding with described 3rd network equipment, according to described net
Network topological structure updates the communication path of storage in described information storage module 101.
In above-described embodiment, when receiving the data type of packet that switch sends and being facility information, determine with
The 3rd newly added network equipment that described switch is connected, and determine the network that switch is corresponding with described 3rd network equipment
Topological structure, updates the communication path between each equipment prestored according to the network topology structure determined;By by new
The renewal of the equipment added, in legacy network topological structure, can find new communication path according to newly added equipment, more favorably
Information exchange between each equipment, is also beneficial to be managed collectively the communication path between each equipment.
Owing to being deployed with multiple network equipment in network, each network equipment may be connected with each other with multiple network equipments,
Therefore, when data exchange, from the first network equipment of transmission packet to second network equipment of reception packet, have
A plurality of communication path is available;Therefore, in one embodiment of the invention, described link discovery module, described in performing
Determine from the communication path that described information storage module stores between described first network equipment and described second network equipment
Destinations traffic path time, for determine from the communication path that described information storage module stores described first network equipment with
At least one communication path between described second network equipment, determines communication lines the shortest in described at least one communication path
Footpath, using the shortest described communication path as described destinations traffic path.
In above-described embodiment, when finding that the first network equipment sending packet is to second network equipment receiving packet
Between, when there is a plurality of communication path, from described a plurality of communication path, determine the shortest communication path, and lead to as target
Letter path;By the shortest communication path as destinations traffic path, be conducive to shortening data swap times, improve the effect of data exchange
Rate.
In one embodiment of the invention, described information receiving module, it is further used for receiving described outside friendship
Change planes send at least two packet time, described at least two packet is ranked up according to order set in advance, presses
According to described order set in advance, described at least two packet is sent to described data distribution module.
In above-described embodiment, when receiving multiple packet that external switch sends, the plurality of packet is pressed
Being ranked up according to order set in advance, such as, according to time sequencing, the packet priority arrived first processes;By multiple packets
Sequence processes in order, is conducive to controlling switch and carries out the exchange of multiple packet without any confusion.
In an embodiment of the invention, described information storage module, be used for storing at least one pair of network equipment with at least
The corresponding relation of one communication path;
Described link discovery module, described determining from the communication path that described information storage module stores described in execution
During destinations traffic path between source network device and the described purpose network equipment, described for determining according to described corresponding relation
Source network device described destinations traffic path corresponding with the described purpose network equipment.
In above-described embodiment, the network equipment can include router, switch, network address translater, server load
Equilibrium, intruding detection system etc., at least corresponding communication path of each two network equipment, such as, root between two routers
Communication path is determined, according to the two title by corresponding with two routers for a plurality of communication path determined according to its MAC Address
Get up, when searching destinations traffic path in data exchange process, according to the title of two routers obtained, corresponding according to it
Relation determines destinations traffic path, is conducive to quickly transferring corresponding destinations traffic path.
As it is shown on figure 3, one embodiment of the invention provides a kind of control method, the method may comprise steps of:
Step 301, the communication path between the storage at least two network equipment;
Step 302, receives the packet that external switch sends;
Step 303, determines the data type of described packet, when the data that data type is network of described packet are believed
During breath, resolve described packet with source network device corresponding to the source IP address determining described packet and the mesh of described packet
The purpose network equipment corresponding to IP address;
Step 304, determine from the communication path prestored described source network device and the described purpose network equipment it
Between destinations traffic path;
Step 305, sends described destinations traffic path and described packet to described external switch, so that outside described
Described packet is sent to the described purpose network equipment by portion's switch according to described destinations traffic path.
In above-described embodiment, by prestoring the communication path between at least two network equipment, receiving outside
After the packet that switch sends, determine the data type of described packet, when the data type of described packet is network
Data message time, resolve described packet with determine the first network equipment sending described packet and receive described network set
The second standby network equipment, according to described first network equipment and described second network equipment, from the communication path prestored
The middle destinations traffic path determined between described first network equipment and described second network equipment, by described destinations traffic path
And described packet sends to described external switch so that described external switch according to described destinations traffic path by described
Packet sends to second network equipment;Owing to the communication path between each network equipment is prestored, in data
According to sending the first equipment of packet and receiving the second equipment of packet, from the communication path of storage directly during packet switch
Invocation target communication path, and without searching available communication path according to the communication protocol between each equipment temporarily, thus
Achieve the unified management of communication path between each network equipment.
Switch is sent to control the data type of the packet of device to be had multiple, sets when there being newly added network in network
Time standby, in order to be managed collectively the communication path between the newly added network equipment and other networks, with the newly added network equipment
Be connected switch will by equipment control request be sent to control device, therefore, in one embodiment of the invention, described really
After the data type of given data bag, farther include:
When the type of described packet is facility information, resolve described packet newly added with described outside to determine
The new network device that switch is connected, determines the network topology structure that described external switch is corresponding with described new network device,
The communication path prestored according to the renewal of described network topology structure.
In above-described embodiment, when determining that described type of data packet is facility information, i.e. explanation network have newly added
Equipment needs to control device and it is carried out path management, first determines newly added with what the switch sending packet was connected
The 3rd network equipment, and determine the network topology structure that switch is corresponding with described 3rd network equipment, then according to determining
Network topology structure update the communication path between each equipment of prestoring;By by newly added renewal of the equipment to former
Have in network topology structure, new communication path can be found according to newly added equipment, be more beneficial for the letter between each equipment
Breath exchange, is also beneficial to be managed collectively the communication path between each equipment.
Owing to being deployed with multiple network equipment in network, each network equipment may be connected with each other with multiple network equipments,
Therefore, when data exchange, from the first network equipment of transmission packet to second network equipment of reception packet, have
A plurality of communication path is available;Therefore, in one embodiment of the invention, described true from the communication path prestored
Fixed destinations traffic path between described source network device and the described purpose network equipment, including:
Determine from the described communication path prestored between described source network device and the described purpose network equipment
At least one communication path, determines communication path the shortest in described at least one communication path, by the shortest described communication lines
Footpath is as described destinations traffic path.
In above-described embodiment, when finding that the first network equipment sending packet is to second network equipment receiving packet
Between, when there is a plurality of communication path, from described a plurality of communication path, determine the shortest communication path, and lead to as target
Letter path;By the shortest communication path as destinations traffic path, be conducive to shortening data swap times, improve the effect of data exchange
Rate.
In one embodiment of the invention, described reception external switch send packet after, described really
Before the data type of fixed described packet, farther include:
Receive described external switch send at least two packet time, by described at least two packet according to
Order set in advance is ranked up, according at least two packet described in described sequential processing set in advance.
In above-described embodiment, when receiving multiple packet that external switch sends, the plurality of packet is pressed
Being ranked up according to order set in advance, such as, according to time sequencing, the packet priority arrived first processes;By multiple packets
Sequence processes in order, is conducive to controlling switch and carries out the exchange of multiple packet without any confusion.
In an embodiment of the invention, described in prestore the communication path between at least two network equipment, including:
Store the corresponding relation of at least one pair of network equipment and at least one communication path;
Described determine from the communication path prestored between described source network device and the described purpose network equipment
Destinations traffic path, including:
Described source network device described destinations traffic corresponding with the described purpose network equipment is determined according to described corresponding relation
Path.
In above-described embodiment, the network equipment can include router, switch, network address translater, server load
Equilibrium, intruding detection system etc., at least corresponding communication path of each two network equipment, such as, root between two routers
Communication path is determined, according to the two title by corresponding with two routers for a plurality of communication path determined according to its MAC Address
Get up, when searching destinations traffic path in data exchange process, according to the title of two routers obtained, corresponding according to it
Relation determines destinations traffic path, is conducive to quickly transferring corresponding destinations traffic path.
Below by router A as a example by switch b delivers a packet to router C, the control method of the present invention is entered
Row describes in detail, as shown in Figure 4, embodiments provides a kind of control method, and the method may comprise steps of:
Step 401, the communication path between the storage at least two network equipment.
According to the configuration information of each network equipment, such as, according to MAC Address and the IP information of each router, set up
Communication path between two network equipments, stores unified for communication path between each network equipment in network, and
And communication path corresponding between each network equipment of storage can be utilized, set up the network being made up of each network equipment and open up
Flutterring structure, the network topology structure schematic diagram of each network equipment composition is as it is shown in figure 5, this is conducive to receiving data exchange
During request, directly invoke corresponding communication path and carry out data exchange.
Step 402, the packet that desampler C sends.
Router A is connected with switch C, and delivers a packet to switch C, switch C deliver a packet to
Control device.
Step 403, determines the data type of described packet, when the data that data type is network of described packet are believed
During breath, perform step 404.
Step 404, resolves described packet to determine the router A sending described packet and to receive described packet
Router C, determines at least one communication path between described router A and described router C.
Step 405, determines the shortest communication path between router A and router C, using the shortest described communication path as
Destinations traffic path.
According to resolving router A and the MAC Address of router C and the IP information that packet obtains, logical from prestore
Letter searches the communication path between router A and router C in path, calculates each communication lines according to network topology structure figure
The length in footpath, determines the shortest communication path between router A and router C;Such as, according to each network equipment in Fig. 5
The network topological diagram of composition, when the packet of router A is sent to router C by switch, at least two paths are available for choosing
Selecting, Article 1 directly can be delivered a packet to router C by switch b, and packet first can be sent out by Article 2 by switch b
Give the router D being connected with router C, then by router D, described packet is sent to router C, use Article 2 to lead to
When letter path carries out packet transmission, go through the process of router D, the most relatively Article 1 communication lines path length more, can be by Article 1
Communication path, as carrying out the destinations traffic path of data exchange between router A and router C, uses the shortest communication path to enter
Row data forward, and are conducive to improving the efficiency that data forward.
It addition, when the data type of described packet is facility information, illustrate network occurring in that, the new network equipment needs
Manage, be determined by the facility information of the 3rd newly added network equipment, according to this facility information, the 3rd network equipment existed
Controlling to register in device, such as, the 3rd network equipment is router D, then be determined by MAC Address and the IP of router D
The MAC Address of the switch C of information and transmission packet and IP information, and the annexation of router D and switch C, really
Determine the network topology structure of switch C and described router D, then according to the network topology structure determined, determine router D with
Communication path between other network equipments, thus updates the communication path between each network equipment prestored, it is possible to
Updating the network topology structure of each network equipment, the network topology structure schematic diagram after renewal is as shown in Figure 5.
When the data type determining packet is control information, described packet is comprehensively analyzed and generates forwarding
Strategy, then generates corresponding passive flow table or dynamically flows table, issues switch again after being filled by stream gauge seal.
Step 406, sends described destinations traffic path and described packet to switch b, so that switch b is according to institute
State destinations traffic path to send described packet to router C.
In above-described embodiment, by advance communication path between each network equipment in network being stored, connecing
After receiving the packet that switch b sends, determine the data type of described packet, when described packet is facility information
Time, obtain the facility information of the 3rd newly added network equipment, and according to this facility information and with the 3rd newly added network
The facility information of the switch b that equipment is connected, determines the network topology knot between switch b and the 3rd newly added network equipment
Structure, then updates the communication path between each equipment prestored according to this network topology structure;When described packet
When data type is the data message of network, determines and send between the router A of packet and the router C receiving packet
The shortest communication path, and this shortest communication path and described packet are sent to switch b, so that switch b is according to described
Described packet is sent to router C by the shortest communication path, owing to being deposited in advance by the communication path between each network equipment
Storage is got up, and can directly invoke destinations traffic path when packet-switching, it is achieved thereby that communication lines between each network equipment
The unified management in footpath.
Each embodiment of the present invention at least has the advantages that
1, in embodiments of the present invention, by prestoring the communication path between at least two network equipment, receiving
After the packet that external switch sends, determine the data type of described packet, when the data type of described packet
During for the data message of network, resolve described packet to determine the first network equipment sending described packet and to receive described
Second network equipment of the network equipment is according to described first network equipment and described second network equipment, logical from prestore
Letter determines the destinations traffic path between described first network equipment and described second network equipment in path, described target is led to
Letter path and described packet send to described external switch, so that described external switch is according to described destinations traffic path
Described packet is sent to second network equipment;Owing to the communication path between each network equipment is prestored,
When packet-switching according to sending the first equipment of packet and receiving the second equipment of packet, from the communication path of storage
In directly invoke destinations traffic path, and without searching available communication lines according to the communication protocol between each equipment temporarily
Footpath, it is achieved thereby that the unified management of communication path between each network equipment.
2, in embodiments of the present invention, when the three newly added network equipment occurs, the friendship determining with sending packet
Change planes connected the 3rd newly added network equipment, and determine the network topology knot that switch is corresponding with described 3rd network equipment
Structure, then updates the communication path between each equipment prestored according to the network topology structure determined;By will newly add
The renewal of the equipment added, in legacy network topological structure, can find new communication path according to newly added equipment, be more beneficial for
Information exchange between each equipment, is also beneficial to be managed collectively the communication path between each equipment.
3, in embodiments of the present invention, when finding that the first network equipment sending packet is to the second net receiving packet
Between network equipment, when there is a plurality of communication path, from described a plurality of communication path, determine the shortest communication path, and as
Destinations traffic path;By the shortest communication path as destinations traffic path, be conducive to shortening data swap times, improve data and hand over
The efficiency changed.
4, when receiving multiple packet that external switch sends, by the plurality of packet according to set in advance
Order is ranked up, and is conducive to controlling switch and carries out the exchange of multiple packet without any confusion.
It should be noted that in this article, the relational terms of such as first and second etc is used merely to an entity
Or operation separates with another entity or operating space, and not necessarily require or imply existence between these entities or operation
The relation of any this reality or order.And, term " includes ", " comprising " or its any other variant are intended to non-
Comprising of exclusiveness, so that include that the process of a series of key element, method, article or equipment not only include those key elements,
But also include other key elements being not expressly set out, or also include being consolidated by this process, method, article or equipment
Some key elements.In the case of there is no more restriction, statement the key element " including " and limiting, do not arrange
Except there is also other same factor in including the process of described key element, method, article or equipment.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can be passed through
The hardware that programmed instruction is relevant completes, and aforesaid program can be stored in the storage medium of embodied on computer readable, this program
Upon execution, perform to include the step of said method embodiment;And aforesaid storage medium includes: ROM, RAM, magnetic disc or light
In the various medium that can store program code such as dish.
Last it should be understood that the foregoing is only presently preferred embodiments of the present invention, it is merely to illustrate the skill of the present invention
Art scheme, is not intended to limit protection scope of the present invention.All made within the spirit and principles in the present invention any amendment,
Equivalent, improvement etc., be all contained in protection scope of the present invention.
Claims (10)
1. one kind controls device, it is characterised in that including: information storage module, information receiving module, data distribution module, chain
Road discovery module and issue management module;Wherein,
Described information storage module, for storing the communication path between at least two network equipment;
Described information receiving module, for receiving the packet that external switch sends, and is sent to described by described packet
Data distribution module;
Described data distribution module, for determining the data type of described packet, when the data type of described packet is net
During the data message of network, described packet is forwarded to described link discovery module;
Described link discovery module, for resolving described packet with source network corresponding to the source IP address determining described packet
The purpose network equipment that equipment is corresponding with the purpose IP address of described packet, the communication lines stored from described information storage module
Footpath determines the destinations traffic path between described source network device and the described purpose network equipment, by described destinations traffic path
Management module is issued described in being sent to;
Described issue management module, for described destinations traffic path and described packet are sent to described external switch,
So that described packet is sent to the described purpose network equipment by described external switch according to described destinations traffic path.
Control device the most according to claim 1, it is characterised in that
Farther include: network topology module;Wherein,
Described data distribution module, is further used for, when the type of described packet is facility information, being sent out by described packet
Deliver to described network topology module;
Described network topology module is newly added new with what described external switch was connected to determine for resolving described packet
The network equipment, determines the network topology structure that described external switch is corresponding with described new network device, opens up according to described network
Flutter the communication path of storage in information storage module described in topology update.
Control device the most according to claim 1, it is characterised in that described link discovery module, described from institute in execution
State in the communication path of information storage module storage and determine the mesh between described first network equipment and described second network equipment
During mark communication path, for determining described source network device and described mesh from the communication path that described information storage module stores
The network equipment between at least one communication path, determine communication path the shortest in described at least one communication path, will
The shortest described communication path is as described destinations traffic path.
Control device the most according to claim 1, it is characterised in that described information receiving module, is further used for connecing
When receiving at least two packet that described external switch sends, by described at least two packet according to set in advance suitable
Sequence is ranked up, and according to described order set in advance, described at least two packet is sent to described data distribution module.
5. according to described control device arbitrary in claim 1-4, it is characterised in that
Described information storage module, for storing the corresponding relation of at least one pair of network equipment and at least one communication path;
Described link discovery module, determines described source net described in performing from the communication path that described information storage module stores
During destinations traffic path between network equipment and the described purpose network equipment, for determining described source net according to described corresponding relation
Network equipment described destinations traffic path corresponding with the described purpose network equipment.
6. a control method, it is characterised in that prestore the communication path between at least two network equipment, including:
Receive the packet that external switch sends;
Determine the data type of described packet;
When the data message that data type is network of described packet, resolve described packet to determine described packet
The purpose network equipment that source network device that source IP address is corresponding is corresponding with the purpose IP address of described packet;
The destinations traffic between described source network device and the described purpose network equipment is determined from the communication path prestored
Path;
Described destinations traffic path and described packet are sent to described external switch so that described external switch according to
Described packet is sent to the described purpose network equipment by described destinations traffic path.
Method the most according to claim 6, it is characterised in that after the described data type determining packet, enter one
Step includes:
When the type of described packet is facility information, resolve described packet to determine newly added exchanging with described outside
The new network device that machine is connected, determines the network topology structure that described external switch is corresponding with described new network device, according to
The communication path prestored described in the renewal of described network topology structure.
Method the most according to claim 6, it is characterised in that described determine described source from the communication path prestored
Destinations traffic path between the network equipment and the described purpose network equipment, including:
Determine between described source network device and the described purpose network equipment at least from the described communication path prestored
Article one, communication path, determines communication path the shortest in described at least one communication path, is made by the shortest described communication path
For described destinations traffic path.
Method the most according to claim 6, it is characterised in that described reception external switch send packet it
After, before the described data type determining described packet, farther include:
When receiving at least two packet that described external switch sends, by described at least two packet according in advance
The order set is ranked up, according at least two packet described in described sequential processing set in advance.
10. according to described method arbitrary in claim 6-9, it is characterised in that
The described communication path prestored between at least two network equipment, including:
Store the corresponding relation of at least one pair of network equipment and at least one communication path;
The described target determined from the communication path prestored between described source network device and the described purpose network equipment
Communication path, including:
Described source network device described destinations traffic path corresponding with the described purpose network equipment is determined according to described corresponding relation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610812836.0A CN106230983A (en) | 2016-09-09 | 2016-09-09 | A kind of control device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610812836.0A CN106230983A (en) | 2016-09-09 | 2016-09-09 | A kind of control device and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106230983A true CN106230983A (en) | 2016-12-14 |
Family
ID=58074173
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610812836.0A Pending CN106230983A (en) | 2016-09-09 | 2016-09-09 | A kind of control device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106230983A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107623587A (en) * | 2017-07-25 | 2018-01-23 | 郑州云海信息技术有限公司 | A kind of network topology management system and network management |
CN114222209A (en) * | 2022-02-21 | 2022-03-22 | 北京国科天迅科技有限公司 | Method and device for realizing routing of hybrid protocol switching network and network switching equipment |
CN115174414A (en) * | 2022-07-22 | 2022-10-11 | 科来网络技术股份有限公司 | Method, system and electronic device for automatically identifying devices and device paths in session |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104125620A (en) * | 2014-07-31 | 2014-10-29 | 宇龙计算机通信科技(深圳)有限公司 | Relay selection routing method and relay selection routing device based on terminal device-to-device communication |
CN104158753A (en) * | 2014-06-12 | 2014-11-19 | 南京工程学院 | Dynamic flow dispatch method and system based on software definition network |
CN105516025A (en) * | 2014-09-23 | 2016-04-20 | 杭州华为数字技术有限公司 | End-to-end path control and data transmission method, OpenFlow controller and a switch |
CN105610615A (en) * | 2015-12-29 | 2016-05-25 | 国网辽宁省电力有限公司 | Method and system for dispatching power distribution network based on software-defined network |
CN103312547B (en) * | 2013-06-18 | 2016-06-29 | 华为技术有限公司 | Communication means, Apparatus and system |
-
2016
- 2016-09-09 CN CN201610812836.0A patent/CN106230983A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103312547B (en) * | 2013-06-18 | 2016-06-29 | 华为技术有限公司 | Communication means, Apparatus and system |
CN104158753A (en) * | 2014-06-12 | 2014-11-19 | 南京工程学院 | Dynamic flow dispatch method and system based on software definition network |
CN104125620A (en) * | 2014-07-31 | 2014-10-29 | 宇龙计算机通信科技(深圳)有限公司 | Relay selection routing method and relay selection routing device based on terminal device-to-device communication |
CN105516025A (en) * | 2014-09-23 | 2016-04-20 | 杭州华为数字技术有限公司 | End-to-end path control and data transmission method, OpenFlow controller and a switch |
CN105610615A (en) * | 2015-12-29 | 2016-05-25 | 国网辽宁省电力有限公司 | Method and system for dispatching power distribution network based on software-defined network |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107623587A (en) * | 2017-07-25 | 2018-01-23 | 郑州云海信息技术有限公司 | A kind of network topology management system and network management |
CN107623587B (en) * | 2017-07-25 | 2021-06-29 | 郑州云海信息技术有限公司 | Network topology management system and network management method |
CN114222209A (en) * | 2022-02-21 | 2022-03-22 | 北京国科天迅科技有限公司 | Method and device for realizing routing of hybrid protocol switching network and network switching equipment |
CN115174414A (en) * | 2022-07-22 | 2022-10-11 | 科来网络技术股份有限公司 | Method, system and electronic device for automatically identifying devices and device paths in session |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103051629B (en) | Software defined network-based data processing system, method and node | |
CN105379218B (en) | Processing method, device and the equipment of Business Stream | |
KR101473783B1 (en) | Method and apparatus for control of dynamic service chaining by using tunneling | |
KR101913490B1 (en) | Flow table management method and relevant device and system | |
CN102792646B (en) | Communication system, control device, communication means | |
CN102158421B (en) | Method and unit for creating layer three interface | |
CN104734872B (en) | A kind of industrial backhaul network implementation method and system based on software defined network | |
CN104335537A (en) | System and method for layer-2 multicast multipathing | |
CN106105115A (en) | The service chaining originated by service node in network environment | |
US20130286844A1 (en) | Information system, control apparatus, communication method, and program | |
CN109361600B (en) | Method and equipment for acquiring path identifier | |
CN102891800B (en) | Method, the node of being carried out by the node in multiple nodes and the system of knowing flooding information | |
CN107071087A (en) | Logic L3 is route | |
JP6206508B2 (en) | Packet transfer device, control device, communication system, communication method, and program | |
CN104246701A (en) | System and method for routing traffic between distinct infiniband subnets based on source routing | |
CN104247348A (en) | Chaining of inline services using software defined networking | |
CN105282003B (en) | Establish the method and system and tunnel control device and virtual switch in tunnel | |
CN106656905A (en) | Firewall cluster realization method and apparatus | |
CN108965134B (en) | Message forwarding method and device | |
CN104601467A (en) | Method and device for sending messages | |
CN105794158B (en) | For handling the method and system of Internet Protocol packet | |
CN103634214B (en) | A kind of routing iinformation generation method and device | |
CN101789949B (en) | Method and router equipment for realizing load sharing | |
CN105681198A (en) | Business chain processing method, device and system | |
CN106549944A (en) | A kind of domain filter method based on linux kernel Hash table |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161214 |
|
RJ01 | Rejection of invention patent application after publication |