CN109194561A - Select the method, apparatus and storage medium of link - Google Patents

Select the method, apparatus and storage medium of link Download PDF

Info

Publication number
CN109194561A
CN109194561A CN201810995443.7A CN201810995443A CN109194561A CN 109194561 A CN109194561 A CN 109194561A CN 201810995443 A CN201810995443 A CN 201810995443A CN 109194561 A CN109194561 A CN 109194561A
Authority
CN
China
Prior art keywords
link
tunnel
ipsec
packet loss
establish
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
CN201810995443.7A
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.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech Technologies 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 Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201810995443.7A priority Critical patent/CN109194561A/en
Publication of CN109194561A publication Critical patent/CN109194561A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0485Networking architectures for enhanced packet encryption processing, e.g. offloading of IPsec packet processing or efficient security association look-up
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays

Abstract

This application discloses the method, apparatus and storage medium of selection link, comprising: accumulative to establish duration, period average delay, and period packet loss, it determines the link quality level of each link, selects the highest link of link quality level, establish the tunnel IPsec in next preset detection cycle.One preset detection cycle includes multiple preset detection measurement periods, it is capable of providing in a longer preset detection cycle, the link quality level of each link, the link quality level of one link can embody the stability of link link-quality in a preset detection cycle, thus, it is possible to the link establishment ipsec tunnel for selecting quality stability high.

Description

Select the method, apparatus and storage medium of link
Technical field
This application involves fields of communication technology, in particular to select the method, apparatus and storage medium of link.
Background technique
With the development of corporate business, many companies can set up multiple branches, be separately positioned on geographic area not, example Such as: different cities being set, or is arranged in country variant etc..Between branch and general headquarters or between branch and branch, lead to Telecommunication is realized frequently with IPSec (Internet Protocol Security) agreement, and the data of transmission are added Close and verifying, to ensure the safety of data transmission.
Before being communicated using ipsec protocol, first determine two end equipments carrying out telecommunication, two end equipments it Between there are multilink, a link establishment ipsec tunnel is selected from multilink, is adopted on the ipsec tunnel established Telesecurity communication is realized with ipsec protocol.Wherein, the link-quality between two end equipments, influences whether telecommunication Stability, if establishing the link failure of ipsec tunnel, ipsec tunnel is disconnected, then will lead to long-range logical between two end equipments Letter interrupts.To which the data between branch and general headquarters or between branch and branch can not be transmitted, and influence corporate business just Normally opened exhibition.
Therefore, it is necessary to detect between two end equipments there are the link-quality of multilink, matter is selected from multilink Measured link establishment ipsec tunnel.The method of detecting link quality is as follows: a link between two end equipments of selection is built Vertical ipsec tunnel, an end equipment send a probe messages as sending ending equipment, and record and send the probe messages Sending instant, the probe messages include message ID;Another end equipment receives the probe messages as receiving device, and returns A response message is returned, the message ID of the response message and the message ID of the probe messages are identical.When sending device receives this When response message, the record time of reception can calculate the probe messages according to the sending instant of the probe messages of identical message ID Corresponding transmission delay.If sending device is not received by the response message, then it represents that lost in message transmission procedure.According to pre- If detection statistical interval, count one it is preset detection statistical interval average transmission delay and packet loss (packet loss Number/transmission probe messages number of=reception response message).Wherein, preset detection statistical interval is referred to one When link completes an average transmission delay and the statistics of packet loss, the total number of the probe messages of transmission.But use is above-mentioned The link-quality stability of the mode of detecting link, selection can not determine.
Summary of the invention
The application provides the method, apparatus and storage medium of selection link, the chain that link-quality stability can be selected high Ipsec tunnel is established on road.
Specifically, the application is achieved by the following technical solution:
The application first aspect provides a kind of method for selecting link, which comprises
According to preset detection cycle, statistics establishes the accumulative of the tunnel IPsec on each link and establishes number, accumulative to build It grows immediately, period average delay and period packet loss, includes multiple preset detection statistics in the preset detection cycle Interval;
According to each link it is described it is accumulative establish number, it is described it is accumulative establish duration, the period average delay, And the period packet loss, determine the link quality level of each link;
From each link, the highest link of the link quality level is selected, in next preset detection week Phase establishes the tunnel IPsec.
In one example, it according to preset detection cycle, counts any one chain road and establishes the accumulative of the tunnel IPsec Number is established, accumulative to establish duration, period average delay and period packet loss include:
Temporal information and detection statistical information that the link establishes the tunnel IPsec every time are obtained, establishes IP tunnel every time The temporal information be used to indicate the duration of establishing that the tunnel IPsec is established in described this time of link, establish the institute of IP tunnel every time State the average delay and packet loss that detection statistical information includes at least one preset detection statistical interval statistics;
The number for counting the tunnel the link establishment IPsec obtains establishes the described tired of the tunnel IPsec on said link Meter establishes number;
The temporal information for establishing the tunnel IPsec every time according to the link, the accumulation for counting the link are built It grows immediately;
The detection statistical information for establishing the tunnel IPsec every time according to the link, counts the week of the link Phase average delay and period packet loss.
In one example, the temporal information and detection statistics letter for obtaining the link and establishing the tunnel IPsec every time Breath includes:
When establishing the tunnel IPsec on said link, acquisition initially sets up the moment;
Probe messages are sent using the tunnel IPsec established on said link, according between the preset detection statistics Every obtaining the link and currently detect the resulting average delay of statistics and packet loss;
The resulting average delay of statistics and packet loss are currently detected according to the link, determine whether the link-quality is full Foot requires;
If the link-quality is met the requirements, returns to execute to send using the tunnel IPsec established on said link and visit Observe and predict text, according to the preset detection statistical interval, obtain the link detect next time the resulting average delay of statistics and Packet loss;
If the link-quality is unsatisfactory for requiring, switches to another chain road and establish the tunnel IPsec, obtain to terminate and establish Moment.
In one example, the method also includes:
In a detection cycle, if reaching preset cyclic switching number, the link-quality of highest priority is still discontented Foot requires, and stopping switches to another link, wherein all establishes the tunnel IPsec on each link and once follows to execute Ring cutting changes.
In one example,
There is only a different probe messages for adjacent detection statistical interval preset twice.
In one example, the method also includes:
The mark of probe messages is set, and high 16 of the mark of the probe messages are the process for transmitting the probe messages Number, low 16 of the mark of the probe messages are the serial number for sending the probe messages.
In one example, described to add up to establish number according to the described of each link, it is described to add up to establish duration, The period average delay and the period packet loss determine that the link quality level of any one link includes:
Determine the accumulative number and the accumulative product for establishing duration established of the link as the first value;
The product of the period average delay and the period packet loss that determine the link is as second value;
Determine link-quality of the ratio of first value and the second value as the link.
The application second aspect provides a kind of device for selecting link, and described device includes:
Statistical module, for according to preset detection cycle, statistics to be established the accumulative of the tunnel IPsec on each link and built Vertical number, it is accumulative to establish duration, period average delay and period packet loss, it include multiple in the preset detection cycle Preset detection statistical interval;
Determining module, it is described to add up to establish duration for adding up to establish number according to the described of each link, it is described Period average delay and the period packet loss, determine the link quality level of each link;
Module is established, for the highest link of the link quality level being selected, next from each link Preset detection cycle establishes the tunnel IPsec.
In one example, statistical module includes:
Acquiring unit establishes the temporal information and detection statistical information in the tunnel IPsec for obtaining the link, often every time The secondary temporal information for establishing IP tunnel is used to indicate the duration of establishing that the tunnel IPsec is established in described this time of link, builds every time The detection statistical information of vertical IP tunnel include at least one preset detection statistical interval statistics average delay and Packet loss;
First statistic unit, the number for counting the tunnel the link establishment IPsec are established on said link The described of the tunnel IPsec adds up to establish number;
Second statistic unit, for establishing the temporal information in the tunnel IPsec every time according to the link, described in statistics Duration is established in the accumulation of link;
Third statistic unit is counted for establishing the detection statistical information in the tunnel IPsec every time according to the link The period average delay and period packet loss of the link.
In one example, the acquiring unit includes:
First obtains subelement, for when establishing the tunnel IPsec on said link, acquisition to initially set up the moment;
Second obtains subelement, for sending probe messages using the tunnel IPsec established on said link, according to institute Preset detection statistical interval is stated, the link is obtained and currently detects the resulting average delay of statistics and packet loss;
It determines subelement, for currently detecting the resulting average delay of statistics and packet loss according to the link, determines institute State whether link-quality meets the requirements;
If the link-quality is met the requirements, returns to described second and obtain subelement;
Switching subelement switches to another chain road and establishes IPsec tunnel if being unsatisfactory for requiring for the link-quality Road obtains to terminate and establishes the moment.
In one example, the acquiring unit further include:
Stop switching subelement, in a detection cycle, if reaching preset cyclic switching number, priority to be most High link-quality is still unsatisfactory for requiring, and stopping switches to another link, wherein all establishes on each link primary The tunnel IPsec is to execute one cycle switching.
In one example, described device further include:
Setup module, for the mark of probe messages to be arranged, high 16 of the mark of the probe messages is described in transmission The process number of probe messages, low 16 of the mark of the probe messages are the serial number for sending the probe messages.
In one example, the determining module includes:
First determination unit, for determining that the described of the link adds up to establish number and the accumulative product for establishing duration As the first value;
Second determination unit, for determining the period average delay of the link and the product work of the period packet loss For second value;
Third determination unit, for determining link-quality of the ratio of the first value and second value as the link.
The application third aspect provides a kind of equipment for selecting link, and the equipment includes: internal bus, and by interior Memory, processor and the external interface of portion's bus connection;Wherein,
The memory, the corresponding machine readable instructions of control logic for storage file storage;
The processor for reading the machine readable instructions on the memory, and executes described instruction with reality Now following operation:
According to preset detection cycle, statistics establishes the accumulative of the tunnel IPsec on each link and establishes number, accumulative to build It grows immediately, period average delay and period packet loss, includes multiple preset detection statistics in the preset detection cycle Interval;
According to each link it is described it is accumulative establish number, it is described it is accumulative establish duration, the period average delay, And the period packet loss, determine the link quality level of each link;
From each link, the highest link of the link quality level is selected, in next preset detection week Phase establishes the tunnel IPsec.
The application fourth aspect provides a kind of machine readable storage medium, if being stored on the machine readable storage medium Dry computer instruction, the computer instruction, which is performed, to be handled as follows:
According to preset detection cycle, statistics establishes the accumulative of the tunnel IPsec on each link and establishes number, accumulative to build It grows immediately, period average delay and period packet loss, includes multiple preset detection statistics in the preset detection cycle Interval;
According to each link it is described it is accumulative establish number, it is described it is accumulative establish duration, the period average delay, And the period packet loss, determine the link quality level of each link;
From each link, the highest link of the link quality level is selected, in next preset detection week Phase establishes the tunnel IPsec.
Using embodiment provided by the present application, according to preset detection cycle, statistics establishes IPsec tunnel on each link The accumulative of road establishes number, accumulative to establish duration, period average delay and period packet loss, determines the link of each link Credit rating selects the highest link of link quality level, establishes the tunnel IPsec in next preset detection cycle.One Preset detection cycle includes multiple preset detection measurement periods, is capable of providing in a longer detection cycle, each The link quality level of link, the link quality level of a link can embody link link matter in a detection cycle The stability of amount, thus, it is possible to the link establishment ipsec tunnel for selecting quality stability high.
Detailed description of the invention
Fig. 1 is the method flow diagram of the selection link shown in the embodiment of the present application;
Fig. 2 is the acquisition time information and detection statistical information schematic diagram shown in the embodiment of the present application;
Fig. 3 is the statistical average delay and packet loss schematic diagram shown in the embodiment of the present application;
Fig. 4 is the apparatus structure schematic diagram of the selection link shown in the embodiment of the present application;
Fig. 5 is the embodiment schematic diagram of the link selection equipment shown in the embodiment of the present application.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the application.
In order to ensure the stability in the tunnel IPsec established between the office of different regions, need to detect foundation The stability of the link-quality in the tunnel IPsec.Currently used method is as follows: one tunnel link establishment IPsec of selection, in institute Probe messages are sent on the tunnel IPsec of foundation.Record is with the delay between the probe messages and response message of like-identified. According to preset detection statistical interval statistical average delay and packet loss.Average delay refers between preset detection statistics Every interior, the average value of the delay of all probe messages.Packet loss refers in preset detection statistical interval, sends detection The difference of the number of the number and reception response message of message, the ratio with the number for sending probe messages.
Wherein, preset detection statistical interval is the statistics that average transmission a delay and packet loss are completed to a link When, the total number of the probe messages of transmission.Preset detection statistical interval can be specifically arranged according to actual needs.
According to preset detection statistical interval, after statistics obtains average delay and packet loss, with preset delay threshold and Preset packet loss threshold value is compared, when the average delay be less than preset delay threshold, also, packet loss be less than it is preset When packet loss threshold value, the satisfactory quality of the link is indicated, can establish the data transmission that safety is realized in the tunnel IPsec;When Average delay is greater than preset delay threshold, alternatively, indicating the quality of the link when packet loss is greater than preset packet loss threshold value It is undesirable, the tunnel IPsec cannot be established, needs to switch to another link.
By taking preset detection statistical interval is 5 probe messages as an example: sending probe messages A1, receive and probe messages A1 identifies identical response message B1, and the delay for sending probe messages A1 and receiving between response message B1 is 100ms;It sends and visits Literary A2 is observed and predicted, receives and identifies identical response message B2 with probe messages A2, send probe messages A2 and receives response message Delay between B2 is 80ms;Probe messages A3 is sent, is not received by and identifies identical response message B3 with probe messages A3; Probe messages A4 is sent, receives and identifies identical response message B4 with probe messages A4, probe messages A4 is sent and receives and ring Answering the delay between message B4 is 90ms;Probe messages A5 is sent, receives and identifies identical response message with probe messages A5 B5, the delay for sending probe messages A5 and receiving between response message B1 is 110ms.Then in the preset detection statistical interval In, the average delay of statistics is (100+80+90+110)/4=95ms;Packet loss is (5-4)/5=20%.
If preset delay threshold is 100ms, preset packet loss threshold value is 30%, then due to the average delay of statistics 95ms is less than 100ms, also, packet loss is less than preset packet loss threshold value, indicates that the link-quality is met the requirements, can establish The tunnel IPsec carries out the data transmission of safety.
If preset delay threshold is set as 90ms, preset packet loss threshold value is 30%, then since being averaged for statistics is prolonged When 95ms be greater than 90ms, even if packet loss be less than preset packet loss threshold value, indicate that the link-quality is unsatisfactory for requiring, need to cut Change another tunnel link establishment IPsec.
As shown in the above, it in the mode of above-mentioned selection link, is counted according to a preset detection statistical interval The link of average delay and packet loss selection, can only determine that the link-quality meets during the preset detection statistical interval It is required that can only determine that link-quality is met the requirements within a very short time, it not can determine that the link is preset at this Whether link-quality meets the requirements after detection statistical interval.Therefore, it is impossible to determine the stability of link-quality.
To solve the above-mentioned problems, the method for selection link provided by the embodiments of the present application, a preset detection cycle Including multiple preset detection measurement periods, according to preset detection cycle count it is accumulative establish duration, the period is average Delay and period packet loss, can react the link quality level of each link in a longer time section, a chain The link quality level on road can embody the stability of link link-quality in a preset detection cycle, thus, energy Enough high link establishment ipsec tunnels of selection quality stability.
It is described in detail below with reference to specific example of the width figure to the application.
Illustrative methods
Fig. 1 is the method flow diagram of the selection link shown in the embodiment of the present application, comprising:
101: according to preset detection cycle, statistics establishes the accumulative of the tunnel IPsec on each link and establishes number, tires out Meter establishes duration, period average delay and period packet loss, includes multiple preset detection statistics in preset detection cycle Interval.
102: accumulative according to each link establishes number, accumulative to establish duration, period average delay and period packet loss Rate determines the link quality level of each link.
103: from each link, selecting the highest link of link quality level, built in next preset detection cycle The vertical tunnel IPsec.
In one preset detection cycle, sends and be spaced according to preset message, continual transmission probe messages.Two There are multilinks between end equipment can be arranged a preset priority for each of the links.In the preset detection cycle Interior, each of the links switch over from high to low according to preset priority, first on the first chain road of preset highest priority The tunnel IPsec is established, when the link-quality for detecting the first link is unsatisfactory for requiring, switches to priority inferior to the first link The second chain road establish the tunnel IPsec;When the link-quality for detecting the second link is unsatisfactory for requiring, priority is switched to The tunnel IPsec is established in third chain road inferior to the second link;And so on, when the tunnel IPsec was all established in all chain roads When, when the link-quality of the minimum link of preset priority also is unsatisfactory for requiring, returns again to and switch to preset priority The tunnel IPsec is established in highest first chain road.At this point, completing one cycle switching.
What needs to be explained here is that in a preset detection cycle, if not completing one cycle switching, then it represents that Some chain roads establish the tunnel IPsec, and the tunnel IPsec was not established in some chain roads;If completing multiple circulation Switching, then it represents that all at least establish the tunnel IPsec on each link.
It is understood that for a link, being cut if the tunnel IPsec was established in each chain road To initially set up the moment at the time of shifting to the link establishment tunnel IPsec, what is counted during preset detection statistical interval should When the average delay of link is greater than preset delay threshold or packet loss greater than preset packet loss threshold value, switch to another A link is completed at this point, the termination for recording the link is established the moment in tunnel IPsec of the link establishment.Therefore, it obtains Temporal information in the tunnel IPsec of link establishment, including initially set up the moment and the moment is established in termination;Also obtain at this The detection statistical information in tunnel IPsec of link establishment, i.e., what is counted during each preset detection statistical interval is averaged Delay and packet loss.
For any one link, in different cyclic switchings, the tunnel IPsec is established on the link every time, The temporal information for this time establishing the tunnel IPsec and detection statistical information can be obtained.How many times are then established on the link Then there is temporal information and detection statistical information that how many statistics obtain in the tunnel IPsec.I.e. for a link, often The secondary tunnel IPsec of establishing both corresponds to a temporal information and detection statistical information.According to establishing IPsec every time on the link The corresponding temporal information in tunnel, statistics obtain the accumulative of the link and establish number, accumulative to establish duration, according to every on the link Secondary to establish the corresponding detection statistical information in the tunnel IPsec, statistics obtains the period average delay and period packet loss of the link Rate.
For each link, all in accordance with aforesaid way, in a preset detection cycle, counts each link and establishing The corresponding temporal information in tunnel IPsec and detection statistical information, so that each chain road is established the accumulative of the tunnel IPsec and built Vertical number, it is accumulative to establish duration, period average delay and period packet loss.
In one example, as shown in Fig. 2, obtaining temporal information and detection statistics that link establishes the tunnel IPsec every time Information includes:
201: when establishing the tunnel IPsec on the link, acquisition initially sets up the moment;
202: sending probe messages using the tunnel IPsec established on the link and obtained according to preset detection statistical interval Link is taken currently to detect the resulting average delay of statistics and packet loss;
203: currently detecting the resulting average delay of statistics and packet loss according to link, determine whether link-quality meets and want It asks, executes 202 if so, returning, obtain link and detect the resulting average delay of statistics and packet loss next time;If not, holding Row 204.
204: switching to another chain road and establish the tunnel IPsec, obtain to terminate and establish the moment.
Below by taking a link in multiple links between two end equipments as an example, it is described in detail according to preset detection Statistical interval counts detection statistical information and temporal information that the link establishes the tunnel IPsec every time.
In the tunnel link establishment IPsec, probe messages are sent, receive response report identical with the mark of probe messages Text counts the delay between probe messages and response message, obtains the corresponding message delay of probe messages.According to preset detection Statistical interval, statistics receive the sum of the corresponding message delay of probe messages of response message, then divided by receiving response message Probe messages number, obtain this it is preset detection statistical interval in average delay.
It is counted according to preset detection statistical interval, that is, the number of the probe messages sent is certain, with preset spy The number for surveying the probe messages of statistical interval setting is consistent, and the response message received may be than of the probe messages of transmission Number is few.That is, the case where there may be the response messages of some probe messages to receive, and there are packet losses.Therefore, often The probe messages for sending preset detection statistical interval, count the number of received response message, determine and send probe messages The difference of number and the number of received response message, then it is default to obtain this divided by the number for sending probe messages with resulting difference Detection statistical interval packet loss.
The average delay of preset detection statistical interval obtained is compared with preset delay threshold, will be obtained This it is preset detection statistical interval packet loss compared with preset packet loss threshold value, be less than if meeting average delay simultaneously Preset delay threshold, also, packet loss is less than preset packet loss threshold value, then it represents that and the link-quality of link is met the requirements, It can continue to use the tunnel link establishment IPsec.Continue to obtain according to preset detection statistical interval every time according to preset Detect the average delay and packet loss of statistical interval statistics.
When average delay is unsatisfactory for preset delay threshold or packet loss is unsatisfactory for preset packet loss threshold value, Indicate that the link-quality of the link is unsatisfactory for requiring, the tunnel IPsec is established in stopping on the link, switches to another link. It is understood that being counted every time according to preset detection statistical interval in a period of using the link establishment tunnel IPsec Obtained average delay and packet loss can all establish the detection statistical information in the tunnel IPsec as the link in this time.
In one example, it ensures that the variation for detecting link-quality in time, needs to shorten as far as possible each Time difference between a preset detection statistical interval.Therefore, there is only one for adjacent detection statistical interval preset twice Different probe messages.A probe messages are spaced between the preset detection statistical interval counted every time, in this way, every time When being counted according to preset detection statistical interval, the detection sent earliest in previous preset detection statistical interval is removed Message is further added by the probe messages sent after previous preset detection statistical interval, forms next preset spy Statistical interval is surveyed to be counted.In this way, the probe messages that two adjacent preset detection statistical intervals of front and back include every time, only There are a different probe messages, thus, when the link-quality of the link changes, cracking can count on discontented The average delay or packet loss required enough switches to another link as soon as possible.
For example: as shown in figure 3, preset delay threshold is 60ms, preset packet loss threshold value is 30%.In link On the tunnel IPsec of foundation, probe messages T1 is sent, obtains the message delay 50ms of probe messages T1;Probe messages T2 is sent, Obtain the message delay 60ms of probe messages T2;Probe messages T3 is sent, response message is not received;Probe messages T4 is sent, Obtain the message delay 45ms of probe messages T4;Probe messages T5 is sent, the message delay 55ms of probe messages T5 is obtained.It is default Detection statistical interval be 5, then count the corresponding average delay of probe messages T1~T5 be 52.5ms, packet loss 20%.It presses According to above-mentioned statistical, and so on, the corresponding average delay of statistics probe messages T2~T6 is 50ms, packet loss 20%. Counting the corresponding average delay of probe messages T3~T7 is 45ms, packet loss 20%.It is corresponding to count probe messages T4~T8 Average delay is 50ms, packet loss 40%.At this point, switching to another since packet loss is greater than preset packet loss threshold value The tunnel link establishment IPsec.
Wherein, for the first time it is preset detection statistical interval statistics average delay be 52.5ms, packet loss 20%, second The average delay of secondary preset detection statistical interval statistics is 50ms, packet loss 20%, between the preset detection of third time counts It is 45ms every the average delay of statistics, the average delay of packet loss 20%, the 4th preset detection statistical interval statistics is 50ms, packet loss 40% are all once establishing the tunnel IPsec detection statistical information obtained as the link.
At the same time, during establishing the tunnel IPsec on the link, it can recorde and initially set up the moment and termination is built It carves immediately, can also determine the temporal information for once establishing the tunnel IPsec on the link, that is, initially set up the moment builds with termination Time difference carve immediately between.
Below by taking multiple links between two end equipments as an example, illustrate how to switch between multilink.
By existing multilink between two end equipments, according to preset priority ranking, chain first high in priority The tunnel IPsec is established in road.According to the method described above, statistical average delay and packet loss on the chain road of highest priority, when When the average delay and packet loss of the chain road statistics of highest priority are unsatisfactory for requiring, the chain that priority comes second is switched to Road statistical average delay and packet loss;When the average delay and packet loss that count on the chain road in highest priority are unsatisfactory for wanting When asking, the statistical average delay of chain road and packet loss that priority comes third are switched to;And so on, until switching to preferential Grade minimum the statistical average delay of chain road and packet loss.At this point, completing one cycle switching.
If a preset detection cycle is not at this time, the chain road for back switching to highest priority is established The tunnel IPsec, statistical average delay and packet loss again on the chain road of highest priority, unites when on the chain road in highest priority When the average delay and packet loss of meter are unsatisfactory for requiring, switch to priority come second the statistical average of chain road delay and lose Packet rate repeats above-mentioned cyclic switching.
Therefore, in a preset detection cycle, often there is many preset detection statistical intervals, lasting pair Link-quality is detected, and when a link-quality is undesirable, switches to the tunnel another link establishment IPsec, with It is switched on link between two end equipments, thus, it is ensured that use the tunnel satisfactory link establishment IPsec.
In one example, the method also includes:
In a preset detection cycle, if reaching preset cyclic switching number, the link-quality of highest priority It is still unsatisfactory for requiring, stopping switches to another link, wherein establish the tunnel IPsec all on each link to execute One cycle switching.
If the link between two end equipments passed through multiple cyclic switching, also in a preset detection cycle It is gradually to switch to the minimum link of priority from the link of highest priority to exist repeatedly, has been more than preset cyclic switching Number.Then indicate that the link-quality of the multilink between two end equipments is all often unsatisfactory for requiring.At this point, not continuing to cut It changes, the tunnel use priority highest link establishment IPsec.This is excessively frequent switching between multiple links in order to prevent, Influence the data transmission between two end equipments.
After the statistics for completing a preset detection cycle, by taking a link as an example, statistics chain road is described in detail and builds Vertical the accumulative of the tunnel IPsec establishes number, accumulative to establish duration, period average delay and period packet loss.
In one example, it according to preset detection cycle, counts any one chain road and establishes the accumulative of the tunnel IPsec Number is established, accumulative to establish duration, period average delay and period packet loss include:
Obtain link establish every time the tunnel IPsec temporal information and detection statistical information, establish every time IP tunnel when Between information be used to indicate the duration of establishing that the tunnel IPsec is established in link this time, establish the detection statistical information packet of IP tunnel every time Include the average delay and packet loss of at least one preset detection statistical interval statistics;
The number acquisition in the statistics tunnel link establishment IPsec establishes the accumulative of the tunnel IPsec on the link and establishes number;
Establish the temporal information in the tunnel IPsec every time according to link, duration is established in the accumulation for counting link;
The detection statistical information for establishing the tunnel IPsec every time according to link counts period average delay and the period of link Packet loss.
After the statistics for completing a preset detection cycle, as described above, the time letter of multiple links can be obtained Breath and detection statistical information.For a link, temporal information and detection that the link repeatedly establishes the tunnel IPsec are obtained Statistical information.
First, the link establishes the tunnel IPsec every time and all there is record, therefore, energy in a preset detection cycle It is enough that number is established according to record statistics the accumulative of the link, that is, obtain the number for establishing the tunnel IPsec on the link.
Second, the temporal information that the link establishes the tunnel IPsec every time is had recorded in a preset detection cycle, The temporal information can be establish the tunnel IPsec every time establish duration;Change temporal information and can also be and establishes IPsec tunnel every time The moment is established in the starting in road and the moment is established in termination, and that establishes the tunnel IPsec every time with acquisition establishes duration.Therefore, by the chain The duration of establishing that the tunnel IPsec is established on road every time is added summation, then obtains the accumulative foundation for establishing the tunnel IPsec on the link Duration.
For example: for the link there are the record that 3 times are established the tunnel IPsec, it is 5 minutes that the 1st time, which is established the tunnel IPsec, It is 7 minutes that 2nd time, which is established the tunnel IPsec, and it is 4 minutes that the 3rd time, which is established the tunnel IPsec,.The tunnel IPsec is then established on the link It is accumulative 16 minutes a length of when establishing.
Third, having recorded the detection statistics letter that the link establishes the tunnel IPsec every time in a preset detection cycle Breath, establish every time IP tunnel detection statistical information include at least one it is preset detection statistical interval statistics average delay with Packet loss.The average delay for the preset detection statistical interval for including in all detection statistical informations of the link is calculated average Value, obtains the period average delay of the link.The preset detection for including in all detection statistical informations of the link is counted The packet loss at interval calculates average value, obtains the period packet loss of the link.
For example: the link there are the record that 3 times are established the tunnel IPsec, unite by the 1st detection for establishing the tunnel IPsec Count includes: average delay 50ms and packet loss 20%;Average delay 45ms and packet loss 25%;It average delay 65ms and loses Packet rate 15%;The detection statistical data for establishing the tunnel IPsec 2nd time includes: average delay 30ms and packet loss 15% averagely prolong When 40ms and packet loss 35%;The detection statistical data for establishing the tunnel IPsec 3rd time includes: average delay 45ms and packet loss 10%;Average delay 35ms and packet loss 25%;Average delay 60s and packet loss 15%.IPsec tunnel is then established on the link The period average delay in road is 46.25ms, and period packet loss is 20%.
In the manner described above, the accumulative of each link counted one by one between two end equipments establishes number, adds up to establish Duration, period average delay and period packet loss.Here it no longer repeats one by one.
The following detailed description of the method for selection link provided by the present application.
In one example, the method for selecting link includes:
According to preset detection cycle, statistics establishes the accumulative of the tunnel IPsec on each link and establishes number, accumulative to build It grows immediately, period average delay and period packet loss, includes multiple preset detection statistics in the preset detection cycle Interval;
Described according to each link adds up to establish number, accumulative to establish duration, period average delay and period packet loss Rate determines the link quality level of each link;
From each link, the highest link of link quality level is selected, is established in next preset detection cycle The tunnel IPsec.
In one example, number is established according to the accumulative of each link, accumulative to establish duration, period average delay, with And period packet loss, determine that the link quality level of any one link includes:
Determine the accumulative number and the accumulative product for establishing duration established of link as the first value;
The product of the period average delay and period packet loss that determine link is as second value;
Determine link-quality of the ratio of the first value and second value as the link.
Mode as described above, in a preset detection cycle, statistics establishes IPsec tunnel on each link The accumulative of road establishes number, accumulative to establish duration, period average delay and period packet loss, then according to the following equation really The link quality level of fixed each link.
Link quality level=(accumulative number of establishing × add up to establish duration)/(period average delay × period packet loss)
It is understood that the accumulative of each link counted in a measurement period establishes number, it is accumulative to build It grows immediately, period average delay and period packet loss can react in a longer time section, the link of the link Quality.Therefore, according to the resulting link quality level of above-mentioned formula, the stability of link-quality can accurately be reacted.Link Credit rating is higher, and the stability of link-quality is better;Link quality level is lower, and the stability of link-quality is poorer.Therefore, It is ranked up according to link quality level to the link between two end equipments.In next preset detection cycle, according to The sequence of link quality level from high to low establishes the tunnel IPsec.Then select the highest link of link quality level, it is believed that the chain The link-quality stability highest on road uses the tunnel link establishment IPsec in next preset detection cycle at first. Using the high tunnel link establishment IPsec of link-quality stability, the switching between link is reduced, increases the steady of the tunnel IPsec It is qualitative, that is, improve the stability of data transmission between two end equipments.
In one example, the method also includes:
The mark of probe messages is set, and high 16 of the mark of probe messages are the process number for transmitting probe messages, detection Low 16 of the mark of message are the serial number for sending probe messages.
In the prior art, the mark of probe messages, when the probe messages quantity of transmission is very big, is sent out using random number The mark for the different probe messages sent may be identical, mistake occurs when will lead to statistical time lag and packet loss.
In order to ensure sending the uniqueness of probe messages, the mark that probe messages are arranged in the application example is not used at random Number mode.The tunnel IPsec established on the link is multi-process, and each tunnel IPsec is sending probe messages.Detection report Text is identified as 32, high 16 process numbers for being set as sending the probe messages;Low 16 are set as in the tunnel IPsec In process, the serial number of the probe messages, i.e., low 16 are indicated in the process in the tunnel IPsec, which is which is a The probe messages sent.
High 16 are process number, therefore, high 16 differences for the probe messages that the process in the different tunnels IPsec is sent;? In the process in the same tunnel IPsec, probe messages cannot can only send simultaneously two detection reports by transmission one by one Text, therefore, the serial number of probe messages are different, then low 16 differences of probe messages.I.e. in the process in the same tunnel IPsec In, low 16 of previous probe messages, than low 16 few 1 of the latter probe messages.To, it is ensured that the mark of the probe messages The uniqueness of knowledge avoids mistake occur when statistical time lag and packet loss.
According to above content it is found that example provided by the present application, can not only determine the link quality level of link, indicate The stability of the link, thus the tunnel link establishment IPsec for selecting stability high;The probe messages of transmission can also be set Mark, it is ensured that the uniqueness of the mark of each probe messages, and then ensure the uniqueness of the mark of response message, to avoid statistics There is mistake when delay and packet loss.
Exemplary means
Fig. 4 is the apparatus structure schematic diagram of the selection link shown in the embodiment of the present application, comprising:
Statistical module 401, for according to preset detection cycle, statistics to establish the tired of the tunnel IPsec on each link Meter establishes number, accumulative to establish duration, period average delay and period packet loss, includes in the preset detection cycle Multiple preset detection statistical intervals.
Determining module 402, it is described to add up to establish duration for adding up to establish number according to the described of each link, The period average delay and the period packet loss, determine the link quality level of each link.
Module 403 is established, for the highest link of the link quality level being selected, under from each link One preset detection cycle establishes the tunnel IPsec.
In one example, statistical module includes:
Acquiring unit establishes the temporal information and detection statistical information in the tunnel IPsec for obtaining the link, often every time The secondary temporal information for establishing IP tunnel is used to indicate the duration of establishing that the tunnel IPsec is established in described this time of link, builds every time The detection statistical information of vertical IP tunnel include at least one preset detection statistical interval statistics average delay and Packet loss;
First statistic unit, the number for counting the tunnel the link establishment IPsec are established on said link The described of the tunnel IPsec adds up to establish number;
Second statistic unit, for establishing the temporal information in the tunnel IPsec every time according to the link, described in statistics Duration is established in the accumulation of link;
Third statistic unit is counted for establishing the detection statistical information in the tunnel IPsec every time according to the link The period average delay and period packet loss of the link.
In one example, the acquiring unit includes:
First obtains subelement, for when establishing the tunnel IPsec on said link, acquisition to initially set up the moment;
Second obtains subelement, for sending probe messages using the tunnel IPsec established on said link, according to institute Preset detection statistical interval is stated, the link is obtained and currently detects the resulting average delay of statistics and packet loss;
It determines subelement, for currently detecting the resulting average delay of statistics and packet loss according to the link, determines institute State whether link-quality meets the requirements;
If the link-quality is met the requirements, returns to described second and obtain subelement;
Switching subelement switches to another chain road and establishes IPsec tunnel if being unsatisfactory for requiring for the link-quality Road obtains to terminate and establishes the moment.
In one example, the acquiring unit further include:
Stop switching subelement, in a detection cycle, if reaching preset cyclic switching number, priority to be most High link-quality is still unsatisfactory for requiring, and stopping switches to another link, wherein all establishes on each link primary The tunnel IPsec is to execute one cycle switching.
In one example, described device further include:
Setup module, for the mark of probe messages to be arranged, high 16 of the mark of the probe messages is described in transmission The process number of probe messages, low 16 of the mark of the probe messages are the serial number for sending the probe messages.
In one example, the determining module includes:
First determination unit, for determining that the described of the link adds up to establish number and the accumulative product for establishing duration As the first value;
Second determination unit, for determining the period average delay of the link and the product work of the period packet loss For second value;
Third determination unit, for determining link-quality of the ratio of the first value and second value as the link.
Above-mentioned example device, be with device corresponding to illustrative methods, concrete methods of realizing is similar, reference example Description in method, which is not described herein again.
Referring to Fig. 5, one embodiment schematic diagram of link device is selected for the application, which can wrap It includes: internal bus 510, and the memory 520, processor 530 and the external interface 740 that are connected by internal bus 510.
Wherein, the memory 520, the corresponding machine readable instructions of control logic for storage file conversion;
The processor 530, for reading the machine readable instructions on the memory, and execute described instruction with Realize following operation:
According to preset detection cycle, statistics establishes the accumulative of the tunnel IPsec on each link and establishes number, accumulative to build It grows immediately, period average delay and period packet loss, includes multiple preset detection statistics in the preset detection cycle Interval;
According to each link it is described it is accumulative establish number, it is described it is accumulative establish duration, the period average delay, And the period packet loss, determine the link quality level of each link;
From each link, the highest link of the link quality level is selected, in next preset detection week Phase establishes the tunnel IPsec.
In addition, the file flow path switch shown in the embodiment of the present application can also be included in computer readable storage medium In, which can connect with the processing equipment executed instruction, and the control that file conversion is stored on the storage medium is patrolled Volume corresponding machine readable instructions, these instructions can equipment processed execute, above-mentioned machine readable instructions are for realizing as follows Operation:
According to preset detection cycle, statistics establishes the accumulative of the tunnel IPsec on each link and establishes number, accumulative to build It grows immediately, period average delay and period packet loss, includes multiple preset detection statistics in the preset detection cycle Interval;
According to each link it is described it is accumulative establish number, it is described it is accumulative establish duration, the period average delay, And the period packet loss, determine the link quality level of each link;
From each link, the highest link of the link quality level is selected, in next preset detection week Phase establishes the tunnel IPsec.
In the embodiment of the present application, computer readable storage medium can be diversified forms, for example, in different examples In, the machine readable storage medium may is that RAM (Radom Access Memory, random access memory), volatile deposit Reservoir, nonvolatile memory, flash memory, memory driver (such as hard disk drive), solid state hard disk, any kind of storage dish (such as CD, dvd) perhaps similar storage medium or their combination.Special, described computer-readable medium Can also be paper or other be suitably capable of the medium of print routine.Using these media, these programs can be passed through The mode of electricity gets (for example, optical scanner), can be compiled, be explained and processing in an appropriate manner, then can be by It stores in computer media.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.

Claims (15)

1. a kind of method for selecting link, which is characterized in that the described method includes:
According to preset detection cycle, statistics establishes the accumulative of the tunnel IPsec on each link and establishes number, when adding up to establish It grows, period average delay and period packet loss, includes between multiple preset detections count in the preset detection cycle Every;
According to each link it is described it is accumulative establish number, it is described it is accumulative establish duration, the period average delay, and The period packet loss determines the link quality level of each link;
From each link, the highest link of the link quality level is selected, is built in next preset detection cycle The vertical tunnel IPsec.
2. the method according to claim 1, wherein counting any one link according to preset detection cycle On establish the accumulative of the tunnel IPsec and establish number, accumulative to establish duration, period average delay and period packet loss include:
Temporal information and detection statistical information that the link establishes the tunnel IPsec every time are obtained, establishes the institute of IP tunnel every time It states temporal information and is used to indicate the duration of establishing that the tunnel IPsec is established in described this time of link, establish the spy of IP tunnel every time Survey the average delay and packet loss that statistical information includes at least one preset detection statistical interval statistics;
The number acquisition for counting the tunnel the link establishment IPsec establishes the described of the tunnel IPsec on said link and adds up to build Vertical number;
The temporal information for establishing the tunnel IPsec every time according to the link, when counting the accumulation of the link and establishing It is long;
The detection statistical information for establishing the tunnel IPsec every time according to the link, the period for counting the link are flat Delay and period packet loss.
3. according to the method described in claim 2, it is characterized in that, the acquisition link establishes the tunnel IPsec every time Temporal information and detection statistical information include:
When establishing the tunnel IPsec on said link, acquisition initially sets up the moment;
Probe messages are sent using the tunnel IPsec established on said link to obtain according to the preset detection statistical interval The link is taken currently to detect the resulting average delay of statistics and packet loss;
The resulting average delay of statistics and packet loss are currently detected according to the link, are determined whether the link-quality meets and are wanted It asks;
If the link-quality is met the requirements, the tunnel the IPsec transmission detection report executed using establishing on said link is returned Text obtains the link and detects the resulting average delay of statistics and packet loss next time according to the preset detection statistical interval Rate;
If the link-quality is unsatisfactory for requiring, switches to another chain road and establish the tunnel IPsec, when acquisition termination is established It carves.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
In a detection cycle, if reaching preset cyclic switching number, the link-quality of highest priority is still unsatisfactory for wanting It asks, stopping switches to another link, wherein all establish the tunnel IPsec on each link and cut to execute one cycle It changes.
5. according to the method described in claim 3, it is characterized in that,
There is only a different probe messages for adjacent detection statistical interval preset twice.
6. method described in -5 any one according to claim 1, which is characterized in that the method also includes:
The mark of probe messages is set, high 16 of the mark of the probe messages are the process number for transmitting the probe messages, Low 16 of the mark of the probe messages are the serial number for sending the probe messages.
7. method described in -5 any one according to claim 1, which is characterized in that described according to each link Add up to establish number, it is described to add up to establish duration, the period average delay and the period packet loss, it determines any one The link quality level of a link includes:
Determine the accumulative number and the accumulative product for establishing duration established of the link as the first value;
The product of the period average delay and the period packet loss that determine the link is as second value;
Determine link-quality of the ratio of first value and the second value as the link.
8. a kind of device for selecting link, which is characterized in that described device includes:
Statistical module, for according to preset detection cycle, statistics to establish the accumulative foundation time in the tunnel IPsec on each link Number, it is accumulative to establish duration, period average delay and period packet loss, it include multiple default in the preset detection cycle Detection statistical interval;
Determining module, it is described to add up to establish duration, the period for adding up to establish number according to the described of each link Average delay and the period packet loss, determine the link quality level of each link;
Module is established, for selecting the highest link of the link quality level from each link, next default Detection cycle establish the tunnel IPsec.
9. device according to claim 8, which is characterized in that statistical module includes:
Acquiring unit is established the temporal information and detection statistical information in the tunnel IPsec every time for obtaining the link, is built every time The temporal information of vertical IP tunnel is used to indicate the duration of establishing that the tunnel IPsec is established in described this time of link, establishes IP every time The detection statistical information in tunnel includes the average delay and packet loss of at least one preset detection statistical interval statistics Rate;
First statistic unit, the number for counting the tunnel the link establishment IPsec obtains establishes IPsec on said link The described of tunnel adds up to establish number;
Second statistic unit counts the link for establishing the temporal information in the tunnel IPsec every time according to the link The accumulation establish duration;
Third statistic unit, for establishing the detection statistical information in the tunnel IPsec every time according to the link, described in statistics The period average delay and period packet loss of link.
10. device according to claim 9, which is characterized in that the acquiring unit includes:
First obtains subelement, for when establishing the tunnel IPsec on said link, acquisition to initially set up the moment;
Second obtains subelement, for sending probe messages using the tunnel IPsec established on said link, according to described pre- If detection statistical interval, obtain the link and currently detect the resulting average delay of statistics and packet loss;
It determines subelement, for currently detecting the resulting average delay of statistics and packet loss according to the link, determines the chain Whether road quality meets the requirements;
If the link-quality is met the requirements, returns to described second and obtain subelement;
Switching subelement switches to another chain road and establishes the tunnel IPsec if being unsatisfactory for requiring for the link-quality, It obtains to terminate and establishes the moment.
11. device according to claim 10, which is characterized in that the acquiring unit further include:
Stop switching subelement, is used in a detection cycle, if reaching preset cyclic switching number, highest priority Link-quality is still unsatisfactory for requiring, and stopping switches to another link, wherein all establishes an IPsec tunnel on each link Road is to execute one cycle switching.
12. according to device described in claim 8-11 any one, which is characterized in that described device further include:
Setup module, for the mark of probe messages to be arranged, high 16 of the mark of the probe messages are the transmission detection The process number of message, low 16 of the mark of the probe messages are the serial number for sending the probe messages.
13. according to device described in claim 8-11 any one, which is characterized in that the determining module includes:
First determination unit, for determining that the described of the link adds up to establish number and the accumulative product conduct for establishing duration First value;
Second determination unit, for determine the link the period average delay and the period packet loss product as the Two-value;
Third determination unit, for determining link-quality of the ratio of the first value and second value as the link.
14. a kind of equipment for selecting link, which is characterized in that the equipment includes: internal bus, and is connected by internal bus Memory, processor and the external interface connect;Wherein,
The memory, the corresponding machine readable instructions of control logic for storage file storage;
The processor for reading the machine readable instructions on the memory, and executes described instruction to realize such as Lower operation:
According to preset detection cycle, statistics establishes the accumulative of the tunnel IPsec on each link and establishes number, when adding up to establish It grows, period average delay and period packet loss, includes between multiple preset detections count in the preset detection cycle Every;
According to each link it is described it is accumulative establish number, it is described it is accumulative establish duration, the period average delay, and The period packet loss determines the link quality level of each link;
From each link, the highest link of the link quality level is selected, is built in next preset detection cycle The vertical tunnel IPsec.
15. a kind of machine readable storage medium, which is characterized in that be stored with several computers on the machine readable storage medium Instruction, the computer instruction, which is performed, to be handled as follows:
According to preset detection cycle, statistics establishes the accumulative of the tunnel IPsec on each link and establishes number, when adding up to establish It grows, period average delay and period packet loss, includes between multiple preset detections count in the preset detection cycle Every;
According to each link it is described it is accumulative establish number, it is described it is accumulative establish duration, the period average delay, and The period packet loss determines the link quality level of each link;
From each link, the highest link of the link quality level is selected, is built in next preset detection cycle The vertical tunnel IPsec.
CN201810995443.7A 2018-08-29 2018-08-29 Select the method, apparatus and storage medium of link Pending CN109194561A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810995443.7A CN109194561A (en) 2018-08-29 2018-08-29 Select the method, apparatus and storage medium of link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810995443.7A CN109194561A (en) 2018-08-29 2018-08-29 Select the method, apparatus and storage medium of link

Publications (1)

Publication Number Publication Date
CN109194561A true CN109194561A (en) 2019-01-11

Family

ID=64917134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810995443.7A Pending CN109194561A (en) 2018-08-29 2018-08-29 Select the method, apparatus and storage medium of link

Country Status (1)

Country Link
CN (1) CN109194561A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109831328A (en) * 2019-01-30 2019-05-31 杭州迪普科技股份有限公司 Switching method, device, the electronic equipment of intelligent route selection
CN109905310A (en) * 2019-03-26 2019-06-18 杭州迪普科技股份有限公司 Data transmission method, device, electronic equipment
CN111835639A (en) * 2020-07-06 2020-10-27 杭州网银互联科技股份有限公司 SD-WAN network intelligent link selection method based on cloud computing
CN112822102A (en) * 2020-12-30 2021-05-18 瑞斯康达科技发展股份有限公司 Link switching method, device, equipment, system and storage medium
CN112866108A (en) * 2021-02-01 2021-05-28 迪莲娜(上海)大数据服务有限公司 Edge gateway link optimization method, system, medium and cloud management system
CN112996031A (en) * 2019-12-12 2021-06-18 烽火通信科技股份有限公司 PPP link selection method and system
CN115484648A (en) * 2021-06-16 2022-12-16 荣耀终端有限公司 Channel switching method, electronic device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039224A (en) * 2007-04-26 2007-09-19 华为技术有限公司 Method and equipment for detecting periodically link state
US7983163B2 (en) * 2008-12-11 2011-07-19 International Business Machines Corporation System and method for implementing adaptive load sharing to balance network traffic
CN105515915A (en) * 2015-12-25 2016-04-20 厦门网宿软件科技有限公司 Node detection method, device, route selection method, device and network system
CN105897512A (en) * 2016-05-10 2016-08-24 国网冀北电力有限公司信息通信分公司 Method and system for monitoring virtual private network (VPN)
CN107135159A (en) * 2017-03-31 2017-09-05 武汉绿色网络信息服务有限责任公司 The method and system that optimal path is determined in a kind of SDN
US20170331698A1 (en) * 2016-05-12 2017-11-16 Samsung Electronics Co., Ltd. Method and apparatus for node to determine time to live of path

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039224A (en) * 2007-04-26 2007-09-19 华为技术有限公司 Method and equipment for detecting periodically link state
US7983163B2 (en) * 2008-12-11 2011-07-19 International Business Machines Corporation System and method for implementing adaptive load sharing to balance network traffic
CN105515915A (en) * 2015-12-25 2016-04-20 厦门网宿软件科技有限公司 Node detection method, device, route selection method, device and network system
CN105897512A (en) * 2016-05-10 2016-08-24 国网冀北电力有限公司信息通信分公司 Method and system for monitoring virtual private network (VPN)
US20170331698A1 (en) * 2016-05-12 2017-11-16 Samsung Electronics Co., Ltd. Method and apparatus for node to determine time to live of path
CN107135159A (en) * 2017-03-31 2017-09-05 武汉绿色网络信息服务有限责任公司 The method and system that optimal path is determined in a kind of SDN

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109831328A (en) * 2019-01-30 2019-05-31 杭州迪普科技股份有限公司 Switching method, device, the electronic equipment of intelligent route selection
CN109905310A (en) * 2019-03-26 2019-06-18 杭州迪普科技股份有限公司 Data transmission method, device, electronic equipment
CN109905310B (en) * 2019-03-26 2020-12-29 杭州迪普科技股份有限公司 Data transmission method and device and electronic equipment
CN112996031A (en) * 2019-12-12 2021-06-18 烽火通信科技股份有限公司 PPP link selection method and system
CN112996031B (en) * 2019-12-12 2022-08-05 烽火通信科技股份有限公司 PPP link selection method and system
CN111835639A (en) * 2020-07-06 2020-10-27 杭州网银互联科技股份有限公司 SD-WAN network intelligent link selection method based on cloud computing
CN112822102A (en) * 2020-12-30 2021-05-18 瑞斯康达科技发展股份有限公司 Link switching method, device, equipment, system and storage medium
CN112866108A (en) * 2021-02-01 2021-05-28 迪莲娜(上海)大数据服务有限公司 Edge gateway link optimization method, system, medium and cloud management system
CN115484648A (en) * 2021-06-16 2022-12-16 荣耀终端有限公司 Channel switching method, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN109194561A (en) Select the method, apparatus and storage medium of link
CN102273136B (en) Method and apparatus for detecting multi-service performance in tunnel
EP3022874B1 (en) Triangle loopback
CN105050133B (en) Detect the method and device of the network speed under Wi-Fi Hotspot
CN101272290A (en) Measuring method, measuring apparatus and forwarding device for route congestion state in IP network
CN104850573A (en) Data collection method and device
CN108401490B (en) Network performance measuring method and detection equipment
CN103748930A (en) Mobile communications network, infrastructure equipment and method
CN108259208B (en) Method and equipment for detecting message dye bit conflict
CN109327846A (en) Method, apparatus, terminal and the storage medium that wave beam measurement reports
CN104871487B (en) Network is detected
CN103731376A (en) Method and system for selecting chain aggregation root ports on stacked equipment
CN104936211A (en) Wireless resource distribution method
US20220393945A1 (en) Method for Reporting In-Situ Flow Information Telemetry IFIT Measurement Information and Apparatus
CN103023815A (en) Aggregation link load sharing method and device
CN105763463B (en) Method and device for transmitting link detection message
CN106488495B (en) Base station selecting method and device based on base station signal quality
CN104869077A (en) Token based method and system for transmission control
CN105656662A (en) Fault locating method and apparatus
CN106161052B (en) Network line selection method and network speed-measuring method
CN114501534A (en) Method for sending detection packet and related equipment
CN101795216B (en) Method and equipment for resetting watch dog in multi-hop bidirectional forwarding detection (BFD)
CN114697202B (en) Detection method and device
CN106656676A (en) Storage path selection method and device
CN111262749B (en) Method and equipment for detecting network reliability

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190111

RJ01 Rejection of invention patent application after publication