CN115942433B - Acceleration method and device based on 5G network cloud service - Google Patents
Acceleration method and device based on 5G network cloud service Download PDFInfo
- Publication number
- CN115942433B CN115942433B CN202211379625.4A CN202211379625A CN115942433B CN 115942433 B CN115942433 B CN 115942433B CN 202211379625 A CN202211379625 A CN 202211379625A CN 115942433 B CN115942433 B CN 115942433B
- 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.)
- Active
Links
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing 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 a 5G network cloud service, which divide an ultra-long pipeline in a 5G private network into multiple stages of 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 principle of a pipeline, so that the throughput rate of the network is obviously improved, the problem of high bandwidth and low speed existing in wide area network application of a TCP protocol can be solved, and the bandwidth utilization rate of the TCP protocol in the wide area network is improved. Meanwhile, the acceleration gateway can compress and decompress TCP data packets, so that the data transmission quantity in the high-bandwidth time delay network is reduced, and the data transmission speed is improved.
Description
Technical Field
The invention relates to the technical field of network cloud services, in particular to an acceleration method and acceleration equipment based on 5G network cloud services.
Background
The 5G private network is essentially a 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 requirements of enterprise user differentiation. But the internet communication architecture takes a TCP/IP protocol as a core, and when a user accesses the cloud platform, most of the time, the user communicates with the cloud platform by utilizing the TCP/IP protocol. However, the 5G private network has a complex environment, and compared with the local area network, the wide area network has the problems of prolonged time, 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. As the demand for bandwidth of the 5G private network is increasing, the network throughput of the 5G private network is not significantly improved due to the congestion control mechanism of the TCP/IP protocol.
Disclosure of Invention
Aiming at the defects existing in the prior art, the invention provides an acceleration method and equipment based on a 5G network cloud service, which divide an ultra-long pipeline in a 5G private network into multiple stages of 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 principle of a pipeline, so that the throughput rate of the network is obviously improved, the problem of high bandwidth and low speed existing in wide area network application of a TCP protocol can be solved, and the bandwidth utilization rate of the TCP protocol in the wide area network is improved. Meanwhile, the acceleration gateway can compress and decompress TCP data packets, so that the data transmission quantity in the high-bandwidth time delay network is reduced, and the data transmission speed is improved.
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;
step S2, the management node selects at least one acceleration node based on the acceleration request; forming an acceleration path based on at least one selected acceleration node, and then sending the acceleration path to the first acceleration gateway;
Step 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 one embodiment of the disclosure, 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 status of each acceleration node.
In one embodiment of the disclosure, before the management node selects at least one acceleration node based on the acceleration request in the step S2, 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 one embodiment of the disclosure, in the step S3, the first acceleration gateway establishes a communication channel between the client and the cloud platform through a 5G network based on the acceleration path, including:
determining the connection sequence of all acceleration nodes contained in the acceleration path;
Establishing 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 positioned at a first connection sequence position in the acceleration path; establishing connection of all acceleration nodes in the acceleration path according to the connection sequence; establishing connection between an acceleration node positioned at the last connection sequence position in the acceleration path and a second acceleration gateway; and establishing connection between the second acceleration gateway and the cloud platform.
In one embodiment of the disclosure, in the 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 acceleration nodes positioned at a first connection sequence position in the acceleration path, and then the compressed data sequentially passes through all acceleration nodes of the acceleration path based on the connection sequence, so that the compressed data reaches the acceleration nodes positioned at a last connection sequence position; transmitting the compressed data from the acceleration node at the last connection sequence position to the second acceleration gateway; and after decompressing the compressed data, the second acceleration gateway sends the decompressed data to the cloud platform.
In one embodiment of the disclosure, in the step S3, the compressing the data by the first acceleration gateway, decompressing the compressed data by the second acceleration gateway, and sending the decompressed data to the cloud platform specifically includes:
step S301, using the following formula (1), of instructing the first acceleration gateway to compress the data,
in the above formula (1), m 2 A binary form representing compressed data after compression of 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 of the compressed data; m is M 2 A binary form representing the data prior to compression; len () represents the number of bits of binary data in brackets;representing an upward rounding; /> Representing binary data M 2 In 1 st to->Binary form data of bits; />Representing binary data M 2 Middle (f)Bit to len (M 2 ) Binary form data of bits; r is R 2 A binary form representing preset division identification data for distinguishing the first compressed data from the second compressed data; {} 10 Representing the conversion of the data in brackets into decimal numbers; f (F) 2 Representing sign data bits, the number of which is only one bit, if +. > Is positive or zero, F 2 =1, ifWhen the number is negative, F 2 =0;| | 2 The absolute value is calculated, and then the numerical value is converted into a binary form; {, } means that commas in brackets are separated into binary numbers to form new binary data end to end;
step S302, judging whether the data needs to be compressed or not according to the data before and after compression by using the following formula (2),
in the above formula (2), E represents a compression control value;
if e=1, then for the data M 2 Compressed into data m 2 Then the data m 2 And E, carrying out combined transmission;
if e=0, the data M is not to be compared 2 Compress and store data M 2 And E, carrying out combined transmission;
step S303, after the second acceleration gateway is instructed to decompress the compressed data by using the following formula (3), the decompressed data is sent 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; {, } means that two binary numbers on the left and right sides separated by comma in a bracket are connected end to form new binary data; [] 10 Representing the conversion of the data in brackets into decimal numbers; m's' 2 A binary form representing the compressed data received by the second acceleration gateway is directly substituted into the above formula (3) for calculation if e=0, and is calculated at m 'if e=1' 2 Find data segment as R 2 And the data segment R 2 The rear one is marked as m' 2 (F 2 ) Segment R of data 2 All data in the front are noted as m' 2 (R 2 - ) Segment R of data 2 All data except data segment R 2 One-position m 'at the back' 2 (F 2 ) The data obtained are recorded as m' 2 (R 2 + ) Then, the calculation is performed by substituting the above formula (3).
In an embodiment of the disclosure, 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 a predicted result to the management node;
the management node reselects at least one acceleration node based on the result of the prediction; based on the at least one acceleration node which is reselected, a new acceleration path is formed, and the new acceleration path is sent 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 application also provides acceleration equipment based on the 5G network cloud service, which comprises:
the cloud platform comprises a user side, a first acceleration gateway and a second acceleration gateway, wherein the user side is used for sending a connection request for connecting with 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 the management node based on the connection request and establishing a communication channel between the user terminal 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 one embodiment of the disclosure, 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 status of each acceleration node.
In one disclosed embodiment of this application, each acceleration node sends a respective load status to the management node.
In one embodiment of the disclosure, the management node determines a connection sequence between all acceleration nodes included in the acceleration path;
the management node also establishes 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 positioned at a first connection sequence position in the acceleration path; establishing connection of all acceleration nodes in the acceleration path according to the connection sequence; establishing connection between an acceleration node positioned at the last connection sequence position in the acceleration path and a second acceleration gateway; and establishing connection between the second acceleration gateway and the cloud platform.
In one embodiment of the disclosure, the user side sends data to the first acceleration gateway, the first acceleration gateway compresses the data, sends the compressed data to acceleration nodes located at a first connection sequence position in the acceleration path, and then sequentially passes the compressed data through all acceleration nodes of the acceleration path based on the connection sequence, so as to reach the acceleration node located at a last connection sequence position; transmitting the compressed data from the acceleration node at the last connection sequence position to the second acceleration gateway; and after decompressing the compressed data, the second acceleration gateway sends the decompressed data to the cloud platform.
In an embodiment of the disclosure, 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 result of the prediction; based on the at least one acceleration node which is reselected, a new acceleration path is formed, and the new acceleration path is sent to the first acceleration gateway;
The first acceleration gateway establishes a new communication channel between the user terminal and the cloud platform through a 5G network based on a new acceleration path.
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 having stored thereon computer instructions which, when executed by a processor, enable the aforementioned acceleration method based on 5G network cloud services.
Compared with the prior art, the acceleration method and the device based on the 5G network cloud service divide an ultra-long pipeline in a 5G private network into multiple stages of short TCP connections by deploying the IP double-end acceleration gateway and utilizing a plurality of acceleration nodes as TCP agents for data forwarding, and all the short TCP connections work according to the principle of a pipeline, so that the throughput rate of the network is obviously improved, the problem of high bandwidth and low speed existing in wide area network application of the TCP protocol can be solved, and the bandwidth utilization rate of the TCP protocol in the wide area network is improved. Meanwhile, the acceleration gateway can compress and decompress TCP data packets, so that the data transmission quantity in the high-bandwidth time delay network is reduced, and the data transmission speed is improved.
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 thereof as well as the appended drawings.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of an acceleration method based on a 5G network cloud service provided by the present invention.
Fig. 2 is a timing chart 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 chart of the acceleration method based on the 5G network cloud service provided by the invention.
Fig. 4 is a block diagram of an acceleration device based on a 5G network cloud service according to 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 following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a flowchart of an acceleration method based on a 5G network cloud service according to an embodiment of the present invention is provided. 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;
step 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 then transmitting the acceleration path to the first acceleration gateway;
Step S3, the first acceleration gateway establishes a communication channel between the user terminal 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 technical scheme are as follows: the acceleration method mainly comprises three parts of a management node, an acceleration gateway and an acceleration node. The two acceleration gateways are respectively arranged at the two sides of the user side and the cloud platform, the management node can select proper acceleration nodes for the user side, and a plurality of acceleration nodes are arranged on a communication path between the two acceleration gateways, so that the plurality of acceleration nodes arranged between the user side and the cloud platform can be utilized for data forwarding, and a plurality of TCP (transmission control protocol) connections are adopted to replace the 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 process of transmitting data, and the throughput rate of a network can be effectively improved. And the acceleration gateway can also compress and decompress the TCP data packet, reduce the data transmission quantity in the high-bandwidth time delay network, thus improve the transmission speed of the data.
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 status of each acceleration node.
The beneficial effects of the technical scheme are as follows: after receiving the acceleration request, the management node selects at least one proper acceleration node according to the network load state of each acceleration node, and performs scheduling of the acceleration node, so that a proper acceleration path is allocated to the acceleration request. In practical application, the management node may select an acceleration node with an actual network load rate less than or equal to a preset load rate threshold value for forming an acceleration path.
Preferably, in the 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 technical scheme are as follows: after receiving the acceleration request, each acceleration node sends the current actual network load rate to the management node, so that the management node can acquire the load state of each acceleration node in time, and a more efficient acceleration path is formed.
Preferably, in the step S3, the first acceleration gateway establishes a communication channel between the client and the cloud platform through a 5G network based on the acceleration path, including:
Determining the connection sequence of all acceleration nodes contained in the acceleration path;
establishing 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 positioned at a first connection sequence position in the acceleration path; establishing connection of all acceleration nodes in the acceleration path according to the connection sequence; establishing connection between an acceleration node positioned at the last connection sequence position in the acceleration path and a second acceleration gateway; and establishing connection between the second acceleration gateway and the cloud platform.
The beneficial effects of the technical scheme are as follows: and when the management node finishes the selection of the acceleration nodes, forming a corresponding acceleration path based on all the selected acceleration nodes. Wherein the management node may select one acceleration node, two acceleration nodes, or more than two acceleration nodes. The management node is further capable of determining a connection order between all acceleration nodes in the acceleration path, the connection order being a transmission order of data along each acceleration node in the acceleration path. According to the connection sequence, the acceleration node at the first connection sequence position and the acceleration node at the last connection sequence position can be determined and respectively connected with the first acceleration gateway and the second acceleration gateway, so that the acceleration node at the first connection sequence position can receive data sent by the first acceleration gateway and the acceleration node at the last connection sequence position can send the data to the second acceleration gateway. In addition, after the acceleration node at the first connection sequence position receives the data sent by the first acceleration gateway, the data can be forwarded to the acceleration node at the next hop of the acceleration path, and so on, so that the data is finally forwarded to the acceleration node at the last connection sequence position. In the process of forwarding data in an acceleration path, two adjacent acceleration nodes form a short TCP connection, so that the direct ultralong connection between the original first acceleration gateway and the second acceleration gateway is divided into a plurality of short TCP connections.
Preferably, in the 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 acceleration nodes positioned at a first connection sequence position in the acceleration path, and then the compressed data sequentially passes through all acceleration nodes of the acceleration path based on the connection sequence, so that the compressed data reaches the acceleration nodes positioned at a last connection sequence position; then the compressed data is sent from the acceleration node positioned at the last connection sequence position to the second acceleration gateway; and after decompressing the compressed data, the second acceleration gateway sends the decompressed data to the cloud platform.
The beneficial effects of the technical scheme are as follows: 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 compressed data can be conveniently and rapidly transmitted in an acceleration path, after 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 is sent to the cloud platform.
Preferably, in the step S3, the compressing the data by the first acceleration gateway, decompressing the compressed data by the second acceleration gateway, and 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,
in the above formula (1), m 2 A binary form representing compressed data after the data is compressed; m1 2 A binary form representing a first compressed data of the compressed data; m2 2 A binary form representing second compressed data of the compressed data; m is M 2 A binary form representing the data prior to compression; len () represents the number of bits of binary data in brackets;representing an upward rounding; />Representing binary data M 2 In 1 st to->Binary form data of bits; /> Representing binary data M 2 Middle->Bit to len (M 2 ) Binary form data of bits; r is R 2 A binary form representing preset division identification data for distinguishing the first compressed data from the second compressed data; {} 10 Representing the conversion of the data in brackets into decimal numbers; f (F) 2 Representing sign data bits, the number of which is only one bit, if +.> Is positive or zero, F 2 =1, if-> When the number is negative, F 2 =0;|| 2 The absolute value is calculated, and then the numerical value is converted into a binary form; {, } means that commas in brackets are separated into binary numbers to form new binary data end to end;
step S302, judging whether the data needs to be compressed or not according to the data before and after compression by using the following formula (2),
in the above formula (2), E represents a compression control value;
if e=1, then for the data M 2 Compressed into data m 2 Then the data m 2 And E, carrying out combined transmission;
if e=0, the data M is not to be compared 2 Compress and store data M 2 And E, carrying out combined transmission;
step S303, after the second acceleration gateway is instructed to decompress the compressed data by the following formula (3), the decompressed data is sent 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; {, } means that two binary numbers on the left and right sides separated by comma in a bracket are connected end to form new binary data; [] 10 Representing the conversion of the data in brackets into decimal numbers; m's' 2 A binary form representing the compressed data received by the second acceleration gateway is calculated by directly substituting the data into the above formula (3) if e=0, and at m 'if e=1' 2 Find data segment as R 2 And the data segment R 2 The rear one is marked as m' 2 (F 2 ) Segment R of data 2 All data in the front are noted as m' 2 (R 2 - ) Segment r of data 2 All data except data segment R 2 One-position m 'at the back' 2 (F 2 ) The data obtained are recorded as m' 2 (R 2 + ) Then, the calculation is performed by substituting the above formula (3).
The beneficial effects of the technical scheme are as follows: by utilizing the formula (1), data are compressed, so that lossless compression of the data is realized, and meanwhile, identification points are added to ensure the accuracy and reliability of decompression; then, judging whether the data need to be compressed or not according to the data before and after compression by utilizing the formula (2), so that compression is canceled 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 utilizing the formula (3) to ensure the integrity and the 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 a predicted result to the management node;
the management node reselects at least one acceleration node based on the outcome of the prediction; forming a new acceleration path based on the reselected at least one acceleration node, and then transmitting the new acceleration path to the first acceleration gateway;
The first acceleration gateway establishes a new communication channel between the user terminal and the cloud platform through a 5G network based on a new acceleration path.
The beneficial effects of the technical scheme are as follows: the first acceleration gateway predicts the data transmission requirement of the user terminal, so as to predict the data quantity required to be transmitted by the user terminal, and then reselects one acceleration node, two acceleration nodes or more than two acceleration nodes according to the predicted result, so that a new acceleration path is formed, and the new acceleration path can be matched with the data transmission requirement of the user terminal.
Referring to fig. 2 and fig. 3, a timing chart and a data transmission timing chart of a communication channel establishment method based on an acceleration method of a 5G network cloud service according to an embodiment of the present invention are respectively shown. Specifically, as shown in fig. 2, a user side initiates a TCP connection request to a cloud platform, and the TCP connection request is intercepted by a 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 terminal, so that the first acceleration gateway establishes a TCP connection with the user terminal. After intercepting the TCP connection request, the first acceleration gateway sends an acceleration request to the management node, and the management node performs acceleration node scheduling to allocate 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 allocated by the management node. And the acceleration node sequentially establishes TCP connection with the next acceleration node until the second acceleration gateway and the cloud platform complete the establishment of the TCP connection. Thus, a communication channel is established between the user side and the cloud platform.
After the communication channel between the user terminal and the cloud platform is established, data transmission between the user terminal and the cloud platform can be realized. The data transmission timing between the client and the cloud platform is shown in fig. 3, and will not be described in detail here.
Referring to fig. 4, a block diagram of an acceleration device based on a 5G network cloud service according to an embodiment of the present invention is provided. The acceleration device based on the 5G network cloud service comprises:
the user end 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 the management node based on the connection request and establishing a communication channel between the user terminal 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 transmitting the acceleration path to the first acceleration gateway.
The beneficial effects of the technical scheme are as follows: in the acceleration device, the acceleration device mainly comprises three parts of a management node, an acceleration gateway and an acceleration node. The two acceleration gateways are respectively arranged at the two sides of the user side and the cloud platform, the management node can select proper acceleration nodes for the user side, and a plurality of acceleration nodes are arranged on a communication path between the two acceleration gateways, so that the plurality of acceleration nodes arranged between the user side and the cloud platform can be utilized for data forwarding, and a plurality of TCP (transmission control protocol) connections are adopted to replace the 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 process of transmitting data, and the throughput rate of a network can be effectively improved. And the acceleration gateway can also compress and decompress the TCP data packet, reduce the data transmission quantity in the high-bandwidth time delay network, thus improve the transmission speed of the data. The management node can have the functions of node scheduling, node monitoring, network interfaces and the like; the acceleration node can have the functions of data forwarding, network sampling, network interface and the like; the first acceleration gateway and the second acceleration gateway may have 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 status of each acceleration node.
The beneficial effects of the technical scheme are as follows: after receiving the acceleration request, the management node selects at least one proper acceleration node according to the network load state of each acceleration node, and performs scheduling of the acceleration node, so that a proper acceleration path is allocated to the acceleration request. In practical application, the management node may select an acceleration node with an actual network load rate less than or equal to a preset load rate threshold value for forming an acceleration path.
Preferably, each acceleration node transmits a respective load status to the management node.
The beneficial effects of the technical scheme are as follows: after receiving the acceleration request, each acceleration node sends the current actual network load rate to the management node, so that the management node can acquire the load state of each acceleration node in time, and a more efficient acceleration path is formed.
Preferably, the management node determines the connection sequence of all acceleration nodes included in the acceleration path with each other;
The management node also establishes 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 positioned at a first connection sequence position in the acceleration path; establishing connection of all acceleration nodes in the acceleration path according to the connection sequence; establishing connection between an acceleration node positioned at the last connection sequence position in the acceleration path and a second acceleration gateway; and establishing connection between the second acceleration gateway and the cloud platform.
The beneficial effects of the technical scheme are as follows: and when the management node finishes the selection of the acceleration nodes, forming a corresponding acceleration path based on all the selected acceleration nodes. Wherein the management node may select one acceleration node, two acceleration nodes, or more than two acceleration nodes. The management node is further capable of determining a connection order between all acceleration nodes in the acceleration path, the connection order being a transmission order of data along each acceleration node in the acceleration path. According to the connection sequence, the acceleration node at the first connection sequence position and the acceleration node at the last connection sequence position can be determined and respectively connected with the first acceleration gateway and the second acceleration gateway, so that the acceleration node at the first connection sequence position can receive data sent by the first acceleration gateway and the acceleration node at the last connection sequence position can send the data to the second acceleration gateway. In addition, after the acceleration node at the first connection sequence position receives the data sent by the first acceleration gateway, the data can be forwarded to the acceleration node at the next hop of the acceleration path, and so on, so that the data is finally forwarded to the acceleration node at the last connection sequence position. In the process of forwarding data in an acceleration path, two adjacent acceleration nodes form a short TCP connection, so that the direct ultralong 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, and after sending the compressed data to the acceleration nodes located at the first connection sequence position in the acceleration path, the compressed data 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 the compressed data is sent from the acceleration node positioned at the last connection sequence position to the second acceleration gateway; and after decompressing the compressed data, the second acceleration gateway sends the decompressed data to the cloud platform.
The beneficial effects of the technical scheme are as follows: 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 compressed data can be conveniently and rapidly transmitted in an acceleration path, after 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 is sent to the cloud platform.
Preferably, the first acceleration gateway predicts the data transmission requirement of the user end and sends the predicted result to the management node;
The management node reselects at least one acceleration node based on the outcome of the prediction; forming a new acceleration path based on the reselected at least one acceleration node, and then transmitting 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 a 5G network based on the new acceleration path.
The beneficial effects of the technical scheme are as follows: the first acceleration gateway predicts the data transmission requirement of the user terminal, so as to predict the data quantity required to be transmitted by the user terminal, and then reselects one acceleration node, two acceleration nodes or more than two acceleration nodes according to the predicted result, so that a new acceleration path is formed, and the new acceleration path can be matched with the data transmission requirement of the user terminal.
Referring to fig. 5, a functional block diagram of an acceleration device based on a 5G network cloud service according to an embodiment of the present invention is provided. 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 the network communication model is also set as a management node, and the first acceleration gateway/the second acceleration gateway provides a communication interface for the acceleration nodes. The management node may include a node monitoring module and a node scheduling module, where the node monitoring module may be configured to monitor a load status of each acceleration node, and the node scheduling module may be configured to select different acceleration nodes to form an acceleration path. The first acceleration gateway/second acceleration gateway may include a data compression/decompression module that may be used to compress and decompress data and a transparent proxy module that may be used to implement a TCP proxy. The accelerating nodes can comprise a data forwarding module and a network sampling module, wherein the data forwarding module can be used for forwarding data among different accelerating nodes, and the network sampling module can be used for sampling data of a 5G network.
Also, the present invention 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 having stored thereon computer instructions which, when executed by a processor, enable the aforementioned acceleration method based on a 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 volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
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 disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer readable media, as defined herein, does not include non-transitory computer readable media (transmission media), such as modulated data signals and carrier waves.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.
Claims (10)
1. The accelerating method based on the 5G network cloud service is characterized by comprising the following steps of:
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;
step S2, the management node selects at least one acceleration node based on the acceleration request; forming an acceleration path based on at least one selected acceleration node, and then sending the acceleration path to the first acceleration gateway;
step 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; the user side transmits data to the cloud platform through the communication channel;
in the step S3, the first acceleration gateway establishes a communication channel between the client and the cloud platform through a 5G network based on the acceleration path, including:
Determining the connection sequence of all acceleration nodes contained in the acceleration path;
establishing 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 positioned at a first connection sequence position in the acceleration path; establishing connection of all acceleration nodes in the acceleration path according to the connection sequence; establishing connection between an acceleration node positioned at the last connection sequence position in the acceleration path and a second acceleration gateway; establishing connection between the second acceleration gateway and the cloud platform;
in the 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 acceleration nodes positioned at a first connection sequence position in the acceleration path, and then the compressed data sequentially passes through all acceleration nodes of the acceleration path based on the connection sequence, so that the compressed data reaches the acceleration nodes positioned at a last connection sequence position; transmitting the compressed data from the acceleration node at the last connection sequence position to the second acceleration gateway; after decompressing the compressed data, the second acceleration gateway sends the decompressed data to the cloud platform;
In the step S3, the compressing the data by the first acceleration gateway, decompressing the compressed data by the second acceleration gateway, and sending the decompressed data to the cloud platform specifically includes:
step S301, using the following formula (1), of instructing the first acceleration gateway to compress the data,
in the above formula (1), m 2 A binary form representing compressed data after compression of 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 of the compressed data; m is M 2 A binary form representing the data prior to compression; len () represents the number of bits of binary data in brackets;representing an upward rounding; />Representing binary data M 2 In 1 st to->Binary form data of bits; />Representing binary data M 2 Middle->Bit to len (M 2 ) Binary form data of bits; r is R 2 A binary form representing preset division identification data for distinguishing the first compressed data from the second compressed data; {} 10 Representing the conversion of the data in brackets into decimal numbers; f (F) 2 Representing sign data bits, the number of which is only one bit, if +. > Is positive or zero, F 2 =1, if-> When the number is negative, F 2 =0;| | 2 The absolute value is calculated, and then the numerical value is converted into a binary form; {, } means that commas in brackets are separated into binary numbers to form new binary data end to end;
step S302, judging whether the data needs to be compressed or not according to the data before and after compression by using the following formula (2),
in the above formula (2), E represents a compression control value;
if e=1, then for the data M 2 Compressed into data m 2 Then the data m 2 And E, carrying out combined transmission;
if e=0, the data M is not to be compared 2 Compress and store data M 2 And E, carrying out combined transmission;
step S303, after the second acceleration gateway is instructed to decompress the compressed data by using the following formula (3), the decompressed data is sent 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; {, } means that two binary numbers on the left and right sides separated by comma in a bracket are connected end to form new binary data; [] 10 Representing the conversion of the data in brackets into decimal numbers; m's' 2 A binary form representing the compressed data received by the second acceleration gateway is directly substituted into the above formula (3) for calculation if e=0, and is calculated at m 'if e=1' 2 Find data segment as R 2 And the data segment R 2 The rear one is marked as m' 2 (F 2 ) Segment R of data 2 All data in the front are noted as m' 2 (R 2 - ) Segment R of data 2 All data except data segment R 2 One-position m 'at the back' 2 (F 2 ) The data obtained are recorded as m' 2 (R 2 + ) Then, the calculation is performed by substituting the above formula (3).
2. The acceleration method based on the 5G network cloud service of claim 1, wherein:
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 status of each acceleration node.
3. The acceleration method based on the 5G network cloud service of claim 2, wherein:
in the 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 the 5G network cloud service of claim 1, wherein: 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 a predicted result to the management node;
the management node reselects at least one acceleration node based on the result of the prediction; based on the at least one acceleration node which is reselected, a new acceleration path is formed, and the new acceleration path is sent 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.
5. Acceleration device based on 5G network cloud service, characterized by comprising:
the cloud platform comprises a user side, a first acceleration gateway and a second acceleration gateway, wherein the user side is used for sending a connection request for connecting with 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 the management node based on the connection request and establishing a communication channel between the user terminal and the cloud platform through a 5G network based on an acceleration path;
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 management node determines the connection sequence of all acceleration nodes contained in the acceleration path;
the management node also establishes 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 positioned at a first connection sequence position in the acceleration path; establishing connection of all acceleration nodes in the acceleration path according to the connection sequence; establishing connection between an acceleration node positioned at the last connection sequence position in the acceleration path and a second acceleration gateway; establishing connection between the second acceleration gateway and the cloud platform;
the user side sends data to the first acceleration gateway, the first acceleration gateway compresses the data, the compressed data is sent to acceleration nodes positioned at a first connection sequence position in the acceleration path, and then the compressed data sequentially passes through all acceleration nodes of the acceleration path based on the connection sequence, so that the compressed data reaches the acceleration nodes positioned at a last connection sequence position; transmitting the compressed data from the acceleration node at the last connection sequence position to the second acceleration gateway; after decompressing the compressed data, the second acceleration gateway sends the decompressed data to the cloud platform;
The method for transmitting the data to the cloud platform specifically includes:
step S301, using the following formula (1), of instructing the first acceleration gateway to compress the data,
in the above formula (1), m 2 A binary form representing compressed data after compression of 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 of the compressed data; m is M 2 A binary form representing the data prior to compression; len () represents the number of bits of binary data in brackets;representing an upward rounding; />Representing binary data M 2 In 1 st to->Binary form data of bits; />Representing binary data M 2 Middle->Bit to len (M 2 ) Binary form data of bits; r is R 2 A binary form representing preset division identification data for distinguishing the first compressed data from the second compressed data; {} 10 Representing the conversion of the data in brackets into decimal numbers; f (F) 2 Representing sign data bits, the number of which is only one bit, if +.> Is positive or zero, F 2 =1, if-> When the number is negative, F 2 =0;| | 2 The absolute value is calculated, and then the numerical value is converted into a binary form; {, } means that commas in brackets are separated into binary numbers to form new binary data end to end;
step S302, judging whether the data needs to be compressed or not according to the data before and after compression by using the following formula (2),
in the above formula (2), E represents a compression control value;
if e=1, then for the data M 2 Compressed into data m 2 Then the data m 2 And E, carrying out combined transmission;
if e=0, the data M is not to be compared 2 Compress and store data M 2 And E, carrying out combined transmission;
step S303, after the second acceleration gateway is instructed to decompress the compressed data by using the following formula (3), the decompressed data is sent 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; {, } means to beThe left binary number and the right binary number separated by commas in the brackets are connected end to form new binary data; [] 10 Representing the conversion of the data in brackets into decimal numbers; m's' 2 A binary form representing the compressed data received by the second acceleration gateway is directly substituted into the above formula (3) for calculation if e=0, and is calculated at m 'if e=1' 2 Find data segment as R 2 And the data segment n 2 The rear one is marked as m' 2 (F 2 ) Segment R of data 2 All data in the front are noted as m' 2 (R 2 - ) Segment R of data 2 All data except data segment R 2 One-position m 'at the back' 2 (F 2 ) The data obtained are recorded as m' 2 (R 2 + ) Then, the calculation is performed by substituting the above formula (3).
6. The acceleration apparatus based on 5G network cloud services of claim 5, wherein:
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 status of each acceleration node.
7. The acceleration apparatus based on 5G network cloud services of claim 6, wherein:
each acceleration node sends a respective load status to the management node.
8. The acceleration apparatus based on 5G network cloud services of claim 7, wherein:
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 result of the prediction; based on the at least one acceleration node which is reselected, a new acceleration path is formed, and the new acceleration path is sent to the first acceleration gateway;
The first acceleration gateway establishes a new communication channel between the user terminal and the cloud platform through a 5G network based on a new acceleration path.
9. 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, is capable of implementing the acceleration method based on 5G network cloud services of any of claims 1-4.
10. A computer readable storage medium having stored thereon computer instructions, which, when executed by a processor, enable the acceleration method based on a 5G network cloud service according to any of the claims 1-4.
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 CN115942433A (en) | 2023-04-07 |
CN115942433B true 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 (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9596311B2 (en) * | 2014-10-30 | 2017-03-14 | International Business Machines Corporation | Dynamic data compression |
-
2022
- 2022-11-04 CN CN202211379625.4A patent/CN115942433B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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)
Title |
---|
《云服务下的TCP加速技术的研究与实现》;张一凡;硕士学位论文;第2-4章 * |
Also Published As
Publication number | Publication date |
---|---|
CN115942433A (en) | 2023-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7154399B2 (en) | DATA TRANSMISSION METHOD, APPARATUS, COMPUTER-READABLE MEDIUM AND ELECTRONIC DEVICE | |
CN105991462B (en) | Sending method, sending device and the system of transmission control protocol TCP data packet | |
US7315896B2 (en) | Server network controller including packet forwarding and method therefor | |
WO2023284447A1 (en) | Cloud-edge collaboration data transmission method, server, and storage medium | |
CN111769998A (en) | Method and device for detecting network delay state | |
CN115277806A (en) | Cloud desktop connection method, device and equipment | |
US20070291782A1 (en) | Acknowledgement filtering | |
CN116055415B (en) | Data packet transmission control method and device | |
US7428271B2 (en) | Network device and data transmission method for efficient data transmission and reception in mobile ad hoc network environment | |
CN113904977A (en) | Multilink gateway data transmission method and device, electronic equipment and readable medium | |
US7646738B2 (en) | Wireless network information distribution method | |
CN117478680B (en) | Terminal data stream transmission remote control method and system based on Internet of things management platform | |
CN105763375B (en) | A kind of data packet sending method, method of reseptance and microwave station | |
CN112398754B (en) | Data transmission method, device, medium, electronic equipment and network access equipment | |
CN115942433B (en) | Acceleration method and device based on 5G network cloud service | |
US20200336432A1 (en) | Methods for dynamically controlling transmission control protocol push functionality and devices thereof | |
CN112671662A (en) | Data stream acceleration method, electronic device, and storage medium | |
CN110290552B (en) | Method and device for measuring cache depth, storage medium and electronic device | |
CN113297117B (en) | Data transmission method, device, network system and storage medium | |
CN115277504A (en) | Network traffic monitoring method, device and system | |
JPH09247209A (en) | Flow control system of transport layer protocol for resource reservation channel | |
CN111464448B (en) | Data transmission method and device | |
CN109639684B (en) | Method and system for dynamically applying bandwidth | |
US20140237136A1 (en) | Communication system, communication controller, communication control method, and medium | |
CN116131923B (en) | Data transmission method, device and storage medium based on satellite communication |
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 |