CN115942433A - Acceleration method and device based on 5G network cloud service - Google Patents

Acceleration method and device based on 5G network cloud service Download PDF

Info

Publication number
CN115942433A
CN115942433A CN202211379625.4A CN202211379625A CN115942433A CN 115942433 A CN115942433 A CN 115942433A CN 202211379625 A CN202211379625 A CN 202211379625A CN 115942433 A CN115942433 A CN 115942433A
Authority
CN
China
Prior art keywords
acceleration
data
gateway
node
path
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
CN202211379625.4A
Other languages
Chinese (zh)
Other versions
CN115942433B (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.)
Beijing Jinshui Information Technology Development Co ltd
Shanghai Kuangtong Technology Co ltd
Beijing Shuimai Technology Co ltd
Original Assignee
Beijing Jinshui Information Technology Development Co ltd
Shanghai Kuangtong Technology Co ltd
Beijing Shuimai 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 Beijing Jinshui Information Technology Development Co ltd, Shanghai Kuangtong Technology Co ltd, Beijing Shuimai Technology Co ltd filed Critical Beijing Jinshui Information Technology Development Co ltd
Priority to CN202211379625.4A priority Critical patent/CN115942433B/en
Publication of CN115942433A publication Critical patent/CN115942433A/en
Application granted granted Critical
Publication of CN115942433B publication Critical patent/CN115942433B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides an acceleration method and equipment based on 5G network cloud service, which divides an ultra-long pipeline in a 5G private network into multi-stage short TCP connections by deploying an IP double-end acceleration gateway and utilizing a plurality of acceleration nodes as TCP agents to forward data, and simultaneously all the short TCP connections work according to the pipeline principle, so that the throughput rate of the network is obviously improved, the problem of high bandwidth and low speed existing in the application of a TCP protocol in a wide area network can be solved, and the bandwidth utilization rate of the TCP protocol in the wide area network is improved. Meanwhile, the acceleration gateway can also compress and decompress the TCP data packet, thereby reducing the data transmission quantity in the high-bandwidth delay network and improving the data transmission speed.

Description

Acceleration method and device based on 5G network cloud service
Technical Field
The invention relates to the technical field of network cloud services, in particular to an acceleration method and equipment based on a 5G network cloud service.
Background
The 5G private network is essentially the combination of a cloud platform and a network, has the advantages of large bandwidth, guaranteed time delay, high safety and the like, can provide a customized network for enterprise users, and meets the differentiated requirements of the enterprise users. However, the internet communication architecture takes the TCP/IP protocol as a core, and when a user accesses the cloud platform, the user communicates with the cloud platform by using the TCP/IP protocol most of the time. However, the environment of the 5G private network is complex, and compared with the local area network, the wide area network has the problems of time delay, high packet loss rate, jitter and the like, so that the data transmission effect of the TCP/IP protocol in the wide area network is not ideal, and the bandwidth utilization rate of the network is not high. With the increasing demand of the 5G private network on the bandwidth, the network throughput of the 5G private network is not obviously improved due to the congestion control mechanism of the TCP/IP protocol.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides an acceleration method and equipment based on a 5G network cloud service, which divides an ultra-long pipeline in a 5G private network into multi-stage short TCP connections by deploying an IP double-end acceleration gateway and utilizing a plurality of acceleration nodes as TCP agents for data forwarding, and simultaneously all the short TCP connections work according to the pipeline principle, so that the throughput rate of the network is obviously improved, the problem of high bandwidth and low speed existing in the application of a TCP protocol in a wide area network can be solved, and the bandwidth utilization rate of the TCP protocol in the wide area network is improved. Meanwhile, the acceleration gateway can also compress and decompress the TCP data packet, thereby reducing the data transmission quantity in the high-bandwidth delay network and improving the data transmission speed.
The invention provides an acceleration method based on a 5G network cloud service, which comprises the following steps:
step S1, a user side sends a connection request for connecting a cloud platform to a first acceleration gateway, and the first acceleration gateway sends an acceleration request to a management node based on the connection request;
s2, the management node selects at least one acceleration node based on the acceleration request; forming an acceleration path based on the selected at least one acceleration node, and sending the acceleration path to the first acceleration gateway;
s3, the first acceleration gateway establishes a communication channel between the user side and the cloud platform through a 5G network based on the acceleration path; and the user side transmits data to the cloud platform through the communication channel.
In an embodiment of the disclosure, in the step S2, the selecting, by the management node, at least one acceleration node based on the acceleration request includes:
the management node selects at least one acceleration node based on the acceleration request and a respective load state of each acceleration node.
In an embodiment of the disclosure, in the step S2, before the selecting, by the management node, at least one acceleration node based on the acceleration request, the method further includes:
and acquiring the respective load states of all the acceleration nodes, and sending all the load states to the management node.
In an embodiment of the disclosure, in step S3, the establishing, by the first acceleration gateway, a communication channel between the user terminal and the cloud platform through a 5G network based on the acceleration path includes:
determining the connection sequence of all acceleration nodes contained in the acceleration path;
establishing connection between the user side and the first acceleration gateway through a 5G network; establishing connection between the first acceleration gateway and an acceleration node located at a first connection sequence position in the acceleration path; establishing the connection of all acceleration nodes in the acceleration path according to the connection sequence; establishing the connection between the acceleration node positioned at the last connection sequence position in the acceleration path and a second acceleration gateway; and establishing the connection between the second acceleration gateway and the cloud platform.
In an embodiment of the present disclosure, in step S3, the transmitting, by the user side, data to the cloud platform through the communication channel includes:
the user side sends data to the first acceleration gateway, the first acceleration gateway compresses the data, and sends the compressed data to the acceleration nodes located at the first connection sequence position in the acceleration path, and then sequentially passes through all the acceleration nodes of the acceleration path based on the connection sequence so as to reach the acceleration node located at the last connection sequence position; then sending the compressed data to the second acceleration gateway from the acceleration node located at the last connection sequence position; and after the second acceleration gateway decompresses the compressed data, sending the decompressed data to the cloud platform.
In an embodiment disclosed in the present application, in step S3, compressing the data by the first acceleration gateway, decompressing, by the second acceleration gateway, the compressed data, and sending the decompressed data to the cloud platform specifically includes:
step S301, using the following formula (1), instructing the first acceleration gateway to compress the data,
Figure BDA0003927786220000031
in the above formula (1), m 2 A binary form representing compressed data after compressing the data; m1 2 A binary representation of a first one of the compressed data; m2 2 A binary representation of a second one of the compressed data; m 2 Representing a binary form of the data before compression; len () represents the number of data bits for which binary data in parentheses is found;
Figure BDA0003927786220000032
represents rounding up; />
Figure BDA0003927786220000033
Figure BDA0003927786220000034
Representing binary data M 2 Position 1 to position->
Figure BDA0003927786220000035
Binary form data of bits; />
Figure BDA0003927786220000036
Representing binary data M 2 To middle
Figure BDA0003927786220000037
To len (M) 2 ) Binary form data of bits; r 2 A binary form representing preset division identification data for distinguishing the first compressed data from the second compressed data; {} 10 Indicating that the data in parentheses is converted to decimal numbers; f 2 Represents a sign data bit having only one bit if->
Figure BDA0003927786220000038
Figure BDA0003927786220000039
Is a positive number or zero, then F 2 =1, if
Figure BDA0003927786220000041
If it is negative, then F 2 =0;| | 2 The absolute value is calculated, and then the numerical value is converted into a binary form; {, } denotes that the commas in brackets are separated into binary numbers and are connected end to form new binary data; />
Step S302, using the following formula (2), according to the data before and after compression, judging whether the data needs to be compressed,
Figure BDA0003927786220000042
in the above formula (2), E represents a compression control value;
if E =1, then M is applied to the data 2 Compressed into data m 2 Then the data m 2 And E, carrying out combined sending;
if E =0, then not for the data M 2 Compress and compress the data M 2 And E, carrying out combined sending;
step S303, using the following formula (3) to instruct the second acceleration gateway to decompress the compressed data, and then sending the decompressed data to the cloud platform,
M' 2 =E×{m' 2 (R 2 - ),{[m' 2 (R 2 - )] 10 -{2×[m' 2 (F 2 )] 10 -1}×[m' 2 (R 2 + )] 10 } 2 }+(1-E)×m' 2 (3)
in the above formula (3), M' 2 A binary form representing the decompressed data; { } shows that the left and right binary numbers which separate commas in brackets are connected end to form new binary data; [] 10 Indicating that the data in parentheses is converted to decimal numbers; m' 2 The binary form of the compressed data received by the second acceleration gateway is directly substituted into the formula (3) for calculation if E =0, and is m 'if E = 1' 2 Find the data segment as R 2 And the data segment R is divided into 2 The back bit is recorded as m' 2 (F 2 ) Data segment R 2 All data from the front are recorded as m' 2 (R 2 - ) Data segment R 2 All the following data except data segment R 2 Back bit m' 2 (F 2 ) The latter data are recorded as m' 2 (R 2 + ) Then, the calculation is performed by substituting the formula (3).
In an embodiment disclosed in the present application, in the step S3, after the user side transmits data to the cloud platform through the communication channel, the method further includes:
the first acceleration gateway predicts the data transmission requirement of the user side and sends the predicted result to the management node;
the management node reselects at least one acceleration node based on the predicted result; forming a new acceleration path based on the reselected at least one acceleration node, and sending the new acceleration path to the first acceleration gateway;
and the first acceleration gateway establishes a new communication channel between the user side and the cloud platform through a 5G network based on a new acceleration path.
The invention also provides an accelerating device based on the 5G network cloud service, which comprises:
the system comprises a user side and a first acceleration gateway, wherein the user side is used for sending a connection request for connecting a cloud platform to the first acceleration gateway and transmitting data to the cloud platform through a communication channel;
the first acceleration gateway is used for sending an acceleration request to a management node based on the connection request and establishing a communication channel between the user side and the cloud platform through a 5G network based on an acceleration path;
and the management node is used for selecting at least one acceleration node based on the acceleration request, forming an acceleration path based on the selected at least one acceleration node and sending the acceleration path to the first acceleration gateway.
In an embodiment disclosed in the present application, the management node selects at least one acceleration node based on the acceleration request, specifically:
the management node selects at least one acceleration node based on the acceleration request and a respective load state of each acceleration node.
In one embodiment of the disclosure, each acceleration node sends a respective load state to the management node.
In one embodiment of the disclosure, the management node determines a connection order of all acceleration nodes included in the acceleration path;
the management node establishes connection between the user side and the first acceleration gateway through a 5G network; establishing connection between the first acceleration gateway and an acceleration node located at a first connection sequence position in the acceleration path; establishing the connection of all acceleration nodes in the acceleration path according to the connection sequence; establishing the connection between the acceleration node positioned at the last connection sequence position in the acceleration path and a second acceleration gateway; and establishing the connection between the second acceleration gateway and the cloud platform.
In an embodiment disclosed in the present application, the user side sends data to the first acceleration gateway, and the first acceleration gateway compresses the data, sends the compressed data to the acceleration node located at the first connection sequence position in the acceleration path, and then sequentially passes through all acceleration nodes of the acceleration path based on the connection sequence, so as to reach the acceleration node located at the last connection sequence position; then sending the compressed data to the second acceleration gateway from the acceleration node located at the last connection sequence position; and after the second acceleration gateway decompresses the compressed data, sending the decompressed data to the cloud platform.
In an embodiment disclosed in the present application, the first acceleration gateway further predicts a data transmission requirement of the user side, and sends a predicted result to the management node;
the management node reselects at least one acceleration node based on the predicted result; forming a new acceleration path based on the reselected at least one acceleration node, and sending the new acceleration path to the first acceleration gateway;
and the first acceleration gateway also establishes a new communication channel between the user side and the cloud platform through a 5G network based on a new acceleration path.
The invention also provides computer equipment for 5G network cloud service acceleration, which comprises:
a processor, and a memory storing computer instructions;
when the processor executes the computer instructions, the acceleration method based on the 5G network cloud service can be realized.
The invention also provides a computer readable storage medium, which stores computer instructions, and when the computer instructions are executed by a processor, the acceleration method based on the 5G network cloud service can be realized.
Compared with the prior art, the acceleration method and the equipment based on the 5G network cloud service have the advantages that the IP double-end acceleration gateway is deployed, the plurality of acceleration nodes are used as TCP agents to forward data, the ultra-long pipeline in the 5G private network is divided into the multi-stage short TCP connections, and all the short TCP connections work according to the pipeline principle, so that the throughput rate of the network is obviously improved, the problem of high bandwidth and low speed existing in the application of a TCP protocol in a wide area network can be solved, and the bandwidth utilization rate of the TCP protocol in the wide area network is improved. Meanwhile, the acceleration gateway can also compress and decompress the TCP data packet, thereby reducing the data transmission quantity in the high-bandwidth delay network and improving the data transmission speed.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of an acceleration method based on a 5G network cloud service provided in the present invention.
Fig. 2 is a timing diagram of establishing a communication channel according to the acceleration method based on the 5G network cloud service provided by the present invention.
Fig. 3 is a data transmission timing diagram of the acceleration method based on the 5G network cloud service provided by the present invention.
Fig. 4 is a structural block diagram of an acceleration device based on a 5G network cloud service provided by the present invention.
Fig. 5 is a functional block diagram of an acceleration device based on a 5G network cloud service provided by the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of an acceleration method based on a 5G network cloud service according to an embodiment of the present invention. The acceleration method based on the 5G network cloud service comprises the following steps:
step S1, a user side sends a connection request for connecting a cloud platform to a first acceleration gateway, and the first acceleration gateway sends an acceleration request to a management node based on the connection request;
s2, the management node selects at least one acceleration node based on the acceleration request; forming an acceleration path based on the selected at least one acceleration node, and sending the acceleration path to the first acceleration gateway;
s3, the first acceleration gateway establishes a communication channel between the user side and the cloud platform through a 5G network based on the acceleration path; and the user side transmits data to the cloud platform through the communication channel.
The beneficial effects of the above technical scheme are: the acceleration method mainly comprises three parts, namely a management node, an acceleration gateway and an acceleration node. The two acceleration gateways are respectively arranged on two sides of the user side and the cloud platform, the management node can select a proper acceleration node for the user side, and the acceleration nodes are arranged on a communication path between the two acceleration gateways, so that the acceleration nodes arranged between the user side and the cloud platform can be used for data forwarding, and a plurality of TCP (transmission control protocol) connections are adopted to replace an original ultra-long transmission pipeline. Meanwhile, according to the working principle of the assembly line, a plurality of TCP connections are in a simultaneous working state in the data transmission process, and the throughput rate of the network can be effectively improved. And the acceleration gateway can also compress and decompress the TCP data packet, so as to reduce the data transmission quantity in the high-bandwidth delay network, thereby improving the data transmission speed.
Preferably, in the step S2, the management node selects at least one acceleration node based on the acceleration request, including:
the management node selects at least one acceleration node based on the acceleration request and a respective load state of each acceleration node.
The beneficial effects of the above technical scheme are: after the management node receives the acceleration request, the management node selects at least one appropriate acceleration node according to the network load state of each acceleration node, and schedules the acceleration nodes, so that an appropriate acceleration path is allocated to the acceleration request. In practical applications, the management node may select acceleration nodes with an actual network load rate less than or equal to a preset load rate threshold for composing the acceleration path.
Preferably, in step S2, before the management node selects at least one acceleration node based on the acceleration request, the method further includes:
and acquiring the respective load states of all the acceleration nodes, and sending all the load states to the management node.
The beneficial effects of the above technical scheme are: after the management node receives the acceleration request, each acceleration node sends the current actual network load rate of the acceleration node to the management node, so that the management node can obtain the load state of each acceleration node in time, and a more efficient acceleration path is formed.
Preferably, in the step S3, the establishing, by the first acceleration gateway, a communication channel between the user side and the cloud platform through a 5G network based on the acceleration path includes:
determining the connection sequence of all acceleration nodes contained in the acceleration path;
establishing the connection between the user terminal and the first acceleration gateway through a 5G network; establishing connection between the first acceleration gateway and an acceleration node located at a first connection sequence position in the acceleration path; establishing the connection of all acceleration nodes in the acceleration path according to the connection sequence; establishing the connection between the acceleration node positioned at the last connection sequence position in the acceleration path and a second acceleration gateway; and establishing the connection between the second acceleration gateway and the cloud platform.
The beneficial effects of the above technical scheme are: and when the management node finishes the selection of the acceleration nodes, forming corresponding acceleration paths based on all the selected acceleration nodes. Wherein, the management node can select one accelerating node, two accelerating nodes or more than two accelerating nodes. The management node is further capable of determining a connection order between all acceleration nodes in the acceleration path, the connection order referring to a transmission order of data along each acceleration node in the acceleration path. According to the connection sequence, an acceleration node at the position of the first connection sequence and an acceleration node at the position of the last connection sequence can be determined and are respectively connected with the first acceleration gateway and the second acceleration gateway, so that the acceleration node at the position of the first connection sequence can receive data sent by the first acceleration gateway, and the acceleration node at the position of the last connection sequence can send the data to the second acceleration gateway. In addition, after the acceleration node located at the first connection sequence position receives the data sent by the first acceleration gateway, the data can be forwarded to the acceleration node of the next hop of the acceleration path, and so on, so that the data is finally forwarded to the acceleration node located at the last connection sequence position. In the process of forwarding data in the acceleration path, two adjacent acceleration nodes form a short TCP connection, so that the direct super-long connection between the original first acceleration gateway and the second acceleration gateway is divided into a plurality of short TCP connections.
Preferably, in step S3, the transmitting, by the user side, data to the cloud platform through the communication channel includes:
the user side sends data to the first acceleration gateway, the first acceleration gateway compresses the data, the compressed data is sent to the acceleration node located at the first connection sequence position in the acceleration path, and then based on the connection sequence, the compressed data sequentially passes through all the acceleration nodes of the acceleration path to reach the acceleration node located at the last connection sequence position; then sending the compressed data to the second acceleration gateway from the acceleration node located at the last connection sequence position; and after decompressing the compressed data, the second acceleration gateway sends the decompressed data to the cloud platform.
The beneficial effects of the above technical scheme are: first gateway and the second is accelerated the gateway and all has data compression and decompression function, and the first gateway that accelerates compresses received data, can effectively reduce the data bulk, is convenient for follow-up carry out the high-speed transmission to the data of compression in accelerating the route, and after the gateway receives the compressed data of accelerating the route and sending as the second, can decompress the reduction to compressed data, send the data that decompress the reduction again to the cloud platform.
Preferably, in step S3, the compressing the data by the first acceleration gateway, decompressing the compressed data by the second acceleration gateway, and then sending the decompressed data to the cloud platform specifically includes:
step S301, using the following formula (1), instructs the first acceleration gateway to compress the data,
Figure BDA0003927786220000101
in the above formula (1), m 2 A binary form representing compressed data obtained by compressing the data; m1 2 A binary form representing a first compressed data of the compressed data; m2 2 A binary form representing second compressed data in the compressed data; m 2 Representing a binary form of the data before compression; len () represents winningThe number of data bits of binary data within the number;
Figure BDA0003927786220000102
represents rounding up; />
Figure BDA0003927786220000103
Representing binary data M 2 In bits 1 to +>
Figure BDA0003927786220000104
Binary form data of bits; />
Figure BDA0003927786220000105
Figure BDA0003927786220000106
Representing binary data M 2 Middle and fifth>
Figure BDA0003927786220000107
To len (M) 2 ) Binary form data of bits; r 2 A binary form representing preset division identification data for distinguishing the first compressed data from the second compressed data; {} 10 Indicating that the data in parentheses is converted to decimal numbers; f 2 Represents a symbol data bit, the number of data bits of which is only one bit, if &>
Figure BDA0003927786220000108
Figure BDA0003927786220000109
Is a positive number or zero, then F 2 =1, if->
Figure BDA00039277862200001010
Figure BDA0003927786220000111
If it is negative, then F 2 =0;|| 2 The absolute value is calculated, and then the numerical value is converted into a binary form; {, } means that spacing commas in brackets is binaryMaking numbers and connecting the numbers end to form new binary data;
step S302, using the following formula (2), according to the data before and after compression, determining whether the data needs to be compressed,
Figure BDA0003927786220000112
in the above formula (2), E represents a compression control value;
if E =1, then M is applied to the data 2 Compressed into data m 2 Then the data m 2 And E, carrying out combined sending;
if E =0, the data M is not processed 2 Compress and compress the data M 2 And E, carrying out combined sending;
step S303, using the following formula (3), after instructing the second acceleration gateway to decompress the compressed data, sending the decompressed data to the cloud platform,
M' 2 =E×{m' 2 (R 2 - ),{[m' 2 (R 2 - )] 10 -{2×[m' 2 (F 2 )] 10 -1}×[m' 2 (R 2 + )] 10 } 2 }+(1-E)×m' 2 (3)
in the above formula (3), M' 2 A binary form representing the decompressed data; { } shows that the left and right binary numbers which separate commas in brackets are connected end to form new binary data; [] 10 Indicating that the data in the brackets is converted into decimal numbers; m' 2 The binary form of the compressed data received by the second acceleration gateway is directly substituted into the formula (3) for calculation if E =0, and m 'if E = 1' 2 Find the data segment in R 2 And the data segment R is divided into 2 Back bit is marked as m' 2 (F 2 ) Data segment R 2 All data from the front are recorded as m' 2 (R 2 - ) Data segment r 2 All the following data except data segment R 2 Back one bit m' 2 (F 2 ) The latter data are denoted as m' 2 (R 2 + ) Then, the calculation is performed by substituting the formula (3).
The beneficial effects of the above technical scheme are: compressing the data by using the formula (1), thereby realizing the processing of lossless compression of the data, and simultaneously adding an identification point to ensure the accuracy and reliability of decompression; then, by using the formula (2), whether the data needs to be compressed is judged according to the data before and after compression, so that the compression is cancelled when the data volume after compression is larger than the data volume before compression, and unnecessary workload is prevented from being increased; and then decompressing the compressed data by using the formula (3) to ensure the integrity and accuracy of the data.
Preferably, in the step S3, after the user side transmits data to the cloud platform through the communication channel, the method further includes:
the first acceleration gateway predicts the data transmission requirement of the user side and sends the predicted result to the management node;
the management node reselects at least one acceleration node based on the predicted result; forming a new acceleration path based on the reselected at least one acceleration node, and sending the new acceleration path to the first acceleration gateway;
the first acceleration gateway establishes a new communication channel between the user side and the cloud platform through a 5G network based on a new acceleration path.
The beneficial effects of the above technical scheme are: the first acceleration gateway can also predict the data transmission requirement of the user side so as to predict the size of data quantity which needs to be transmitted by the user side, and then reselects one acceleration node, two acceleration nodes or more than two acceleration nodes according to the prediction result so as to form a new acceleration path, so that the new acceleration path can be matched with the data transmission requirement of the user side.
Referring to fig. 2 and fig. 3, a sequence diagram of establishing a communication channel and a data transmission sequence diagram of the acceleration method based on the 5G network cloud service according to the embodiment of the present invention are respectively shown. Specifically, as shown in fig. 2, the user side initiates a TCP connection request to the cloud platform, and the TCP connection request is intercepted by the first acceleration gateway when passing through the first acceleration gateway on the user side. After intercepting the TCP connection request, the first acceleration gateway returns SYN and ACK to the user side, so that the first acceleration gateway establishes a TCP connection with the user side. After intercepting the TCP connection request, the first acceleration gateway sends an acceleration request to the management node, and the management node carries out acceleration node scheduling and allocates a proper acceleration path for the acceleration request. Then, the first acceleration gateway establishes a TCP connection to the next-hop acceleration node according to the acceleration path distributed by the management node. And the acceleration nodes sequentially establish TCP connection to the next acceleration node until the second acceleration gateway and the cloud platform complete the establishment of the TCP connection. Therefore, a communication channel is established between the user side and the cloud platform.
After the communication channel between the user side and the cloud platform is established, data transmission can be achieved between the user side and the cloud platform. The data transmission timing between the client and the cloud platform is shown in fig. 3, and will not be described in detail here.
Fig. 4 is a block diagram of a structure of an acceleration device based on a 5G network cloud service according to an embodiment of the present invention. The accelerating equipment based on the 5G network cloud service comprises:
the user side is used for sending a connection request for connecting the cloud platform to the first acceleration gateway and transmitting data to the cloud platform through a communication channel;
the first acceleration gateway is used for sending an acceleration request to a management node based on the connection request and establishing a communication channel between the user side and the cloud platform through a 5G network based on an acceleration path;
and the management node is used for selecting at least one acceleration node based on the acceleration request, forming an acceleration path based on the selected at least one acceleration node and sending the acceleration path to the first acceleration gateway.
The beneficial effects of the above technical scheme are: the acceleration device mainly comprises a management node, an acceleration gateway and an acceleration node. The two acceleration gateways are respectively arranged on two sides of the user side and the cloud platform, the management node can select a proper acceleration node for the user side, and the acceleration nodes are arranged on a communication path between the two acceleration gateways, so that the acceleration nodes arranged between the user side and the cloud platform can be used for data forwarding, and a plurality of TCP (transmission control protocol) connections are adopted to replace an original ultra-long transmission pipeline. Meanwhile, according to the working principle of the assembly line, a plurality of TCP connections are in a simultaneous working state in the data transmission process, and the throughput rate of the network can be effectively improved. And the acceleration gateway can also compress and decompress the TCP data packet, so as to reduce the data transmission quantity in the high-bandwidth delay network, thereby improving the data transmission speed. The management node can have the functions of node scheduling, node monitoring, network interface and the like; the accelerating node can have the functions of data forwarding, network sampling, network interface and the like; the first acceleration gateway and the second acceleration gateway can have functions of data compression and decompression, transparent proxy, network interface and the like.
Preferably, the management node selects at least one acceleration node based on the acceleration request, specifically:
the management node selects at least one acceleration node based on the acceleration request and a respective load state of each acceleration node.
The beneficial effects of the above technical scheme are: after the management node receives the acceleration request, the management node selects at least one appropriate acceleration node according to the network load state of each acceleration node, and schedules the acceleration nodes, so that an appropriate acceleration path is allocated to the acceleration request. In practical applications, the management node may select acceleration nodes with an actual network load rate less than or equal to a preset load rate threshold for composing the acceleration path.
Preferably, each acceleration node transmits a respective load state to the management node.
The beneficial effects of the above technical scheme are: after the management node receives the acceleration request, each acceleration node sends the current actual network load rate of the acceleration node to the management node, so that the management node can conveniently acquire the load state of each acceleration node in time, and a more efficient acceleration path is formed.
Preferably, the management node determines a connection order of all acceleration nodes included in the acceleration path;
the management node establishes connection between the user side and the first acceleration gateway through a 5G network; establishing connection between the first acceleration gateway and an acceleration node located at a first connection sequence position in the acceleration path; establishing the connection of all acceleration nodes in the acceleration path according to the connection sequence; establishing the connection between the acceleration node positioned at the last connection sequence position in the acceleration path and a second acceleration gateway; and establishing the connection between the second acceleration gateway and the cloud platform.
The beneficial effects of the above technical scheme are: and when the management node finishes the selection of the acceleration nodes, forming corresponding acceleration paths based on all the selected acceleration nodes. Wherein, the management node can select one accelerating node, two accelerating nodes or more than two accelerating nodes. The management node is further capable of determining a connection order between all of the acceleration nodes in the acceleration path, the connection order referring to a transmission order of data along each acceleration node in the acceleration path. According to the connection sequence, an acceleration node at the position of the first connection sequence and an acceleration node at the position of the last connection sequence can be determined and are respectively connected with the first acceleration gateway and the second acceleration gateway, so that the acceleration node at the position of the first connection sequence can receive data sent by the first acceleration gateway, and the acceleration node at the position of the last connection sequence can send the data to the second acceleration gateway. In addition, after the acceleration node located at the first connection sequence position receives the data sent by the first acceleration gateway, the data can be forwarded to the acceleration node of the next hop of the acceleration path, and so on, so that the data is finally forwarded to the acceleration node located at the last connection sequence position. In the process of forwarding data in the acceleration path, two adjacent acceleration nodes form a short TCP connection, so that the direct ultra-long connection between the original first acceleration gateway and the second acceleration gateway is divided into a plurality of short TCP connections.
Preferably, the user side sends data to the first acceleration gateway, the first acceleration gateway compresses the data, sends the compressed data to the acceleration node located at the first connection sequence position in the acceleration path, and then sequentially passes through all the acceleration nodes of the acceleration path based on the connection sequence, so as to reach the acceleration node located at the last connection sequence position; then sending the compressed data to the second acceleration gateway from the acceleration node located at the last connection sequence position; and after decompressing the compressed data, the second acceleration gateway sends the decompressed data to the cloud platform.
The beneficial effects of the above technical scheme are: the first acceleration gateway and the second acceleration gateway both have data compression and decompression functions, the first acceleration gateway compresses received data, the data volume can be effectively reduced, the subsequent rapid transmission of the compressed data in the acceleration path is facilitated, when the second acceleration gateway receives the compressed data sent by the acceleration path, the compressed data can be decompressed and restored, and the decompressed and restored data can be sent to the cloud platform again.
Preferably, the first acceleration gateway also predicts the data transmission demand of the user side, and sends the predicted result to the management node;
the management node reselects at least one acceleration node based on the predicted result; forming a new acceleration path based on the reselected at least one acceleration node, and then sending the new acceleration path to the first acceleration gateway;
the first acceleration gateway also establishes a new communication channel between the user side and the cloud platform through the 5G network based on a new acceleration path.
The beneficial effects of the above technical scheme are: the first acceleration gateway can also predict the data transmission requirement of the user side so as to predict the size of data quantity which needs to be transmitted by the user side, and then reselects one acceleration node, two acceleration nodes or more than two acceleration nodes according to the prediction result so as to form a new acceleration path, so that the new acceleration path can be matched with the data transmission requirement of the user side.
Fig. 5 is a functional block diagram of an acceleration device based on a 5G network cloud service according to an embodiment of the present invention. For the function division of the acceleration device, different function modules can be set at the management node, the first acceleration gateway/the second acceleration gateway and the acceleration node according to different functions. And setting a network communication model as a management node, a first acceleration gateway/a second acceleration gateway and an acceleration node to provide a communication interface. The management node can comprise a node monitoring module and a node scheduling module, wherein the node monitoring module can be used for monitoring the load state of each acceleration node, and the node scheduling module can be used for selecting different acceleration nodes to form an acceleration path. The first acceleration gateway/second acceleration gateway may include a data compression/decompression module operable to compress and decompress data and a transparent proxy module operable to implement TCP proxy. The acceleration node can comprise a data forwarding module and a network sampling module, the data forwarding module can be used for forwarding data among different acceleration nodes, and the network sampling module can be used for sampling data of the 5G network.
Furthermore, the present invention also provides a computer device for 5G network cloud service acceleration, comprising: a processor, and a memory storing computer instructions; when the processor executes the computer instructions, the acceleration method based on the 5G network cloud service can be realized.
The present invention also provides a computer readable storage medium, on which computer instructions are stored, which, when executed by a processor, can implement the aforementioned acceleration method based on the 5G network cloud service.
The acceleration device of the present invention may include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable storage media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer-readable storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (15)

1. The acceleration method based on the 5G network cloud service is characterized by comprising the following steps:
the method comprises the following steps that S1, a user side sends a connection request for connecting a cloud platform to a first acceleration gateway, and the first acceleration gateway sends an acceleration request to a management node based on the connection request;
s2, the management node selects at least one acceleration node based on the acceleration request;
forming an acceleration path based on the selected at least one acceleration node, and sending the acceleration path to the first acceleration gateway;
s3, the first acceleration gateway establishes a communication channel between the user side and the cloud platform through a 5G network based on the acceleration path; and the user side transmits data to the cloud platform through the communication channel.
2. The acceleration method based on 5G network cloud service of claim 1, characterized in that:
in step S2, the management node selects at least one acceleration node based on the acceleration request, including:
the management node selects at least one acceleration node based on the acceleration request and a respective load state of each acceleration node.
3. The acceleration method based on 5G network cloud service according to claim 2, characterized in that:
in step S2, before the management node selects at least one acceleration node based on the acceleration request, the method further includes:
and acquiring the respective load states of all the acceleration nodes, and sending all the load states to the management node.
4. The acceleration method based on 5G network cloud service of claim 1, characterized in that:
in step S3, the establishing, by the first acceleration gateway, a communication channel between the user side and the cloud platform through a 5G network based on the acceleration path includes:
determining the connection sequence of all acceleration nodes contained in the acceleration path;
establishing connection between the user side and the first acceleration gateway through a 5G network; establishing connection between the first acceleration gateway and an acceleration node located at a first connection sequence position in the acceleration path; establishing the connection of all acceleration nodes in the acceleration path according to the connection sequence; establishing the connection between the acceleration node positioned at the last connection sequence position in the acceleration path and a second acceleration gateway; and establishing the connection between the second acceleration gateway and the cloud platform.
5. The acceleration method based on 5G network cloud service of claim 4, characterized in that:
in step S3, the transmitting, by the user side, data to the cloud platform through the communication channel includes:
the user side sends data to the first acceleration gateway, the first acceleration gateway compresses the data, and sends the compressed data to the acceleration nodes located at the first connection sequence position in the acceleration path, and then sequentially passes through all the acceleration nodes of the acceleration path based on the connection sequence so as to reach the acceleration node located at the last connection sequence position; then sending the compressed data to the second acceleration gateway from the acceleration node located at the last connection sequence position; and after the second acceleration gateway decompresses the compressed data, sending the decompressed data to the cloud platform.
6. The acceleration method based on 5G network cloud service according to claim 5, characterized in that:
in step S3, compressing the data by the first acceleration gateway, decompressing the compressed data by the second acceleration gateway, and then sending the decompressed data to the cloud platform specifically includes:
step S301, using the following formula (1), instructing the first acceleration gateway to compress the data,
Figure FDA0003927786210000031
in the above formula (1), m 2 A binary form representing compressed data after compressing the data; m1 2 A binary representation of a first one of the compressed data; m2 2 A binary representation of a second one of the compressed data; m is a group of 2 Representing a binary form of the data before compression; len () represents the number of data bits for which binary data in parentheses is found;
Figure FDA0003927786210000032
represents rounding up; />
Figure FDA0003927786210000033
Representing binary data M 2 Position 1 to position->
Figure FDA0003927786210000034
Binary form data of bits; />
Figure FDA0003927786210000035
Representing binary data M 2 Middle and fifth>
Figure FDA0003927786210000036
To the len (M) 2 ) Binary form data of bits; r 2 A binary form representing preset division identification data for distinguishing the first compressed data from the second compressed data; { } 10 Indicating that the data in parentheses is converted to decimal numbers; f 2 Represents a symbol data bit, the number of data bits of which is only one bit, if &>
Figure FDA0003927786210000037
Figure FDA0003927786210000038
Is a positive number or zero, then F 2 =1, if->
Figure FDA0003927786210000039
Figure FDA00039277862100000310
If it is negative, then F 2 =0;| | 2 The absolute value is calculated, and then the numerical value is converted into a binary form; {, } denotes that the commas in brackets are separated into binary numbers and are connected end to form new binary data;
step S302, using the following formula (2), according to the data before and after compression, judging whether the data needs to be compressed,
Figure FDA00039277862100000311
in the above formula (2), E represents a compression control value;
if E =1, then M is applied to the data 2 Compressed into data m 2 Then the data m 2 And E, carrying out combined sending;
if E =0, then not compare the data M 2 Compress and compress the data M 2 E, carrying out combined transmission;
step S303, using the following formula (3) to instruct the second acceleration gateway to decompress the compressed data, and then sending the decompressed data to the cloud platform,
M' 2 =E×{m' 2 (R 2 - ),{[m' 2 (R 2 - )] 10 -{2×[m' 2 (F 2 )] 10 -1}×[m' 2 (R 2 + )] 10 } 2 }+(1-E)×m' 2 (3)
in the above formula (3), M' 2 A binary form representing the decompressed data; {, } denotes that two binary numbers on the left and right sides separated by commas in brackets are connected end to form new binary data; [] 10 Indicating that the data in parentheses is converted to decimal numbers; m' 2 The binary form of the compressed data received by the second acceleration gateway is directly substituted into the formula (3) for calculation if E =0, and m 'if E = 1' 2 Find the data segment as R 2 And said data segment R is divided into 2 The back bit is recorded as m' 2 (F 2 ) Data segment R 2 All data in the front are denoted by m' 2 (R 2 - ) Data segment R 2 All the following data except data segment R 2 Back bit m' 2 (F 2 ) The latter data are recorded as m' 2 (R 2 + ) Then, the calculation is performed by substituting the formula (3).
7. The acceleration method based on 5G network cloud service of claim 1, characterized in that:
in step S3, after the user transmits data to the cloud platform through the communication channel, the method further includes:
the first acceleration gateway predicts the data transmission requirement of the user side and sends the predicted result to the management node;
the management node reselects at least one acceleration node based on the predicted result; forming a new acceleration path based on the reselected at least one acceleration node, and sending the new acceleration path to the first acceleration gateway;
and the first acceleration gateway establishes a new communication channel between the user side and the cloud platform through a 5G network based on a new acceleration path.
8. Acceleration equipment based on 5G network cloud service, characterized by including:
the system comprises a user side and a cloud platform, wherein the user side is used for sending a connection request for connecting the cloud platform to a first acceleration gateway and transmitting data to the cloud platform through a communication channel;
the first acceleration gateway is used for sending an acceleration request to a management node based on the connection request and establishing a communication channel between the user side and the cloud platform through a 5G network based on an acceleration path;
and the management node is used for selecting at least one acceleration node based on the acceleration request, forming an acceleration path based on the selected at least one acceleration node and sending the acceleration path to the first acceleration gateway.
9. The 5G network cloud service-based acceleration device according to claim 8, characterized in that:
the management node selects at least one acceleration node based on the acceleration request, specifically:
the management node selects at least one acceleration node based on the acceleration request and a respective load state of each acceleration node.
10. An acceleration device based on 5G network cloud services according to claim 9, characterized by:
and each acceleration node sends the respective load state to the management node.
11. An acceleration device based on 5G network cloud services according to claim 8, characterized by:
the management node determines the connection sequence of all acceleration nodes contained in the acceleration path;
the management node establishes connection between the user side and the first acceleration gateway through a 5G network; establishing connection between the first acceleration gateway and an acceleration node located at a first connection sequence position in the acceleration path; establishing the connection of all acceleration nodes in the acceleration path according to the connection sequence; establishing the connection between the acceleration node positioned at the last connection sequence position in the acceleration path and a second acceleration gateway; and establishing the connection between the second acceleration gateway and the cloud platform.
12. The 5G network cloud service-based acceleration device according to claim 11, characterized in that:
the user side sends data to the first acceleration gateway, the first acceleration gateway compresses the data, and sends the compressed data to the acceleration nodes located at the first connection sequence position in the acceleration path, and then sequentially passes through all the acceleration nodes of the acceleration path based on the connection sequence so as to reach the acceleration node located at the last connection sequence position; sending the compressed data to the second acceleration gateway from the acceleration node located at the last connection sequence position; and after the second acceleration gateway decompresses the compressed data, sending the decompressed data to the cloud platform.
13. The 5G network cloud service-based acceleration device according to claim 8, characterized in that:
the first acceleration gateway also predicts the data transmission requirement of the user side and sends the predicted result to the management node;
the management node reselects at least one acceleration node based on the predicted result; forming a new acceleration path based on the reselected at least one acceleration node, and sending the new acceleration path to the first acceleration gateway;
and the first acceleration gateway establishes a new communication channel between the user side and the cloud platform through a 5G network based on a new acceleration path.
14. A computer device for 5G network cloud service acceleration, comprising:
a processor, and a memory storing computer instructions;
the processor, when executing the computer instructions, can implement the 5G network cloud service-based acceleration method according to any one of claims 1-7.
15. A computer readable storage medium having stored thereon computer instructions, which when executed by a processor, are capable of implementing the 5G network cloud service based acceleration method according to any one of claims 1 to 7.
CN202211379625.4A 2022-11-04 2022-11-04 Acceleration method and device based on 5G network cloud service Active CN115942433B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211379625.4A CN115942433B (en) 2022-11-04 2022-11-04 Acceleration method and device based on 5G network cloud service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211379625.4A CN115942433B (en) 2022-11-04 2022-11-04 Acceleration method and device based on 5G network cloud service

Publications (2)

Publication Number Publication Date
CN115942433A true CN115942433A (en) 2023-04-07
CN115942433B CN115942433B (en) 2023-10-03

Family

ID=86648034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211379625.4A Active CN115942433B (en) 2022-11-04 2022-11-04 Acceleration method and device based on 5G network cloud service

Country Status (1)

Country Link
CN (1) CN115942433B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160127490A1 (en) * 2014-10-30 2016-05-05 International Business Machines Corporation Dynamic data compression
CN110896483A (en) * 2018-09-12 2020-03-20 阿诺德和里克特电影技术公司 Method for compressing and decompressing image data
CN112671662A (en) * 2020-12-29 2021-04-16 网络通信与安全紫金山实验室 Data stream acceleration method, electronic device, and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160127490A1 (en) * 2014-10-30 2016-05-05 International Business Machines Corporation Dynamic data compression
CN110896483A (en) * 2018-09-12 2020-03-20 阿诺德和里克特电影技术公司 Method for compressing and decompressing image data
CN112671662A (en) * 2020-12-29 2021-04-16 网络通信与安全紫金山实验室 Data stream acceleration method, electronic device, and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张一凡: "《云服务下的TCP加速技术的研究与实现》", 硕士学位论文, pages 2 - 4 *

Also Published As

Publication number Publication date
CN115942433B (en) 2023-10-03

Similar Documents

Publication Publication Date Title
JP7174834B2 (en) Multi-channel data transmission method, apparatus and system, computer program, electronic equipment
US20210136142A1 (en) Task offloading and routing in mobile edge cloud networks
JP7154399B2 (en) DATA TRANSMISSION METHOD, APPARATUS, COMPUTER-READABLE MEDIUM AND ELECTRONIC DEVICE
CN110708393B (en) Method, device and system for transmitting data
JP2000092118A (en) Programmable network
CN112291366A (en) Data transmission method, device, storage medium and electronic equipment
CN116055415B (en) Data packet transmission control method and device
CN115277806A (en) Cloud desktop connection method, device and equipment
CN104811383A (en) Message forwarding method and equipment
CN110545230B (en) Method and device for forwarding VXLAN message
CN114785737A (en) Message processing method, gateway device, server and storage medium
CN112398754B (en) Data transmission method, device, medium, electronic equipment and network access equipment
CN115277504B (en) Network traffic monitoring method, device and system
CN115942433B (en) Acceleration method and device based on 5G network cloud service
CN114980359B (en) Data forwarding method, device, equipment, system and storage medium
CN113297117B (en) Data transmission method, device, network system and storage medium
JPH09247209A (en) Flow control system of transport layer protocol for resource reservation channel
CN111988221B (en) Data transmission method, data transmission device, storage medium and electronic equipment
CN113891393B (en) Link self-adaptive transmission method, device, equipment and storage medium
CN112769593A (en) Network monitoring system and network monitoring method
JPH11113066A (en) Data communication method, portable data communication equipment and storage medium
CN113765805B (en) Calling-based communication method, device, storage medium and equipment
CN109743361B (en) Data processing method of content increment switching network and communication network platform
CN113114565B (en) Data message forwarding method and device, storage medium and electronic equipment
US20190089621A1 (en) Methods and apparatus for transmitting data

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