CN111786901B - Transmission parameter self-adaptive adjustment method and acceleration service system - Google Patents
Transmission parameter self-adaptive adjustment method and acceleration service system Download PDFInfo
- Publication number
- CN111786901B CN111786901B CN202010434735.0A CN202010434735A CN111786901B CN 111786901 B CN111786901 B CN 111786901B CN 202010434735 A CN202010434735 A CN 202010434735A CN 111786901 B CN111786901 B CN 111786901B
- Authority
- CN
- China
- Prior art keywords
- transmission
- virtual machine
- message
- rate
- acceleration service
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/28—Flow control; Congestion control in relation to timing considerations
- H04L47/283—Flow control; Congestion control in relation to timing considerations in response to processing delays, e.g. caused by jitter or round trip time [RTT]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
- H04L47/2425—Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/32—Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The application provides a transmission parameter self-adaptive adjustment method and an acceleration adjustment system, wherein the method comprises the following steps: the central node sends a virtual machine installation instruction to the edge node according to the user acceleration service information, wherein the virtual machine installation instruction comprises an acceleration service script corresponding to the user acceleration service information, and the edge node is the edge node to which the user belongs; the edge node receives the virtual machine installation instruction sent by the center node, and completes the creation of a virtual machine according to the virtual machine installation instruction; the virtual machine sends the data message according to the transmission parameters in the acceleration service script, and updates the transmission parameters in real time according to the acceleration service script. The application can update the transmission parameters in real time, thereby adaptively adjusting the transmission parameters according to the change of the network environment, further adjusting the transmission strategy of the data message and optimizing the network service.
Description
Technical Field
The application relates to the technical field of internet, in particular to a transmission parameter self-adaptive adjustment method and an acceleration service system.
Background
With the vigorous development of the internet, various network applications such as online live broadcast, online on-demand broadcast, online shopping and the like appear like spring bamboo shoots after rain, and in order to meet the network access requirements of various network applications, network access modes are also quite different, and the main stream is wifi 2.4g, wifi 5g, fixed network access, 3g network system, 4g network system, optical fiber access and the like.
In practice, the network access mode is not fixed, for example, the network access mode may be changed from wifi 5g to 4g network mode. The network access modes are different, the network environments are different, and if the network transmission parameters are fixed, part of network applications cannot be accessed.
Disclosure of Invention
The embodiment of the application provides a transmission parameter self-adaptive adjustment method and an acceleration service system, which are used for solving the technical problem that partial network applications cannot be accessed due to fixed network transmission parameters in the prior art.
In one aspect of the embodiment of the present application, a transmission parameter adaptive adjustment method is provided, and is applied to an acceleration adjustment system, where the system includes a center node and an edge node, and the method includes:
the center node sends a virtual machine installation instruction to an edge node according to user acceleration service information, wherein the virtual machine installation instruction comprises an acceleration service script corresponding to the user acceleration service information;
the edge node receives the virtual machine installation instruction sent by the center node, and completes the creation of a virtual machine according to the virtual machine installation instruction;
and the virtual machine sends a data message according to the transmission parameters in the acceleration service script, and updates the transmission parameters in real time according to the acceleration service script.
Optionally, the step of updating the transmission parameters by the virtual machine in real time according to the acceleration service script includes:
receiving a response message, wherein the response message is: the client receives the data message transmitted by the edge node and then feeds back the message to the edge node;
determining quality parameters for representing the transmission quality of the messages according to the transmission condition of each message in unit time;
and updating transmission parameters in the acceleration service script by using the determined quality parameters.
Optionally, the quality parameters include: the packet loss rate in the unit time and the rate of receiving each message in the unit time;
the transmission parameters include: packet loss tolerance, data packet buffer size, data packet transmission rate, congestion window size, and round trip time rate of change.
Optionally, the step of determining a quality parameter for characterizing transmission quality of the messages according to the transmission condition of each message in the unit time includes:
counting the number of the data messages transmitted in the unit time;
counting the number of received response messages in the unit time;
determining a packet loss rate by using the number of the transmission data messages and the number of the receiving response messages;
optionally, the step of determining a quality parameter for characterizing the transmission quality of the messages according to the transmission condition of each message in the unit time includes
Counting the number of received response messages in the unit time;
and calculating the rate of receiving each message by using the number of the response messages and the unit time.
Optionally, the step of updating the transmission parameter with the determined quality parameter includes:
under the condition that the rate of receiving each message is not greater than the last counted rate of receiving each message, the packet loss tolerance is reduced;
and under the condition that the rate of receiving each message is greater than the last counted rate of receiving each message, improving the tolerance of packet loss.
Optionally, the step of updating the transmission parameter with the determined quality parameter includes:
under the condition that the packet loss rate is smaller than the packet loss tolerance, the sending rate of the data message is improved;
and under the condition that the packet loss rate is not smaller than the packet loss tolerance, reducing the sending rate of the data message.
Optionally, the step of updating the transmission parameter with the determined quality parameter includes:
determining a current transmission bandwidth;
judging whether the increase rate of the current transmission bandwidth compared with the transmission bandwidth determined last time is limited by the size of a data message buffer area or not;
and if the data message buffer area is limited, increasing the size of the data message buffer area.
Optionally, the step of updating the transmission parameter with the determined quality parameter includes:
in the case where the rate of change of the round trip time increase compared to the last calculated round trip time is not less than the historical average round trip time rate of change, the congestion window size is increased.
In yet another aspect of the embodiment of the present application, there is further provided an acceleration adjustment system, including a center node and an edge node:
the center node is used for sending a virtual machine installation instruction to the edge node according to the user acceleration service information, wherein the virtual machine installation instruction comprises an acceleration service script corresponding to the user acceleration service information;
the edge node is used for receiving the virtual machine installation instruction, completing the creation of the virtual machine according to the virtual machine installation instruction, sending a data message by the virtual machine according to the transmission parameters in the acceleration service script, and updating the transmission parameters in real time according to the acceleration service script.
Optionally, the virtual machine in the edge node is configured to:
receiving a response message, wherein the response message is: the client receives the data message transmitted by the edge node and then feeds back the message to the edge node;
determining quality parameters for representing the transmission quality of the messages according to the transmission condition of each message in unit time;
and updating transmission parameters in the acceleration service script by using the determined quality parameters.
Optionally, the quality parameters include: the packet loss rate in the unit time and the rate of receiving each message in the unit time;
the transmission parameters include: packet loss tolerance, data packet buffer size, data packet transmission rate, congestion window size, and round trip time rate of change.
Optionally, the virtual machine is configured to:
counting the number of the data messages transmitted in the unit time;
counting the number of received response messages in the unit time;
and determining the packet loss rate by using the number of the transmission data messages and the number of the receiving response messages.
Optionally, the virtual machine is further configured to:
counting the number of received response messages in the unit time;
and determining the rate of receiving each message by using the number of the response messages and the unit time.
Optionally, the virtual machine is further configured to:
under the condition that the rate of receiving each message is not greater than the last counted rate of receiving each message, the packet loss tolerance is reduced;
and under the condition that the rate of receiving each message is greater than the last counted rate of receiving each message, improving the tolerance of packet loss.
Optionally, the virtual machine is further configured to:
under the condition that the packet loss rate is smaller than the packet loss tolerance, the sending rate of the data message is improved;
and under the condition that the packet loss rate is not less than the packet loss tolerance, reducing the sending rate of the data message.
Optionally, the virtual machine is further configured to:
determining a current transmission bandwidth;
judging whether the increase rate of the current transmission bandwidth compared with the transmission bandwidth determined last time is limited by the size of a data message buffer area or not;
and if the data message buffer area is limited, increasing the size of the data message buffer area.
Optionally, the virtual machine is further configured to:
in the case where the rate of change of the round trip time increase compared to the last calculated round trip time is not less than the historical average round trip time rate of change, the congestion window size is increased.
In yet another aspect of the present application, there is further provided a node device, where the node device includes a processor and a memory, where the memory stores at least one instruction, at least one section of program, a code set, or an instruction set, and the at least one instruction, the at least one section of program, the code set, or the instruction set is loaded and executed by the processor to implement a processing procedure performed by the edge node in the transmission parameter adaptive adjustment method of the first aspect.
In yet another aspect of the implementation of the present application, there is further provided a computer readable storage medium, where at least one instruction, at least one program, a code set, or an instruction set is stored, where the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement a processing procedure performed by the edge node in the transmission parameter adaptive adjustment method of the first aspect.
In the embodiment of the application, the central node can pre-inject the corresponding acceleration service script into the mirror image file of the user virtual machine according to the user acceleration service requirement to create the virtual machine containing the acceleration service; the virtual machine can send the data message according to the transmission parameters in the acceleration service script, and can update the transmission parameters in real time according to the acceleration service script, so that the transmission parameters are adaptively adjusted according to the change of the network environment, the transmission strategy of the data message is adjusted, and the network service is optimized.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate and together with the description serve to explain the application. In the drawings:
fig. 1 is a schematic structural diagram of an acceleration adjusting system according to an embodiment of the present application;
fig. 2 is a flow chart of a transmission parameter adaptive adjustment method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a node device according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following embodiments and the accompanying drawings, in order to make the objects, technical solutions and advantages of the present application more apparent. The exemplary embodiments of the present application and the descriptions thereof are used herein to explain the present application, but are not intended to limit the application.
The application environment for the technical problems should be described clearly, and the technical problems which are not completely explained are further explained on the basis of the background art.
The embodiment of the application provides a transmission parameter self-adaptive adjustment method which can be applied to an acceleration adjustment system shown in fig. 1. The acceleration adjustment system includes a central node and a plurality of edge nodes. A virtual machine of the user may be created in the edge node for controlling the data transfer. The service mode after decentralization causes that a plurality of edge nodes, such as home routers and other devices, can be regarded as the edge nodes, the edge nodes belong to users, and a third party cannot log in a virtual machine of the users to change transmission configuration, so that a provider providing acceleration service cannot timely change transmission parameters according to actual conditions. In the embodiment of the application, the central node can pre-inject the corresponding acceleration service script into the image file of the user virtual machine according to the user acceleration service requirement to create the virtual machine containing the acceleration service. The virtual machine can send the data message according to the transmission parameters in the acceleration service script, and can update the transmission parameters in real time according to the acceleration service script, so that the transmission parameters are adaptively adjusted according to the change of the network environment, the transmission strategy of the data message is adjusted, and the network service is optimized.
Referring to fig. 2, a flow chart of a parameter updating method provided by an embodiment of the present application is applied to an acceleration adjustment system, where the system includes a center node and an edge node, and the method may specifically include the following steps.
Step 200, the central node sends a virtual machine installation instruction to the edge node according to the user acceleration service information, wherein the virtual machine installation instruction comprises an acceleration service script corresponding to the user acceleration service information, and the edge node is the edge node to which the user belongs.
After the central node acquires the user acceleration service information, selecting a corresponding acceleration service script, and then sending a virtual machine installation instruction to the edge node. The user acceleration service information may include a service opening condition and an acceleration traffic type. The acceleration service type may include live service, on-demand service, small file transfer service, large file transfer service, cross-country cross-operator transfer service, service that uses a multi-stream racing mode to transfer data, and so on.
The virtual machine installation instructions may include a virtual machine name and ID, a user to which the virtual machine belongs, a virtual machine specification, an acceleration service start-stop condition, and an acceleration service script.
The virtual machine specification may include: memory size, disk space, network operators to which they belong, etc.
In implementation, a plurality of acceleration service scripts for implementing network acceleration requirements for different service types may be preset in the central node, for example, the acceleration service scripts may include: the method comprises the steps of a script for realizing network acceleration requirements in live broadcast service, a script for realizing network acceleration requirements in on-demand service, a script for realizing network acceleration requirements in small file transmission service, a script for realizing network acceleration requirements in large file transmission service, a script for realizing network acceleration requirements in application of cross-operator transmission service across countries, and a script for realizing network acceleration requirements in service for transmitting data by using a multi-stream racing mode.
The central node can select a corresponding acceleration service script according to the acceleration service type of the user acceleration service requirement so as to create a virtual machine, thereby realizing the customized service of different user requirements.
It should be noted that, the central node may issue, in addition to the instruction for installing the virtual machine to the edge node, a service instruction such as unloading the virtual machine, upgrading the version of the virtual machine, accelerating the service type change (for example, changing the small file transmission service into the large file transmission service), starting and stopping the service, and optimizing the service type (accelerating the service script configuration and optimization) and the like.
In step 210, the edge node receives the virtual machine installation instruction sent by the central node, and completes the creation of the virtual machine according to the virtual machine installation instruction.
After the edge node receives the virtual machine installation instruction sent by the center node, the acceleration service script in the instruction is injected into the image file of the virtual machine, so that the creation of the virtual machine is completed. Currently, image file installation can use centos7.0+, ubuntu16.04+, etc.
After the acceleration service script is injected into the image file of the virtual machine, the image file of the virtual machine is operated, and parameters are configured by utilizing the specification parameters of the virtual machine, so that the creation of the virtual machine is completed. In the process of creating the virtual machine, the acceleration service script can be automatically executed, so that when the data message is subsequently transmitted to the client, the transmission parameters in the acceleration service script are updated in real time, and the transmission strategy of the data message can be adjusted.
Step 220, the virtual machine sends the data message according to the transmission parameters in the acceleration service script, and updates the transmission parameters in real time according to the acceleration service script.
The process of updating the transmission parameters in real time by the virtual machine according to the acceleration service script may specifically include the following steps.
Step 221, receiving the response message.
The response message is as follows: and the client receives the data message transmitted by the edge node and feeds back the data message to the edge node.
In practice, in order for the edge node to be able to confirm that the client has received the data message transmitted by the edge node, the client sends a response message to the edge node after receiving the data message transmitted by the edge node. Specifically, the response message may include an identifier of the data message, and after the virtual machine receives the response message, the virtual machine may confirm which data messages have been received, and the data messages that have not been received need to be retransmitted.
Step 222, determining a quality parameter for representing the transmission quality of the messages according to the transmission condition of each message in the unit time.
In practice, the unit Time may be a constant value, and Round-Trip Time (RTT) may be used as the unit Time. Round trip time, i.e., the duration between the time of transmission of a data message and the time of receipt of a response message. For example, the sending time of the data message is: the receiving time of the response message is that: month 4 of 2020, day 20, 08:59:37; RTT is 37-21=16 seconds. And calculating corresponding round trip time when receiving one response message, and updating the unit time correspondingly if the round trip time changes.
In the implementation, each time the virtual machine receives a response message, the quality parameter of the current message transmission is determined, and then the transmission parameter in the acceleration service script is updated according to the quality parameter. Specifically, the unit time refers to a time period of pushing forward a unit time from the current time or the time when the response message is received. For example, the current time is 08:59:37, and the unit time is 16 seconds, and the unit time is the time period of 08:59:21 to 08:59:37.
In practice, the quality parameters may include: packet loss rate in unit time, rate for representing received each message of quantity of received each response message in unit time.
In implementation, the packet loss rate is a ratio between the number of feedback response messages of the client which are not received by the virtual machine in unit time and the number of data messages sent to the client. In the counting process, counting the number of the data messages transmitted in unit time; counting the number of received response messages in unit time; and finally, determining the packet loss rate by using the number of the transmission data messages and the number of the received response messages. For example, the number of data messages transmitted in a unit time is 100, the number of received response messages is 80, and the packet loss rate is (100-80)/100=20%.
The greater the number of received response messages per unit time, the higher the rate at which each message is received. Counting the number of received response messages of the received response messages in unit time; and calculating the rate of receiving each message by using the number of received response messages and the unit time. For example, the number of received response messages is 80, the unit time is 2 seconds, and the rate of receiving each message is 80/2=40.
And step 223, updating the transmission parameters in the acceleration service script by using the determined quality parameters.
In implementations, the transmission parameters may include: packet loss tolerance, data message buffer, data message sending rate, congestion window and round trip time change rate.
In practice, a higher rate of receiving each message indicates a faster transmission of the message in the network, and a better current network environment. After each time of receiving the response message, the virtual machine can calculate the rate of receiving each message once, so as to measure the current network environment, and when the network environment is poor, namely, the rate of receiving each message is not greater than the rate of receiving each message counted last time, the packet loss tolerance can be reduced; when the network environment is good, that is, when the rate of receiving each message is greater than the last counted rate of receiving each message, in order to better utilize network resources, the packet loss tolerance can be improved, and the maximization of the network resource utilization rate is realized by adaptively adjusting the packet loss tolerance.
In one implementation, the packet loss tolerance may be adjusted according to the degree of change of the rate of receiving each packet, for example, the rate of receiving each packet this time may be calculated, and the packet loss tolerance may be increased or decreased according to the calculated rate of change, compared to the rate of receiving each packet last time.
The packet loss tolerance, namely, the limit value of the packet loss rate, in the implementation, the smaller the packet loss rate is, the smaller the lost quantity in the data message transmission process is, the better the current network environment is, and in order to fully utilize network resources, the sending rate of the data message can be improved under the condition that the packet loss rate is smaller than the packet loss tolerance; and under the condition that the packet loss rate is not less than the packet loss tolerance, the sending rate of the data message is reduced.
In one implementation, the transmission rate change step size may be preset, and the transmission rate is gradually increased or decreased according to the transmission rate change step size when the transmission rate is increased or decreased;
in an implementation, after the virtual machine transmits the data message to the client, and when the response message of the client is not received, the data message is stored in the data message buffer area for buffering. Correspondingly, when the data volume of the data message to be cached in unit time is not smaller than the data message buffer area, that is, the current data message buffer area is insufficient to store the data message to be cached, the data message buffer area is required to be increased, the data message buffer area is dynamically adjusted, and the data message transmission is limited when the storage space of the data message buffer area is not sufficient.
In one implementation, the size of the data message buffer area can be adjusted according to the data volume of the data message to be cached, so that the data volume of the data message buffer area can be ensured to be higher than the data volume of the data message to be cached.
In an implementation, the virtual machine may also adjust the size of the data packet buffer according to the transmission bandwidth, and the specific flow includes: after receiving the response message, determining the current transmission bandwidth; judging whether the increase rate of the current transmission bandwidth compared with the transmission bandwidth determined last time is limited by the size of a data message buffer area or not; if so, the data message buffer size is increased.
In the implementation, the longer round trip time of the message indicates that the current network environment is congested, in order to smoothly transmit the data message, the congestion window size can be increased under the condition that the change rate of the round trip time increase compared with the round trip time calculated last time is not less than the change rate of the round trip time; in the case that the rate of change of the round trip time increase compared with the round trip time calculated last time is not less than the rate of change of the round trip time, the congestion window size can be reduced, and smooth transmission of the data message is ensured by adjusting the congestion window size.
By applying the scheme provided by the embodiment of the application, after receiving the response message of the client, the quality parameter for representing the transmission quality of the message is determined, and the transmission parameter is updated in real time by utilizing the determined quality parameter, so that the transmission quality of the data message is ensured.
In the embodiment of the application, the central node can pre-inject the corresponding acceleration service script into the mirror image file of the user virtual machine according to the user acceleration service requirement to create the virtual machine containing the acceleration service; the virtual machine can send the data message according to the transmission parameters in the acceleration service script, and can update the transmission parameters in real time according to the acceleration service script, so that the transmission parameters are adaptively adjusted according to the change of the network environment, the transmission strategy of the data message is adjusted, and the network service is optimized.
Referring to fig. 1, a schematic structural diagram of an acceleration adjustment system according to an embodiment of the present application is provided, where the system includes a center node and an edge node:
the center node is used for sending a virtual machine installation instruction to the edge node according to the user acceleration service information, wherein the virtual machine installation instruction comprises an acceleration service script corresponding to the user acceleration service information;
the edge node is used for receiving the virtual machine installation instruction, completing the creation of the virtual machine according to the virtual machine installation instruction, sending a data message by the virtual machine according to the transmission parameters in the acceleration service script, and updating the transmission parameters in real time according to the acceleration service script.
Optionally, the virtual machine in the edge node is configured to:
receiving a response message, wherein the response message is: the client receives the data message transmitted by the edge node and then feeds back the message to the edge node;
determining quality parameters for representing the transmission quality of the messages according to the transmission condition of each message in unit time;
and updating transmission parameters in the acceleration service script by using the determined quality parameters.
Optionally, the quality parameters include: the packet loss rate in the unit time and the rate of receiving each message in the unit time;
the transmission parameters include: packet loss tolerance, data packet buffer size, data packet transmission rate, congestion window size, and round trip time rate of change.
Optionally, the virtual machine is configured to:
counting the number of the data messages transmitted in the unit time;
counting the number of received response messages in the unit time;
and determining the packet loss rate by using the number of the transmission data messages and the number of the receiving response messages.
Optionally, the virtual machine is further configured to:
counting the number of received response messages in the unit time;
and determining the rate of receiving each message by using the number of the response messages and the unit time.
Optionally, the virtual machine is further configured to:
under the condition that the rate of receiving each message is not greater than the last counted rate of receiving each message, the packet loss tolerance is reduced;
and under the condition that the rate of receiving each message is greater than the last counted rate of receiving each message, improving the tolerance of packet loss.
Optionally, the virtual machine is further configured to:
under the condition that the packet loss rate is smaller than the packet loss tolerance, the sending rate of the data message is improved;
and under the condition that the packet loss rate is not less than the packet loss tolerance, reducing the sending rate of the data message.
Optionally, the virtual machine is further configured to:
determining a current transmission bandwidth;
judging whether the increase rate of the current transmission bandwidth compared with the transmission bandwidth determined last time is limited by the size of a data message buffer area or not;
and if the data message buffer area is limited, increasing the size of the data message buffer area.
Optionally, the virtual machine is further configured to:
in the case where the rate of change of the round trip time increase compared to the last calculated round trip time is not less than the historical average round trip time rate of change, the congestion window size is increased.
In the embodiment of the application, the central node can pre-inject the corresponding acceleration service script into the mirror image file of the user virtual machine according to the user acceleration service requirement to create the virtual machine containing the acceleration service; the virtual machine can send the data message according to the transmission parameters in the acceleration service script, and can update the transmission parameters in real time according to the acceleration service script, so that the transmission parameters are adaptively adjusted according to the change of the network environment, the transmission strategy of the data message is adjusted, and the network service is optimized.
It should be noted that: the log processing device provided in the above embodiment may be implemented based on a computer program, and the device only uses division of the above functional modules to illustrate when processing logs, and in practical application, the above functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the functions described above. In addition, the log processing device and the log processing method embodiment provided in the foregoing embodiments belong to the same concept, and specific implementation processes of the log processing device and the log processing method embodiment are detailed in the method embodiment, which is not described herein again.
Fig. 3 is a schematic structural diagram of a node device according to an embodiment of the present application. The node apparatus 300 may vary considerably in configuration or performance and may include one or more central processors 322 (e.g., one or more processors) and memory 332, one or more storage media 330 (e.g., one or more mass storage devices) storing applications 342 or data 344. Wherein the memory 332 and the storage medium 330 may be transitory or persistent. The program stored on the storage medium 330 may include one or more modules (not shown), each of which may include a series of instruction operations in the node apparatus. Still further, the central processor 322 may be configured to communicate with the storage medium 330 and execute a series of instruction operations in the storage medium 330 on the node apparatus 300.
The node device 300 may also include one or more power supplies 324, one or more wired or wireless network interfaces 350, one or more input/output interfaces 358, one or more keyboards 354, and/or one or more operating systems 341, such as Windows ServerTM, mac OS XTM, unixTM, linuxTM, freeBSDTM, and the like.
The node apparatus 300 may comprise a memory, and one or more computer programs, wherein the one or more computer programs are stored in the memory and configured to be executed by the one or more processors to implement the processing performed by the edge node in the above-described transmission parameter adaptive adjustment method:
receiving the virtual machine installation instruction, completing the creation of the virtual machine according to the virtual machine installation instruction, sending a data message by the virtual machine according to the transmission parameters in the acceleration service script, and updating the transmission parameters in real time according to the acceleration service script.
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 for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the preferred embodiments of the application is not intended to limit the application to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and scope of the application are intended to be included within the scope of the application.
Claims (11)
1. A method for adaptively adjusting transmission parameters, the method being applied to an acceleration adjustment system, the system comprising a center node and an edge node, the method comprising:
the center node sends a virtual machine installation instruction to an edge node according to user acceleration service information, wherein the virtual machine installation instruction comprises an acceleration service script corresponding to the user acceleration service information;
the edge node receives the virtual machine installation instruction sent by the center node, and completes the creation of a virtual machine according to the virtual machine installation instruction;
the virtual machine sends a data message according to the transmission parameters in the acceleration service script, and updates the transmission parameters in real time according to the acceleration service script;
the step of updating the transmission parameters in real time by the virtual machine according to the acceleration service script comprises the following steps:
receiving a response message, wherein the response message is: the client receives the data message transmitted by the edge node and then feeds back the message to the edge node;
determining quality parameters for representing the transmission quality of the messages according to the transmission condition of each message in unit time;
and updating transmission parameters in the acceleration service script by using the determined quality parameters.
2. The method of claim 1, wherein the quality parameters comprise: the packet loss rate in the unit time and the rate of receiving each message in the unit time;
the transmission parameters include: packet loss tolerance, data packet buffer size, data packet transmission rate, congestion window size, and round trip time rate of change.
3. The method of claim 1, wherein the step of determining a quality parameter for characterizing the transmission quality of the messages according to the transmission condition of each message in the unit time comprises:
counting the number of the data messages transmitted in the unit time;
counting the number of received response messages in the unit time;
and determining the packet loss rate by using the number of the transmission data messages and the number of the receiving response messages.
4. The method of claim 1, wherein the step of determining a quality parameter for characterizing the transmission quality of the messages based on the transmission of each message in the unit time comprises
Counting the number of received response messages in the unit time;
and calculating the rate of receiving each message by using the number of the response messages and the unit time.
5. The method of claim 1, wherein the step of updating the transmission parameters with the determined quality parameters comprises:
reducing the packet loss tolerance under the condition that the rate of receiving each message is not greater than the rate of receiving each message counted last time;
and under the condition that the rate of receiving each message is greater than the last counted rate of receiving each message, improving the tolerance of packet loss.
6. The method of claim 1, wherein the step of updating the transmission parameters with the determined quality parameters comprises:
under the condition that the packet loss rate is smaller than the packet loss tolerance, the sending rate of the data message is improved;
and under the condition that the packet loss rate is not less than the packet loss tolerance, reducing the sending rate of the data message.
7. The method of claim 1, wherein the step of updating the transmission parameters with the determined quality parameters comprises:
determining a current transmission bandwidth;
judging whether the increase rate of the current transmission bandwidth compared with the transmission bandwidth determined last time is limited by the size of a data message buffer zone or not;
and if the data message buffer area is limited, increasing the size of the data message buffer area.
8. The method of claim 1, wherein the step of updating the transmission parameters with the determined quality parameters comprises:
in the case where the rate of change of the round trip time increase compared to the last calculated round trip time is not less than the historical average round trip time rate of change, the congestion window size is increased.
9. An acceleration adjustment system, characterized in that the system comprises a central node and an edge node:
the center node is used for sending a virtual machine installation instruction to the edge node according to the user acceleration service information, wherein the virtual machine installation instruction comprises an acceleration service script corresponding to the user acceleration service information;
the edge node is used for receiving the virtual machine installation instruction, completing the creation of the virtual machine according to the virtual machine installation instruction, sending a data message by the virtual machine according to the transmission parameters in the acceleration service script, and updating the transmission parameters in real time according to the acceleration service script;
the virtual machine updating the transmission parameters in real time according to the acceleration service script comprises:
receiving a response message, wherein the response message is: the client receives the data message transmitted by the edge node and then feeds back the message to the edge node;
determining quality parameters for representing the transmission quality of the messages according to the transmission condition of each message in unit time;
and updating transmission parameters in the acceleration service script by using the determined quality parameters.
10. A node device comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement a process performed by the edge node in the transmission parameter adaptive adjustment method according to any one of claims 1 to 8.
11. A computer readable storage medium having stored therein at least one instruction, at least one program, code set, or instruction set, loaded and executed by a processor to implement a process performed by the edge node in a transmission parameter adaptation method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010434735.0A CN111786901B (en) | 2020-05-21 | 2020-05-21 | Transmission parameter self-adaptive adjustment method and acceleration service system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010434735.0A CN111786901B (en) | 2020-05-21 | 2020-05-21 | Transmission parameter self-adaptive adjustment method and acceleration service system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111786901A CN111786901A (en) | 2020-10-16 |
CN111786901B true CN111786901B (en) | 2023-08-22 |
Family
ID=72754359
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010434735.0A Active CN111786901B (en) | 2020-05-21 | 2020-05-21 | Transmission parameter self-adaptive adjustment method and acceleration service system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111786901B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115208872B (en) * | 2021-04-09 | 2024-09-27 | 顺丰科技有限公司 | Edge cloud mirror image data processing method and device, computer equipment and storage medium |
CN115859394B (en) * | 2022-12-15 | 2023-11-21 | 深圳市数存科技有限公司 | Data security storage system and method based on edge calculation |
CN116431220B (en) * | 2023-06-14 | 2023-08-18 | 青岛鑫晟汇科技有限公司 | Multi-system architecture intercommunication system based on data distributed instruction set |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7962637B2 (en) * | 2006-11-03 | 2011-06-14 | Apple Computer, Inc. | Dynamic adjustments of video streams |
CN105577409B (en) * | 2014-10-16 | 2020-08-11 | 中兴通讯股份有限公司 | Method and device for realizing automatic deployment of virtual network function |
US9996374B2 (en) * | 2015-06-16 | 2018-06-12 | Assured Information Security, Inc. | Deployment and installation of updates in a virtual environment |
CN108293009B (en) * | 2015-12-31 | 2021-05-18 | 华为技术有限公司 | Software defined data center and scheduling method of service cluster in software defined data center |
CN108600165A (en) * | 2018-03-15 | 2018-09-28 | 北京大米科技有限公司 | Communication means, client, Centroid based on TCP and communication system |
CN109104318B (en) * | 2018-08-23 | 2022-04-12 | 广东轩辕网络科技股份有限公司 | Method for realizing cluster self-adaptive deployment |
CN111093099B (en) * | 2019-02-15 | 2023-04-18 | 杭州海康威视系统技术有限公司 | Streaming media service scheduling method, device and system |
-
2020
- 2020-05-21 CN CN202010434735.0A patent/CN111786901B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN111786901A (en) | 2020-10-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112437122B (en) | Communication method, communication device, computer readable medium and electronic equipment | |
CN111786901B (en) | Transmission parameter self-adaptive adjustment method and acceleration service system | |
EP3780542B1 (en) | Data transmission method and device | |
JP5716090B2 (en) | Method and apparatus for reducing data transmission overhead | |
CN107634908B (en) | Data transmission method and equipment | |
JP2017516188A (en) | Transport accelerator implementing request manager and connection manager functionality | |
CN108199925A (en) | A kind of data transmission method for uplink, method of reseptance and device | |
US20220286402A1 (en) | Method and apparatus for controlling data packet sending, model training method and apparatus, and system | |
CN105763474A (en) | Data transmission method and device | |
CN113141314B (en) | Congestion control method and equipment | |
WO2024021777A9 (en) | Data transmission method, related apparatus, device and storage medium | |
KR20160071832A (en) | Method and apparatus of allocating resource of terminal in wireless communication system | |
CN107707594B (en) | It is a kind of to realize the document transmission method and device accelerated on demand | |
CN115834556B (en) | Data transmission method, system, device, storage medium and program product | |
US10432298B2 (en) | Method and apparatus for dynamic load balancing of communications channels for controlling traffic load in a communications system | |
CN111858099B (en) | Message subscription method and device | |
CN114189890A (en) | Method, device, equipment and storage medium for updating network service quality model | |
Samiayya et al. | An efficient congestion control in multimedia streaming using adaptive BRR and fuzzy butterfly optimization | |
US9526086B1 (en) | Application data rate limiting in a wireless communication device | |
CN112737971B (en) | Data processing method, device, storage medium and network equipment | |
Ben Ameur et al. | Performance evaluation of TcpHas: TCP for HTTP adaptive streaming | |
KR102390522B1 (en) | Blockchain based reliable quality of experience accelerator for adaptive video streaming service | |
CN112532355B (en) | Data transmission method and device for mode switching based on link complexity | |
Ji et al. | Memory performance optimization of DTN relay node based on M/G/1 | |
CN114422441A (en) | Method and device for controlling flow |
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 |