CN110266597A - Flow control methods, device, equipment and storage medium - Google Patents
Flow control methods, device, equipment and storage medium Download PDFInfo
- Publication number
- CN110266597A CN110266597A CN201910522039.2A CN201910522039A CN110266597A CN 110266597 A CN110266597 A CN 110266597A CN 201910522039 A CN201910522039 A CN 201910522039A CN 110266597 A CN110266597 A CN 110266597A
- Authority
- CN
- China
- Prior art keywords
- routing
- target
- iinformation
- lists
- learning object
- 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.)
- Granted
Links
Classifications
-
- 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
- H04L45/08—Learning-based routing, e.g. using neural networks or artificial intelligence
-
- 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/54—Organization of routing tables
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Artificial Intelligence (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention discloses a kind of flow control methods, device, equipment and storage mediums, this method comprises: obtaining routing mutual conductance configuration information, wherein, at least one routing table process as learning object, and the target routing lists process as side to be learned are recorded in the configuration information;Obtain the routing iinformation of each routing table process as learning object;The routing iinformation of each routing table process as learning object is distributed to target routing lists process, is forwarded target routing lists process to flow based on the routing iinformation learnt.The embodiment of the present invention realizes the study of the routing iinformation between routing table process, study is set to be deployed in control plane, solve there are flow black hole, flow transmission destination is unreachable and configuration amount is excessive the problems such as, the controller perturbation of flow is realized, the case where controlling under all kinds of scenes flow can be flexibly applied to.
Description
Technical field
The present embodiments relate to flow control technique field more particularly to a kind of flow control methods, device, equipment and
Storage medium.
Background technique
The network equipment, such as router, interchanger are the foundation stones interconnected between terminal in current IP network.The network equipment
It is to be forwarded based on routing table, the selection of flow sending direction is all by searching for corresponding routing table entry forwarding.The work of flow control
Different service traffics are managed with the demand aiming at special screne, formulate special routing policy, not by single routing
The global limitation of table.
In practical business scene, in order to realize flow control, the prior art is usually to be merged using various methods to solve
The problem of being encountered in certainly respective scene, for example, by using PBR (policybased routing), VPN (virtual proprietary network), MP_BGP (multi-protocols
BGP the methods of) mixed.However these methods can only solve the problems, such as under special scenes, poor universality, moreover, some can also lead
The problems such as causing such as flow black hole, flexibility difference or high O&M complexity.
Summary of the invention
The embodiment of the present invention provides a kind of flow control methods, device, equipment and storage medium, to realize the elasticity of flow
It controls, the control in all kinds of scenes of flexible adaptation to flow.
In a first aspect, the embodiment of the invention provides a kind of flow control methods, this method comprises:
Obtain routing mutual conductance configuration information, wherein recorded in the configuration information as learning object at least one
Routing table process, and the target routing lists process as side to be learned;
Obtain the routing iinformation of each routing table process as learning object;
The routing iinformation of each routing table process as learning object is distributed to target routing lists process, makes target
Routing table process is forwarded flow based on the routing iinformation learnt.
Second aspect, the embodiment of the invention provides a kind of volume control device, which includes:
Configuration information obtains module, for obtaining routing mutual conductance configuration information, wherein record work in the configuration information
For at least one routing table process of learning object, and the target routing lists process as side to be learned;
Routing information acquisition module, for obtaining the routing iinformation of each routing table process as learning object;
Flow forwarding module, for the routing iinformation of each routing table process as learning object to be distributed to target
Routing table process is forwarded target routing lists process to flow based on the routing iinformation learnt.
The third aspect, the embodiment of the invention also provides a kind of equipment, which includes:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes the flow control methods as described in any in the embodiment of the present invention.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer
Program realizes the flow control methods as described in any in the embodiment of the present invention when program is executed by processor.
The embodiment of the present invention realizes the routing iinformation between different routing table processes based on routing mutual conductance configuration information
It practises, wherein at least one routing table process as learning object is recorded in the configuration information, and as side to be learned
Target routing lists process.Specifically, the routing mutual conductance configuration information based on acquisition, obtains each routing table as learning object
The routing iinformation of process, and by the routing iinformation of each routing table process as learning object be distributed to target routing lists into
Journey is forwarded target routing lists process to flow based on the routing iinformation learnt.Through the above scheme, it realizes on road
By the study of routing iinformation between table process, study is made to be deployed in control plane, solves that there are flow black holes, flow transmission mesh
Ground it is unreachable and the problems such as configuration amount is excessive, realize the controller perturbation of flow, can be flexibly applied under all kinds of scenes
The case where flow is controlled.
Detailed description of the invention
Fig. 1 is the flow chart of one of the embodiment of the present invention one flow control methods;
Fig. 2 is the flow chart of one of the embodiment of the present invention two flow control methods;
Fig. 3 is common structure schematic diagram in network deployment;
Fig. 4 is that schematic diagram is isolated in flow between across data center website when not supporting route learning;
Fig. 5 is that schematic diagram is isolated in flow between across data center website when supporting route learning;
Fig. 6 is one of embodiment of the present invention four volume control device structural schematic diagram;
Fig. 7 is the structural schematic diagram of one of the embodiment of the present invention five equipment.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is the flow chart of one of the embodiment of the present invention one flow control methods.Flow control provided in this embodiment
Method processed is applicable to the case where being controlled in all kinds of scenes by device for flow amount, and this method specifically can be by flow control
Device executes, which can be realized that the device can integrate in a device, and equipment can by the mode of software and/or hardware
To be the network equipment, such as interchanger, router, firewall, NFV (Network Function Virtualization, net
Network virtualization of function) the multiple networks equipment such as equipment, referring to Fig. 1, the method for the embodiment of the present invention is specifically included:
S110, routing mutual conductance configuration information is obtained, wherein record as learning object at least in the configuration information
One routing table process, and the target routing lists process as side to be learned.
Wherein, the routing mutual conductance configuration information is to be described by the preconfigured information of technical staff as
Practise at least one routing table process of object, and as the target routing lists process of side to be learned, be used to indicate routing table into
Learning object and side to be learned in journey, direction learning object to be learned are learnt.The routing table process is the network equipment
The program of middle operation can create and run at least one routing table process, each routing table process pipe in one network equipment
Respective at least one the internal Routing Protocol of reason, and each routing table process is correspondingly formed a routing table.The routing table
Contain for the electrical form (file) of a storage in the network device wherein being stored with the path for being directed toward particular network address
The topology information of network perimeter, for realizing Routing Protocol.
S120, the routing iinformation for obtaining each routing table process as learning object.
Wherein, the routing iinformation is the information that routing procedure parameter is embodied included in routing table process, such as net
Close information, interface message, network mask information, network protocol message etc..For at least one routing table as learning object
Process, other are needed as the routing table process of side to be learned at least one routing table process as learning object
It practises, therefore, the routing iinformation of each routing table process is obtained, to believe as the routing table process of side to be learned according to the routing
Breath is learnt.The routing iinformation is obtained by interface open in advance in routing table process.
It should be noted that in embodiments of the present invention, obtaining the comprehensive of routing iinformation to improve, therefore obtain and make
For the routing iinformation of each routing table process of learning object, avoid pointedly fetching portion as learning object routing table into
The routing iinformation of journey causes acquisition routing iinformation not comprehensive, and reduces acquisition efficiency.But it is not all as study pair
The routing iinformation of the routing table process of elephant all must be used for learning, and can only learn the part in the routing iinformation
It practises, all routing iinformations can also be learnt, can be determined by demand, therefore, in the embodiment of the present invention not to this
It is limited in any way.
S130, the routing iinformation of each routing table process as learning object is distributed to target routing lists process,
It is forwarded target routing lists process to flow based on the routing iinformation learnt.
It, may be in same net using a variety of Routing Protocols are arrived, in order to realize a variety of Routing Protocols in large-scale enterprise
Collaborative work, routing redistribution can be used in the network equipment, but redistribution can only solve the difference based on a routing table
Information transmitting between Routing Protocol cannot achieve the information transmitting between different routing tables.And if directly will be in routing table
Information is copied, and without associated with corresponding agreement, then will lead to loss in detail can not carry out the choosing of optimal path
It selects.
Therefore, in embodiments of the present invention, first obtain routing configuration information in record as learning object at least
One routing table process, and as the target routing lists process of side to be learned, the network equipment is by each road as learning object
Target routing lists process is distributed to by the routing iinformation of table process, carries out the study of routing iinformation between routing table process.
Moreover, because the protocol attribute of the Routing Protocol of script is carried in routing iinformation, it is therefore, this that road is introduced based on control plane
By the mode of information compared with the mode of direct copying routing table, the information transmitting and study in control plane are realized, makes to pass
Pass and the information that learns in include agreement detail attribute information, target routing lists are again based on the routing iinformation learnt to flow
It is forwarded, to realize adaptability controller perturbation flow during dynamic routing.
Wherein, target routing lists process is as side to be learned, obtain from each routing table as learning object into
In the routing iinformation of journey, if it is agreement routing iinformation identical with the agreement in target routing lists process, then study is exactly
Finger gets the routing iinformation;If it is the agreement routing iinformation different from the agreement in target routing lists process, then learning
Just refer to after getting the routing iinformation, then the intelligible initial routing letter of the agreement being translated into target routing lists process
Breath.
Optionally, route filtering information is also recorded in the configuration information;Correspondingly, by described as learning object
The routing iinformation of each routing table process is distributed to target routing lists process, makes target routing lists process based on the routing letter learnt
Before breath is forwarded flow, the method also includes: according to the route filtering information to the routing letter got
Breath is filtered;Correspondingly, the routing iinformation of each routing table process as learning object is distributed to target routing lists
Process, comprising: distribute the routing iinformation in the routing iinformation as each routing table process of learning object after filtering
To target routing lists process.
Wherein, the route filtering information is to be used to indicate the information being filtered to routing iinformation.To routing iinformation
It when being learnt, does not often need to learn all routing iinformations, it is only necessary to the part of routing letter of study on demand
Breath, it can the controller perturbation of flow is realized, therefore, in advance prior to recording route filtering information in configuration information, when getting
After routing iinformation as each routing table process of learning object, each routing iinformation was carried out according to route filtering information first
Filter, filters out the routing iinformation for needing to learn to it, then the routing iinformation filtered out is distributed to target routing lists process, by mesh
Mark routing table process learns routing iinformation, such as, it is only necessary to publication output is routed to 10.0.0.0 network segment, then according to road
By filtering information, goes out value from the routing iinformation of acquisition and filter out the corresponding routing iinformation of 10.0.0.0 network segment, target routing daemon
The only corresponding routing iinformation of study 10.0.0.0 network segment to avoid learning extra routing iinformation reduction treatment effeciency, and is kept away
Exempt from target routing lists process and learns the excessive space of routing table occupancy that a large amount of routing iinformations generate.
Optionally, routing property modification information is also recorded in the configuration information;Correspondingly, by described as study pair
The routing iinformation of each routing table process of elephant is distributed to target routing lists process, makes target routing lists process based on the road learnt
Before being forwarded by information to flow, the method also includes: the acquisition is judged according to the routing property modification information
To routing iinformation in the presence or absence of needing to carry out the information of attribute modification, and be judged as need when, to corresponding routing letter
Breath attribute is modified;Correspondingly, the routing iinformation of each routing table process as learning object is distributed to target road
By table process, comprising: by amended routing iinformation in the routing iinformation as each routing table process of learning object
It is distributed to target routing lists process.
Wherein, the routing property modification information, which is used to indicate, modifies to the attribute of routing iinformation.In part scene
Under, the routing of a network segment may be had existed in the corresponding target routing lists of target routing daemon, when the conduct of acquisition
When practising the routing in the routing iinformation of each routing daemon of object comprising same network segment, then need to modify the category of the routing iinformation
Property, it is different priorities that the routing of the network segment and the routing of the already present network segment in the routing iinformation, which is arranged,.Therefore, at this
In inventive embodiments, in advance prior to recording routing property modification information in configuration information, when getting as each of learning object
After the routing iinformation of routing table process, attribute modification is first carried out to the routing iinformation according to routing property modification information, then will
Modified routing iinformation is distributed to target routing daemon, is learnt by target routing daemon to modified routing iinformation.
Illustratively, when the routing of 10.0.0.0 network segment existing in the corresponding target routing lists of target routing daemon, if obtaining at this time
Also include the routing of 10.0.0.0 network segment in the routing iinformation as the routing daemon of learning object taken, is belonged at this time according to routing
The routing property for the 10.0.0.0 network segment for including in routing iinformation is changed to hypo-optimal route by property modification information, then through target route into
Exist after journey study as a hypo-optimal route.
The technical solution of the embodiment of the present invention obtains routing mutual conductance configuration information, wherein record in the configuration information
As at least one routing table process of learning object, and the target routing lists process as side to be learned;It obtains as
Practise the routing iinformation of each routing table process of object;The routing iinformation of each routing table process as learning object is distributed
To target routing lists process, it is forwarded target routing lists process to flow based on the routing iinformation learnt.By above-mentioned
Scheme realizes the study of the routing iinformation between routing table process, so that study is deployed in control plane, solves that there are flows
Black hole, the problems such as flow transmission destination is unreachable and configuration amount is excessive, realize the controller perturbation of flow, can flexibly fit
The case where for controlling under all kinds of scenes flow.
Embodiment two
Fig. 2 is the flow chart of one of the embodiment of the present invention two flow control methods.The present embodiment is in above-described embodiment
On the basis of be optimized, the details not being described in detail in the present embodiment is detailed in above-described embodiment.Referring to fig. 2, this implementation
Example provide flow control methods may include:
S210, routing mutual conductance configuration information is obtained, wherein record as learning object at least in the configuration information
One routing table process, and the target routing lists process as side to be learned.
Specifically, each routing table process is corresponding with respective routing table, and at least one is run in each routing table process
Kind Routing Protocol;Correspondingly, also being recorded in the configuration information at least one routing table process as learning object
At least one of at least one Routing Protocol, and target routing lists process as side to be learned Routing Protocol.
Wherein, Routing Protocol is the network protocol of specified data packet transfer mode, and Routing Protocol creates routing table, is described
Network topology structure.Routing Protocol is run in routing table process, for determining that data packet reaches path.Each routing table into
At least one Routing Protocol can be run in journey, at least one Routing Protocol generates a routing table.Correspondingly, the routing obtained
It include at least one Routing Protocol run in each process in mutual conductance configuration information.
S220, the routing letter for obtaining at least one of each routing table process as learning object Routing Protocol
Breath.
Specifically, the routing iinformation of at least one of each routing table process as learning object Routing Protocol is obtained,
Learn convenient for routing iinformation of the target routing lists process at least one Routing Protocol, so that study has into routing iinformation
There is the detail attribute of Routing Protocol, routing table can be generated according to the detail attribute of the Routing Protocol learnt, realized to flow
Controller perturbation.
S230, the routing iinformation is distributed to at least one of target routing lists process Routing Protocol, makes target road
Routing entry is generated based on the routing iinformation learnt by table process, and the routing entry is issued to target routing lists process
Corresponding target routing lists, and flow is forwarded based on the target routing lists.
Specifically, routing iinformation is distributed at least one of target routing lists process Routing Protocol, routed by target
At least one of table process Routing Protocol learns routing iinformation, and generates routing entry according to routing iinformation, and will
Routing entry, which issues, to be added in the corresponding target routing lists of routing table process, is turned based on the target routing lists to flow
Hair, is flexibly adjusted flow during dynamic routing to realize.
Optionally, the method also includes: the routing iinformation is identified according to different Routing Protocols;Accordingly
, the routing iinformation of each routing table process as learning object is distributed to target routing lists process, routes target
Table process is forwarded flow based on the routing iinformation learnt, further includes: according to the configuration information, the routing is believed
Breath is distributed at least one of target routing lists process Routing Protocol according to the mark.
Specifically, being needed before the routing iinformation to each routing table process as learning object of acquisition is distributed
Know which target routing lists process current routing iinformation needs pointedly to be distributed to, it is right according to actual needs to realize
Routing iinformation is transmitted.Therefore, before being distributed to routing iinformation, first routing iinformation is marked according to Routing Protocol
Know, to indicate target routing lists process that current routing iinformation should be distributed.By setting mark to realize routing iinformation pair
The distribution of answering property makes target routing lists process pointedly learn routing iinformation on demand.
The technical solution of the embodiment of the present invention, by obtaining at least one of each routing table process as learning object
The routing iinformation of Routing Protocol, thus the detail attribute of study Routing Protocol into routing iinformation, by by the routing iinformation
It is distributed at least one of target routing lists process Routing Protocol, makes target routing lists process based on the routing iinformation learnt
The corresponding target routing lists of target routing lists process are issued to, and flow is forwarded based on the target routing lists, thus real
Show and flexibly flow has been adjusted during dynamic routing.
Embodiment three
The embodiment of the present invention is introduced the technical solution in above-described embodiment by taking two scenes as an example, but above-mentioned implementation
Example in technical solution and be applicable not only to the scene in the embodiment of the present invention, network can be passed through suitable for all kinds of scenes
The case where device for flow amount is controlled.
Fig. 3 is common structure schematic diagram in network deployment, as shown in figure 3, under normal conditions, data packet is carried out by firewall
Transmitting, still, at present when firewall breaks down, often without other network transmission paths, the interruption for causing flow to transmit.
At this point, the technical solution in through the embodiment of the present invention, enables the routing daemon of public network learn the routing in the routing daemon of private network
Information, or realize and learn from each other between private network and public network, it is obtained in other side's Routing Protocol by the routing iinformation learnt
Routing, carry out the forwarding of flow, according to routing so as to avoid flow Transmission caused by when firewall breaks down.
Fig. 4 is that schematic diagram is isolated in flow between across data center website when not supporting route learning, as shown in figure 4, different
Branch site flow want mutually isolated, need respective independent maintenance one to open the backbone network of routing table and a plane.Every increase
The website of one type needs the backbone network of newly-increased a routing table and a plane, and scalability is weak, O&M complexity is high.Fig. 5
Schematic diagram is isolated in flow between across data center website when to support route learning, as shown in figure 5, in through the embodiment of the present invention
Scheme, common conduit, i.e., the network being made of multiple routing nodes, each tributary station can be established between different branch sites
It can mutually learn between routing node in point and network, when being communicated between the website of different regions, only need
It will learn between routing node between two websites, the flow forwarding between two websites can be realized.By upper
Scheme is stated, the complexity of O&M is reduced, it is only necessary to safeguard backbone network pipeline, not needed when increasing the website of a type new
Increase channel and routing table, thus realize flow and controller perturbation, adaptability meet the needs of each scene.
Example IV
Fig. 6 is a kind of volume control device structural schematic diagram that the embodiment of the present invention three provides.The device is suitable for all kinds of
The case where being controlled in scene by device for flow amount, the device can realize by the mode of software and/or hardware, the device
It can integrate in a device, equipment can be the network equipment, such as interchanger, router, firewall, NFV (Network
Function Virtualization, network function virtualization) the multiple networks equipment such as equipment.Referring to Fig. 6, the device is specific
Include:
Configuration information obtains module 310, for obtaining routing mutual conductance configuration information, wherein record in the configuration information
There are at least one routing table process as learning object, and the target routing lists process as side to be learned;
Routing information acquisition module 320, for obtaining the routing iinformation of each routing table process as learning object;
Flow forwarding module 330, for the routing iinformation of each routing table process as learning object to be distributed to
Target routing lists process is forwarded target routing lists process to flow based on the routing iinformation learnt.
Optionally, the routing iinformation is obtained by interface open in advance in the routing table process.
Optionally, each routing table process is corresponding with respective routing table, and runs at least one in each routing table process
Kind Routing Protocol;
Correspondingly, also being recorded in the configuration information at least one routing table process as learning object at least
A kind of at least one of Routing Protocol, and target routing lists process as side to be learned Routing Protocol;
Correspondingly, the routing information acquisition module 320, is specifically used for:
Obtain the routing iinformation of at least one of each routing table process as learning object Routing Protocol;
Correspondingly, the flow forwarding module 330, comprising:
To Routing Protocol Dispatching Unit, for the routing iinformation to be distributed at least one of target routing lists process
Routing Protocol makes target routing lists process generate routing entry based on the routing iinformation learnt, and will be under the routing entry
The corresponding target routing lists of target routing lists process are dealt into, and flow is forwarded based on the target routing lists.
Optionally, further includes:
Mark module, for being identified according to different Routing Protocols to the routing iinformation;
Correspondingly, the flow forwarding module 330, comprising:
By mark Dispatching Unit, for according to the configuration information, the routing iinformation to be distributed to according to the mark
At least one of target routing lists process Routing Protocol.
Optionally, route filtering information is also recorded in the configuration information;
Correspondingly, further include:
Filtering module, for being filtered according to the route filtering information to the routing iinformation got;
Correspondingly, the flow forwarding module 330, comprising:
Filter Dispatching Unit, for by the routing iinformation as each routing table process of learning object after filtering
Routing iinformation be distributed to target routing lists process.
Optionally, routing property modification information is also recorded in the configuration information;
Correspondingly, further include:
Modified module, for whether being deposited in the routing iinformation that gets according to routing property modification information judgement
In the information for needing to carry out attribute modification, and be judged as need when, modify to corresponding routing iinformation attribute;
Correspondingly, the flow forwarding module 330, comprising:
Dispatching Unit is modified, after will be modified in the routing iinformation as each routing table process of learning object
Routing iinformation be distributed to target routing lists process.
The technical solution of the embodiment of the present invention, configuration information obtain module and obtain routing mutual conductance configuration information, wherein described
At least one routing table process as learning object, and the target routing lists as side to be learned are recorded in configuration information
Process;Routing information acquisition module obtains the routing iinformation of each routing table process as learning object;Flow forwarding module will
The routing iinformation of each routing table process as learning object is distributed to target routing lists process, makes target routing lists process
Flow is forwarded based on the routing iinformation learnt.Through the above scheme, it realizes and routes letter between routing table process
The study of breath makes study be deployed in control plane, solves that flow black hole that may be present, destination be unreachable and configuration amount
The problems such as excessive, realizes the controller perturbation of flow, being capable of all kinds of scenes of flexible adaptation.
Embodiment five
Fig. 7 is a kind of structural schematic diagram for equipment that the embodiment of the present invention five provides.Fig. 7, which is shown, to be suitable for being used to realizing this
The block diagram of the example devices 412 of inventive embodiments.The equipment 412 that Fig. 7 is shown is only an example, should not be to of the invention real
The function and use scope for applying example bring any restrictions.
As shown in fig. 7, equipment 412 includes: one or more processors 416;Memory 428, for storing one or more
A program, when one or more of programs are executed by one or more of processors 416, so that one or more of places
It manages device 416 and realizes flow control methods provided by the embodiment of the present invention, comprising:
Obtain routing mutual conductance configuration information, wherein recorded in the configuration information as learning object at least one
Routing table process, and the target routing lists process as side to be learned;
Obtain the routing iinformation of each routing table process as learning object;
The routing iinformation of each routing table process as learning object is distributed to target routing lists process, makes target
Routing table process is forwarded flow based on the routing iinformation learnt.
It is showed in the form of common apparatus.The component of equipment 412 can include but is not limited to: one or more processor
Or processor 416, system storage 428, connect different system components (including system storage 428 and processor 416)
Bus 418.
Bus 418 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Equipment 412 typically comprises various computing systems readable storage medium storing program for executing.These storage mediums can be any energy
Enough usable storage mediums accessed by equipment 412, including volatile and non-volatile storage medium, it is moveable and irremovable
Storage medium.
System storage 428 may include the computer system-readable storage medium of form of volatile memory, such as with
Machine accesses memory (RAM) 430 and/or cache memory 432.Equipment 412 may further include it is other it is removable/no
Movably, volatile/non-volatile computer system storage medium.Only as an example, storage system 434 can be used for reading and writing
Immovable, non-volatile magnetic storage medium (Fig. 7 do not show, commonly referred to as " hard disk drive ").Although not showing in Fig. 7
Out, the disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") can be provided, and to removable
The CD drive of anonvolatile optical disk (such as CD-ROM, DVD-ROM or other optical storage medias) read-write.In these situations
Under, each driver can be connected by one or more data storage medium Interface & Bus 418.Memory 428 can be with
Including at least one program product, which has one group of (for example, at least one) program module, these program module quilts
It configures to execute the function of various embodiments of the present invention.
Program/utility 440 with one group of (at least one) program module 442, can store in such as memory
In 428, such program module 462 includes but is not limited to operating system, one or more application program, other program modules
And program data, it may include the realization of network environment in each of these examples or certain combination.Program module 462
Usually execute the function and/or method in embodiment described in the invention.
Equipment 412 can also be logical with one or more external equipments 414 (such as keyboard, sensing equipment, display 426 etc.)
Letter, can also be enabled a user to one or more equipment interact with the equipment 412 communicate, and/or with make the equipment 412
Any equipment (such as network interface card, modem etc.) that can be communicated with one or more of the other calculating equipment communicates.This
Kind communication can be carried out by input/output (I/O) interface 422.Also, equipment 412 can also by network adapter 420 with
One or more network (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.Such as
Shown in figure, network adapter 420 is communicated by bus 418 with other modules of equipment 412.It should be understood that although not showing in Fig. 7
Out, other hardware and/or software module can be used with bonding apparatus 412, including but not limited to: microcode, device driver, superfluous
Remaining processing unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
Processor 416 by other programs in multiple programs for being stored in system storage 428 of operation at least one,
Thereby executing various function application and data processing, such as realize a kind of flow control side provided by the embodiment of the present invention
Method, comprising:
Obtain routing mutual conductance configuration information, wherein recorded in the configuration information as learning object at least one
Routing table process, and the target routing lists process as side to be learned;
Obtain the routing iinformation of each routing table process as learning object;
The routing iinformation of each routing table process as learning object is distributed to target routing lists process, makes target
Routing table process is forwarded flow based on the routing iinformation learnt.
Embodiment six
The embodiment of the present invention six additionally provides a kind of storage medium comprising computer executable instructions, and the computer can
It executes instruction when being executed by computer processor for executing a kind of flow control methods, comprising:
Obtain routing mutual conductance configuration information, wherein recorded in the configuration information as learning object at least one
Routing table process, and the target routing lists process as side to be learned;
Obtain the routing iinformation of each routing table process as learning object;
The routing iinformation of each routing table process as learning object is distributed to target routing lists process, makes target
Routing table process is forwarded flow based on the routing iinformation learnt.
The computer storage medium of the embodiment of the present invention, can be using one or more computer-readable storage mediums
Any combination.Computer readable storage medium can be computer-readable signal storage medium or computer-readable storage medium
Matter.Computer readable storage medium for example may be-but not limited to-electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor
System, device or device, or any above combination.The more specific example of computer readable storage medium is (non exhaustive
List) include: electrical connection with one or more conducting wires, portable computer diskette, hard disk, random access memory
(RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc
Read-only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.Of the invention real
It applies in example, it includes or the tangible media of storage program that the program can be by that computer readable storage medium, which can be any,
Instruction execution system, device or device use or in connection.
Computer-readable signal storage medium may include in a base band or as carrier wave a part propagate data
Signal, wherein carrying computer-readable program code.The data-signal of this propagation can take various forms, including but
It is not limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal storage medium can also be
Any computer readable storage medium other than computer readable storage medium, which can send,
It propagates or transmits for by the use of instruction execution system, device or device or program in connection.
The program code for including on computer readable storage medium can be transmitted with any storage medium appropriate, packet
Include --- but it is not limited to wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on remote computer or equipment completely on the remote computer on the user computer.It is relating to
And in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or extensively
Domain net (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as provided using Internet service
Quotient is connected by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (10)
1. a kind of flow control methods, which is characterized in that the described method includes:
Obtain routing mutual conductance configuration information, wherein at least one routing as learning object is recorded in the configuration information
Table process, and the target routing lists process as side to be learned;
Obtain the routing iinformation of each routing table process as learning object;
The routing iinformation of each routing table process as learning object is distributed to target routing lists process, routes target
Table process is forwarded flow based on the routing iinformation learnt.
2. the method according to claim 1, wherein the routing iinformation is by pre- in the routing table process
First open interface obtains.
3. the method according to claim 1, wherein each routing table process is corresponding with respective routing table, and
At least one Routing Protocol is run in each routing table process;
Correspondingly, also being recorded in the configuration information in described at least one routing table process as learning object at least
At least one of a kind of Routing Protocol and the target routing lists process as side to be learned Routing Protocol;
Correspondingly, the routing iinformation for obtaining each routing table process as learning object, comprising:
Obtain the routing iinformation of at least one of each routing table process as learning object Routing Protocol;
Correspondingly, the routing iinformation by each routing table process as learning object be distributed to target routing lists into
Journey is forwarded target routing lists process to flow based on the routing iinformation learnt, comprising:
The routing iinformation is distributed at least one of target routing lists process Routing Protocol, makes target routing lists process base
Routing entry is generated in the routing iinformation learnt, and the routing entry is issued to the corresponding target of target routing lists process
Routing table, and flow is forwarded based on the target routing lists.
4. according to the method described in claim 3, it is characterized in that, the method also includes: according to different Routing Protocols pair
The routing iinformation is identified;
Correspondingly, the routing iinformation by each routing table process as learning object be distributed to target routing lists into
Journey, further includes:
According to the configuration information, the routing iinformation is identified at least one be distributed in target routing lists process according to described
Kind Routing Protocol.
5. the method according to claim 1, wherein also recording route filtering information in the configuration information;
Correspondingly, the routing iinformation by each routing table process as learning object be distributed to target routing lists into
Journey, before being forwarded target routing lists process to flow based on the routing iinformation learnt, the method also includes: according to
The route filtering information is filtered the routing iinformation got;
Correspondingly, the routing iinformation by each routing table process as learning object be distributed to target routing lists into
Journey, comprising: be distributed to the routing iinformation in the routing iinformation as each routing table process of learning object after filtering
Target routing lists process.
6. the method according to claim 1, wherein also recording routing property modification letter in the configuration information
Breath;
Correspondingly, the routing iinformation by each routing table process as learning object be distributed to target routing lists into
Journey, before being forwarded target routing lists process to flow based on the routing iinformation learnt, the method also includes: according to
It whether there is the information for needing to carry out attribute modification in the routing iinformation got described in the routing property modification information judgement,
And be judged as need when, modify to corresponding routing iinformation attribute;
Correspondingly, the routing iinformation by each routing table process as learning object be distributed to target routing lists into
Journey, comprising: be distributed to amended routing iinformation in the routing iinformation as each routing table process of learning object
Target routing lists process.
7. a kind of volume control device, which is characterized in that described device includes:
Configuration information obtains module, for obtaining routing mutual conductance configuration information, wherein record in the configuration information as
Practise at least one routing table process of object, and the target routing lists process as side to be learned;
Routing information acquisition module, for obtaining the routing iinformation of each routing table process as learning object;
Flow forwarding module, for the routing iinformation of each routing table process as learning object to be distributed to target routing
Table process is forwarded target routing lists process to flow based on the routing iinformation learnt.
8. device according to claim 7, which is characterized in that the routing iinformation is by pre- in the routing table process
First open interface obtains.
9. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now such as a kind of flow control methods as claimed in any one of claims 1 to 6.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
A kind of such as flow control methods as claimed in any one of claims 1 to 6 are realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910522039.2A CN110266597B (en) | 2019-06-17 | 2019-06-17 | Flow control method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910522039.2A CN110266597B (en) | 2019-06-17 | 2019-06-17 | Flow control method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110266597A true CN110266597A (en) | 2019-09-20 |
CN110266597B CN110266597B (en) | 2021-10-22 |
Family
ID=67918635
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910522039.2A Active CN110266597B (en) | 2019-06-17 | 2019-06-17 | Flow control method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110266597B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101076029A (en) * | 2007-07-12 | 2007-11-21 | 中兴通讯股份有限公司 | Method for updating boundary gate protocol recursion router |
CN101330411A (en) * | 2008-07-30 | 2008-12-24 | 中兴通讯股份有限公司 | Method and system for simulating large-scale network topological |
CN103428085A (en) * | 2013-08-12 | 2013-12-04 | 杭州华三通信技术有限公司 | Method and device for rapidly switching RIP (routing information protocol) routings |
US20160063475A1 (en) * | 2014-08-28 | 2016-03-03 | Lance Yule | Facilitating Transactions Between Buyers And Sellers |
CN106130790A (en) * | 2016-08-10 | 2016-11-16 | 杭州华三通信技术有限公司 | A kind of fault handling method and device |
CN107483340A (en) * | 2017-08-22 | 2017-12-15 | 迈普通信技术股份有限公司 | A kind of dynamic routing notifying method and SDN controllers and network system |
-
2019
- 2019-06-17 CN CN201910522039.2A patent/CN110266597B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101076029A (en) * | 2007-07-12 | 2007-11-21 | 中兴通讯股份有限公司 | Method for updating boundary gate protocol recursion router |
CN101330411A (en) * | 2008-07-30 | 2008-12-24 | 中兴通讯股份有限公司 | Method and system for simulating large-scale network topological |
CN103428085A (en) * | 2013-08-12 | 2013-12-04 | 杭州华三通信技术有限公司 | Method and device for rapidly switching RIP (routing information protocol) routings |
US20160063475A1 (en) * | 2014-08-28 | 2016-03-03 | Lance Yule | Facilitating Transactions Between Buyers And Sellers |
CN106130790A (en) * | 2016-08-10 | 2016-11-16 | 杭州华三通信技术有限公司 | A kind of fault handling method and device |
CN107483340A (en) * | 2017-08-22 | 2017-12-15 | 迈普通信技术股份有限公司 | A kind of dynamic routing notifying method and SDN controllers and network system |
Also Published As
Publication number | Publication date |
---|---|
CN110266597B (en) | 2021-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11588683B2 (en) | Stitching enterprise virtual private networks (VPNs) with cloud virtual private clouds (VPCs) | |
JP7332689B2 (en) | dynamic intent-based firewall | |
US11405427B2 (en) | Multi-domain policy orchestration model | |
US20210152462A1 (en) | Selective routing | |
US11470001B2 (en) | Multi-account gateway | |
CN102291455B (en) | Distributed cluster processing system and message processing method thereof | |
US10778465B1 (en) | Scalable cloud switch for integration of on premises networking infrastructure with networking services in the cloud | |
CN106502335B (en) | For configuring the machine frame system and its configuration method of one or more servomechanisms | |
CN107733795B (en) | Ethernet virtual private network EVPN and public network intercommunication method and device | |
CN103917967A (en) | Network control system for configuring middleboxes | |
EP3576347B1 (en) | Network device snapshots | |
CN109450905B (en) | Method, device and system for transmitting data | |
RU2517312C2 (en) | Link state identifier conflict resolution | |
CN112956158A (en) | Structured data plane monitoring | |
KR20220018041A (en) | Intent-Based Application Fabric | |
CN112532528B (en) | Message routing method and device for rule engine | |
EP3829111A1 (en) | Dynamic mapping of nodes responsible for monitoring traffic of an evolved packet core | |
CN113395206B (en) | Route determining method, device and network equipment | |
CN109379292A (en) | A kind of method of multicasting, virtual switch, SDN controller and storage medium | |
CN108768861B (en) | Method and device for sending service message | |
US10574481B2 (en) | Heterogeneous capabilities in an overlay fabric | |
US11838371B2 (en) | System and method for connecting virtual networks in a branch site to clouds | |
CN110266597A (en) | Flow control methods, device, equipment and storage medium | |
CN114125596A (en) | PON-SDWAN intelligent terminal normalization control method and device | |
CN114598698A (en) | Data transmission method and device, electronic equipment and computer storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | 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 |