CN103532846A - Route link selection method and device - Google Patents

Route link selection method and device Download PDF

Info

Publication number
CN103532846A
CN103532846A CN201310497186.1A CN201310497186A CN103532846A CN 103532846 A CN103532846 A CN 103532846A CN 201310497186 A CN201310497186 A CN 201310497186A CN 103532846 A CN103532846 A CN 103532846A
Authority
CN
China
Prior art keywords
link
application
dedicated
packet
dedicated link
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310497186.1A
Other languages
Chinese (zh)
Inventor
张国军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sangfor Network Technology Shenzhen Co Ltd
Original Assignee
Sangfor Network Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sangfor Network Technology Shenzhen Co Ltd filed Critical Sangfor Network Technology Shenzhen Co Ltd
Priority to CN201310497186.1A priority Critical patent/CN103532846A/en
Publication of CN103532846A publication Critical patent/CN103532846A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a route link selection method which comprises the steps of receiving a data packet, acquiring a port and an application type corresponding to the data packet, judging whether the application type is a critical application, acquiring flow information of the critical application in a dedicated link if not, selecting a link from the dedicated link and non-dedicated links according to the flow information, updating route information corresponding to the port according to the selected link, and forwarding the data packet according to the route information. In addition, the invention further relates to a route link selection device. The route link selection method and the device can make full use of the dedicated link, so that a bandwidth utilization ratio is increased.

Description

Routing link system of selection and device
Technical field
The present invention relates to networking technology area, particularly relate to a kind of routing link system of selection and device.
Background technology
Along with the fast development of Internet technology, occurred that at present increasing application is for user's request.But it is very high that some application requires network quality, video conference application for example, once network congestion causes time delay increase or packet loss etc., this application just there will be video mosaic, the audio cards series of problems such as pause.In order to improve network quality, reduce the impact that the network problems such as time delay, packet loss cause application, conventionally can rent many network links, allow and require high key application to take separately a dedicated link to network quality, other non-critical applications take other links.
Yet inventor finds at least to exist in prior art following problem:
Dedicated link is not always in seizure condition, and traditional routing link system of selection is just according to the address information forwarding datas such as IP address of the packet of application, cause the bandwidth most of the time of dedicated link to be all wasted, therefore, traditional routing link system of selection is not enough to the utilance of link bandwidth.
Summary of the invention
Based on this, be necessary to provide a kind of routing link system of selection that can improve bandwidth availability ratio.
A system of selection, comprising:
Receive packet, obtain port and application type that described packet is corresponding;
Judge that whether described application type is crucial application, if not, obtains the flow information of the key application on dedicated link;
According to described flow information, in dedicated link and non-dedicated link, choose link, according to the described link of choosing, upgrade the routing iinformation that described port is corresponding;
According to described routing iinformation, forward described packet.
Therein in an embodiment, described in obtain the application type that described packet is corresponding step comprise:
Extract the application protocol identification information of described packet, according to the application type of packet described in described application protocol identification acquisition of information.
Therein in an embodiment, describedly judge that whether described application type is that the step of crucial application comprises:
Obtain default crucial application table, judge whether described application type belongs to described crucial application table.
In an embodiment, the described step of choosing link according to described flow information in dedicated link and non-dedicated link comprises therein:
The flow information of searching its crucial application is less than or equal to the dedicated link of first threshold, in the described dedicated link finding, chooses link.
Therein in an embodiment, before the described step of choosing link in the described dedicated link finding, also comprise:
The flow information of the non-critical application that the dedicated link that finds described in obtaining is corresponding, the flow information that filters out its non-critical application is greater than the dedicated link of Second Threshold.
Therein in an embodiment, described in search its crucial application flow information also comprise after being less than or equal to the step of dedicated link of first threshold:
If do not find, obtain source IP address and/or target ip address that described packet is corresponding, in described non-dedicated link, choose the link corresponding with described source IP address and/or target ip address;
Or, obtain the linking number information that described non-dedicated link is corresponding, according to described linking number information, in described non-dedicated link, choose link.
In addition, be also necessary to provide a kind of routing link choice device that can improve bandwidth availability ratio.
A choice device, comprising:
Packet-receiving module, for receiving packet, obtains port and application type that described packet is corresponding;
Link judge module, for judging that whether described application type is the crucial application of core application, if not, obtains the flow information of the upper key application of dedicated link;
Link selection module, for choosing link according to described flow information at dedicated link and non-dedicated link, upgrades according to the described link of choosing the routing iinformation that described port is corresponding;
Package forward module, for forwarding described packet according to described routing iinformation.
In an embodiment, described packet-receiving module is also for extracting the application protocol identification information of described packet, according to the application type of packet described in described application protocol identification acquisition of information therein.
In an embodiment, described link judge module, also for obtaining default crucial application table, judges whether described application type belongs to described crucial application table therein.
In an embodiment, described link selection module is also less than or equal to the dedicated link of first threshold for searching the flow information of its crucial application, in the described dedicated link finding, choose link therein.
Therein in an embodiment, described link selection module is also for the flow information of non-critical application corresponding to the dedicated link that finds described in obtaining, and the flow information that filters out its non-critical application is greater than the dedicated link of Second Threshold.
Therein in an embodiment, when described link selection module is also less than or equal to the dedicated link of first threshold for the flow information not finding its crucial application, obtain source IP address and/or target ip address that described packet is corresponding, in described non-dedicated link, choose the link corresponding with described source IP address and/or target ip address;
Or, obtain the linking number information that described non-dedicated link is corresponding, according to described linking number information, in described non-dedicated link, choose link.
After above-mentioned routing link system of selection and device have obtained the port and application type that packet is corresponding, first according to application type, determine whether crucial application, then according to the flow information of the key application on dedicated link, choose link, can be when key application fully take dedicated link, utilize to greatest extent the data transmission resources of dedicated link high-quality, thereby effectively improved bandwidth availability ratio.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of route link selecting method in an embodiment;
Fig. 2 is the structural representation of route link selection device in an embodiment.
Embodiment
As shown in Figure 1, in one embodiment, a kind of routing link system of selection, the method computer program that places one's entire reliance upon, can run in the computer system based on Feng Luoyiman system, this computer system can be router or the network switching equipment with routing function.
The method comprises:
A system of selection, comprising:
Step S102, receives packet, obtains port and application type that packet is corresponding.
In the present embodiment, the port of packet receives the input port of this packet, and the application type of packet sends the type information of the application program of this packet.
In the present embodiment, can extract the application protocol identification information of packet, according to the application type of application protocol identification acquisition of information packet.
Packet comprises header part and body part, and the body matter of packet is the body part of packet.The MAC(Media Access Control of the route system reference in conventional art) address, source/target ip address information are stored in the header part of packet.And application protocol identification information corresponding to packet (application protocol identification information can be protocol header or the protocol name of application protocol.For example, in http protocol (Hypertext Transport Protocol) packet, can attach character string " HTTP: " or " http: " of presentation protocol title.Can determine that the application type of this packet is HTTP application according to this protocol name) be stored in the body matter of packet.In the present embodiment, can in the body matter of packet, extract this application protocol identification information.
Step S104, judges that whether application type is crucial application, if not, performs step S106: the flow information that obtains the key application of dedicated link.
In the present embodiment, crucial application is network quality is required to high application, is generally real-time application, such as vt applications, remote desktop application or remote assistance application etc.Dedicated link is the preferential network link for crucial application setting in advance.The bandwidth of dedicated link is higher and network quality is more stable, and speed and the reliability of transfer of data are higher.
In one embodiment, judge whether application type is that the crucial step of applying comprises:
Obtain default crucial application table, judge whether application type belongs to crucial application table.
Crucial application table can wherein store the application type that is configured to dedicated link with the form storage of configuration file, also can store the application type that is configured and the corresponding relation of dedicated link, and it can be in advance by being artificially configured by writing configuration file.
The flow information of the key application on dedicated link is the flow information of the data traffic of the key application generation in dedicated link, is the value of real-time change, i.e. the real-time Data Transmission speed of crucial application on dedicated link.
In the present embodiment, can in crucial application table, search according to the application type of the packet getting, if found this application type, represent that this application type is for crucial application, can obtain dedicated link, and perform step S108: in dedicated link, choose link, and upgrade routing iinformation corresponding to port according to the link of choosing.If not, obtain the flow information of the key application on dedicated link.That is to say, if this packet is crucial application, produce, must be by port mapping corresponding to this packet to dedicated link.After the packet of key application is mapped on dedicated link, on dedicated link, can produce the flow information of crucial application.
Preferably, if crucial application table stores the corresponding relation of application type and dedicated link, in crucial application table, be configured the concrete dedicated link using of this key application, can have chosen dedicated link according to the corresponding relation in this key application table.
Step S110 chooses link according to flow information in dedicated link and non-dedicated link, according to the link of choosing, upgrades routing iinformation corresponding to port.
Step S112, according to routing iinformation forwarding data bag.
Upgrade routing iinformation that port is corresponding and between the port that receives packet and the link of choosing, produce and shine upon, and as updating route information in routing table.When forwarding data bag, can obtain this routing iinformation by reading routing table, and according to this routing iinformation, packet is forwarded to destination address by the link of choosing.
In the present embodiment, the step of choosing link according to flow information in dedicated link and non-dedicated link comprises:
The flow information of searching its crucial application is less than or equal to the dedicated link of first threshold, in the dedicated link finding, chooses link.
For example, if first threshold is set to 0, the flow information that is illustrated in the key application on dedicated link is that (message transmission rate that is the current key application on dedicated link is 0 to sky; It should be noted that on this dedicated link, whether have the data packet transmission of non-critical application to there is no impact), meaning does not currently have the connection of crucial application based on dedicated link, can choose this dedicated link.If dedicated link has many, and existing the flow information of the key application of many dedicated links on it for empty, can be to choose arbitrarily more new routing information of a link in empty dedicated link at the flow informations of these many crucial application.
And for example, because the bandwidth usage of some application is in real time limited (; the message transmission rate of real-time voice talk application is conventionally less; if the bandwidth of dedicated link is 10Mbps; conventionally have larger remaining bandwidth); the flow information that can obtain crucial application is less than or equal to the dedicated link of first threshold, and therefrom chooses link.
For example, the bandwidth of certain dedicated link is 10Mbps, and first threshold is set to 2Mbps.This dedicated link is taken by one or more crucial application, and it is 3Mbps that these one or more keys are applied in message transmission rate total on this leased-line link, if now receive the packet of a non-critical application, the flow information due to this dedicated link is that 3Mbps is greater than first threshold 2Mbps, can not choose this dedicated link and shine upon with the port that receives the packet of this non-critical application; Otherwise, if these one or more keys are applied in message transmission rate total on this leased-line link, be 1Mbps, be less than or equal to first threshold 2Mbps, can choose this dedicated link and shine upon with the port that receives the packet of this non-critical application.
Further, also comprise choose the step of link in the dedicated link finding before: obtain the flow information of the non-critical application that the dedicated link that finds is corresponding, the flow information that filters out its non-critical application is greater than the dedicated link of Second Threshold.
For example, if there are 5 dedicated links, its bandwidth is 10Mbps, first threshold is set to 2Mbps, Second Threshold is set to 6Mbps,, if the flow information of the key of these 5 dedicated links application is respectively: A:1Mbps, B:3Mbps, C:2Mbps, D:2.8Mbps, E:0.5Mbps, the leased-line link that is less than or equal to first threshold finding is A, C, E; If the flow information of the non-critical application on A, C, E is respectively: A:3Mbps, C:7Mbps, E:5Mbps, filter out dedicated link C, and choose in dedicated link A and dedicated link E.
Preferably, if the flow information that exists the flow informations of many key application to be less than or equal to first threshold and non-critical application is less than or equal to the dedicated link of Second Threshold, can preferentially chooses the link of the crucial flow information minimum of applying or preferentially select the link of flow information minimum of non-critical application or the link of the flow information sum minimum of the crucial application of preferential selection and non-critical application.
In one embodiment, flow information of searching its crucial application also comprises after being less than or equal to the step of dedicated link of first threshold: if do not find, obtain source IP address and/or target ip address that packet is corresponding, in non-dedicated link, choose the link corresponding with source IP address and/or target ip address;
Or, obtain the linking number information that non-dedicated link is corresponding, according to stating linking number information, in non-dedicated link, choose link.
Can to source IP address and/or target ip address, divide into groups in advance, the corresponding corresponding non-dedicated link of each grouping.For example, it is A group that source IP address and/or target ip address belong to 192.168.1.1 to 192.168.1.255 interval, can the non-dedicated link of respective links A(); It is B group that source IP address and/or target ip address belong to 192.168.2.1 to 192.168.2.255 interval, can the non-dedicated link of respective links B().
Also can obtain the linking number of non-dedicated link, choose the less non-dedicated link of linking number.For example, if not dedicated link has 5, the linking number of its current correspondence is respectively 4,2,5,7 and 3, chooses linking number and be 2 non-dedicated link.
In one embodiment, as shown in Figure 2, a kind of routing link choice device, comprises packet-receiving module 102, link judge module 104, link selection module 106 and package forward module 108, wherein:
Packet-receiving module 102, for receiving packet, obtains port and application type that packet is corresponding.
Link judge module 104, for judging that whether application type is crucial application, if not, obtains the flow information of the key application on dedicated link.
Link selection module 106, for choosing link according to flow information at dedicated link and non-dedicated link, upgrades routing iinformation corresponding to port according to the link of choosing.
Package forward module 108, for according to routing iinformation forwarding data bag.
In the present embodiment, packet-receiving module 102 is also for extracting the application protocol identification information of packet, according to the application type of application protocol identification acquisition of information packet.
In the present embodiment, link judge module 104, also for obtaining default crucial application table, judges whether application type belongs to crucial application table.
In the present embodiment, link selection module 106 is also less than or equal to the dedicated link of first threshold for searching the flow information of its crucial application, in the described dedicated link finding, choose link.
In the present embodiment, link selection module 106 is also for the flow information of non-critical application corresponding to the dedicated link that finds described in obtaining, and the flow information that filters out its non-critical application is greater than the dedicated link of Second Threshold.
In the present embodiment, when link selection module 106 is also less than or equal to the dedicated link of first threshold for the flow information not finding its crucial application, obtain source IP address and/or the target ip address that packet is corresponding, in non-dedicated link, choose the link corresponding with source IP address and/or target ip address;
Or, obtain the linking number information that non-dedicated link is corresponding, according to linking number information, in non-dedicated link, choose link.
After above-mentioned routing link system of selection and device have obtained the port and application type that packet is corresponding, first according to application type, determine whether crucial application, then according to the flow information of the key application on dedicated link, choose link, can be when key application fully take dedicated link, utilize to greatest extent the data transmission resources of dedicated link high-quality, thereby effectively improved bandwidth availability ratio.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in a computer read/write memory medium, this program, when carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above embodiment has only expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.

Claims (12)

1. a routing link system of selection, comprising:
Receive packet, obtain port and application type that described packet is corresponding;
Judge that whether described application type is crucial application, if not, obtains the flow information of the key application on dedicated link;
According to described flow information, in dedicated link and non-dedicated link, choose link, according to the described link of choosing, upgrade the routing iinformation that described port is corresponding;
According to described routing iinformation, forward described packet.
2. routing link system of selection according to claim 1, is characterized in that, described in obtain the application type that described packet is corresponding step comprise:
Extract the application protocol identification information of described packet, according to the application type of packet described in described application protocol identification acquisition of information.
3. routing link system of selection according to claim 1, is characterized in that, describedly judges that whether described application type is that the step of crucial application comprises:
Obtain default crucial application table, judge whether described application type belongs to described crucial application table.
4. routing link system of selection according to claim 1, is characterized in that, the described step of choosing link according to described flow information in dedicated link and non-dedicated link comprises:
The flow information of searching its crucial application is less than or equal to the dedicated link of first threshold, in the described dedicated link finding, chooses link.
5. routing link system of selection according to claim 4, is characterized in that, before the described step of choosing link in the described dedicated link finding, also comprises:
The flow information of the non-critical application that the dedicated link that finds described in obtaining is corresponding, the flow information that filters out its non-critical application is greater than the dedicated link of Second Threshold.
6. routing link system of selection according to claim 4, is characterized in that, described in search its crucial application flow information also comprise after being less than or equal to the step of dedicated link of first threshold:
If do not find, obtain source IP address and/or target ip address that described packet is corresponding, in described non-dedicated link, choose the link corresponding with described source IP address and/or target ip address;
Or, obtain the linking number information that described non-dedicated link is corresponding, according to described linking number information, in described non-dedicated link, choose link.
7. a routing link choice device, comprising:
Packet-receiving module, for receiving packet, obtains port and application type that described packet is corresponding;
Link judge module, for judging whether described application type is crucial application, if not, obtains the flow information of the upper key application of dedicated link;
Link selection module, for choosing link according to described flow information at dedicated link and non-dedicated link, upgrades according to the described link of choosing the routing iinformation that described port is corresponding;
Package forward module, for forwarding described packet according to described routing iinformation.
8. routing link choice device according to claim 7, is characterized in that, described packet-receiving module is also for extracting the application protocol identification information of described packet, according to the application type of packet described in described application protocol identification acquisition of information.
9. routing link choice device according to claim 7, is characterized in that, described link judge module, also for obtaining default crucial application table, judges whether described application type belongs to described crucial application table.
10. routing link choice device according to claim 7, is characterized in that, described link selection module is also less than or equal to the dedicated link of first threshold for searching the flow information of its crucial application, in the described dedicated link finding, choose link.
11. routing link choice devices according to claim 10, it is characterized in that, described link selection module is also for the flow information of non-critical application corresponding to the dedicated link that finds described in obtaining, and the flow information that filters out its non-critical application is greater than the dedicated link of Second Threshold.
12. routing link choice devices according to claim 10, it is characterized in that, when described link selection module is also less than or equal to the dedicated link of first threshold for the flow information not finding its crucial application, obtain source IP address and/or target ip address that described packet is corresponding, in described non-dedicated link, choose the link corresponding with described source IP address and/or target ip address;
Or, obtain the linking number information that described non-dedicated link is corresponding, according to described linking number information, in described non-dedicated link, choose link.
CN201310497186.1A 2013-10-21 2013-10-21 Route link selection method and device Pending CN103532846A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310497186.1A CN103532846A (en) 2013-10-21 2013-10-21 Route link selection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310497186.1A CN103532846A (en) 2013-10-21 2013-10-21 Route link selection method and device

Publications (1)

Publication Number Publication Date
CN103532846A true CN103532846A (en) 2014-01-22

Family

ID=49934537

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310497186.1A Pending CN103532846A (en) 2013-10-21 2013-10-21 Route link selection method and device

Country Status (1)

Country Link
CN (1) CN103532846A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105791168A (en) * 2016-02-24 2016-07-20 中国联合网络通信集团有限公司 Network resource acquisition method and device
CN115776463A (en) * 2022-12-23 2023-03-10 摩尔线程智能科技(北京)有限责任公司 Route configuration method, device, system, computing equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340370A (en) * 2008-08-14 2009-01-07 杭州华三通信技术有限公司 Link selection method and apparatus
CN101471759A (en) * 2007-12-28 2009-07-01 中国移动通信集团公司 Method for improving business data transmission quality and business data transmission device
CN101656630A (en) * 2009-09-09 2010-02-24 中兴通讯股份有限公司 Service protection method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101471759A (en) * 2007-12-28 2009-07-01 中国移动通信集团公司 Method for improving business data transmission quality and business data transmission device
CN101340370A (en) * 2008-08-14 2009-01-07 杭州华三通信技术有限公司 Link selection method and apparatus
CN101656630A (en) * 2009-09-09 2010-02-24 中兴通讯股份有限公司 Service protection method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105791168A (en) * 2016-02-24 2016-07-20 中国联合网络通信集团有限公司 Network resource acquisition method and device
CN115776463A (en) * 2022-12-23 2023-03-10 摩尔线程智能科技(北京)有限责任公司 Route configuration method, device, system, computing equipment and storage medium
CN115776463B (en) * 2022-12-23 2023-10-31 摩尔线程智能科技(北京)有限责任公司 Route configuration method, device, system, computing equipment and storage medium

Similar Documents

Publication Publication Date Title
CN103765839B (en) Variable-based forwarding path construction for packet processing within a network device
CN102882703B (en) A kind of system and method for the URL automatic classification classification based on HTTP analysis
CN104704779A (en) Method and apparatus for accelerating forwarding in software-defined networks
CN108270699B (en) Message processing method, shunt switch and aggregation network
CN104823416A (en) Packet prioritization in a software-defined network implementing OpenFlow
US10097467B1 (en) Load balancing for multipath groups routed flows by re-associating routes to multipath groups
WO2021004536A1 (en) Method and apparatus for parsing messages
CN110647698B (en) Page loading method and device, electronic equipment and readable storage medium
WO2021017930A1 (en) Message forwarding
Huang et al. Software-defined QoS provisioning for fog computing advanced wireless sensor networks
CN109474715B (en) Resource configuration method and device based on video network
CN103581044A (en) Flow statistic method and device
CN103841018A (en) Content centric network multiport forwarding method and router
CN109672857B (en) Information processing method and device for monitoring resources
US7788714B2 (en) Packet transfer apparatus
CN108900420B (en) Ductility limit speed method, apparatus and server
CN105743780B (en) Message transmitting method and device
CN104584492A (en) Packet processing method, device and system
CN103532846A (en) Route link selection method and device
CN106547810B (en) A kind of method and system of flow storage quick indexing
CN110557608B (en) Resource monitoring method, device and computer readable storage medium
CN110351202B (en) 5G core network traffic grouping method, device, equipment and computer storage medium
CN109802990B (en) Resource log reading and writing method and device for reducing data redundancy
CN110557411A (en) video stream processing method and device based on video network
CN110557669B (en) Video data display method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140122

RJ01 Rejection of invention patent application after publication