CN111786901A - Transmission parameter self-adaptive adjusting method and acceleration service system - Google Patents

Transmission parameter self-adaptive adjusting method and acceleration service system Download PDF

Info

Publication number
CN111786901A
CN111786901A CN202010434735.0A CN202010434735A CN111786901A CN 111786901 A CN111786901 A CN 111786901A CN 202010434735 A CN202010434735 A CN 202010434735A CN 111786901 A CN111786901 A CN 111786901A
Authority
CN
China
Prior art keywords
virtual machine
transmission
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.)
Granted
Application number
CN202010434735.0A
Other languages
Chinese (zh)
Other versions
CN111786901B (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.)
Wangsu Science and Technology Co Ltd
Original Assignee
Wangsu Science and Technology 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 Wangsu Science and Technology Co Ltd filed Critical Wangsu Science and Technology Co Ltd
Priority to CN202010434735.0A priority Critical patent/CN111786901B/en
Publication of CN111786901A publication Critical patent/CN111786901A/en
Application granted granted Critical
Publication of CN111786901B publication Critical patent/CN111786901B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/28Flow control; Congestion control in relation to timing considerations
    • H04L47/283Flow control; Congestion control in relation to timing considerations in response to processing delays, e.g. caused by jitter or round trip time [RTT]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2425Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/32Flow 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 invention provides a transmission parameter self-adaptive adjusting method and an acceleration adjusting system, wherein the method comprises the following steps: the method comprises the steps that a central 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, and the edge node is an edge node to which a user belongs; the edge node receives the virtual machine installation instruction sent by the central node, and completes the creation of a virtual machine according to the virtual machine installation instruction; and 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 invention 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

Transmission parameter self-adaptive adjusting method and acceleration service system
Technical Field
The invention relates to the technical field of internet, in particular to a transmission parameter self-adaptive adjusting 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 shoots after raining, in order to meet the network access requirements of various network applications, the network access modes are also very different, and the mainstream of the network access modes are wifi2.4g, wifi 5g, fixed network access, 3g network standard, 4g network standard, optical fiber access and the like.
In implementation, the network access method is not fixed, for example, the network access method may be changed from wifi 5g to 4g network system. Different network access modes and different network environments are achieved, and if network transmission parameters are fixed and unchanged, part of network applications cannot access the network.
Disclosure of Invention
The embodiment of the invention provides a transmission parameter self-adaptive adjusting method and an acceleration service system, which aim to solve the technical problem that part of network applications cannot be accessed due to fixed network transmission parameters in the prior art.
In one aspect of the embodiments of the present invention, a method for adaptively adjusting a transmission parameter is provided, where the method is applied to an acceleration adjustment system, where the system includes a center node and an edge node, and the method includes:
the central 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 central 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, by the virtual machine, the transmission parameter in real time according to the acceleration service script includes:
receiving a response message, wherein the response message is as follows: the client side feeds back a message to the edge node after receiving the data message transmitted by 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;
updating transmission parameters within the acceleration service script with 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 sending rate, congestion window size, and round trip time variation rate.
Optionally, the step of determining a quality parameter for characterizing the transmission quality of the packet according to the transmission condition of each packet in the unit time includes:
counting the number of the transmission data messages in the unit time;
counting the number of the received response messages in the unit time;
determining 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 packet according to the transmission condition of each packet in the unit time includes determining a quality parameter for characterizing the transmission quality of the packet according to the transmission condition of each packet in the unit time, where the step includes
Counting the number of the 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 by using the determined quality parameter includes:
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 rate of receiving each message counted last time, improving the packet loss tolerance.
Optionally, the step of updating the transmission parameter by using the determined quality parameter includes:
under the condition that the packet loss rate is smaller than the packet loss tolerance, improving the sending rate of the data message;
and reducing the sending rate of the data message under the condition that the packet loss rate is not less than the packet loss tolerance.
Optionally, the step of updating the transmission parameter by using the determined quality parameter includes:
determining a current transmission bandwidth;
judging whether the increase rate of the current transmission bandwidth compared with the last determined transmission bandwidth is limited by the size of a data message buffer area;
and if the data message is limited, increasing the size of the data message buffer area.
Optionally, the step of updating the transmission parameter by using the determined quality parameter includes:
and under the condition that the change rate of the increase of the round trip time compared with the round trip time calculated last time is not less than the historical average round trip time change rate, increasing the size of the congestion window.
In another aspect of the embodiments of the present invention, there is also provided an acceleration adjusting system, where the system includes a center node and an edge node:
the central 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, finishing 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 as follows: the client side feeds back a message to the edge node after receiving the data message transmitted by 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;
updating transmission parameters within the acceleration service script with 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 sending rate, congestion window size, and round trip time variation rate.
Optionally, the virtual machine is configured to:
counting the number of the transmission data messages in the unit time;
counting the number of the 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 the 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:
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 rate of receiving each message counted last time, improving the packet loss tolerance.
Optionally, the virtual machine is further configured to:
under the condition that the packet loss rate is less than the packet loss tolerance, the sending rate of the data message is improved;
and reducing the sending rate of the data message under the condition that the packet loss rate is not less than the packet loss tolerance.
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 last determined transmission bandwidth is limited by the size of a data message buffer area;
and if the data message is limited, increasing the size of the data message buffer area.
Optionally, the virtual machine is further configured to:
and under the condition that the change rate of the increase of the round trip time compared with the round trip time calculated last time is not less than the historical average round trip time change rate, increasing the size of the congestion window.
In yet another aspect of the present invention, 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 program, a code set, or a set of instructions, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the processing procedure performed by the edge node in the above-mentioned first aspect transmission parameter adaptive adjustment method.
In yet another aspect of the present invention, there is further provided a computer-readable storage medium, where at least one instruction, at least one program, a code set, or a set of instructions is stored, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by a processor to implement the processing procedure performed by the edge node in the transmission parameter adaptive adjustment method according to the first aspect.
In the embodiment of the invention, the central node can inject the corresponding acceleration service script into the image file of the user virtual machine in advance according to the acceleration service requirement of the user 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 a 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 invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principles of the invention. In the drawings:
fig. 1 is a schematic structural diagram of an acceleration regulating system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a method for adaptively adjusting transmission parameters according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a node device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the following embodiments and accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
The environment in which the technical problem is clearly applied should be described and the technical problem which is not explained thoroughly should be further explained on the basis of the background art.
The embodiment of the invention provides a transmission parameter adaptive adjustment method, which can be applied to an acceleration adjustment system shown in fig. 1. The acceleration regulating system includes a center 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 decentralized service mode results in numerous edge nodes, for example, devices such as a home router and the like can also be regarded as edge nodes, the edge nodes belong to users, and a third party cannot log in a virtual machine of the user to change transmission configuration, so that a provider providing acceleration service cannot change transmission parameters in time according to actual conditions. In the embodiment of the invention, the central node can inject the corresponding acceleration service script into the image file of the user virtual machine in advance according to the acceleration service requirement of the user 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 a network environment, the transmission strategy of the data message is adjusted, and the network service is optimized.
Referring to fig. 2, a schematic flow chart of a parameter updating method provided in an embodiment of the present invention 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 acquiring the user acceleration service information, the central node selects a corresponding acceleration service script and then sends a virtual machine installation instruction to the edge node. The user acceleration service information may include a service provisioning condition and an acceleration service type. The accelerated service types may include live broadcast services, on-demand services, small file transfer services, large file transfer services, transnational, transoperator transfer services, and services that use multi-stream racing mode to transfer data, among others.
The virtual machine installation instruction can comprise a virtual machine name and an 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, the network operator to which it belongs, 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 script is used for realizing the network acceleration requirement in the live broadcast service, the script is used for realizing the network acceleration requirement in the on-demand service, the script is used for realizing the network acceleration requirement in the small file transmission service, the script is used for realizing the network acceleration requirement in the large file transmission service, the script is used for realizing the network acceleration requirement in the application of transnational and transoperator transmission service, and the script is used for realizing the network acceleration requirement in the service of using the multi-stream racing mode to transmit data.
The central node can select a corresponding acceleration service script according to the acceleration service type of the user acceleration service requirement to create a virtual machine, so that customized services for different user requirements are realized.
It should be noted that, the central node may issue a virtual machine installation instruction to the edge node, and may also issue service instructions such as virtual machine off-shelf uninstallation, virtual machine version upgrade, acceleration of service type change (for example, a small file transmission service is changed into a large file transmission service), service start/stop, and service type tuning (acceleration of service script configuration tuning).
And step 210, the edge node receives a 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 a virtual machine installation instruction sent by the central node, an acceleration service script in the instruction is injected into an image file of the virtual machine, so that the virtual machine is created. Currently, the image file installation can use centros 7.0+, ubuntu16.04+, and the like.
And 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 the parameter configuration is carried out 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 the transmission parameters in the acceleration service script are updated in real time when the data message is transmitted to the client in the follow-up process, and the transmission strategy of the data message can be adjusted.
And 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 specifically includes the following steps.
Step 221, receiving the response message.
Wherein, the response message is: and the client side receives the data message transmitted by the edge node and then feeds back the message to the edge node.
In implementation, in order to enable the edge node to confirm that the client has received the data packet transmitted by the edge node, the client sends a response packet to the edge node after receiving the data packet transmitted by the edge node. Specifically, the response packet may include an identifier of the data packet, and after receiving the response packet, the virtual machine may determine which data packets have been received, and the data packets that have not been received need to be retransmitted.
Step 222, determining quality parameters for representing the transmission quality of the message according to the transmission condition of each message in unit time.
In an implementation, the unit Time may be a fixed value, and a Round-Trip Time (RTT) may also be used as the unit Time. The round trip time, i.e. the time duration between the sending time of a data message and the receiving time of a response message. For example, the sending time of the data packet is: 20/4/2020/59/21, the receiving time of the response message is: 20/4/2020: 08:59: 37; the RTT is 37-21 ═ 16 seconds. And calculating corresponding round trip time every time a response message is received, and if the round trip time changes, correspondingly updating the unit time.
In implementation, each time the virtual machine receives a response message, the quality parameter of 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 is a time period that is obtained by advancing from the current time or the time when the response packet is received. For example, if the current time is 08:59:37 unit time is 16 seconds, the unit time is 08:59:21 to 08:59: 37.
In implementations, the quality parameters may include: the packet loss rate in unit time and the rate of receiving each message for representing the number of each response message received in unit time.
In implementation, the packet loss rate is a ratio between the number of the virtual machines that do not receive the client feedback response packet and the number of the data packets sent to the client in a unit time. In the statistical process, the number of the transmission data messages in unit time is counted; counting the number of the 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 packets transmitted in a unit time is 100, the number of response packets received is 80, and the packet loss ratio is (100-80)/100-20%.
The larger the number of the received response messages in unit time is, the higher the rate of receiving each message is. 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 the 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.
The determined quality parameters are used to update the transmission parameters in the acceleration service script, step 223.
In an implementation, the transmission parameters may include: packet loss tolerance, data packet buffer, rate of transmission of data packets, congestion window, and round trip time variation rate.
In implementation, the higher the rate of receiving each message is, the faster the message is transmitted in the network, and the better the current network environment is. After the virtual machine receives the response message each time, the rate of receiving each message once can be calculated, so as to measure the current network environment, and when the network environment is deteriorated, namely under the condition that 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 becomes better, that is, under the condition that the rate of receiving each message is greater than the rate of receiving each message counted last time, in order to better utilize the 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 an implementation manner, the packet loss tolerance may be adjusted according to a variation degree of a rate of receiving each packet, for example, a variation rate of the rate of receiving each packet at this time compared with the rate of receiving each packet at the last time may be calculated, and the packet loss tolerance may be improved or reduced according to the calculated variation rate.
In the implementation, the smaller the packet loss rate is, the smaller the number of losses in the data packet transmission process is, the better the current network environment is, and in order to fully utilize network resources, the transmission rate of the data packet can be increased under the condition that the packet loss rate is less than the packet loss tolerance; and reducing the sending rate of the data message under the condition that the packet loss rate is not less than the packet loss tolerance.
In one implementation, the sending rate change step size may be preset, and the sending rate is gradually increased or decreased according to the sending rate change step size when the sending rate is increased or decreased;
in implementation, after the virtual machine transmits the data packet to the client, and when the response packet of the client is not received, the virtual machine stores the data packet in the data packet buffer for caching. Correspondingly, when the data amount of the data packet to be cached in unit time is not less than the size of the data packet buffer, that is, when the current data packet buffer is not enough to store the data packet to be cached, the size of the data packet buffer needs to be increased, the data packet buffer is dynamically adjusted, and the limitation of data packet transmission is prevented when the storage space of the data packet buffer is insufficient.
In one implementation, the size of the data packet buffer can be adjusted according to the data amount of the data packet to be cached, so as to ensure that the data amount that can be stored in the data packet buffer is higher than the data amount of the data packet to be cached.
In implementation, the virtual machine may also adjust the size of the data packet buffer according to the transmission bandwidth, and the specific process includes: after receiving the response message, determining the current transmission bandwidth; judging whether the increase rate of the current transmission bandwidth compared with the last determined transmission bandwidth is limited by the size of a data message buffer area; if so, the size of the data message buffer is increased.
In implementation, the round-trip time of the message is longer to indicate that congestion occurs in the current network environment, and in order to smoothly transmit the data message, the size of a congestion window can be increased under the condition that the change rate of the round-trip time, which is increased compared with the round-trip time calculated last time, is not less than the change rate of the round-trip time; under the condition that the change rate of the round trip time increased compared with the round trip time calculated last time is not less than the change rate of the round trip time, the size of a congestion window can be reduced, and the smooth transmission of the data message is ensured by adjusting the size of the congestion window.
By applying the scheme provided by the embodiment of the invention, the quality parameter used for representing the transmission quality of the message is determined after the response message of the client is received each time, and the transmission parameter is updated in real time by using the determined quality parameter, so that the transmission quality of the data message is ensured.
In the embodiment of the invention, the central node can inject the corresponding acceleration service script into the image file of the user virtual machine in advance according to the acceleration service requirement of the user 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 a 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 adjusting system provided in an embodiment of the present invention is shown, where the system includes a center node and an edge node:
the central 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, finishing 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 as follows: the client side feeds back a message to the edge node after receiving the data message transmitted by 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;
updating transmission parameters within the acceleration service script with 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 sending rate, congestion window size, and round trip time variation rate.
Optionally, the virtual machine is configured to:
counting the number of the transmission data messages in the unit time;
counting the number of the 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 the 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:
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 rate of receiving each message counted last time, improving the packet loss tolerance.
Optionally, the virtual machine is further configured to:
under the condition that the packet loss rate is less than the packet loss tolerance, the sending rate of the data message is improved;
and reducing the sending rate of the data message under the condition that the packet loss rate is not less than the packet loss tolerance.
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 last determined transmission bandwidth is limited by the size of a data message buffer area;
and if the data message is limited, increasing the size of the data message buffer area.
Optionally, the virtual machine is further configured to:
and under the condition that the change rate of the increase of the round trip time compared with the round trip time calculated last time is not less than the historical average round trip time change rate, increasing the size of the congestion window.
In the embodiment of the invention, the central node can inject the corresponding acceleration service script into the image file of the user virtual machine in advance according to the acceleration service requirement of the user 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 a 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 embodiments may be implemented based on a computer program, and when processing a log, the device is only illustrated by the division of the above functional modules, and in practical applications, the above functions may be distributed to different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. In addition, the log processing apparatus and the log processing method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments in detail and are not described herein again.
Fig. 3 is a schematic structural diagram of a node device according to an embodiment of the present invention. The node apparatus 300 may vary significantly depending on 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. Memory 332 and storage media 330 may be, among other things, transient storage or persistent storage. The program stored on the storage medium 330 may include one or more modules (not shown), each of which may include a sequence of instruction operations for the node device. Still further, the central processor 322 may be configured to communicate with the storage medium 330 to execute a series of instruction operations in the storage medium 330 on the node device 300.
Node apparatus 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 Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and so forth.
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 one or more processors to implement the processing procedures performed by the edge node in the above-mentioned transmission parameter adaptive adjustment method:
and receiving the virtual machine installation instruction, finishing 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 instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (12)

1. A transmission parameter adaptive adjustment method is applied to an acceleration adjustment system, the system comprises a center node and an edge node, and the method comprises the following steps:
the central 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 central 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.
2. The method of claim 1, wherein the step of updating the transmission parameters in real time by the virtual machine according to the acceleration service script comprises:
receiving a response message, wherein the response message is as follows: the client side feeds back a message to the edge node after receiving the data message transmitted by 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;
updating transmission parameters within the acceleration service script with the determined quality parameters.
3. The method of claim 2, wherein the quality parameter comprises: 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 sending rate, congestion window size, and round trip time variation rate.
4. The method according to claim 2, wherein the step of determining the quality parameter for characterizing the transmission quality of the packet according to the transmission condition of each packet in the unit time comprises:
counting the number of the transmission data messages in the unit time;
counting the number of the 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.
5. The method of claim 2, wherein the step of determining a quality parameter for characterizing the transmission quality of the message according to the transmission condition of each message in the unit time comprises
Counting the number of the 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.
6. The method of claim 2, wherein the step of updating the transmission parameters using 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 rate of receiving each message counted last time, improving the packet loss tolerance.
7. The method of claim 2, wherein the step of updating the transmission parameters using the determined quality parameters comprises:
under the condition that the packet loss rate is less than the packet loss tolerance, the sending rate of the data message is improved;
and reducing the sending rate of the data message under the condition that the packet loss rate is not less than the packet loss tolerance.
8. The method of claim 2, wherein the step of updating the transmission parameters using the determined quality parameters comprises:
determining a current transmission bandwidth;
judging whether the increase rate of the current transmission bandwidth compared with the last determined transmission bandwidth is limited by the size of a data message buffer area;
and if the data message is limited, increasing the size of the data message buffer area.
9. The method of claim 2, wherein the step of updating the transmission parameters using the determined quality parameters comprises:
and under the condition that the change rate of the increase of the round trip time compared with the round trip time calculated last time is not less than the historical average round trip time change rate, increasing the size of the congestion window.
10. An acceleration modulation system, characterized in that the system comprises a center node and an edge node:
the central 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, finishing 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.
11. A node device, characterized in that the node device comprises 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, and the at least one instruction, the at least one program, the set of codes or the set of instructions is loaded and executed by the processor to implement the processing procedure performed by the edge node in the transmission parameter adaptive adjustment method according to any one of claims 1 to 9.
12. A computer-readable storage medium, wherein at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the storage medium, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by a processor to implement the processing procedure performed by the edge node in the transmission parameter adaptive adjustment method according to any one of claims 1 to 9.
CN202010434735.0A 2020-05-21 2020-05-21 Transmission parameter self-adaptive adjustment method and acceleration service system Active CN111786901B (en)

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 true CN111786901A (en) 2020-10-16
CN111786901B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115208872A (en) * 2021-04-09 2022-10-18 顺丰科技有限公司 Edge cloud mirror image data processing method and device, computer equipment and storage medium
CN115859394A (en) * 2022-12-15 2023-03-28 深圳市数存科技有限公司 Data security storage system and method based on edge calculation
CN116431220A (en) * 2023-06-14 2023-07-14 青岛鑫晟汇科技有限公司 Multi-system architecture intercommunication system based on data distributed instruction set

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080109865A1 (en) * 2006-11-03 2008-05-08 Apple Computer, Inc. Dynamic adjustments of video streams
WO2016058412A1 (en) * 2014-10-16 2016-04-21 中兴通讯股份有限公司 Method and device for achieving virtualized network function deployment, and storage medium
US20160371105A1 (en) * 2015-06-16 2016-12-22 Assured Information Security, Inc. Deployment and installation of updates in a virtual environment
US20180278541A1 (en) * 2015-12-31 2018-09-27 Huawei Technologies Co., Ltd. Software-Defined Data Center and Service Cluster Scheduling and Traffic Monitoring Method Therefor
CN109104318A (en) * 2018-08-23 2018-12-28 广东轩辕网络科技股份有限公司 The dispositions method and system of method for realizing cluster self-adaption deployment, the self-adaption deployment big data cluster based on cloud platform
WO2019174208A1 (en) * 2018-03-15 2019-09-19 北京大米科技有限公司 Tcp-based communication method, client, center node, and communication system
CN111093099A (en) * 2019-02-15 2020-05-01 杭州海康威视系统技术有限公司 Streaming media service scheduling method, device and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080109865A1 (en) * 2006-11-03 2008-05-08 Apple Computer, Inc. Dynamic adjustments of video streams
WO2016058412A1 (en) * 2014-10-16 2016-04-21 中兴通讯股份有限公司 Method and device for achieving virtualized network function deployment, and storage medium
US20160371105A1 (en) * 2015-06-16 2016-12-22 Assured Information Security, Inc. Deployment and installation of updates in a virtual environment
US20180278541A1 (en) * 2015-12-31 2018-09-27 Huawei Technologies Co., Ltd. Software-Defined Data Center and Service Cluster Scheduling and Traffic Monitoring Method Therefor
WO2019174208A1 (en) * 2018-03-15 2019-09-19 北京大米科技有限公司 Tcp-based communication method, client, center node, and communication system
CN109104318A (en) * 2018-08-23 2018-12-28 广东轩辕网络科技股份有限公司 The dispositions method and system of method for realizing cluster self-adaption deployment, the self-adaption deployment big data cluster based on cloud platform
CN111093099A (en) * 2019-02-15 2020-05-01 杭州海康威视系统技术有限公司 Streaming media service scheduling method, device and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王小亮等: "可信基础设施云设计与实现", 《软件》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115208872A (en) * 2021-04-09 2022-10-18 顺丰科技有限公司 Edge cloud mirror image data processing method and device, computer equipment and storage medium
CN115859394A (en) * 2022-12-15 2023-03-28 深圳市数存科技有限公司 Data security storage system and method based on edge calculation
CN115859394B (en) * 2022-12-15 2023-11-21 深圳市数存科技有限公司 Data security storage system and method based on edge calculation
CN116431220A (en) * 2023-06-14 2023-07-14 青岛鑫晟汇科技有限公司 Multi-system architecture intercommunication system based on data distributed instruction set
CN116431220B (en) * 2023-06-14 2023-08-18 青岛鑫晟汇科技有限公司 Multi-system architecture intercommunication system based on data distributed instruction set

Also Published As

Publication number Publication date
CN111786901B (en) 2023-08-22

Similar Documents

Publication Publication Date Title
CN111786901A (en) Transmission parameter self-adaptive adjusting method and acceleration service system
CN112437122B (en) Communication method, communication device, computer readable medium and electronic equipment
EP3780542B1 (en) Data transmission method and device
KR20120048579A (en) Technique for setting network communication parameters
CA2515458A1 (en) Mobile telephony application platform
CN107634908B (en) Data transmission method and equipment
US7844708B2 (en) Method and apparatus for load sharing and data distribution in servers
CN104995923B (en) Video acceleration method, client and network element
US20220286402A1 (en) Method and apparatus for controlling data packet sending, model training method and apparatus, and system
KR20160071832A (en) Method and apparatus of allocating resource of terminal in wireless communication system
EP4246936A1 (en) Data processing method, function device and readable storage medium
US7272128B2 (en) Frame selection and distribution unit (SDU) and method for dynamically managing wireless call settings
Chang et al. Edge-assisted adaptive video streaming with deep learning in mobile edge networks
CN111917562A (en) Broadcast message forwarding method, device, equipment and storage medium
CN115834556B (en) Data transmission method, system, device, storage medium and program product
CN109818884A (en) Multilink data transmission method, sending device, reception device and storage medium
KR100934088B1 (en) Methods and apparatus for creation and transport of multimedia content flows to a distribution network
Kumar et al. TCP BBR for ultra-low latency networking: challenges, analysis, and solutions
CN107294830B (en) A kind of data transmission method and system
US20240106890A1 (en) Peer-to-peer network scheduling method and system
US20240106891A1 (en) Peer-to-peer network scheduling method and system
JP2005518016A (en) Method and apparatus for reconfiguring server system
CN113395671B (en) Message pushing rate adjusting method and device and server
WO2016169600A1 (en) Technique for scheduling transmission of content in an access network
KR20160097663A (en) Method and apparatus for transmitting and receiving information of servers in content delivery network system

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