CN111030842A - Method, system, device and storage medium for adjusting acceleration strategy - Google Patents

Method, system, device and storage medium for adjusting acceleration strategy Download PDF

Info

Publication number
CN111030842A
CN111030842A CN201911088581.8A CN201911088581A CN111030842A CN 111030842 A CN111030842 A CN 111030842A CN 201911088581 A CN201911088581 A CN 201911088581A CN 111030842 A CN111030842 A CN 111030842A
Authority
CN
China
Prior art keywords
list
acceleration
address
line
transmission rate
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
CN201911088581.8A
Other languages
Chinese (zh)
Other versions
CN111030842B (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.)
Taikang Insurance Group Co Ltd
Original Assignee
Taikang Insurance Group 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 Taikang Insurance Group Co Ltd filed Critical Taikang Insurance Group Co Ltd
Priority to CN201911088581.8A priority Critical patent/CN111030842B/en
Publication of CN111030842A publication Critical patent/CN111030842A/en
Application granted granted Critical
Publication of CN111030842B publication Critical patent/CN111030842B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method, a system, equipment and a storage medium for adjusting an acceleration strategy, wherein the method comprises the following steps: acquiring a data transmission rate list of each IP address in a line; determining a first list according to the data transmission rate list, and configuring the line to accelerate transmission data packets of all IP addresses in the first list; after a first interval time, acquiring the acceleration effect of each IP address in the first list, and adding each IP address, of which the acceleration effect meets the acceleration stop condition, in the first list into a second list; and deleting the IP addresses in the second list from the first list to update the first list, and configuring the line to stop accelerating the transmission data packets of the IP addresses in the second list. The method of the invention enhances the acceleration effect of the wide area network and improves the use value of the acceleration equipment.

Description

Method, system, device and storage medium for adjusting acceleration strategy
Technical Field
The present invention relates to the field of internet communications, and in particular, to a method, system, device, and storage medium for automatically adjusting an acceleration policy based on transmission rate analysis.
Background
Today, as the internet is rapidly developed, more and more services are electronic, and rely on networks and systems, the internet technology has become an important part of human life. In the initial technical architecture, the request data of the user is directly sent to the service server, and the service server processes the request data according to the user request and then directly returns the processed request data to the user. However, because the user and the service server may have problems of long address location distance, different network operators, damaged line, overloaded line, etc., the communication between the user and the service server may have phenomena of slow transmission, slow feedback, high cost, interrupted transmission, etc., thereby affecting the internet experience of the user, increasing the cost of the content provider, and even bringing other unpredictable losses. The wide area network acceleration technology has come, and part of long-distance traffic is changed into local traffic by the wide area network acceleration technology, so that the service response speed is accelerated on the basis of reducing the bandwidth of a private line. However, the current wan acceleration devices have the following characteristics:
(1) the accelerating equipment generally adopts a side-hung deployment mode;
(2) when the traffic is accelerated, the traffic needing to be accelerated can be accelerated only by adding a routing table on the uplink and downlink routers and pointing to an accelerating device;
(3) the acceleration device does not accelerate all traffic significantly, and the traffic acceleration effect of special encryption and the like is not ideal.
The traffic with unobvious acceleration effect passes through the acceleration equipment, so that the processing performance load of the acceleration equipment is increased, and meanwhile, traffic jumping points are increased, so that the traffic response is slower.
In addition, the existing wan acceleration devices only add a small amount of traffic with a wide application range and a high usage rate, and cannot adjust the specific traffic, the burst short-time traffic and the newly added traffic of each branch company in time. In the present stage, the unified adjustment is only carried out when the line flow runs full, and the time and the labor are wasted.
Disclosure of Invention
Aiming at the problems in the prior art, the invention aims to provide a method for adjusting an acceleration strategy of a wide area network, which can effectively enhance the acceleration effect of the wide area network, thereby improving the use value of acceleration equipment.
The embodiment of the invention provides a method for adjusting an acceleration strategy, which is used for adjusting the acceleration strategy of a line and comprises the following steps:
acquiring a data transmission rate list of each IP address in the line;
determining a first list according to the data transmission rate list, and configuring the line to accelerate transmission data packets of all IP addresses in the first list;
after a first interval time, acquiring the acceleration effect of each IP address in the first list, and adding each IP address, of which the acceleration effect meets the acceleration stop condition, in the first list into a second list;
and deleting the IP addresses in the second list from the first list to update the first list, and configuring the line to stop accelerating the transmission data packets of the IP addresses in the second list.
Preferably, the step of obtaining the data transmission rate list of each IP address in the line includes the steps of:
acquiring the total data transmission rate of the line at intervals of a second interval;
judging whether the total data transmission rate of the line is greater than a first threshold value;
and if so, acquiring a data transmission rate list of each IP address in the line.
Preferably, the obtaining the acceleration effect of each IP address in the first list includes obtaining an acceleration effect quantization value of each session associated with each IP address in the first list;
and each IP address of which the acceleration effect meets the acceleration stop condition comprises the IP addresses of which the acceleration effect quantized values of all the sessions associated with the IP addresses are smaller than the second threshold value.
Preferably, the determining a first list according to the data transmission rate list includes:
acquiring a data transmission rate list of each IP address in the line, and sequencing each IP address according to the data transmission rate to obtain an IP sequencing list;
and selecting the IP addresses with the highest data transmission rate and the specified number from the IP ordered list or selecting the IP addresses with the data transmission rate larger than a rate threshold value from the IP ordered list, and adding the IP addresses into the first list.
Preferably, the step of obtaining the data transmission rate list of each IP address in the line and sorting each IP address according to the data transmission rate to obtain the IP sorted list includes the following steps:
obtaining a first list T1 determined for a previous acceleration phasek-1K represents the current acceleration phase at kth;
removing the first list T1 from the data transfer rate listk-1Each IP address in (a);
and sequencing all the IP addresses in the data transmission rate list obtained in the previous step according to the data transmission rate to obtain an IP sequencing list.
Selecting the IP addresses with the highest data transmission rate in the specified number from the IP ordered list or selecting the IP addresses with the data transmission rate larger than the rate threshold value from the IP ordered list, wherein the step of adding the IP addresses into the first list comprises the following steps: adding the IP addresses with the highest data transmission rate and the specified number selected from the IP ordered list or the IP addresses with the data transmission rate larger than the rate threshold value selected from the IP ordered list into a first list T1 of the previous acceleration stagek-1To obtain a first list T1 of the current acceleration stagek
Preferably, the line comprises at least two routes, and each route is connected with an accelerator;
configuring the line to accelerate transmission packets for each IP address in the first list, including:
configuring an uplink route and a downlink route of the IP address, so that a sending data packet and a receiving data packet of the IP address respectively point to an accelerator connected with the uplink route and an accelerator connected with the downlink route, and accelerating a transmission data packet of the IP address through the accelerators.
Preferably, the step of configuring the line to accelerate the transmission data packet of each IP address in the first list further comprises:
acquiring the data type and the corresponding data port of the data packet sent by each IP address in the first list;
and respectively setting an acceleration rule of each data port in an accelerator connected with an uplink route and an accelerator connected with a downlink route of the IP address.
The step of adding each IP address with the acceleration effect meeting the acceleration stop condition in the first list into a second list comprises the following steps:
judging whether all data ports of an IP address in the first list meet an acceleration stop condition;
if yes, adding the IP address into the second list;
and if part of the data ports of the IP address meet the acceleration stop condition, configuring the acceleration rule of the data ports meeting the acceleration stop condition in the corresponding accelerators as not to accelerate.
An embodiment of the present invention further provides a system for adjusting an acceleration policy, where the system includes:
the system comprises a line monitoring module, a line control module and a line control module, wherein the line monitoring module is used for monitoring the data transmission rate of a line and acquiring a data transmission rate list of each IP address in the line at each acceleration stage;
the first list management module is used for determining a first list according to the data transmission rate list when the current acceleration stage starts, and deleting the IP addresses in a second list from the first list after the second list is obtained in the current acceleration stage;
the second list management module is used for acquiring the acceleration effect of each IP address in the first list after the first list in the current acceleration stage is determined and a first interval time elapses, and adding each IP address in the first list, the acceleration effect of which meets the acceleration stop condition, into the second list;
and the acceleration configuration module is used for configuring the line to accelerate the transmission data packet of each IP address in the first list after the first list is determined, and configuring the line to stop accelerating the transmission data packet of each IP address in the second list after the second list is determined.
An embodiment of the present invention further provides an apparatus for adjusting an acceleration policy, including:
a processor;
a memory having stored therein executable instructions of the processor;
wherein the processor is configured to perform the steps of the method of adjusting an acceleration policy via execution of the executable instructions.
An embodiment of the present invention further provides a computer-readable storage medium storing a program, wherein the program is configured to implement the steps of the method for adjusting an acceleration policy when executed.
The method, the system, the equipment and the storage medium for adjusting the acceleration strategy realize an acceleration strategy adjusting mechanism with automatic adjustment and timely response, solve the problems that the existing wide area network acceleration strategy adjustment is time-consuming and labor-consuming, has larger adjustment interval and can not meet the requirement of the unification of actual conditions, enhance the acceleration effect and improve the use value of the acceleration equipment.
Drawings
FIG. 1 is a flowchart of a method for adjusting an acceleration strategy according to an embodiment of the present invention;
FIG. 2 is a block diagram of a system for adjusting an acceleration strategy according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a circuit according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an apparatus for adjusting an acceleration strategy according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
In order to solve the technical problem in the prior art, the present invention provides a method for adjusting an acceleration strategy, which is used for adjusting an acceleration strategy of a line to implement adjustment of an acceleration strategy of an acceleration device according to an actual situation. The method for adjusting the acceleration strategy comprises the following steps:
s100: acquiring a data transmission rate list of each IP address in the line;
s200: determining a first list according to the data transmission rate list, and configuring the line to accelerate transmission data packets of all IP addresses in the first list;
s300: after a first interval time, acquiring the acceleration effect of each IP address in the first list, and adding each IP address, of which the acceleration effect meets the acceleration stop condition, in the first list into a second list;
s400: and deleting the IP addresses in the second list from the first list to update the first list, and configuring the line to stop accelerating the transmission data packets of the IP addresses in the second list.
The above steps S100 to S400 are specifically described below with reference to the drawings and the specific embodiments.
As shown in fig. 1, the method for adjusting the acceleration strategy includes the following steps:
s100: acquiring a data transmission rate list of each IP address in the line; here, the obtaining of the data transmission rate list may be performed by monitoring the line using an existing data transmission monitoring system, for example, using a host system to obtain the data transmission rate list of the line;
the step S100 may actually include the following steps:
s110: acquiring the total data transmission rate of the line at intervals of a second interval;
s120: judging whether the total data transmission rate of the line is greater than a first threshold value;
s130: and if so, acquiring a data transmission rate list of each IP address in the line.
In this embodiment, the acceleration policy is adjusted at the beginning of each acceleration phase, and the steps S110 and S120 are used to determine the total data transmission rate in the line, when the total data transmission rate reaches a certain ratio of the upper limit of the line transmission rate, for example, the first threshold is 80% of the upper limit of the line transmission rate, it is considered that it is necessary to accelerate data transmission in the line, and at this time, a new acceleration phase is started, and step S130 is executed. And if the total data transmission rate of the line is greater than the first threshold value in the current acceleration stage, restarting the next acceleration stage, correspondingly adjusting the acceleration strategy of the next acceleration stage, if the total data transmission rate of the line is still less than or equal to the first threshold value, keeping the current acceleration stage, and accelerating the flow in the line according to the initially determined acceleration strategy of the acceleration stage.
After the step S100 is executed, the step S200 is executed: and determining a first list according to the data transmission rate list, and configuring the line to accelerate the transmission data packet of each IP address in the first list.
In the step S200, the determining the first list according to the data transmission rate list may include, in a specific embodiment:
s210: and acquiring a data transmission rate list of each IP address in the line, and sequencing each IP address according to the data transmission rate to obtain an IP sequencing list.
For example, when the line is a private line between a main company and a branch company, as shown in fig. 3, the line needs to have at least one switch 100 of the main company, at least one switch 100 'of the branch company, and corresponding routes 200 and 200', that is, the line includes at least two routes, and the routes 200 and 200 'are respectively connected to the accelerator 300 and the accelerator 300'. The different IP addresses included in the head office correspond to OA office systems, mail systems, UC communication systems, information platforms, etc., and the different IP addresses of the branch offices correspond to different users, user a, user B, user C, user D, etc. Monitoring this line, the IP ordered list can be as shown in table 1.
TABLE 1IP ORDERING TABLE
IP address Data transmission rate (Mbps)
10.129.38.206 OA office system] 85.68
10.129.168.200 mail system] 29.82
10.130.4.139 17.83
10.130.4.12 15.13
10.135.77.61 instant messaging system] 12.35
10.130.4.147 12.23
10.129.81.102[User C] 11.46
10.135.69.94 7.11
10.136.162.11 6.83
10.135.46.216 5.65
10.130.120.20 5.22
10.130.71.69 4.57
10.129.120.99 4.15
10.135.52.161 3.84
10.130.21.44 3.65
10.129.52.200 3.60
10.129.9.206 3.48
10.135.35.202 3.27
10.129.9.201 3.08
10.129.33.201 2.93
10.129.160.156[ user A ]] 2.92
Since the adjustment of the acceleration strategy is performed at the beginning of each acceleration phase, the end of the previous acceleration phase and the starting point in time of the current acceleration phase may be determined based on the total transmission rate in the line being greater than the first threshold value as described above. The method of the present invention may be implemented in a periodic loop, and step S210 in this embodiment may include the following steps:
s211: obtaining a first list T1 determined for a previous acceleration phasek-1K represents the current acceleration phase at kth;
s212: the first list T1 is deleted from the data transfer rate list of step S211k-1Each IP address in (a);
s213: and sorting the IP addresses in the data transmission rate list obtained in the step S212 according to the data transmission rate to obtain an IP sorted list, wherein the obtained IP sorted list is the IP address which is deleted and executed with the acceleration strategy.
Further, the step S200 further includes a step S220: and selecting the IP addresses with the highest data transmission rate and the specified number from the IP ordered list or selecting the IP addresses with the data transmission rate larger than a rate threshold value from the IP ordered list, and adding the IP addresses into the first list. Here, the number of IP addresses in the first list may be determined according to actual transmission conditions, and may be 10 or 20 with the highest data transmission rate; of course, the number of IP addresses in the first list may not be limited, and all IP addresses with data transmission rates greater than a certain rate threshold may be added to the first list.
Further, the step S220 includes: will select the designation of highest data transfer rate from the IP sorted listThe number of IP addresses or the IP addresses with the data transmission rate larger than the rate threshold value are selected from the IP ordered list and added into a first list T1 of the previous acceleration stagek-1To obtain a first list T1 of the current acceleration stagek
Further, in step S200, configuring the line to accelerate transmission data packets of each IP address in the first list may specifically be represented as:
configuring an uplink route and a downlink route of the IP address, so that a sending data packet and a receiving data packet of the IP address respectively point to an accelerator connected with the uplink route and an accelerator connected with the downlink route, and accelerating a transmission data packet of the IP address through the accelerators. As in the above example, if the IP address corresponding to the OA office system is added to the first list, the acceleration rules for the data transmitted by the IP address are configured at the head office's route 200 and the branch office's route 200 ', respectively. That is, after the data packet uploaded by the IP address corresponding to the OA office system is directed to the accelerator 300 through the router 200, the data packet is returned to the router 200, and the router 200 transmits the data packet to the router 200 'at the other end of the session, and similarly, the data packet is directed to the accelerator 300', the data packet is returned to the router 200 ', and finally the data packet is transmitted to the user through the router 200'.
Here, configuring the upstream route and the downstream route may be automatically modifying a routing table of the upstream route and the downstream route by an SSH (secure shell protocol) script, thereby eliminating a manual operation and ensuring security of the modification of the routing table.
The upstream route and the downstream route here may be two routing nodes included in the line, each route being connected to an accelerator device. In fact, in a wide area network, if the wide area network is not a private line, the number of routing nodes is greater than 2, and the wide area network can also be applied, and a plurality of routing nodes may exist in one line, and specific uplink routes and specific downlink routes corresponding to the IP addresses are determined according to network segments of the IP addresses and then are configured respectively.
In the prior art, different types of services, that is, different types of data transmission, have different acceleration rules or different mechanisms for accelerating the network, which are shown in the table 2. The present invention is not limited to this example, and other acceleration rules may be adopted, all of which are within the scope of the present invention.
TABLE 2 acceleration rules Table
Figure BDA0002266184900000091
Therefore, in step S200 of some embodiments of the present invention, configuring the line to accelerate transmission packets of each IP address in the first list further includes:
acquiring the data type and the corresponding data port of the sending data packet of each IP address in the first list, wherein one IP address comprises an HTTP type 80 port for example; generally, a line monitoring module for monitoring a data transmission rate of a line has a function of data type analysis;
and respectively setting an acceleration rule of each data port in an accelerator connected with an uplink route and an accelerator connected with a downlink route of the IP address.
It should be noted that in the embodiment of the present invention, the first list is further optimized, that is, in the present invention, step S300 is further performed: and after a first interval time, acquiring the acceleration effect of each IP address in the first list, and adding each IP address of which the acceleration effect meets the acceleration stop condition in the first list into a second list.
Likewise, the addition of the second list may be performed based on the second list of the previous acceleration phase, and the currently determined IP addresses whose acceleration effect satisfies the acceleration stop condition in the first list are added to the second list T2 of the previous acceleration phasek-1In (3), get the second list T2 of the current acceleration stagekAnd k represents the current kth acceleration phase.
In this embodiment, in step S300, acquiring an acceleration effect of each IP address in the first list, including acquiring an acceleration effect quantization value of each session associated with each IP address in the first list;
and each IP address of which the acceleration effect meets the acceleration stop condition comprises the IP addresses of which the acceleration effect quantized values of all the sessions associated with the IP addresses are smaller than the second threshold value.
The quantized value of the acceleration effect here differs depending on the acceleration apparatus, and for example, when a forward acceleration apparatus is used, the quantized value of the acceleration effect is a reduction parameter of the forward acceleration apparatus, and when another acceleration apparatus is used, the quantized value of the acceleration effect is a quantized value representing the acceleration effect, such as a reduction rate of transmission time of one session, a reduction rate of transmission data amount of one session, and the like. The value of the second threshold may be set as required, for example, when the quantization value of the acceleration effect is the reduction rate of the transmission data amount, the second threshold is set to 3%, 5%, etc., and may be adjusted according to actual situations, and all of them are within the protection scope of the present invention.
Taking the riverbed acceleration device as an example, when the riverbed acceleration device is used for acceleration, the riverbed provides the acceleration effect reduction parameter for each session in a list form. All sessions associated therewith refer to sessions in which the IP address to be determined exists as a source address or a destination address. For example, as shown in table 3 below, which is a list of acceleration effects for an acceleration device:
table 3 list of acceleration effects of acceleration devices
Source address Destination address Quantized value of acceleration effect Time of day
10.29.21.82:55027 10.129.38.206:80 82% 14:47:28
10.29.96.110:64987 10.129.38.206:80 83% 14:26:22
10.29.9.112:54607 10.129.38.206:80 87% 14:45:52
10.29.9.36:1252 10.129.81.102:50000 53% 14:48:21
10.29.72.4:61428 10.129.38.206:80 0% 14:40:22
In this embodiment, the adding, to the second list, each IP address in the first list whose acceleration effect satisfies the acceleration stop condition includes the following steps:
judging whether all data ports of an IP address in the first list meet an acceleration stop condition;
if yes, adding the IP address into the second list;
if part of the data ports of the IP address satisfy the acceleration stop condition, the acceleration rule of the data port satisfying the acceleration stop condition in the corresponding accelerator is configured as not to accelerate, for example, the acceleration rule of the data port is set to pass through in reverbed.
It should be noted that, since the acceleration effect can be evaluated only after the data transmission between the two IP addresses is completed, the session here can be understood as a data transmission service between the two IPs.
In practice, since the IP address is changed according to the needs of the user, or the type of the transmitted data is changed, and the acceleration effect of each session associated with the IP address in the second list is also changed accordingly, the second list can be updated in real time, in an embodiment, the time that each IP address is listed in the second list can be monitored at each acceleration stage, and the specific steps are as follows: from the second list T2kAnd deleting the IP address of which the time interval from the adding time to the current time is greater than a preset time threshold, wherein k represents that the current acceleration stage is in the kth acceleration stage. Similarly, the time threshold here may be set according to practice, and may be several days or several months.
Finally, step S400 is executed: and deleting the IP addresses in the second list from the first list to update the first list, and configuring the line to stop accelerating the transmission data packets of the IP addresses in the second list.
In this embodiment, in step S400, configuring the line to stop accelerating transmission packets of each IP address in the second list includes:
configuring the uplink route and the downlink route of the IP address, so that the sending data packet and the receiving data packet of the IP address directly point to the line, and the transmission data packet of the IP address does not pass through the accelerating equipment any more, so that the accelerating effect is not generated.
In an application, for example, the clique OA system is the a address, which was added to the first list in the previous acceleration phase, with its upstream and downstream routers already configured to point to the acceleration device. The acceleration device normally accelerates the traffic of the a address. When the OA system changes the B address in a certain time, as the B address does not exist in the first list and does not pass through the acceleration equipment, the special line flow rate is increased sharply, the special line flow rate is more than 80%, an optimization process is triggered, namely, a new acceleration stage is started, at the moment, the B address is added into the first list through the adjustment of the acceleration strategy, and the A address can be added into the second list and deleted from the first list, so that the problem of the sharp increase of the flow rate caused by the address change is solved.
As shown in fig. 3, an embodiment of the present invention further provides a system for adjusting an acceleration policy, for adjusting an acceleration policy of a line, where the system includes:
a line monitoring module M100, configured to monitor a data transmission rate of a line, and obtain a data transmission rate list of each IP address in the line at each acceleration stage;
a first list management module M200, configured to determine a first list according to the data transmission rate list when a current acceleration stage starts, and delete an IP address in a second list from the first list after the second list is obtained in the current acceleration stage;
a second list management module M300, configured to obtain, after a first list in a current acceleration stage is determined and a first interval time elapses, an acceleration effect of each IP address in the first list, and add each IP address in the first list, for which the acceleration effect satisfies an acceleration stop condition, to a second list;
an acceleration configuration module M400, configured to configure the line to accelerate the transmission data packet of each IP address in the first list after determining the first list, and configure the line to stop accelerating the transmission data packet of each IP address in the second list after determining the second list.
Still taking a line as a special line between a head office and a branch office as an example, the IP address corresponding to the OA office of the head office is a, and an uplink route and a downlink route of the address a are configured, so that the sending data packet and the receiving data packet of the address a respectively point to the accelerator connected to the uplink route and the accelerator connected to the downlink route, so as to accelerate the transmission data packet of the address a through the accelerators.
When the IP address corresponding to the OA office system of a certain general company is changed into the B address at a certain time, and when the total data transmission rate of the private line corresponding to the B address reaches the condition of triggering the acceleration strategy, the method can realize that the corresponding service can be transmitted at the optimized rate even if the IP address is changed by the service.
An electronic device 600 according to this embodiment of the invention is described below with reference to fig. 4. The electronic device 600 shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 4, the electronic device 600 is embodied in the form of a general purpose computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one memory unit 620, a bus 630 connecting the different platform components (including the memory unit 620 and the processing unit 610), a display unit 640, etc.
Wherein the storage unit stores program code executable by the processing unit 610 to cause the processing unit 610 to perform steps according to various exemplary embodiments of the present invention described in the above-mentioned electronic prescription flow processing method section of the present specification. For example, processing unit 610 may perform the steps as shown in fig. 1.
The storage unit 620 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)6201 and/or a cache memory unit 6202, and may further include a read-only memory unit (ROM) 6203.
The memory unit 620 may also include a program/utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 630 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 600, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 600 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 650. Also, the electronic device 600 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via the bus 630. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms, to name a few.
Embodiments of the present invention also provide a computer-readable storage medium for storing a program, where the program is executed to implement the steps of the method for adjusting an acceleration policy for sorting. In some possible embodiments, the aspects of the present invention may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps according to various exemplary embodiments of the present invention described in the above-mentioned electronic prescription flow processing method section of this specification, when the program product is run on the terminal device.
Referring to fig. 5, a program product 800 for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
In summary, the method, the system, the device and the storage medium for adjusting the acceleration strategy of the present invention implement an acceleration strategy adjustment mechanism with automatic adjustment and timely response, solve the problems that some existing wide area network acceleration strategies are time-consuming and labor-consuming to adjust, have large adjustment intervals and cannot meet the requirement of unification of actual conditions, enhance the acceleration effect and improve the use value of the acceleration device.
The foregoing is a more detailed description of the invention in connection with specific preferred embodiments and it is not intended that the invention be limited to these specific details. It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (10)

1. A method of adjusting an acceleration strategy, the method comprising the steps of:
acquiring a data transmission rate list of each IP address in a line;
determining a first list according to the data transmission rate list, and configuring the line to accelerate transmission data packets of all IP addresses in the first list;
after a first interval time, acquiring the acceleration effect of each IP address in the first list, and adding each IP address, of which the acceleration effect meets the acceleration stop condition, in the first list into a second list;
and deleting the IP addresses in the second list from the first list to update the first list, and configuring the line to stop accelerating the transmission data packets of the IP addresses in the second list.
2. The method of adjusting an acceleration policy according to claim 1, wherein said obtaining the data transmission rate list of each IP address in the line comprises the steps of:
acquiring the total data transmission rate of the line at intervals of a second interval;
judging whether the total data transmission rate of the line is greater than a first threshold value;
and if so, acquiring a data transmission rate list of each IP address in the line.
3. The method according to claim 1, wherein the obtaining the acceleration effect of each IP address in the first list comprises obtaining a quantization value of the acceleration effect of each session associated with each IP address in the first list;
and each IP address of which the acceleration effect meets the acceleration stop condition comprises the IP addresses of which the acceleration effect quantized values of all the sessions associated with the IP addresses are smaller than the second threshold value.
4. The method of adjusting a speed-up strategy according to claim 1, wherein said determining a first list from said list of data transmission rates comprises:
acquiring a data transmission rate list of each IP address in the line, and sequencing each IP address according to the data transmission rate to obtain an IP sequencing list;
and selecting the IP addresses with the highest data transmission rate and the specified number from the IP ordered list or selecting the IP addresses with the data transmission rate larger than a rate threshold value from the IP ordered list, and adding the IP addresses into the first list.
5. The method according to claim 4, wherein the step of obtaining the data transmission rate list of each IP address in the line and sorting each IP address according to the data transmission rate to obtain the IP sorted list comprises the following steps:
obtaining a first list T1 determined for a previous acceleration phasek-1K represents the current acceleration phase at kth;
removing the first list T1 from the list of data transfer ratesk-1Each IP address in (a);
sorting all IP addresses in the data transmission rate list obtained in the previous step according to the data transmission rate to obtain an IP sorted list;
selecting the IP addresses with the highest data transmission rate in the specified number from the IP ordered list or selecting the IP addresses with the data transmission rate larger than the rate threshold value from the IP ordered list, and adding the IP addresses into the first list comprises the following steps: adding the IP addresses with the highest data transmission rate and the specified number selected from the IP ordered list or the IP addresses with the data transmission rate larger than the rate threshold value selected from the IP ordered list into a first list T1 of the previous acceleration stagek-1To obtain a first list T1 of the current acceleration stagek
6. The method for adjusting an acceleration strategy according to claim 1, wherein the line comprises at least two routes, and each route is connected to an accelerator;
the configuring the line to accelerate the transmission packets of each IP address in the first list includes:
configuring an uplink route and a downlink route of the IP address, so that a sending data packet and a receiving data packet of the IP address respectively point to an accelerator connected with the uplink route and an accelerator connected with the downlink route, and accelerating a transmission data packet of the IP address through the accelerators.
7. The method of adjusting an acceleration policy according to claim 6, wherein said configuring said line to accelerate said transmitted packets for each IP address in said first list further comprises:
acquiring the data type and the corresponding data port of the data packet sent by each IP address in the first list;
setting acceleration rules of each data port in an accelerator connected with an uplink route and an accelerator connected with a downlink route of the IP address respectively;
adding each IP address with the acceleration effect meeting the acceleration stop condition in the first list into a second list, wherein the method comprises the following steps:
judging whether all data ports of an IP address in the first list meet an acceleration stop condition;
if yes, adding the IP address into the second list;
and if part of the data ports of the IP address meet the acceleration stop condition, configuring the acceleration rule of the data ports meeting the acceleration stop condition in the corresponding accelerators as not to accelerate.
8. A system for adjusting an acceleration strategy, the system comprising:
the system comprises a line monitoring module, a line control module and a line control module, wherein the line monitoring module is used for monitoring the data transmission rate of a line and acquiring a data transmission rate list of each IP address in the line at each acceleration stage;
the first list management module is used for determining a first list according to the data transmission rate list when the current acceleration stage starts, and deleting the IP addresses in a second list from the first list after the second list is obtained in the current acceleration stage;
the second list management module is used for acquiring the acceleration effect of each IP address in the first list after the first list in the current acceleration stage is determined and a first interval time elapses, and adding each IP address in the first list, the acceleration effect of which meets the acceleration stop condition, into the second list;
and the acceleration configuration module is used for configuring the line to accelerate the transmission data packet of each IP address in the first list after the first list is determined, and configuring the line to stop accelerating the transmission data packet of each IP address in the second list after the second list is determined.
9. An apparatus for adjusting an acceleration strategy, comprising:
a processor;
a memory having stored therein executable instructions of the processor;
wherein the processor is configured to perform the steps of the method of adjusting an acceleration policy of any one of claims 1 to 7 via execution of the executable instructions.
10. A computer-readable storage medium storing a program, wherein the program is configured to implement the steps of the method for adjusting an acceleration policy of any one of claims 1 to 7 when executed.
CN201911088581.8A 2019-11-08 2019-11-08 Method, system, device and storage medium for adjusting acceleration strategy Active CN111030842B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911088581.8A CN111030842B (en) 2019-11-08 2019-11-08 Method, system, device and storage medium for adjusting acceleration strategy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911088581.8A CN111030842B (en) 2019-11-08 2019-11-08 Method, system, device and storage medium for adjusting acceleration strategy

Publications (2)

Publication Number Publication Date
CN111030842A true CN111030842A (en) 2020-04-17
CN111030842B CN111030842B (en) 2022-12-13

Family

ID=70205377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911088581.8A Active CN111030842B (en) 2019-11-08 2019-11-08 Method, system, device and storage medium for adjusting acceleration strategy

Country Status (1)

Country Link
CN (1) CN111030842B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114968391A (en) * 2021-05-26 2022-08-30 中移互联网有限公司 Application program acceleration method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003338838A (en) * 2002-05-20 2003-11-28 Mitsubishi Electric Corp Communication control unit, and communication control method
CN101841387A (en) * 2009-03-19 2010-09-22 中国移动通信集团江西有限公司 Wide area network data speed acceleration method, device and system
CN101945103A (en) * 2010-08-09 2011-01-12 中国电子科技集团公司第五十四研究所 IP (Internet Protocol) network application accelerating system
CN102667509A (en) * 2009-10-08 2012-09-12 霍乐网络有限公司 System and method for providing faster and more efficient data communication
CN104283810A (en) * 2013-07-08 2015-01-14 中国电信股份有限公司 Processing method of uplink bandwidth and home gateway
CN108429701A (en) * 2018-02-08 2018-08-21 四川速宝网络科技有限公司 network acceleration system
CN110213072A (en) * 2018-04-19 2019-09-06 腾讯科技(深圳)有限公司 Network equipment control method and network service processing method
CN110688169A (en) * 2019-09-16 2020-01-14 腾讯科技(深圳)有限公司 Application program acceleration method and device, storage medium and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003338838A (en) * 2002-05-20 2003-11-28 Mitsubishi Electric Corp Communication control unit, and communication control method
CN101841387A (en) * 2009-03-19 2010-09-22 中国移动通信集团江西有限公司 Wide area network data speed acceleration method, device and system
CN102667509A (en) * 2009-10-08 2012-09-12 霍乐网络有限公司 System and method for providing faster and more efficient data communication
CN101945103A (en) * 2010-08-09 2011-01-12 中国电子科技集团公司第五十四研究所 IP (Internet Protocol) network application accelerating system
CN104283810A (en) * 2013-07-08 2015-01-14 中国电信股份有限公司 Processing method of uplink bandwidth and home gateway
CN108429701A (en) * 2018-02-08 2018-08-21 四川速宝网络科技有限公司 network acceleration system
CN110213072A (en) * 2018-04-19 2019-09-06 腾讯科技(深圳)有限公司 Network equipment control method and network service processing method
CN110688169A (en) * 2019-09-16 2020-01-14 腾讯科技(深圳)有限公司 Application program acceleration method and device, storage medium and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114968391A (en) * 2021-05-26 2022-08-30 中移互联网有限公司 Application program acceleration method and device
CN114968391B (en) * 2021-05-26 2023-07-25 中移互联网有限公司 Application acceleration method and device

Also Published As

Publication number Publication date
CN111030842B (en) 2022-12-13

Similar Documents

Publication Publication Date Title
US11012520B2 (en) Manage a network of microservices
US8441931B2 (en) Method and device for managing priority during the transmission of a message
US9219691B2 (en) Source-driven switch probing with feedback request
CN109660467B (en) Method and apparatus for controlling flow
US11119828B2 (en) Digital processing system for event and/or time based triggering management, and control of tasks
CN111343097B (en) Link load balancing method and device, electronic equipment and storage medium
CN105656786B (en) A kind of router look-up method based on fast, slow table
CN111030842B (en) Method, system, device and storage medium for adjusting acceleration strategy
US9998377B2 (en) Adaptive setting of the quantized congestion notification equilibrium setpoint in converged enhanced ethernet networks
US20220107750A1 (en) Method, electronic device, and computer program product for processing data
CN112491736B (en) Congestion control method and device, electronic equipment and storage medium
US7720951B2 (en) Method, system, and product for alleviating router congestion
CN113765812A (en) Method and device for marking message
US11108666B2 (en) Latency prediction and network message microtiming
CN113254191A (en) Method, electronic device and computer program product for running applications
CN115277504B (en) Network traffic monitoring method, device and system
CN113411267B (en) Message forwarding method and device
CN114189890A (en) Method, device, equipment and storage medium for updating network service quality model
CN113422699A (en) Data stream processing method and device, computer readable storage medium and electronic equipment
Lhamo et al. RED-SP-CoDel: Random early detection with static priority scheduling and controlled delay AQM in programmable data planes
CN102833162B (en) The method of adjustment of number of buffer and device
CN113438183B (en) Outgoing flow control method, device, equipment and storage medium of network framework
CN116886623A (en) Data transmission control method and device, electronic equipment and storage medium
Lai et al. Using the depository buffer to mitigate the communications load between SDN switches and the controller
CN117376212A (en) Network rate adjustment method and device, storage medium and electronic equipment

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