CN111107011A - Method for detecting and generating optimal path and network acceleration system - Google Patents

Method for detecting and generating optimal path and network acceleration system Download PDF

Info

Publication number
CN111107011A
CN111107011A CN201911072036.XA CN201911072036A CN111107011A CN 111107011 A CN111107011 A CN 111107011A CN 201911072036 A CN201911072036 A CN 201911072036A CN 111107011 A CN111107011 A CN 111107011A
Authority
CN
China
Prior art keywords
flow
traffic
characteristic information
application
acceleration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911072036.XA
Other languages
Chinese (zh)
Other versions
CN111107011B (en
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.)
Xiamen Wangsu Co Ltd
Original Assignee
Xiamen Wangsu 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 Xiamen Wangsu Co Ltd filed Critical Xiamen Wangsu Co Ltd
Priority to CN201911072036.XA priority Critical patent/CN111107011B/en
Publication of CN111107011A publication Critical patent/CN111107011A/en
Application granted granted Critical
Publication of CN111107011B publication Critical patent/CN111107011B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • 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/0876Network utilisation, e.g. volume of load or congestion level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2475Traffic characterised by specific attributes, e.g. priority or QoS for supporting traffic characterised by the type of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/131Protocols for games, networked simulations or virtual reality

Abstract

The invention discloses a method for detecting and generating an optimal path and a network acceleration system, and belongs to the technical field of network communication. The method comprises the following steps: the method comprises the steps that flow characteristic information of each network application is obtained regularly by flow accelerating equipment, wherein the flow characteristic information at least comprises a protocol type, a destination IP address and a destination port of application flow; the flow accelerating equipment periodically generates simulation application flow according to the flow characteristic information; and the flow accelerating equipment triggers the detection processing of the optimal path based on the simulation application flow. By adopting the invention, when the real application flow arrives, the flow accelerating equipment can provide a more accurate and reliable optimal path, thereby improving the user experience of network application.

Description

Method for detecting and generating optimal path and network acceleration system
Technical Field
The present invention relates to the field of network communication technologies, and in particular, to a method for detecting and generating an optimal path and a network acceleration system.
Background
With the continuous development of computer technology and network technology, various network applications have become service items which are widely used at present. The traffic transmission of different network applications has different requirements on lines, and in the case of network games, the network games have higher requirements on network quality and real-time performance, so that a game operator can always open traffic acceleration services for the network games, the transmission time required by game traffic is reduced, and the real-time performance of the network games is improved.
Generally, a provider of a traffic acceleration service may deploy a traffic acceleration device within each service coverage area, which may be used to receive and forward game traffic uploaded by a user. Specifically, after receiving game traffic of a certain network game uploaded by a user, the traffic acceleration device may identify a destination address to which the game traffic points, and then forward the game traffic to a game server corresponding to the network game according to a locally pre-stored optimal path to the destination address.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
the optimal path is obtained by detecting each network line capable of reaching the destination address when the traffic acceleration equipment receives the game traffic pointing to the same destination address last time. For the first-appearing destination address, as the corresponding optimal path is not stored in the flow accelerating equipment, the game flow can be transmitted through the default path; meanwhile, if the receiving time of the last game flow is far away from the current time, the network link is likely to change, and the stored optimal path is not the current actual optimal path. Therefore, both of the above two situations may cause the transmission delay of the data traffic to increase, thereby causing a game jam and deteriorating the game experience of the user.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide a method for detecting and generating an optimal path and a network acceleration system. The technical scheme is as follows:
in a first aspect, a method for detecting and generating an optimal path is provided, where the method includes:
the method comprises the steps that flow characteristic information of each network application is obtained regularly by flow accelerating equipment, wherein the flow characteristic information at least comprises a protocol type, a destination IP address and a destination port of application flow;
the flow accelerating equipment periodically generates simulation application flow according to the flow characteristic information;
and the flow accelerating equipment triggers the detection processing of the optimal path based on the simulation application flow.
In a second aspect, a network acceleration system is provided, where the network acceleration system includes a plurality of traffic acceleration devices deployed in a distributed manner, where the traffic acceleration devices are configured to:
periodically acquiring traffic characteristic information of each network application, wherein the traffic characteristic information at least comprises a protocol type, a destination IP address and a destination port of application traffic;
generating simulation application flow periodically according to the flow characteristic information;
and triggering the detection processing of the optimal path based on the simulation application flow.
In a third aspect, there is provided a traffic acceleration device comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by the processor to implement the processing of the traffic acceleration device in the method for detecting generation of an optimal path according to the first aspect.
In a fourth aspect, there is provided a computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the processing of the flow acceleration device in the method of detecting generation of an optimal path according to the first aspect.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, the flow accelerating equipment regularly acquires the flow characteristic information of each network application, wherein the flow characteristic information at least comprises the protocol type, the destination IP address and the destination port of the application flow; the flow accelerating equipment periodically generates simulation application flow according to the flow characteristic information; and the flow accelerating equipment triggers the detection processing of the optimal path based on the simulation application flow. Therefore, the flow acceleration equipment regularly simulates the application flows corresponding to different flow characteristic information to trigger the detection of the optimal path, so that the situation that the optimal path is inconsistent with the actual network state or cannot be obtained due to the fact that the cache is overdue after the optimal path is cached for a long time can be avoided, and when the real application flow arrives, the flow acceleration equipment can provide the more accurate and reliable optimal path, so that the user experience of network application can be improved.
Furthermore, the traffic acceleration device can obtain more comprehensive traffic characteristics of application traffic possibly sent by the network application by obtaining the aggregated traffic characteristic information from the central device and/or obtaining the changed traffic characteristic information from the operator, wherein the traffic characteristics can include new traffic characteristics which are not obtained by the local device, so that the optimal path of the traffic characteristics can be detected in advance through simulation before the new application traffic arrives for the first time, and the application traffic can be directly forwarded based on the optimal path obtained through detection when the real application traffic is received for the first time, thereby solving the problem that the first packet cannot be accelerated.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a framework structure of a network acceleration system according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for detecting and generating an optimal path according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a process for obtaining traffic characteristic information according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a flow accelerating device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
The embodiment of the invention provides a method for detecting and generating an optimal path, which can be applied to a network acceleration system such as a CDN cluster, wherein an execution main body can be flow acceleration equipment in the network acceleration system, and the execution main body is assisted by central management equipment in the network acceleration system. The framework of the network acceleration system can be as shown in fig. 1. A large number of traffic acceleration devices deployed in a distributed manner may exist in the network acceleration system, and each traffic acceleration device is used to collect and forward application traffic in a service coverage area to which the traffic acceleration device belongs. Specifically, the application traffic in the service coverage area is uniformly transmitted to the traffic acceleration device, and then the traffic acceleration device may forward the application traffic of different network applications to respective application servers according to the pre-stored optimal path. Similarly, the application traffic fed back by the application server may also be returned to the traffic acceleration device according to the original route, and then forwarded to each application terminal by the traffic acceleration device. The central management device may be configured to perform centralized management on the flow acceleration devices, and in this embodiment, the central management device is mainly configured to summarize data uploaded by each of the flow acceleration devices, and feed a summary result back to the flow acceleration devices. In this embodiment, a network application is taken as an example for an online game, and processing of network applications in other application types is similar to that of the network application, and details are not repeated.
The process flow shown in fig. 2 will be described in detail below with reference to the specific embodiments, and the contents may be as follows:
in step 201, the traffic acceleration device periodically obtains traffic characteristic information of each online game.
The traffic characteristic information at least includes a protocol type, a destination IP address, and a destination port, and may further include a type identifier for identifying an application type, for example, a value of a specific field, so as to meet a demand scenario of performing accelerated booting on a network application in a specific application type.
In implementation, after the game operator opens the traffic acceleration service, the game traffic generated by the game user while playing the network game is sent to the traffic acceleration device in the service coverage area of the game user in the network acceleration system. After receiving the game traffic of the online game, the traffic acceleration device may determine an optimal path according to the traffic characteristic information of the game traffic, and forward the game traffic to the corresponding game server through the corresponding optimal path. Meanwhile, the traffic acceleration device may record and sort traffic characteristic information of each local online game, which may be specifically shown in table 1.
Figure BDA0002261250510000041
In this way, the traffic acceleration device can periodically acquire the traffic characteristic information of each network game according to the recorded content. Here, the period of acquiring the traffic characteristic information may be determined according to the frequency of change of the traffic characteristic information of the general network game, and may be, for example, one week or one month. In addition, after the traffic characteristic information of the online game operated by the game operator is changed, the game operator can actively provide the changed traffic characteristic information to the traffic acceleration device, and then the traffic acceleration device can regularly arrange the traffic characteristic information of the online game provided by the game operator. For example, when a background server is newly added by a game operator, traffic characteristic information of all game traffic sent to the background server can be provided to the traffic acceleration device. Of course, the game operator may submit the traffic characteristic information to the central management device, and then the central management device distributes the traffic characteristic information to the traffic acceleration devices in the respective service coverage areas.
Step 202, the flow accelerating device periodically generates simulated game flow according to the flow characteristic information.
In implementation, after the traffic acceleration device obtains the traffic characteristic information of each network game, the traffic acceleration device may periodically generate, according to each traffic characteristic information, a simulated game traffic corresponding to the traffic characteristic information, where the simulated game traffic may be received by the local traffic acceleration device, and recognized as a user traffic, and forwarded while triggering optimal path detection. The simulation game flow corresponding to the flow characteristic information can be understood as the game flow which is simulated by the flow accelerating device and meets the corresponding flow characteristic information, the data volume and the data content of the simulation game flow can be randomly generated, and the simulation game flow can be used for detecting the subsequent trigger optimal path. Here, the traffic acceleration device may generate a corresponding simulation game traffic for each different traffic characteristic information of the network game in an optimal path detection period of each network game, so as to ensure that optimal path detection can be performed on traffic containing different traffic characteristics once in each detection period of the network game. The generation period of the simulated game flow corresponding to different network games can be freely adjusted, for example, the period duration can be prolonged when the network state is stable, the period duration can be shortened when the network state fluctuates, or the generation period of the simulated game flow of part of the games can be shortened or prolonged.
Alternatively, a script may be used to generate the simulated game flow, and accordingly, the process of step 202 may be as follows: the flow accelerating equipment compiles a flow simulation script according to the flow characteristic information; and the flow accelerating equipment periodically runs the flow simulating script to generate the simulated game flow.
In implementation, after the traffic acceleration device obtains the traffic characteristic information of each online game, a traffic simulation script for generating simulated game traffic may be written and deployed according to the traffic characteristic information, and the specific writing manner may be to input the traffic characteristic information into a manually preset script editor. One flow simulation script can be specially used for generating simulation game flow corresponding to one type of flow characteristic information, and can also be used for generating simulation game flow corresponding to various types of flow characteristic information. Of course, the flow simulation script may also be written manually by a technician of the network acceleration system, and then deployed in the flow acceleration device. Then, the flow acceleration device may periodically run the locally deployed flow simulation script, so as to generate simulated game flows corresponding to different flow characteristic information. Therefore, for the game flow simulation in the script form, the script content is controllable, the running frequency is controllable, and the freshness of the optimal path cache is also controllable, so that the game flow can be simulated more simply and conveniently, and manual inspection and modification are facilitated.
Optionally, when generating the simulated game traffic, the rare traffic characteristic information may be omitted, and accordingly, the following processing may exist before step 202: and the flow accelerating equipment deletes the flow characteristic information of which the occurrence times are less than a preset time threshold value.
In implementation, when the traffic acceleration device records traffic characteristic information of game traffic flowing through the local area, the occurrence number of each piece of traffic characteristic information may be updated at the same time, for example, if the traffic characteristic information receives game traffic satisfying the target traffic characteristic information sent by n (n is a positive integer) game terminals, the occurrence number of the target traffic characteristic information may be added by n. In addition, the traffic acceleration device may periodically reset the number of occurrences of each piece of traffic characteristic information, and the reset period of the number of occurrences may be determined according to the acquisition period of the traffic characteristic information in step 201. During resetting, the occurrence frequency of the flow characteristic information can be reset to zero, or the occurrence frequency before resetting can be reduced in proportion, and the reduced value is taken as the occurrence frequency after resetting. Therefore, before generating the simulation game flow for each flow characteristic information, the flow acceleration device may delete the flow characteristic information in which the occurrence frequency is smaller than the preset frequency threshold. It can be understood that the game traffic with too small occurrence frequency has a smaller probability of reoccurrence, so that the yield of frequently updating the corresponding optimal path is too small, and the simulation of the game traffic is cancelled, so that the processing resource of the traffic acceleration equipment can be saved while the game experience of the user is ensured to a certain extent.
Alternatively, the flow accelerating device may periodically generate the simulated game flow according to the flow characteristic information only when the flow accelerating device is in the game flow valley period.
In implementation, the traffic acceleration device may determine a game traffic valley period according to the game traffic flowing through each local network game, where the game traffic valley period may correspond to a single network game or a plurality of network games. Then, for the target network game, the traffic acceleration device may periodically generate the simulated game traffic of the target network game according to the traffic characteristic information of the target network game only in the game traffic valley period corresponding to the target network game, so as to trigger the subsequent detection processing of the optimal path. It can be understood that, during the game traffic peak period, the traffic acceleration device will frequently receive the game traffic, and then may trigger the detection processing of the optimal path based on the game traffic, so that at this time, it is not necessary to additionally trigger the detection of the optimal path by simulating the game traffic.
Optionally, the real game traffic may trigger the traffic acceleration device to suspend generating the simulated game traffic, and the corresponding processing may be as follows: and if the game flow which accords with the target flow characteristic information is received within the preset time length, the flow acceleration equipment cancels the generation of the simulated game flow corresponding to the target flow characteristic.
In implementation, under normal conditions, the traffic acceleration device may periodically generate a corresponding simulated game traffic according to the traffic characteristic information to trigger subsequent optimal path detection. If the game traffic corresponding to a certain flow characteristic information is received by the flow acceleration device just before the periodic time point is reached, the detection of the optimal path for the flow characteristic information is triggered, and then the game traffic corresponding to the flow characteristic information does not need to be simulated again by the flow acceleration device because the optimal path is just updated when the periodic time point is reached. Therefore, the flow acceleration device can detect whether the real game flow is received within the preset time before generating the simulation game flow. If the game flow which accords with the target flow characteristic information is received within the preset time length, the flow accelerating device can cancel the generation of the simulated game flow corresponding to the target flow characteristic, so that the repeated detection of the same optimal path in the same detection period can be avoided, and the processing resource of the device can be saved.
Optionally, the traffic acceleration device may actively generate the simulated game traffic when the network fluctuates, and accordingly, there may be two cases:
in the first case, if the detected transmission delay of the optimal path corresponding to the target flow characteristic information is greater than the preset standard delay, the flow acceleration device regenerates the simulated game flow corresponding to the target flow characteristic information within the preset emergency duration.
In implementation, the flow rate acceleration device may record a preset standard time delay of an optimal path corresponding to different flow rate characteristic information, and when the transmission time delay of the optimal path corresponding to a certain detected target flow rate characteristic information is greater than the preset standard time delay, network fluctuation occurs at a high probability, so that the flow rate acceleration device may regenerate a simulated game flow rate corresponding to the target flow rate characteristic information within a preset emergency duration to trigger detection of the optimal path again within a short period. Further, if the transmission delay of the re-detected optimal path is still greater than the preset standard delay, the flow acceleration device may re-generate the simulated game flow until the transmission delay is less than the preset standard delay. Therefore, by comparing the transmission time delay of the optimal path, the detection of the wrong optimal path can be avoided when the network fluctuates, and the detection accuracy of the optimal path is ensured.
And in the second situation, if the difference between the transmission delay of the optimal path corresponding to the detected target flow characteristic information and the transmission delay of the historical optimal path corresponding to the target flow characteristic information is larger than the preset difference value, the flow accelerating equipment regenerates the simulated game flow corresponding to the target flow characteristic information within the preset emergency duration.
In implementation, after detecting the optimal path corresponding to the target traffic characteristic information, the traffic acceleration device may record the transmission delay of the optimal path, and may compare the latest transmission delay of the optimal path with the transmission delay of the historical optimal path corresponding to the target traffic characteristic information. If the difference value of the two transmission time delays is larger than the preset difference value, the current network can be considered to be in a fluctuation state, and therefore the flow acceleration equipment can regenerate the simulated game flow corresponding to the target flow characteristic information within the preset emergency duration so as to trigger the detection of the optimal path again within a short period. Further, if the difference between the transmission delay of the re-detected optimal path and the transmission delay of the historical optimal path is still greater than the preset difference, the flow accelerating device may re-generate the simulated game flow. Therefore, by comparing the transmission time delay of the optimal path, the detection of the wrong optimal path can be avoided when the network fluctuates, and the detection accuracy of the optimal path is ensured.
In step 203, the flow accelerating device triggers the detection processing of the optimal path based on the simulation game flow.
In implementation, after generating the simulated game flow corresponding to any flow characteristic information, the flow acceleration device may trigger the detection processing of the optimal path based on the simulated game flow. Specifically, if the traffic acceleration device has a path detection function, after detecting a simulated game traffic of a certain traffic characteristic information, the traffic acceleration device may detect a latest optimal path corresponding to the traffic characteristic information according to a normal routing mechanism, and update a routing detection result corresponding to the traffic characteristic information, which is pre-stored locally, based on the latest optimal path. If the flow accelerating device does not have the function of path detection, the flow accelerating device can forward the flow characteristic information to the specified route selecting detection device according to the original steps after generating the simulated game flow of a certain flow characteristic information, so that the route selecting detection device detects and feeds back the latest optimal path corresponding to the flow characteristic information; furthermore, the traffic acceleration device may receive the latest optimal path, and update the routing detection result corresponding to the traffic characteristic information, which is pre-stored locally, based on the latest optimal path.
It can be understood that the traffic acceleration device may periodically perform optimal path detection on the received game traffic, specifically, in a detection period, the traffic acceleration device may receive real game traffic from a user, and at the same time, receive simulated game traffic from a local area, and may further perform optimal path detection based on the game traffic to determine an optimal path of the game traffic including different traffic characteristics, where the evaluation of the optimal path may be based on factors such as cost, line delay, packet loss rate, and bandwidth. Therefore, uncertainty of real user flow is made up through local flow simulation, optimal path detection processing can be periodically triggered aiming at all known flow characteristic information, a latest optimal path is obtained, flow acceleration equipment can forward game flow based on the latest optimal path, and acceleration service quality of a game is improved.
Optionally, in another embodiment, the central management device may summarize the traffic characteristic information of the traffic acceleration device, and return the summarized result to the traffic acceleration device, and accordingly, the processing in step 201 may be as shown in fig. 3, where the specific flow is as follows:
in step 301, the traffic acceleration device periodically collects traffic characteristic information of each local online game.
Step 302, the traffic acceleration device sends traffic characteristic information to the central management device.
Step 303, the central management device summarizes the traffic characteristic information uploaded by all the traffic acceleration devices.
In implementation, after receiving the traffic characteristic information uploaded by all the traffic acceleration devices, the central management device may collect all the traffic characteristic information, and specifically may collect all the traffic characteristic information according to the affiliated network game. Then, the central management device may respectively feed back the aggregated traffic characteristic information corresponding to each network game to different traffic acceleration devices according to the network game deployed on each traffic acceleration device.
And step 304, the flow accelerating device receives the summarized flow characteristic information of each online game fed back by the central management device.
Based on the above flow, the flow acceleration device can acquire relatively comprehensive flow characteristic information, and thus, the subsequent game flow simulation and optimal path detection can be performed based on the summarized flow characteristic information, so that the flow acceleration device can simulate game flows as much as possible, the probability of new game flows is reduced, and the flow acceleration quality of the network acceleration system is improved as a whole.
Optionally, when summarizing the traffic characteristic information, the central management device may perform local summarization according to the position relationship of the multiple traffic acceleration devices, and the specific processing may be as follows: the central management device collects traffic characteristic information uploaded by a plurality of traffic acceleration devices adjacent to a service coverage area.
In implementation, after receiving the traffic characteristic information uploaded by each traffic acceleration device, the central management device may first sort the traffic characteristic information according to the traffic acceleration device. Then, for the target traffic acceleration device, the central management device may first determine a plurality of traffic acceleration devices whose service coverage areas are adjacent to the service coverage area of the target traffic acceleration device, then summarize traffic characteristic information uploaded by the target traffic acceleration device and the plurality of traffic acceleration devices, and may further feed back the summarized result to the target traffic acceleration device. For example, for the traffic acceleration device deployed in beijing, the traffic characteristic information uploaded by the traffic acceleration devices deployed in beijing, tianjin and hebei may be summarized without summarizing the traffic characteristic information uploaded by the traffic acceleration devices deployed in other farther areas. Therefore, the current game flow is preferentially sent to the game server with a short distance, so that the flow characteristic information uploaded by a plurality of flow accelerating devices adjacent to the service coverage area is only collected, the simulation of the subsequent game flow can be ensured to be more comprehensive, the simulation of invalid game flow can be reduced, and the processing resource of the flow accelerating devices is saved.
In the embodiment of the invention, the flow accelerating equipment regularly acquires the flow characteristic information of each network application, wherein the flow characteristic information at least comprises the protocol type, the destination IP address and the destination port of the application flow; the flow accelerating equipment periodically generates simulation application flow according to the flow characteristic information; and the flow accelerating equipment triggers the detection processing of the optimal path based on the simulation application flow. Therefore, the flow acceleration equipment regularly simulates the application flows corresponding to different flow characteristic information to trigger the detection of the optimal path, so that the situation that the optimal path is inconsistent with the actual network state or cannot be obtained due to the fact that the cache is overdue after the optimal path is cached for a long time can be avoided, and when the real application flow arrives, the flow acceleration equipment can provide the more accurate and reliable optimal path, so that the user experience of network application can be improved.
Furthermore, the traffic acceleration device can obtain more comprehensive traffic characteristics of application traffic possibly sent by the network application by obtaining the aggregated traffic characteristic information from the central device and/or obtaining the changed traffic characteristic information from the operator, wherein the traffic characteristics can include new traffic characteristics which are not obtained by the local device, so that the optimal path of the traffic characteristics can be detected in advance through simulation before the new application traffic arrives for the first time, and the application traffic can be directly forwarded based on the optimal path obtained through detection when the real application traffic is received for the first time, thereby solving the problem that the first packet cannot be accelerated.
Based on the same technical concept, an embodiment of the present invention further provides a network acceleration system, where the network acceleration system includes a plurality of traffic acceleration devices deployed in a distributed manner, where the traffic acceleration devices are configured to:
periodically acquiring traffic characteristic information of each network application, wherein the traffic characteristic information at least comprises a protocol type, a destination IP address and a destination port of application traffic;
generating simulation application flow periodically according to the flow characteristic information;
and triggering the detection processing of the optimal path based on the simulation application flow.
Optionally, the network acceleration system further includes a central management device, where:
the traffic acceleration equipment is used for periodically collecting traffic characteristic information of each local network application;
the flow accelerating device is used for sending the flow characteristic information to the central management device;
the central management equipment is used for summarizing the flow characteristic information uploaded by all the flow accelerating equipment;
and the flow accelerating device is used for receiving the summarized flow characteristic information of each network application fed back by the central management device.
Optionally, the flow accelerating device is specifically configured to:
compiling a flow simulation script according to the flow characteristic information;
and periodically running the flow simulation script to generate simulation application flow.
Fig. 4 is a schematic structural diagram of a flow accelerating device according to an embodiment of the present invention. The traffic acceleration apparatus 400 may vary significantly due to configuration or performance differences and may include one or more central processors 422 (e.g., one or more processors) and memory 432, one or more storage media 430 (e.g., one or more mass storage devices) storing applications 442 or data 444. Wherein the memory 432 and storage medium 430 may be transient or persistent storage. The program stored on the storage medium 430 may include one or more modules (not shown), each of which may include a series of instructions operating on the flow acceleration device 400. Still further, the central processor 422 may be configured to communicate with the storage medium 430 to execute a series of instruction operations in the storage medium 430 on the flow acceleration device 400.
The traffic acceleration apparatus 400 may also include one or more power supplies 429, one or more wired or wireless network interfaces 450, one or more input-output interfaces 458, one or more keyboards 456, and/or one or more operating systems 441, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, and the like.
The traffic acceleration device 400 may include a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors to include processing by the traffic acceleration device in a method for generating an optimal path for performing the above-described probing.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (15)

1. A method for detecting generation of an optimal path, the method comprising:
the method comprises the steps that flow characteristic information of each network application is obtained regularly by flow accelerating equipment, wherein the flow characteristic information at least comprises a protocol type, a destination IP address and a destination port of application flow;
the flow accelerating equipment periodically generates simulation application flow according to the flow characteristic information;
and the flow accelerating equipment triggers the detection processing of the optimal path based on the simulation application flow.
2. The method of claim 1, wherein the traffic acceleration device periodically obtains traffic characterization information for each network application, comprising:
the traffic acceleration equipment regularly collects traffic characteristic information of each local network application;
and/or the presence of a gas in the gas,
the traffic accelerating device regularly arranges the traffic characteristic information of the network application provided by the application operator.
3. The method of claim 1, wherein the traffic acceleration device periodically obtains traffic characterization information for each network application, comprising:
the traffic acceleration equipment regularly collects traffic characteristic information of each local network application;
the flow accelerating equipment sends the flow characteristic information to central management equipment;
the central management equipment collects flow characteristic information uploaded by all the flow accelerating equipment;
and the flow accelerating equipment receives the summarized flow characteristic information of each network application fed back by the central management equipment.
4. The method according to claim 3, wherein the central management device aggregates the traffic characteristic information uploaded by all the traffic acceleration devices, and comprises:
the central management device collects traffic characteristic information uploaded by a plurality of traffic acceleration devices adjacent to a service coverage area.
5. The method of claim 1, wherein the traffic acceleration device periodically generates a simulated application traffic based on the traffic characterization information, comprising:
the flow accelerating equipment compiles a flow simulation script according to the flow characteristic information;
and the flow accelerating equipment periodically runs the flow simulation script to generate simulation application flow.
6. The method of claim 1, wherein before the traffic acceleration device periodically generating the simulated application traffic based on the traffic characterization information, the method further comprises:
and the flow accelerating equipment deletes the flow characteristic information of which the occurrence times are less than a preset time threshold.
7. The method of claim 1, wherein the traffic acceleration device periodically generates a simulated application traffic based on the traffic characterization information, comprising:
and when the flow acceleration equipment is in the application flow valley period, periodically generating the simulation application flow by the flow acceleration equipment according to the flow characteristic information.
8. The method of claim 1, further comprising:
and if the application flow which accords with the target flow characteristic information is received within the preset time length, the flow acceleration equipment cancels the generation of the simulated application flow corresponding to the target flow characteristic.
9. The method of claim 1, wherein after the traffic acceleration device triggers the detection process of the optimal path based on the simulated application traffic, the method further comprises:
and if the transmission delay of the optimal path corresponding to the detected target flow characteristic information is greater than the preset standard delay, the flow accelerating equipment regenerates the simulated application flow corresponding to the target flow characteristic information within the preset emergency duration.
10. The method of claim 1, wherein after the traffic acceleration device triggers the detection process of the optimal path based on the simulated application traffic, the method further comprises:
if the difference between the transmission delay of the optimal path corresponding to the detected target flow characteristic information and the transmission delay of the historical optimal path corresponding to the target flow characteristic information is larger than a preset difference value, the flow accelerating equipment regenerates the simulated application flow corresponding to the target flow characteristic information within a preset emergency duration.
11. A network acceleration system, comprising a plurality of traffic acceleration devices deployed in a distributed manner, wherein the traffic acceleration devices are configured to:
periodically acquiring traffic characteristic information of each network application, wherein the traffic characteristic information at least comprises a protocol type, a destination IP address and a destination port of application traffic;
generating simulation application flow periodically according to the flow characteristic information;
and triggering the detection processing of the optimal path based on the simulation application flow.
12. The network acceleration system of claim 11, characterized in that the network acceleration system further comprises a central management device, wherein:
the traffic acceleration equipment is used for periodically collecting traffic characteristic information of each local network application;
the flow accelerating device is used for sending the flow characteristic information to the central management device;
the central management equipment is used for summarizing the flow characteristic information uploaded by all the flow accelerating equipment;
and the flow accelerating device is used for receiving the summarized flow characteristic information of each network application fed back by the central management device.
13. The network acceleration system of claim 11, wherein the traffic acceleration device is specifically configured to:
compiling a flow simulation script according to the flow characteristic information;
and periodically running the flow simulation script to generate simulation application flow.
14. A traffic acceleration device comprising a processor and a memory, wherein the memory has stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by the processor to implement the processing of the traffic acceleration device in the method of detecting generation of an optimal path according to any one of claims 1 to 10.
15. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the process of a flow acceleration apparatus in the method of detecting generation of an optimal path according to any one of claims 1 to 10.
CN201911072036.XA 2019-11-05 2019-11-05 Method for detecting and generating optimal path and network acceleration system Active CN111107011B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911072036.XA CN111107011B (en) 2019-11-05 2019-11-05 Method for detecting and generating optimal path and network acceleration system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911072036.XA CN111107011B (en) 2019-11-05 2019-11-05 Method for detecting and generating optimal path and network acceleration system

Publications (2)

Publication Number Publication Date
CN111107011A true CN111107011A (en) 2020-05-05
CN111107011B CN111107011B (en) 2022-10-28

Family

ID=70420484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911072036.XA Active CN111107011B (en) 2019-11-05 2019-11-05 Method for detecting and generating optimal path and network acceleration system

Country Status (1)

Country Link
CN (1) CN111107011B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112615794A (en) * 2020-12-08 2021-04-06 四川迅游网络科技股份有限公司 Intelligent acceleration system and method for service flow characteristics
CN112615738A (en) * 2020-12-09 2021-04-06 四川迅游网络科技股份有限公司 Network acceleration method based on flow characteristics
CN114915598A (en) * 2021-02-08 2022-08-16 腾讯科技(深圳)有限公司 Network acceleration method and device of application program and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1822560A (en) * 2006-04-10 2006-08-23 武汉理工大学 Dynamic network route simulating system
CN104518899A (en) * 2013-09-30 2015-04-15 中国电信股份有限公司 Network routing traffic simulation method and device
CN105407010A (en) * 2015-12-31 2016-03-16 重庆邮电大学 Flow generation device capable of realizing software defined routing based on SDN (software defined networking) technologies
US20180013587A1 (en) * 2014-05-13 2018-01-11 Cisco Technology, Inc. Probing available bandwidth along a network path
CN107819596A (en) * 2016-09-12 2018-03-20 南京中兴软件有限责任公司 Diagnostic method, the apparatus and system of SDN failure
US20180176134A1 (en) * 2016-12-21 2018-06-21 Cisco Technology, Inc. MACHINE LEARNING-DERIVED ENTROPY PATH GRAPH FROM IN-SITU OAM (iOAM) DATA
CN108322925A (en) * 2018-01-29 2018-07-24 东北大学 The transmission path computational methods of differentiated service type in ultra dense degree isomery converged network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1822560A (en) * 2006-04-10 2006-08-23 武汉理工大学 Dynamic network route simulating system
CN104518899A (en) * 2013-09-30 2015-04-15 中国电信股份有限公司 Network routing traffic simulation method and device
US20180013587A1 (en) * 2014-05-13 2018-01-11 Cisco Technology, Inc. Probing available bandwidth along a network path
CN105407010A (en) * 2015-12-31 2016-03-16 重庆邮电大学 Flow generation device capable of realizing software defined routing based on SDN (software defined networking) technologies
CN107819596A (en) * 2016-09-12 2018-03-20 南京中兴软件有限责任公司 Diagnostic method, the apparatus and system of SDN failure
US20180176134A1 (en) * 2016-12-21 2018-06-21 Cisco Technology, Inc. MACHINE LEARNING-DERIVED ENTROPY PATH GRAPH FROM IN-SITU OAM (iOAM) DATA
CN108322925A (en) * 2018-01-29 2018-07-24 东北大学 The transmission path computational methods of differentiated service type in ultra dense degree isomery converged network

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112615794A (en) * 2020-12-08 2021-04-06 四川迅游网络科技股份有限公司 Intelligent acceleration system and method for service flow characteristics
CN112615794B (en) * 2020-12-08 2022-07-29 四川迅游网络科技股份有限公司 Intelligent acceleration system and method for service flow characteristics
CN112615738A (en) * 2020-12-09 2021-04-06 四川迅游网络科技股份有限公司 Network acceleration method based on flow characteristics
CN112615738B (en) * 2020-12-09 2023-02-28 四川迅游网络科技股份有限公司 Network acceleration method based on flow characteristics
CN114915598A (en) * 2021-02-08 2022-08-16 腾讯科技(深圳)有限公司 Network acceleration method and device of application program and electronic equipment
CN114915598B (en) * 2021-02-08 2023-10-20 腾讯科技(深圳)有限公司 Network acceleration method and device of application program and electronic equipment

Also Published As

Publication number Publication date
CN111107011B (en) 2022-10-28

Similar Documents

Publication Publication Date Title
CN111107011B (en) Method for detecting and generating optimal path and network acceleration system
CN109302346B (en) Method and device for transmitting data flow
CN111555963B (en) Message pushing method and device, electronic equipment and storage medium
CN113315744A (en) Programmable switch, flow statistic method, defense method and message processing method
US20050021706A1 (en) Method for checking the functionality of a content delivery network related system and computer product
CN106815254B (en) Data processing method and device
CN108900374B (en) Data processing method and device applied to DPI equipment
CN110262827B (en) Incremental updating method and device, storage medium and electronic equipment
CN108111432A (en) Message forwarding method and device
US9329961B2 (en) Testing development using real-time traffic
CN111064780B (en) Multitask content updating method, device, equipment and medium
CN110336790A (en) A kind of method and system of website detection
CN109800005A (en) A kind of hot update method of client and device
CN110808839A (en) Processing method, device, equipment and medium for block chain abnormal data
CN110574019B (en) Robust data replication between data centers
CN104852955A (en) Data processing method and system
CN107508759B (en) Information reporting method and device, computer readable storage medium and electronic equipment
CN109714214A (en) A kind of processing method and management equipment of server exception
CN112532714A (en) Data processing method, processing device, server and storage medium
CN110399095B (en) Storage space statistical method and device
CN103684809A (en) Network resource management method, device, client side and system
CN115396501B (en) Information processing method and device, electronic equipment and readable storage medium
CN108574610B (en) Pressure testing method and device, electronic equipment and medium
CN116389319A (en) Network online analysis and monitoring method and system based on node big data
CN113890858B (en) PMTU detection method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant