Data transmission method, apparatus and device, and storage medium

By using RDMA technology for direct memory transfer between edge CDN nodes, the problem of wasted storage bandwidth and CPU resources in the traditional store-and-forward mode is solved, achieving efficient data transmission and low latency.

WO2026242270A1PCT designated stage Publication Date: 2026-11-26CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/128228
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-20
Filing Date
2025-10-16
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

The traditional storage-forwarding mode of edge CDN nodes leads to a waste of storage bandwidth and CPU resources, as well as low data transmission efficiency and high latency.

Method used

RDMA technology is used to perform direct memory transfer between edge CDN nodes. Data is stored and retrieved through the memory area between the first and second edge CDN nodes without CPU intervention. By flexibly switching between RDMA channels and socket channels, the channel with the best data transmission performance is selected.

Benefits of technology

It greatly reduces CPU and storage bandwidth usage, improves data transmission efficiency, and reduces data transmission latency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025128228_26112026_PF_FP_ABST
    Figure CN2025128228_26112026_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present application are a data transmission method, apparatus and device, and a storage medium. The method comprises: a first edge CDN node directly storing, in a first memory region, data to be transmitted that is received from a source client, wherein the first memory region is determined by the first edge CDN node on the basis of a registered memory region indicated in a first connection parameter issued by a scheduling server; the first edge CDN node reading said data from the first memory region and sending same to a second edge CDN node, wherein the second edge CDN node is used for directly storing said data in a second memory region, and reading said data from the second memory region and sending same to a destination client, wherein the second memory region is determined by the second edge CDN node on the basis of a registered memory region indicated in a second connection parameter issued by the scheduling server, and the first edge CDN node and the second edge CDN node are determined by the scheduling server from among at least one edge CDN node on the basis of a data transmission service request sent by the source client.
Need to check novelty before this filing date? Find Prior Art

Description

A data transmission method, apparatus, device, and storage medium

[0001] Cross-references to related applications

[0002] This application claims priority to Chinese Patent Application No. 202510655476.7, filed on May 20, 2025, entitled "A Data Transmission Method, Apparatus, Device and Storage Medium", the entire contents of which are incorporated herein by reference. Technical Field

[0003] This application relates to the field of cloud-network convergence technology, and in particular to a data transmission method, apparatus, device and storage medium. Background Technology

[0004] With the rapid development of Internet applications, especially the popularization of high-bandwidth applications such as high-definition video, cloud computing, and big data, traditional network transmission methods are facing increasing pressure. Edge Content Delivery Network (CDN) nodes play a very important role in improving network transmission quality. Edge CDN nodes deploy lightweight nodes at the network edge and combine local caching, dynamic routing, and protocol optimization technologies to achieve content distribution nearby, thereby reducing data transmission overhead.

[0005] Currently, edge CDN nodes mainly adopt the traditional store-and-forward mode, which is a serial processing mechanism of "receive-store-forward". Data transmitted through the socket channel needs to be written to the storage medium of the edge CDN node before it is read and forwarded. Writing to the storage medium of the edge CDN node requires a complete storage I / O path, and reading from the storage medium of the edge CDN node also requires a complete storage I / O path. This not only causes repeated consumption of storage bandwidth, but also causes the central processing unit (CPU) to frequently intervene in data handling and protocol stack processing, resulting in a waste of storage bandwidth and CPU resources. Summary of the Invention

[0006] This application provides a data transmission method, apparatus, device, and storage medium to improve data transmission efficiency between edge CDN nodes and reduce latency.

[0007] In a first aspect, this application provides a data transmission method, the method comprising:

[0008] The first edge CDN node directly stores the data to be transmitted received from the source client in the first memory area; the first memory area is determined by the first edge CDN node according to the registered memory area indicated in the first connection parameters issued by the scheduling server;

[0009] The first edge CDN node reads the data to be transmitted from the first memory region and sends the data to be transmitted to the second edge CDN node. The second edge CDN node is used to directly store the data to be transmitted in the second memory region and read the data to be transmitted from the second memory region to send it to the destination client. The second memory region is determined by the second edge CDN node according to the registered memory region indicated in the second connection parameters issued by the scheduling server.

[0010] The first edge CDN node and the second edge CDN node are determined by the scheduling server from at least one edge CDN node based on the data transmission service request sent by the source client.

[0011] The first and second memory regions are registered as RDMA-enabled memories based on the first and second connection parameters, respectively, and are also referred to as RDMA memories. Data storage and retrieval within the RDMA memories require no CPU intervention. That is, whether the first edge CDN node stores data to be transmitted in the first memory region and retrieves data from the first memory region, or the second edge CDN node stores received data to be transmitted in the second memory region and retrieves data from the second memory region to send to the destination client, no CPU intervention is required. Direct data transmission between the first and second memory regions enables direct memory transfer between the first and second edge CDN nodes. Compared to the traditional store-and-forward mode of edge CDN nodes, the data transmission method proposed in this application eliminates the need for both the first and second edge CDN nodes to traverse two complete storage I / O paths, significantly reducing CPU and storage bandwidth usage, improving data transmission efficiency, and reducing data transmission latency.

[0012] In one possible design, the first edge CDN node sends the data to be transmitted to the second edge CDN node, including:

[0013] The first edge CDN node establishes an RDMA channel with the second edge CDN node;

[0014] The first edge CDN node sends the data to be transmitted to the second edge CDN node through the RDMA channel.

[0015] At least one edge CDN node is equipped with an RDMA network card. An RDMA channel is established between the RDMA network cards installed in the first and second edge CDN nodes. This established RDMA channel allows data to be directly transferred from the first memory area of ​​the first edge CDN node to the second memory area of ​​the second edge CDN node, without requiring the CPUs of both nodes to participate, thus reducing CPU utilization and overhead.

[0016] In one possible design, before the first edge CDN node reads the data to be transmitted from the first memory region, the following is also included:

[0017] The first edge CDN node establishes a socket channel with the second edge CDN node;

[0018] The first edge CDN node establishes the RDMA channel with the second edge CDN node through the socket channel.

[0019] In one possible design, the first connection parameters also include a first IP address and an RDMA key;

[0020] The first edge CDN node establishes an RDMA channel with the second edge CDN node through the socket channel, including:

[0021] The first edge CDN node sends an authentication request encrypted with the RDMA key to the second edge CDN node indicated by the first IP address through the socket channel;

[0022] After receiving the authentication request response indicating that the verification has passed from the second edge CDN node, the first edge CDN node establishes an RDMA channel with the second edge CDN node.

[0023] Before establishing an RDMA channel, the first edge CDN node and the second edge CDN node will verify and validate each other through an authentication request. Only after the verification is successful will the RDMA channel be established, ensuring the security and reliability of the RDMA channel.

[0024] In one possible design, the method further includes:

[0025] The first edge CDN node receives a handover notification sent by the second edge CDN node; the handover notification is determined by the second edge CDN node based on the data transmission performance of the RDMA channel;

[0026] After the first edge CDN node receives the handover notification indicating that the data transmission performance of the RDMA channel does not meet the set requirements, it uses the socket channel as the data transmission channel to transmit data with the second edge CDN node.

[0027] Alternatively, after the switching notification indicates that the data transmission performance of the RDMA channel meets the set requirements, the first edge CDN node uses the RDMA channel as a data transmission channel to transmit data with the second edge CDN node.

[0028] When the data transmission performance of the RDMA channel is superior, the data transmission channel is switched to the RDMA channel; otherwise, it is switched to the socket channel. Therefore, in this application, the data transmission channel between the first edge CDN node and the second edge CDN node can switch between the socket channel and the RDMA channel, providing excellent flexibility; and it always selects the channel with superior data transmission performance as the current data transmission channel to improve data transmission efficiency.

[0029] In one possible design, the method further includes:

[0030] If the data transmission channel is the RDMA channel, then the first edge CDN node sends a performance probe packet to the second edge CDN node through the socket channel;

[0031] If the data transmission channel is the socket channel, then the first edge CDN node sends a performance probe packet to the second edge CDN node through the RDMA channel;

[0032] The performance probe package and the data transmitted through the data transmission channel are used by the second edge CDN node to determine the data transmission performance of the RDMA channel.

[0033] For RDMA channels and socket channels, when one channel is used as the current data transmission channel, the other channel is used for the transmission of performance probe packets. This allows the second edge CDN node to comprehensively determine the data transmission performance of the RDMA channel based on the performance probe packets and the data transmitted through the data transmission channel, ensuring the accuracy of the RDMA channel data transmission performance determination, and thus ensuring the accuracy of the switching between RDMA channels and socket channels.

[0034] Secondly, this application provides a data transmission method, the method comprising:

[0035] The second edge CDN node receives the data to be transmitted that the first edge CDN node reads from and sends from the first memory region; the data to be transmitted is sent from the source client to the first edge CDN node and is directly stored by the first edge CDN node in the first memory region, which is determined by the first edge CDN node according to the registered memory region indicated in the first connection parameters issued by the scheduling server;

[0036] The second edge CDN node directly stores the data to be transmitted in the second memory region, and reads the data to be transmitted from the second memory region and sends it to the destination client; the second memory region is determined by the second edge CDN node according to the registered memory region indicated in the second connection parameters issued by the scheduling server;

[0037] The first edge CDN node and the second edge CDN node are determined by the scheduling server from at least one edge CDN node based on the data transmission service request sent by the source client.

[0038] The first and second memory regions are registered as RDMA-enabled memories based on the first and second connection parameters, respectively, and are also referred to as RDMA memories. Data storage and retrieval within the RDMA memories require no CPU intervention. Direct data transfer between the first and second edge CDN nodes is achieved through direct transmission between the first and second memory regions. Compared to the traditional store-and-forward mode of edge CDN nodes, the data transmission method proposed in this application eliminates the need for both the first and second edge CDN nodes to traverse two complete storage I / O paths, significantly reducing CPU and storage bandwidth usage, improving data transmission efficiency, and reducing data transmission latency.

[0039] In one possible design, the second edge CDN node receives the data to be transmitted, which is read from and sent by the first edge CDN node from the first memory region, including:

[0040] The second edge CDN node establishes an RDMA channel with the first edge CDN node;

[0041] The second edge CDN node receives the data to be transmitted that the first edge CDN node reads from the first memory region and sends through the RDMA channel.

[0042] In one possible design, before the second edge CDN node receives the data to be transmitted that the first edge CDN node reads from and sends from the first memory region, the following is also included:

[0043] The second edge CDN node establishes a socket channel with the first edge CDN node;

[0044] The second edge CDN node establishes the RDMA channel with the first edge CDN node through the socket channel.

[0045] In one possible design, the second connection parameter also includes a second IP address and an RDMA key;

[0046] The second edge CDN node establishes an RDMA channel with the first edge CDN node through the socket channel, including:

[0047] The second edge CDN node receives the authentication request sent by the first edge CDN node through the socket channel;

[0048] The second edge CDN node uses the RDMA key to decrypt the authentication request;

[0049] After determining that the IP address of the edge CDN node that sent the authentication request is the same as the second IP address, the second edge CDN node sends an authentication request response indicating that the verification has passed to the first edge CDN node and establishes an RDMA channel with the first edge CDN node.

[0050] In one possible design, the method further includes:

[0051] The second edge CDN node determines the handover notification based on the data transmission performance of the RDMA channel;

[0052] The second edge CDN node sends the switching notification to the first edge CDN node. The switching notification is used to instruct the first edge CDN node to switch the data transmission channel from the RDMA channel to the socket channel; or, it is used to instruct the first edge CDN node to switch the data transmission channel from the socket channel to the RDMA channel.

[0053] In one possible design, before the second edge CDN node determines the handover notification based on the data transmission performance of the RDMA channel, the following is also included:

[0054] If the data transmission channel is the RDMA channel, then the second edge CDN node receives the performance probe packet sent by the first edge CDN node through the socket channel;

[0055] If the data transmission channel is the socket channel, then the second edge CDN node receives the performance probe packet sent by the first edge CDN node through the RDMA channel;

[0056] The second edge CDN node determines the data transmission performance of the RDMA channel based on the performance probe packet and the data transmitted through the data transmission channel.

[0057] In one possible design, the second edge CDN node determines the performance of the RDMA channel based on the performance probe packet and the data transmitted through the data transmission channel, including:

[0058] The second edge CDN node determines the throughput ratio and CPU utilization ratio based on the performance probe packet and the data transmitted through the data transmission channel, respectively.

[0059] The second edge CDN node determines the data transmission performance of the RDMA channel based on the throughput ratio, the first weight, the CPU utilization ratio, and the second weight.

[0060] The first weight and the second weight are determined by the scheduling server based on the network quality and load pressure of the first edge CDN node and the second edge CDN node, and are included in the second connection parameters; the first weight represents the degree of influence of the throughput ratio on the data transmission performance of the RDMA channel, and the second weight represents the degree of influence of the CPU utilization ratio on the data transmission performance of the RDMA channel.

[0061] In one possible design, the second edge CDN node determines the handover notification based on the data transmission performance of the RDMA channel, including:

[0062] If the data transmission performance of the RDMA channel does not meet the set requirements, the second edge CDN node determines a switching notification to instruct the first edge CDN node to switch the data transmission channel from the RDMA channel to the socket channel;

[0063] If the performance of the RDMA channel meets the set requirements, the second edge CDN node determines a switching notification to instruct the first edge CDN node to switch the data transmission channel from the socket channel to the RDMA channel.

[0064] Thirdly, this application provides a data transmission method, the method comprising:

[0065] The scheduling server receives data transmission service requests sent by the source client;

[0066] The scheduling server determines a first edge CDN node and a second edge CDN node from at least one edge CDN node according to the data transmission service request.

[0067] The scheduling server sends a first connection parameter to the first edge CDN node and a second connection parameter to the second edge CDN node; wherein, the registered memory region indicated in the first connection parameter is used to instruct the first edge CDN node to determine the first memory region, and the registered memory region indicated in the second connection parameter is used to instruct the second edge CDN node to determine the second memory region.

[0068] The first memory region is used by the first edge CDN node to directly store the data to be transmitted sent by the source client; the second memory region is used by the second edge CDN node to directly store the data to be transmitted sent by the first edge CDN node, and to read the data to be transmitted from the second memory region and send it to the destination client.

[0069] After receiving a data transmission service request from the source client, the scheduling server selects a suitable first edge CDN node and a second edge CDN node from at least one edge CDN node based on the request. It then sends a first connection parameter to the first edge CDN node, enabling it to determine a first memory region, and sends a second connection parameter to the second edge CDN node, enabling it to determine a second memory region. This direct transmission between the first and second memory regions achieves direct memory transfer between the first and second edge CDN nodes, improving data transmission efficiency and reducing latency.

[0070] In one possible design, the scheduling server determines a first edge CDN node and a second edge CDN node among at least one edge CDN node based on the data transmission service request, including:

[0071] The scheduling server determines the first edge CDN node and the second edge CDN node based on the request information corresponding to the data transmission service request and the performance evaluation results of each edge CDN node in the at least one edge CDN node.

[0072] In one possible design, the scheduling server determines the first edge CDN node and the second edge CDN node based on the request information corresponding to the data transmission service request and the performance evaluation results corresponding to each edge CDN node in the at least one edge CDN node, including:

[0073] The scheduling server determines the edge CDN nodes that meet the resource assessment criteria based on the first performance evaluation results corresponding to each edge CDN node in the at least one edge CDN node.

[0074] The scheduling server determines the first edge CDN node and the second edge CDN node based on the request information corresponding to the data transmission service request and the second performance evaluation result of the edge CDN node that meets the resource evaluation criteria.

[0075] In one possible design, the first performance evaluation result includes at least one of the following: CPU utilization, I / O utilization, memory utilization, RDMA bandwidth utilization, and RDMA memory occupancy; if any one of these does not meet the preset conditions, it is an edge CDN node whose resource evaluation is substandard.

[0076] In one possible design, the second performance evaluation result is obtained in the following ways:

[0077] For any edge CDN node that meets the resource assessment criteria, the scheduling server determines the socket performance assessment result corresponding to the edge CDN node based on the CPU utilization, I / O utilization, and memory utilization of the edge CDN node, and determines the RDMA performance assessment result corresponding to the edge CDN node based on the RDMA bandwidth utilization and RDMA memory registration capacity of the edge CDN node.

[0078] The scheduling server determines the second performance evaluation result corresponding to the edge CDN node based on the data transmission task type, the socket performance evaluation result corresponding to the edge CDN node, and the RDMA performance evaluation result.

[0079] The scheduling server first performs a screening process on at least one edge CDN node to identify those that meet the resource assessment criteria. Then, based on the second performance assessment results of these edge CDN nodes, it determines the first and second edge CDN nodes. A joint evaluation of all edge CDN nodes is performed using both the first and second performance assessment results to improve the accuracy and rationality of determining the first and second edge CDN nodes.

[0080] In one possible design, before the scheduling server sends the second connection parameters to the second edge CDN node, the following is also included:

[0081] The scheduling server determines a first weight and a second weight based on the network quality and load pressure of the first edge CDN node and the second edge CDN node. The first weight represents the degree of influence of the throughput ratio on the data transmission performance of the RDMA channel, and the second weight represents the degree of influence of the CPU utilization ratio on the data transmission performance of the RDMA channel. The throughput ratio and the CPU utilization ratio are determined by the second edge CDN node based on the performance probe packets sent by the first edge CDN node and the data transmitted through the data transmission channel between the first edge CDN node and the second edge CDN node.

[0082] The scheduling server adds the first weight and the second weight to the second connection parameters.

[0083] In one possible design, the first weight is positively correlated with the network quality of the first edge CDN node and the second edge CDN node; the second weight is positively correlated with the load pressure of the first edge CDN node and the second edge CDN node.

[0084] Fourthly, this application also provides a data transmission apparatus, which includes: a transceiver module and a processing module; the processing module invokes the transceiver module to perform:

[0085] The data to be transmitted received from the source client is directly stored in the first memory area; the first memory area is determined by the first edge CDN node according to the registered memory area indicated in the first connection parameters issued by the scheduling server;

[0086] The data to be transmitted is read from the first memory region and sent to the second edge CDN node. The second edge CDN node is used to directly store the data to be transmitted in the second memory region and read the data to be transmitted from the second memory region to send to the destination client. The second memory region is determined by the second edge CDN node according to the registered memory region indicated in the second connection parameters issued by the scheduling server.

[0087] The first edge CDN node and the second edge CDN node are determined by the scheduling server from at least one edge CDN node based on the data transmission service request sent by the source client.

[0088] In one possible design, when the transceiver module is used to send the data to be transmitted to the second edge CDN node, it is specifically used to: establish a remote direct memory access (RDMA) channel between the first edge CDN node and the second edge CDN node; and send the data to be transmitted to the second edge CDN node through the RDMA channel.

[0089] In one possible design, the transceiver module is configured to establish a socket channel with the second edge CDN node before reading the data to be transmitted from the first memory region; and to establish the RDMA channel with the second edge CDN node through the socket channel.

[0090] In one possible design, the first connection parameters also include a first IP address and an RDMA key;

[0091] The transceiver module is used to establish an RDMA channel with the second edge CDN node through the socket channel, specifically by: sending an authentication request encrypted with the RDMA key to the second edge CDN node indicated by the first IP address through the socket channel; and establishing an RDMA channel with the second edge CDN node after receiving an authentication request response indicating that the verification has passed from the second edge CDN node.

[0092] In one possible design, the transceiver module is further configured to receive a handover notification sent by the second edge CDN node; the handover notification is determined by the second edge CDN node based on the data transmission performance of the RDMA channel.

[0093] After the switching notification indicates that the data transmission performance of the RDMA channel does not meet the set requirements, the socket channel is used as the data transmission channel to transmit data with the second edge CDN node;

[0094] Alternatively, after the switching notification indicates that the data transmission performance of the RDMA channel meets the set requirements, the RDMA channel is used as a data transmission channel to transmit data with the second edge CDN node.

[0095] In one possible design, the transceiver module is further configured to send a performance probe packet to the second edge CDN node via the socket channel if the data transmission channel is the RDMA channel; and to send a performance probe packet to the second edge CDN node via the RDMA channel if the data transmission channel is the socket channel; the performance probe packet and the data transmitted by the data transmission channel are used by the second edge CDN node to determine the data transmission performance of the RDMA channel.

[0096] Fifthly, this application also provides a data transmission apparatus, which includes a transceiver module and a processing module; the processing module invokes the transceiver module to perform:

[0097] The system receives data to be transmitted from a first edge CDN node, which reads and sends the data from a first memory region. The data to be transmitted is sent from the source client to the first edge CDN node and is directly stored in the first memory region by the first edge CDN node. The first memory region is determined by the first edge CDN node according to the registered memory region indicated in the first connection parameters issued by the scheduling server.

[0098] The data to be transmitted is directly stored in the second memory area, and the data to be transmitted is read from the second memory area and sent to the destination client; the second memory area is determined by the second edge CDN node according to the registered memory area indicated in the second connection parameters issued by the scheduling server;

[0099] The first edge CDN node and the second edge CDN node are determined by the scheduling server from at least one edge CDN node based on the data transmission service request sent by the source client.

[0100] In one possible design, the transceiver module, when receiving data to be transmitted read and sent by the first edge CDN node from the first memory region, is specifically configured to: establish an RDMA channel with the first edge CDN node; and receive the data to be transmitted read and sent by the first edge CDN node from the first memory region through the RDMA channel.

[0101] In one possible design, before the transceiver module receives the data to be transmitted read from and sent by the first edge CDN node from the first memory region, the transceiver module is further configured to establish a socket channel with the first edge CDN node; and through the socket channel, establish the RDMA channel with the first edge CDN node.

[0102] In one possible design, the second connection parameter also includes a second IP address and an RDMA key;

[0103] The transceiver module, when establishing an RDMA channel with the first edge CDN node through the socket channel, is specifically used for:

[0104] The authentication request sent by the first edge CDN node is received through the socket channel;

[0105] The authentication request is decrypted using the RDMA key;

[0106] After determining that the IP address of the edge CDN node that sent the authentication request is the same as the second IP address, an authentication request response indicating that the verification has passed is sent to the first edge CDN node, and an RDMA channel is established with the first edge CDN node.

[0107] In one possible design, the processing module is configured to determine a handover notification based on the data transmission performance of the RDMA channel;

[0108] The transceiver module is further configured to send the switching notification to the first edge CDN node, the switching notification being used to instruct the first edge CDN node to switch the data transmission channel from the RDMA channel to the socket channel; or, to instruct the first edge CDN node to switch the data transmission channel from the socket channel to the RDMA channel.

[0109] In one possible design, before the processing module determines the handover notification based on the data transmission performance of the RDMA channel, the transceiver module is further configured to: if the data transmission channel is the RDMA channel, receive a performance probe packet sent by the first edge CDN node through the socket channel; if the data transmission channel is the socket channel, receive a performance probe packet sent by the first edge CDN node through the RDMA channel; the processing module is further configured to: determine the data transmission performance of the RDMA channel based on the performance probe packet and the data transmitted through the data transmission channel.

[0110] In one possible design, when the processing module determines the performance of the RDMA channel based on the performance probe packet and the data transmitted through the data transmission channel, it specifically performs the following: determining the throughput ratio and CPU utilization ratio based on the performance probe packet and the data transmitted through the data transmission channel, respectively; determining the data transmission performance of the RDMA channel based on the throughput ratio, a first weight, the CPU utilization ratio, and a second weight; wherein the first weight and the second weight are determined by the scheduling server based on the network quality and load pressure of the first edge CDN node and the second edge CDN node, and are included in the second connection parameters; the first weight characterizes the degree of influence of the throughput ratio on the data transmission performance of the RDMA channel, and the second weight characterizes the degree of influence of the CPU utilization ratio on the data transmission performance of the RDMA channel.

[0111] In one possible design, the processing module, when determining a switching notification based on the data transmission performance of the RDMA channel, specifically determines: if the data transmission performance of the RDMA channel does not meet the set requirements, a switching notification is issued to instruct the first edge CDN node to switch the data transmission channel from the RDMA channel to the socket channel; if the performance of the RDMA channel meets the set requirements, a switching notification is issued to instruct the first edge CDN node to switch the data transmission channel from the socket channel to the RDMA channel.

[0112] Sixthly, this application also provides a data transmission device, which includes a transceiver module and a processing module;

[0113] The transceiver module is used to receive data transmission service requests sent by the source client;

[0114] The processing module is configured to determine a first edge CDN node and a second edge CDN node in at least one edge CDN node according to the data transmission service request.

[0115] The transceiver module is further configured to send a first connection parameter to the first edge CDN node and a second connection parameter to the second edge CDN node; wherein, the registered memory region indicated in the first connection parameter is used to instruct the first edge CDN node to determine the first memory region, and the registered memory region indicated in the second connection parameter is used to instruct the second edge CDN node to determine the second memory region.

[0116] The first memory region is used by the first edge CDN node to directly store the data to be transmitted sent by the source client; the second memory region is used by the second edge CDN node to directly store the data to be transmitted sent by the first edge CDN node, and to read the data to be transmitted from the second memory region and send it to the destination client.

[0117] In one possible design, when the processing module determines the first edge CDN node and the second edge CDN node among at least one edge CDN node according to the data transmission service request, it is specifically configured to: determine the first edge CDN node and the second edge CDN node according to the request information corresponding to the data transmission service request and the performance evaluation results corresponding to each edge CDN node among the at least one edge CDN node.

[0118] In one possible design, the processing module, when determining the first edge CDN node and the second edge CDN node based on the request information corresponding to the data transmission service request and the performance evaluation results corresponding to each edge CDN node in the at least one edge CDN node, specifically performs the following: determining the edge CDN node that meets the resource evaluation standard based on the first performance evaluation results corresponding to each edge CDN node in the at least one edge CDN node; and determining the first edge CDN node and the second edge CDN node based on the request information corresponding to the data transmission service request and the second performance evaluation results of the edge CDN node that meets the resource evaluation standard.

[0119] In one possible design, the first performance evaluation result includes at least one of the following: CPU utilization, I / O utilization, memory utilization, RDMA bandwidth utilization, and RDMA memory occupancy; if any one of these does not meet the preset conditions, it is an edge CDN node whose resource evaluation is substandard.

[0120] In one possible design, the second performance evaluation result is obtained in the following ways:

[0121] For any edge CDN node that meets the resource assessment criteria, the processing module is configured to determine the socket performance assessment result corresponding to the edge CDN node based on the CPU utilization, I / O utilization, and memory utilization of the edge CDN node, and to determine the RDMA performance assessment result corresponding to the edge CDN node based on the RDMA bandwidth utilization and RDMA memory registration capacity of the edge CDN node; and to determine the second performance assessment result corresponding to the edge CDN node based on the data transmission task type, the socket performance assessment result corresponding to the edge CDN node, and the RDMA performance assessment result.

[0122] In one possible design, before the transceiver module sends the second connection parameters to the second edge CDN node, the processing module is further configured to determine a first weight and a second weight based on the network quality and load pressure of the first edge CDN node and the second edge CDN node; the first weight characterizes the degree of influence of the throughput ratio on the data transmission performance of the RDMA channel, and the second weight characterizes the degree of influence of the CPU utilization ratio on the data transmission performance of the RDMA channel; the throughput ratio and the CPU utilization ratio are determined by the second edge CDN node based on the performance probe packet sent by the first edge CDN node and the data transmitted through the data transmission channel between the first edge CDN node and the second edge CDN node; and the first weight and the second weight are added to the second connection parameters.

[0123] In one possible design, the first weight is positively correlated with the network quality of the first edge CDN node and the second edge CDN node; the second weight is positively correlated with the load pressure of the first edge CDN node and the second edge CDN node.

[0124] In a seventh aspect, this application also provides a data transmission device, the device comprising: a processor, and a memory communicatively connected to the processor;

[0125] The memory stores computer-executed instructions;

[0126] The processor executes computer execution instructions stored in the memory to implement the methods described in the first to third aspects above.

[0127] Eighthly, this application also provides a computer-readable storage medium comprising a program that, when executed on a device, causes the device to perform the method as described in any one of the first to third aspects above.

[0128] Ninthly, this application also provides a computer program product, the computer program product comprising a computer program, which, when executed by a processor, implements the methods described in the first to third aspects above. Attached Figure Description

[0129] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0130] Figure 1 is a schematic diagram of the traditional storage-forwarding mode architecture of edge CDN nodes;

[0131] Figure 2 is a schematic diagram of the interaction of the traditional storage-forwarding mode of edge CDN nodes;

[0132] Figure 3 is a schematic flowchart of the data transmission method provided in an embodiment of this application;

[0133] Figure 4 is a schematic diagram of the data transmission method architecture provided in an embodiment of this application;

[0134] Figure 5 is a schematic diagram of the data transmission method interaction provided in an embodiment of this application;

[0135] Figure 6 is a schematic diagram of the data transmission channel switching process provided in an embodiment of this application;

[0136] Figure 7 is a schematic diagram of the data transmission device provided in an embodiment of this application;

[0137] Figure 8 is a schematic diagram of the data transmission device structure provided in an embodiment of this application. Detailed Implementation

[0138] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0139] The application scenarios described in this application are for the purpose of more clearly illustrating the technical solutions of this application, and do not constitute a limitation on the technical solutions provided in this application. Those skilled in the art will understand that with the emergence of new application scenarios, the technical solutions provided in this application are also applicable to similar technical problems. In the description of this application, unless otherwise stated, "multiple" means two or more.

[0140] Currently, the traditional store-and-forward mode of edge Content Delivery Network (CDN) nodes is shown in Figure 1. Figure 1 includes a scheduling server, a source client, a destination client, edge CDN node ①, and edge CDN node ②. The source client wants to transmit data to the destination client, which is the data to be transmitted in Figure 1. The interaction between the scheduling server, source client, destination client, edge CDN node ①, and edge CDN node ② during data transmission is shown in Figure 2, including the following steps:

[0141] S201: The source client sends a data transmission service request to the scheduling server. Since the source client does not know which edge CDN node to send the data to be transmitted to at this time, it can only send a data transmission service request to the scheduling server.

[0142] S202: The scheduling server selects the nearest edge CDN node based on the geographical location of the source client, and records the selected edge CDN node as edge CDN node ①; for example, assuming that the geographical location of the source client is Beijing, the scheduling server selects an edge CDN node with a geographical location in Beijing for this data transmission.

[0143] S203: The scheduling server sends a data transmission service request redirection to the source client; the data transmission service request redirection can be understood as a response to the data transmission service request sent by the source client in S201, which includes the IP address of the edge CDN node ①;

[0144] S204: The source client sends the data to be transmitted to the edge CDN node ①;

[0145] S205: Edge CDN node ① stores the received data to be transmitted in local memory or hard disk, and selects the nearest edge CDN node according to the geographical location of the destination client indicated by the data to be transmitted, which is referred to as edge CDN node ②;

[0146] S206: Edge CDN node ① reads the data to be transmitted from local memory or hard disk and sends the data to be transmitted to edge CDN node ②;

[0147] S207: Edge CDN node ② stores the received data to be transmitted in local memory or hard disk;

[0148] S208: Edge CDN node ② reads the data to be transmitted from local memory or hard disk and sends the data to be transmitted to the destination client.

[0149] When edge CDN node ① stores data to be transmitted in S205, it needs to go through a complete storage I / O path; when reading data to be transmitted in S206, it needs to go through a complete I / O path. Similarly, edge CDN node ② needs to go through a complete storage I / O path in S207 and another complete storage I / O path in S208. It is evident that the traditional store-and-forward mode of edge CDN nodes consumes a significant amount of CPU and bandwidth.

[0150] To address the aforementioned issues with the traditional store-and-forward mode for edge CDN nodes, this application proposes a data transmission method as shown in Figure 3. This method specifically includes:

[0151] S301: The scheduling server receives a data transmission service request sent by the source client.

[0152] S302: The scheduling server determines the first edge CDN node and the second edge CDN node among at least one edge CDN node based on the data transmission service request.

[0153] For example, the scheduling server, also known as a CDN scheduling server, schedules or manages at least one edge CDN node to complete data transmission between the source client and the destination client. The scheduling server and each edge CDN node can communicate with each other. Each edge CDN node is equipped with a Remote Direct Memory Access (RDMA) network card; RDMA is a network communication protocol that allows the server to directly read and write server memory through the RDMA network card without relying on CPU intervention.

[0154] For example, the scheduling server determines the first edge CDN node and the second edge CDN node based on the request information corresponding to the data transmission service request and the performance evaluation results of each edge CDN node in at least one edge CDN node. First, the scheduling server determines the edge CDN nodes that meet the resource evaluation criteria based on the first performance evaluation results of each edge CDN node in at least one edge CDN node; then, the scheduling server determines the first edge CDN node and the second edge CDN node based on the second performance evaluation results corresponding to the data transmission service request.

[0155] As can be seen, the scheduling server performed two evaluations on the edge CDN nodes, and the specific process is as follows:

[0156] (1) The scheduling server performs an initial evaluation of each edge CDN node based on at least one of the following: CPU utilization, I / O utilization, memory utilization, RDMA bandwidth utilization, and RDMA memory occupancy, to obtain the first performance evaluation result for each edge CDN node. If any one of these evaluation items fails to meet the preset conditions, the edge CDN node is considered to have failed the resource evaluation; if all evaluation items meet the preset conditions, the edge CDN node is considered to have met the resource evaluation. Based on the first performance evaluation result corresponding to each edge CDN node, the scheduling server can determine the edge CDN node that meets the resource evaluation standard from at least one edge CDN node. The number of edge CDN nodes that meet the resource evaluation standard can be multiple.

[0157] For example, assuming the preset conditions are CPU utilization less than 85%, I / O utilization less than 80%, memory utilization less than 80%, RDMA bandwidth utilization less than 90%, and RDMA memory occupancy less than 80%, if there is an edge CDN node with CPU utilization of 82%, I / O utilization of 75%, memory utilization of 78%, RDMA bandwidth utilization of 85%, and RDMA memory occupancy of 88%, although the CPU utilization, I / O utilization, memory utilization, and RDMA bandwidth utilization of this edge CDN node all meet the preset conditions, the RDMA memory occupancy does not meet the preset conditions. Therefore, this edge CDN node is an edge CDN node that does not meet the resource assessment standards.

[0158] (2) After determining the edge CDN nodes that meet the resource assessment criteria, for any edge CDN node that meets the resource assessment criteria, the scheduling server determines the socket performance assessment result corresponding to the edge CDN node based on the CPU utilization, I / O utilization, and memory utilization of the edge CDN node, and determines the RDMA performance assessment result corresponding to the edge CDN node based on the RDMA bandwidth utilization and RDMA memory registration capacity of the edge CDN node; furthermore, the scheduling server determines the second performance assessment result corresponding to the edge CDN node based on the data transmission task type, the socket performance assessment result corresponding to the edge CDN node, and the RDMA performance assessment result.

[0159] The socket performance evaluation results mentioned above can be calculated using the following formula: Socket performance evaluation result = α·CPU utilization + β·I / O utilization + γ·Memory utilization

[0160] Where α is the weight corresponding to CPU utilization, β is the weight corresponding to I / O utilization, and γ is the weight corresponding to memory utilization.

[0161] RDMA performance evaluation results can be calculated using the following formula: RDMA performance evaluation result = δ·RDMA bandwidth + ξ·RDMA memory registration capacity

[0162] Where δ is the weight corresponding to the RDMA bandwidth, and ξ is the weight corresponding to the RDMA memory registration capacity.

[0163] The data transmission task type is determined based on the request information corresponding to the data transmission service request. This information is used to determine the weights of the socket performance evaluation result and the RDMA performance evaluation result in the second performance evaluation result. The request information includes the domain name, request parameters, etc. The domain name determines the data transmission task type, such as large file transfer or real-time streaming media transmission. Large file transfers have high network bandwidth requirements, while real-time streaming media transmissions have high latency requirements. Therefore, when performing these two types of data transmission, the scheduling server can set a higher weight for the RDMA performance evaluation result and appropriately lower the weight for the socket performance evaluation result when determining the second performance evaluation result. For example, the weight of the socket performance evaluation result can be set to 0.3 or 0.4, and the weight of the RDMA performance evaluation result to 0.7 or 0.6. For small file transfers or data transmission tasks with low latency requirements, the weight of the socket performance evaluation result can be increased. For example, the weight of the socket performance evaluation result can be set to 0.6, and the weight of the RDMA performance evaluation result to 0.4.

[0164] The second performance evaluation result can be calculated using the following formula:

[0165]

[0166] in, ω represents the weight corresponding to the socket performance evaluation result, and ω represents the weight corresponding to the RDMA performance evaluation result.

[0167] Furthermore, after determining the edge CDN nodes that meet the resource assessment criteria, the scheduling server can identify the two edge CDN nodes with the best second performance assessment results as the first edge CDN node and the second edge CDN node.

[0168] For example, if there are 100 edge CDN nodes, the scheduling server performs an initial evaluation on these 100 edge CDN nodes to obtain their initial performance evaluation results. It determines that only 70 of these 100 edge CDN nodes meet the resource evaluation criteria; these 70 edge CDN nodes are then designated as resource-qualified edge CDN nodes. Next, the scheduling server performs a second evaluation on these 70 resource-qualified edge CDN nodes to obtain their second performance evaluation results. Finally, the scheduling server can determine the two nodes with the best second performance evaluation results among these 70 nodes as the first edge CDN node and the second edge CDN node.

[0169] This application combines the results of two performance evaluations to select the first and second edge CDN nodes, thereby achieving load awareness and elastic resource allocation, alleviating the resource mismatch problem of edge CDN nodes, and improving the resource utilization of edge CDN nodes.

[0170] S303: The scheduling server sends a first connection parameter to the first edge CDN node and a second connection parameter to the second edge CDN node; wherein, the registered memory region indicated in the first connection parameter is used to instruct the first edge CDN node to determine the first memory region, and the registered memory region indicated in the second connection parameter is used to instruct the second edge CDN node to determine the second memory region.

[0171] Through S302, the scheduling server determines the first edge CDN node and the second edge CDN node, and then sends the first connection parameters to the first edge CDN node and the second connection parameters to the second edge CDN node. The registered memory region indicated in the first connection parameters is used to instruct the first edge node to determine the location and capacity of the first memory region, and the registered memory region indicated in the second connection parameters is used to instruct the second edge CDN node to determine the location and capacity of the second memory region.

[0172] After the first edge CDN node receives the first connection parameters and the second edge CDN node receives the second connection parameters, the first edge CDN node first establishes a socket channel with the second edge CDN node, and correspondingly, the second edge CDN node also establishes a socket channel with the first edge CDN node. Then, the first edge CDN node establishes an RDMA channel with the second edge CDN node through the socket channel, and correspondingly, the second edge CDN node also establishes an RDMA channel with the first edge CDN node through the socket channel. Thus, two channels are established between the first edge CDN node and the second edge CDN node, as shown in Figure 4, which are the socket channel and the RDMA channel, respectively.

[0173] The specific process by which the first edge CDN node establishes an RDMA channel with the second edge CDN node via a socket channel is as follows:

[0174] The first connection parameters sent by the scheduling server to the first edge CDN node also include the first IP address (which is the IP address of the second edge CDN node) and the RDMA key. The second connection parameters sent by the scheduling server to the second edge CDN node also include the second IP address (which is the IP address of the first edge CDN node) and the RDMA key.

[0175] The first edge CDN node sends an authentication request encrypted with an RDMA key to the second edge CDN node indicated by the first IP address via a socket channel. Correspondingly, the second edge CDN node receives the authentication request sent by the first edge CDN node via a socket channel. Then, the second edge CDN node decrypts the authentication request using the RDMA key in the second connection parameters. After determining that the edge CDN node that sent the authentication request is the same as the second IP address in the second connection parameters, the second edge CDN node sends an authentication request response indicating that the verification has passed to the first edge CDN node and establishes an RDMA channel with the first edge CDN node. In other words, after receiving the authentication request response indicating that the verification has passed from the second edge CDN node, the first edge CDN node establishes an RDMA channel with the second edge CDN node.

[0176] For example, when the scheduling server detects that the RDMA channel between the first edge CDN node and the second edge CDN node has been successfully established, it sends a data transmission service request response to the source client, so that the source client can know the IP address of the first edge CDN node based on the data transmission service request response and send the data to be transmitted to the first edge CDN node.

[0177] S304: The first edge CDN node will directly store the data to be transmitted received from the source client in the first memory area.

[0178] For example, after receiving the data to be transmitted from the source client, the first edge CDN node directly stores the data in the first memory region. The first memory region is determined by the first edge CDN node in memory according to the registered memory region indicated in the first connection parameters issued by the scheduling server; the first memory region can also be called the first RDMA memory region. It should be noted that storing data in the first memory region and subsequently reading data from the first memory region by the first edge CDN node do not require CPU intervention; this can be accomplished through the RDMA network card installed in the first edge CDN node.

[0179] S305: The first edge CDN node reads the data to be transmitted from the first memory area and sends the data to be transmitted to the second edge CDN node.

[0180] For example, the first edge CDN node reads the data to be transmitted from the first memory area through the installed RDMA network card, and sends the data to be transmitted to the second edge CDN node through the RDMA channel.

[0181] S306: The second edge CDN node receives the data to be transmitted that the first edge CDN node reads from the first memory region and sends.

[0182] For example, the second edge node receives the data to be transmitted that the first edge CDN node reads from the first memory region and sends through the RDMA channel.

[0183] S307: The second edge CDN node stores the data to be transmitted directly in the second memory area and reads the data to be transmitted from the second memory area to send it to the destination client.

[0184] For example, the second edge CDN node directly stores the data to be transmitted in the second memory area through the installed RDMA network card, and reads the data to be transmitted from the second memory area through the RDMA network card. According to the destination IP address indicated by the data to be transmitted, the node sends the data to be transmitted to the destination client corresponding to the destination IP address, thus completing the data transmission between the source client and the destination client.

[0185] The second memory region is determined in memory by the second edge CDN node based on the registered memory region indicated in the second connection parameters issued by the scheduling server. This second memory region can also be called the second RDMA memory region. Storing and retrieving data from the second memory region by the second edge CDN node does not require CPU intervention; it can be accomplished through the RDMA network card installed in the second edge CDN node.

[0186] The interactions between the scheduling server, source client, destination client, first edge CDN node, and second edge CDN node in S301 to S307 above can also be referred to Figure 5. For the detailed process of S501 to S508, please refer to S301 to S307, which will not be repeated here.

[0187] Furthermore, the data transmission channel between the first and second edge CDN nodes can be switched from a socket channel to an RDMA channel, or vice versa. The switching is triggered by a switching notification sent from the second edge CDN node to the first edge CDN node. This notification instructs the first edge CDN node to switch its data transmission channel from an RDMA channel to a socket channel; or, alternatively, it instructs the first edge CDN node to switch its data transmission channel from a socket channel to an RDMA channel. The switching notification is determined by the second edge CDN node based on the data transmission performance of the RDMA channel.

[0188] Furthermore, the data transmission performance of the RDMA channel is determined by the second edge CDN node based on the performance probe packets sent by the first edge CDN node and the data transmitted through the data transmission channel. If the data transmission channel is an RDMA channel, the first edge CDN node sends performance probe packets to the second edge CDN node through a socket channel, and correspondingly, the second edge CDN node receives performance probe packets sent by the first edge CDN node through a socket channel. If the data transmission channel is a socket channel, the first edge CDN node sends performance probe packets to the second edge CDN node through an RDMA channel, and correspondingly, the second edge CDN node receives performance probe packets sent by the first edge CDN node through an RDMA channel.

[0189] The second edge CDN node determines the throughput ratio and CPU utilization ratio based on the performance probe packets sent by the first edge CDN node and the data transmitted through the data transmission channel. The throughput ratio is the ratio of the throughput of the socket channel to the throughput of the RDMA channel, and the CPU utilization ratio is the ratio of the CPU utilization when using the socket channel to the CPU utilization when using the RDMA channel. Then, the data transmission performance of the RDMA channel is determined based on the throughput ratio, the first weight, the CPU utilization ratio, and the second weight.

[0190] The first weight and the second weight are determined by the scheduling server based on the network quality and load pressure of the first and second edge CDN nodes, and are included in the second connection parameters. The first weight represents the degree of influence of the throughput ratio on the data transmission performance of the RDMA channel, and the second weight represents the degree of influence of the CPU utilization ratio on the data transmission performance of the RDMA channel. The data transmission performance of the RDMA channel can be calculated using the following formula:

[0191] Among them, T socket T represents the throughput of the socket channel. RDMA For the throughput of the RDMA channel, This is the throughput ratio, C. socket C represents the CPU utilization rate when using socket channels for transmission. RDMA This represents the ratio of CPU utilization when using the RDMA channel for transmission.

[0192] If the data transmission performance of the RDMA channel does not meet the set requirements, the second edge CDN node determines a switching notification to instruct the first edge CDN node to switch the data transmission channel from the RDMA channel to the socket channel; if the performance of the RDMA channel meets the set requirements, the second edge CDN node determines a switching notification to instruct the first edge CDN node to switch the data transmission channel from the socket channel to the RDMA channel.

[0193] Correspondingly, after the handover notification indicates that the data transmission performance of the RDMA channel does not meet the set requirements, the first edge CDN node uses the socket channel as the data transmission channel to transmit data with the second edge CDN node; or, after the handover notification indicates that the data transmission performance of the RDMA channel meets the set requirements, the first edge CDN node uses the RDMA channel as the data transmission channel to transmit data with the second edge CDN node.

[0194] The aforementioned first weight and second weight are included in the first connection parameters and sent to the second edge CDN node by the scheduling server. The sum of the first weight and the second weight is 1. Specifically, before the scheduling server sends the second connection parameters to the second edge CDN node, the scheduling server determines the first weight and the second weight based on the network quality and load pressure of the first edge CDN node and the second edge CDN node, and then adds the first weight and the second weight to the second connection parameters and sends them to the second edge CDN node. The first weight is positively correlated with the network quality of the first edge CDN node and the second edge CDN node. For example, when the network quality of the first edge CDN node and the second edge CDN node is stable, the value of the first weight can be increased. The second weight is positively correlated with the load pressure of the first edge CDN node and the second edge CDN node. For example, when the load pressure of the first edge CDN node and the second edge CDN node is high, the value of the second weight can be increased.

[0195] Taking Figure 6 as an example, the data transmission channel switching process between the first edge CDN node and the second edge CDN node will be explained again:

[0196] S601: Assume that the first edge CDN node first uses the socket channel as the data transmission channel for data transmission;

[0197] S602: The first edge CDN node sends a performance probe packet to the second edge CDN node through the RDMA channel. The second edge node determines the data transmission performance of the RDMA channel based on the performance probe packet and the data transmitted through the socket channel, and determines that the data transmission performance of the RDMA channel meets the set requirements.

[0198] S603: The second edge CDN node sends a switching notification to the first edge CDN node, which instructs the first edge CDN node to switch the data transmission channel from the socket channel to the RDMA channel.

[0199] S604: The first edge CDN node switches the data transmission channel from the socket channel to the RDMA channel according to the switching notification;

[0200] S605: After the handover, the first edge CDN node will use the RDMA channel as the data transmission channel for data transmission;

[0201] S606: The first edge CDN node sends a performance probe packet to the second edge CDN node through the socket channel. The second edge node determines the data transmission performance of the RDMA channel based on the performance probe packet and the data transmitted through the RDMA channel. After a period of data transmission, the second edge CDN node determines that the data transmission performance of the RDMA channel does not meet the set requirements.

[0202] S607: The second edge CDN node sends a switching notification to the first edge CDN node, which instructs the first edge CDN node to switch the data transmission channel from the RDMA channel to the socket channel.

[0203] S608: The first edge CDN node switches the data transmission channel from the RDMA channel to the socket channel according to the switching notification;

[0204] S609: After the switch, the first edge CDN node will use the socket channel as the data transmission channel for data transmission.

[0205] In this application, the data transmission channel between the first edge CDN node and the second edge CDN node can dynamically switch between the socket channel and the RDMA channel, which has good flexibility and ensures the continuity of data transmission; and the channel with better data transmission performance is always selected as the current data transmission channel, which can improve data transmission efficiency.

[0206] Figures 7 and 8 are schematic diagrams of possible data transmission devices provided in embodiments of this application. These data transmission devices can be used to implement the functions of the first edge CDN node, the second edge CDN node, or the scheduling server in the above method embodiments, and thus can also achieve the beneficial effects of the above method embodiments.

[0207] As shown in Figure 7, the data transmission device 700 includes a processing module 710 and a transceiver module 720. The data transmission device 700 is used to implement the functions of the first edge CDN node, the second edge CDN node, or the scheduling server in the method embodiment shown in Figure 3 above.

[0208] When the data transmission device 700 is used to implement the function of the first edge CDN node in the method embodiment shown in FIG3:

[0209] The processing module 710 calls the transceiver module 720 to execute:

[0210] The data to be transmitted received from the source client is directly stored in the first memory area; the first memory area is determined by the first edge CDN node according to the registered memory area indicated in the first connection parameters issued by the scheduling server;

[0211] The data to be transmitted is read from the first memory region and sent to the second edge CDN node. The second edge CDN node is used to directly store the data to be transmitted in the second memory region and read the data to be transmitted from the second memory region to send to the destination client. The second memory region is determined by the second edge CDN node according to the registered memory region indicated in the second connection parameters issued by the scheduling server.

[0212] The first edge CDN node and the second edge CDN node are determined by the scheduling server from at least one edge CDN node based on the data transmission service request sent by the source client.

[0213] In one possible design, when the transceiver module 720 sends the data to be transmitted to the second edge CDN node, it is specifically configured to: establish a Remote Direct Memory Access (RDMA) channel between the first edge CDN node and the second edge CDN node; and send the data to be transmitted to the second edge CDN node through the RDMA channel.

[0214] In one possible design, the transceiver module 720 is configured to establish a socket channel with the second edge CDN node before reading the data to be transmitted from the first memory region; and to establish the RDMA channel with the second edge CDN node through the socket channel.

[0215] In one possible design, the first connection parameters also include a first IP address and an RDMA key;

[0216] The transceiver module 720 is used to establish an RDMA channel with the second edge CDN node through the socket channel, specifically by: sending an authentication request encrypted with the RDMA key to the second edge CDN node indicated by the first IP address through the socket channel; and establishing an RDMA channel with the second edge CDN node after receiving an authentication request response indicating that the verification has passed from the second edge CDN node.

[0217] In one possible design, the transceiver module 720 is further configured to receive a handover notification sent by the second edge CDN node; the handover notification is determined by the second edge CDN node based on the data transmission performance of the RDMA channel.

[0218] After the switching notification indicates that the data transmission performance of the RDMA channel does not meet the set requirements, the socket channel is used as the data transmission channel to transmit data with the second edge CDN node;

[0219] Alternatively, after the switching notification indicates that the data transmission performance of the RDMA channel meets the set requirements, the RDMA channel is used as a data transmission channel to transmit data with the second edge CDN node.

[0220] In one possible design, the transceiver module 720 is further configured to send a performance probe packet to the second edge CDN node through the socket channel if the data transmission channel is the RDMA channel; and to send a performance probe packet to the second edge CDN node through the RDMA channel if the data transmission channel is the socket channel; the performance probe packet and the data transmitted through the data transmission channel are used by the second edge CDN node to determine the data transmission performance of the RDMA channel.

[0221] When the data transmission device 700 is used to implement the function of the second edge CDN node in the method embodiment shown in FIG3:

[0222] The processing module 710 calls the transceiver module 720 to execute:

[0223] The system receives data to be transmitted from a first edge CDN node, which reads and sends the data from a first memory region. The data to be transmitted is sent from the source client to the first edge CDN node and is directly stored in the first memory region by the first edge CDN node. The first memory region is determined by the first edge CDN node according to the registered memory region indicated in the first connection parameters issued by the scheduling server.

[0224] The data to be transmitted is directly stored in the second memory area, and the data to be transmitted is read from the second memory area and sent to the destination client; the second memory area is determined by the second edge CDN node according to the registered memory area indicated in the second connection parameters issued by the scheduling server;

[0225] The first edge CDN node and the second edge CDN node are determined by the scheduling server from at least one edge CDN node based on the data transmission service request sent by the source client.

[0226] In one possible design, the transceiver module 720, when receiving data to be transmitted read and sent by the first edge CDN node from the first memory region, is specifically used to: establish an RDMA channel with the first edge CDN node; and receive the data to be transmitted read and sent by the first edge CDN node from the first memory region through the RDMA channel.

[0227] In one possible design, before the transceiver module 720 receives the data to be transmitted read from and sent by the first edge CDN node from the first memory region, the transceiver module 720 is further configured to establish a socket channel with the first edge CDN node; and through the socket channel, establish the RDMA channel with the first edge CDN node.

[0228] In one possible design, the second connection parameter also includes a second IP address and an RDMA key;

[0229] The transceiver module, when establishing an RDMA channel with the first edge CDN node through the socket channel, is specifically used for:

[0230] The authentication request sent by the first edge CDN node is received through the socket channel;

[0231] The authentication request is decrypted using the RDMA key;

[0232] After determining that the IP address of the edge CDN node that sent the authentication request is the same as the second IP address, an authentication request response indicating that the verification has passed is sent to the first edge CDN node, and an RDMA channel is established with the first edge CDN node.

[0233] In one possible design, the processing module 710 is configured to determine a handover notification based on the data transmission performance of the RDMA channel;

[0234] The transceiver module 720 is further configured to send the switching notification to the first edge CDN node, the switching notification being configured to instruct the first edge CDN node to switch the data transmission channel from the RDMA channel to the socket channel; or, to instruct the first edge CDN node to switch the data transmission channel from the socket channel to the RDMA channel.

[0235] In one possible design, before the processing module 710 determines the handover notification based on the data transmission performance of the RDMA channel, the transceiver module 720 is further configured to: if the data transmission channel is the RDMA channel, receive a performance probe packet sent by the first edge CDN node through the socket channel; if the data transmission channel is the socket channel, receive a performance probe packet sent by the first edge CDN node through the RDMA channel; the processing module 710 is further configured to: determine the data transmission performance of the RDMA channel based on the performance probe packet and the data transmitted through the data transmission channel.

[0236] In one possible design, the processing module 710, when determining the performance of the RDMA channel based on the performance probe packet and the data transmitted through the data transmission channel, specifically performs the following: determining the throughput ratio and CPU utilization ratio based on the performance probe packet and the data transmitted through the data transmission channel, respectively; determining the data transmission performance of the RDMA channel based on the throughput ratio, a first weight, the CPU utilization ratio, and a second weight; wherein the first weight and the second weight are determined by the scheduling server based on the network quality and load pressure of the first edge CDN node and the second edge CDN node, and are included in the second connection parameters; the first weight characterizes the degree of influence of the throughput ratio on the data transmission performance of the RDMA channel, and the second weight characterizes the degree of influence of the CPU utilization ratio on the data transmission performance of the RDMA channel.

[0237] In one possible design, the processing module 710, when determining a switching notification based on the data transmission performance of the RDMA channel, specifically determines: if the data transmission performance of the RDMA channel does not meet the set requirements, a switching notification is issued to instruct the first edge CDN node to switch the data transmission channel from the RDMA channel to the socket channel; if the performance of the RDMA channel meets the set requirements, a switching notification is issued to instruct the first edge CDN node to switch the data transmission channel from the socket channel to the RDMA channel.

[0238] When the data transmission device 700 is used to implement the function of the scheduling server in the method embodiment shown in FIG3:

[0239] The transceiver module 720 is used to receive data transmission service requests sent by the source client;

[0240] The processing module 710 is configured to determine a first edge CDN node and a second edge CDN node in at least one edge CDN node according to the data transmission service request.

[0241] The transceiver module 720 is further configured to send a first connection parameter to the first edge CDN node and a second connection parameter to the second edge CDN node; wherein, the registered memory region indicated in the first connection parameter is used to instruct the first edge CDN node to determine the first memory region, and the registered memory region indicated in the second connection parameter is used to instruct the second edge CDN node to determine the second memory region.

[0242] The first memory region is used by the first edge CDN node to directly store the data to be transmitted sent by the source client; the second memory region is used by the second edge CDN node to directly store the data to be transmitted sent by the first edge CDN node, and to read the data to be transmitted from the second memory region and send it to the destination client.

[0243] In one possible design, when the processing module 710 determines the first edge CDN node and the second edge CDN node among at least one edge CDN node according to the data transmission service request, it is specifically used to: determine the first edge CDN node and the second edge CDN node according to the request information corresponding to the data transmission service request and the performance evaluation results corresponding to each edge CDN node among the at least one edge CDN node.

[0244] In one possible design, the processing module 710, when determining the first edge CDN node and the second edge CDN node based on the request information corresponding to the data transmission service request and the performance evaluation results corresponding to each edge CDN node in the at least one edge CDN node, specifically performs the following: determining the edge CDN node that meets the resource evaluation standard based on the first performance evaluation results corresponding to each edge CDN node in the at least one edge CDN node; and determining the first edge CDN node and the second edge CDN node based on the request information corresponding to the data transmission service request and the second performance evaluation results of the edge CDN node that meets the resource evaluation standard.

[0245] In one possible design, the first performance evaluation result includes at least one of the following: CPU utilization, I / O utilization, memory utilization, RDMA bandwidth utilization, and RDMA memory occupancy; if any one of these does not meet the preset conditions, it is an edge CDN node whose resource evaluation is substandard.

[0246] In one possible design, the second performance evaluation result is obtained in the following ways:

[0247] For any edge CDN node that meets the resource assessment criteria, the processing module 710 is used to determine the socket performance assessment result corresponding to the edge CDN node based on the CPU utilization, I / O utilization, and memory utilization of the edge CDN node, and to determine the RDMA performance assessment result corresponding to the edge CDN node based on the RDMA bandwidth utilization and RDMA memory registration capacity of the edge CDN node; and to determine the second performance assessment result corresponding to the edge CDN node based on the data transmission task type, the socket performance assessment result corresponding to the edge CDN node, and the RDMA performance assessment result.

[0248] In one possible design, before the transceiver module 720 sends the second connection parameters to the second edge CDN node, the processing module 710 is further configured to determine a first weight and a second weight based on the network quality and load pressure of the first edge CDN node and the second edge CDN node; the first weight characterizes the degree of influence of the throughput ratio on the data transmission performance of the RDMA channel, and the second weight characterizes the degree of influence of the CPU utilization ratio on the data transmission performance of the RDMA channel; the throughput ratio and the CPU utilization ratio are determined by the second edge CDN node based on the performance probe packet sent by the first edge CDN node and the data transmitted through the data transmission channel between the first edge CDN node and the second edge CDN node; and the first weight and the second weight are added to the second connection parameters.

[0249] In one possible design, the first weight is positively correlated with the network quality of the first edge CDN node and the second edge CDN node; the second weight is positively correlated with the load pressure of the first edge CDN node and the second edge CDN node.

[0250] A more detailed description of the above-mentioned processing module 710 and transceiver module 720 can be obtained directly from the relevant description in the method embodiment shown in Figure 3, and will not be repeated here.

[0251] As shown in Figure 8, the data transmission device 800 includes a processor 810 and an interface circuit 820. The processor 810 and the interface circuit 820 are coupled to each other. It is understood that the interface circuit 820 can be a transceiver or an input / output interface. Optionally, the data transmission device 800 may further include a memory 830 for storing instructions executed by the processor 810, or storing input data required by the processor 810 to execute instructions, or storing data generated after the processor 810 executes instructions.

[0252] When the data transmission device 800 is used to implement the method shown in FIG3, the processor 810 is used to implement the function of the processing module 710, and the interface circuit 820 is used to implement the function of the transceiver module 720.

[0253] The unit division in this embodiment is illustrative and represents only one logical functional division. In actual implementation, other division methods may be used. Furthermore, the functional units in the various embodiments of this application can be integrated into a single processor, exist as separate physical units, or be integrated into a single unit. The integrated units described above can be implemented in hardware or as software functional units.

[0254] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.

[0255] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A data transmission method, characterized by, The method comprises: The first edge content distribution network (CDN) node directly stores the to-be-transmitted data received from the source client in a first memory area; the first memory area is determined by the first edge CDN node according to a registered memory area indicated in first connection parameters issued by a scheduling server; The first edge CDN node reads the to-be-transmitted data from the first memory area and sends the to-be-transmitted data to a second edge CDN node, which is configured to directly store the to-be-transmitted data in a second memory area and read the to-be-transmitted data from the second memory area and send the to-be-transmitted data to a destination client; the second memory area is determined by the second edge CDN node according to a registered memory area indicated in second connection parameters issued by the scheduling server; The first edge CDN node and the second edge CDN node are determined by the scheduling server in at least one edge CDN node according to a data transmission service request sent by the source client.

2. The method of claim 1, wherein, The first edge CDN node sends the to-be-transmitted data to the second edge CDN node, comprising: The first edge CDN node establishes a remote direct memory access (RDMA) channel with the second edge CDN node; The first edge CDN node sends the to-be-transmitted data to the second edge CDN node through the RDMA channel.

3. The method of claim 2, wherein, Before the first edge CDN node reads the to-be-transmitted data from the first memory area, further comprising: The first edge CDN node establishes a socket channel with the second edge CDN node; The first edge CDN node establishes the RDMA channel with the second edge CDN node through the socket channel.

4. The method of claim 3, wherein, The first connection parameters further comprise a first IP address and an RDMA key; The first edge CDN node establishes the RDMA channel with the second edge CDN node through the socket channel, comprising: The first edge CDN node sends an authentication request encrypted with the RDMA key to the second edge CDN node indicated by the first IP address through the socket channel; After receiving an authentication request response indicating that the authentication is passed sent by the second edge CDN node, the first edge CDN node establishes the RDMA channel with the second edge CDN node.

5. The method according to any one of claims 1 to 4, characterized in that, The method further comprises: The first edge CDN node receives a switching notification sent by the second edge CDN node; the switching notification is determined by the second edge CDN node according to the data transmission performance of the RDMA channel; After the switching notification indicates that the data transmission performance of the RDMA channel does not meet the set requirements, the first edge CDN node uses the socket channel as a data transmission channel and performs data transmission with the second edge CDN node. Alternatively, the first edge CDN node, after the switching notification indicates that the data transmission performance of the RDMA channel meets the set requirement, uses the RDMA channel as a data transmission channel to perform data transmission with the second edge CDN node.

6. The method of claim 5, wherein, The method further comprises: If the data transmission channel is the RDMA channel, the first edge CDN node sends a performance probe packet to the second edge CDN node through the socket channel; If the data transmission channel is the socket channel, the first edge CDN node sends a performance probe packet to the second edge CDN node through an RDMA channel; The performance probe packet and the data transmitted through the data transmission channel are used by the second edge CDN node to determine the data transmission performance of the RDMA channel.

7. A data transmission method, characterized by, The method comprises: The second edge CDN node receives data to be transmitted read and sent by the first edge CDN node from a first memory area; the data to be transmitted is sent by a source client to the first edge CDN node and directly stored in the first memory area by the first edge CDN node, and the first memory area is determined by the first edge CDN node according to a registration memory area indicated in first connection parameters issued by a scheduling server; The second edge CDN node directly stores the data to be transmitted in a second memory area and reads the data to be transmitted from the second memory area and sends it to a destination client; the second memory area is determined by the second edge CDN node according to a registration memory area indicated in second connection parameters issued by the scheduling server; The first edge CDN node and the second edge CDN node are determined by the scheduling server in at least one edge CDN node according to a data transmission service request sent by the source client.

8. The method of claim 7, wherein, The second edge CDN node receives data to be transmitted read and sent by the first edge CDN node, comprising: The second edge CDN node establishes an RDMA channel with the first edge CDN node; The second edge CDN node receives the data to be transmitted read and sent by the first edge CDN node from the first memory area through the RDMA channel.

9. The method of claim 8, wherein, Before the second edge CDN node receives the data to be transmitted read and sent by the first edge CDN node, further comprising: The second edge CDN node establishes a socket channel with the first edge CDN node; The second edge CDN node establishes the RDMA channel with the first edge CDN node through the socket channel.

10. The method of claim 9, wherein, The second connection parameters further comprise a second IP address and an RDMA key; The second edge CDN node establishes an RDMA channel with the first edge CDN node through the socket channel, comprising: The second edge CDN node receives an authentication request sent by the first edge CDN node through the socket channel; The second edge CDN node establishes an RDMA channel with the first edge CDN node through the authentication request. The second edge CDN node decrypts the authentication request by using the RDMA key; After determining that the IP address of the edge CDN node sending the authentication request is the same as the second IP address, the second edge CDN node sends an authentication request response indicating a check pass to the first edge CDN node, and establishes an RDMA channel with the first edge CDN node.

11. The method of claim 10, wherein, The method further comprises: The second edge CDN node determines a switching notification according to the data transmission performance of the RDMA channel; The second edge CDN node sends the switching notification to the first edge CDN node, the switching notification being used to instruct the first edge CDN node to switch the data transmission channel from the RDMA channel to the socket channel, or being used to instruct the first edge CDN node to switch the data transmission channel from the socket channel to the RDMA channel.

12. The method of claim 11, wherein, Before the second edge CDN node determines a switching notification according to the data transmission performance of the RDMA channel, the method further comprises: If the data transmission channel is the RDMA channel, the second edge CDN node receives a performance probe packet sent by the first edge CDN node through the socket channel; If the data transmission channel is the socket channel, the second edge CDN node receives a performance probe packet sent by the first edge CDN node by using the RDMA channel; The second edge CDN node determines the data transmission performance of the RDMA channel according to the performance probe packet and data transmitted by the data transmission channel.

13. The method of claim 12, wherein, The second edge CDN node determines the performance of the RDMA channel according to the performance probe packet and data transmitted by the data transmission path, comprising: The second edge CDN node determines a throughput ratio and a CPU occupancy ratio according to the performance probe packet and data transmitted by the data transmission channel, respectively; The second edge CDN node determines the data transmission performance of the RDMA channel according to the throughput ratio, a first weight, the CPU occupancy ratio and a second weight; The first weight and the second weight are determined by the scheduling server according to the network quality and load pressure of the first edge CDN node and the second edge CDN node, and are contained in the second connection parameter; the first weight represents the influence degree of the throughput ratio on the data transmission performance of the RDMA channel, and the second weight represents the influence degree of the CPU occupancy ratio on the data transmission performance of the RDMA channel.

14. The method of claim 11, wherein, The second edge CDN node determines a switching notification according to the data transmission performance of the RDMA path, comprising: If the data transmission performance of the RDMA channel does not meet the set requirement, the second edge CDN node determines a switching notification instructing the first edge CDN node to switch the data transmission channel from the RDMA channel to the socket path; If the performance of the RDMA channel meets the set requirement, the second edge CDN node determines a switching notification for instructing the first edge CDN node to switch the data transmission channel from the socket channel to the RDMA channel.

15. A data transmission method, characterized by, The method comprises: The scheduling server receives a data transmission service request sent by a source client; The scheduling server determines a first edge CDN node and a second edge CDN node in at least one edge CDN node according to the data transmission service request; The scheduling server sends a first connection parameter to the first edge CDN node and a second connection parameter to the second edge CDN node; wherein a registered memory area indicated in the first connection parameter is used to instruct the first edge CDN node to determine a first memory area, and a registered memory area indicated in the second connection parameter is used to instruct the second edge CDN node to determine a second memory area; The first memory area is used for the first edge CDN node to directly store the to-be-transmitted data sent by the source client; and the second memory area is used for the second edge CDN node to directly store the to-be-transmitted data sent by the first edge CDN node, and read the to-be-transmitted data from the second memory area and send it to a destination client.

16. The method of claim 15, wherein, The scheduling server determines a first edge CDN node and a second edge CDN node in at least one CDN node according to the data transmission service request, comprising: The scheduling server determines the first edge CDN node and the second edge CDN node according to the request information corresponding to the data transmission service request and the performance evaluation result corresponding to each edge CDN node in the at least one edge CDN node.

17. The method of claim 16, wherein, The scheduling server determines the first edge CDN node and the second edge CDN node according to the request message corresponding to the data transmission service request and the performance evaluation result corresponding to each edge CDN node in at least one edge CDN node, comprising: The scheduling server determines an edge CDN node whose resource evaluation meets the standard according to the first performance evaluation result corresponding to each edge CDN node in the at least one edge CDN node; The scheduling server determines the first edge CDN node and the second edge CDN node according to the request corresponding to the data transmission service request and the second performance evaluation result of the edge CDN node whose resource evaluation meets the standard.

18. The method of claim 17, wherein, The first performance evaluation result comprises at least one of the following: CPU utilization, I / O utilization, memory utilization, RDMA bandwidth utilization, and RDMA memory occupancy rate; if any of them does not meet the preset condition, it is an edge CDN node whose resource evaluation does not meet the standard.

19. The method of claim 17, wherein, The second performance evaluation result is obtained by the following method, comprising: For any resource evaluation edge CDN node, the scheduling server determines the socket performance evaluation result corresponding to the edge CDN node according to the CPU utilization, I / O utilization and memory utilization of the edge CDN node, and determines the RDMA performance evaluation result corresponding to the edge CDN node according to the RDMA bandwidth utilization and RDMA memory registration capacity of the edge CDN node; The scheduling server determines the second performance evaluation result corresponding to the edge CDN node according to the data transmission task type, the socket performance evaluation result and the RDMA performance evaluation result corresponding to the edge CDN node.

20. The method of claim 15, wherein, Before the scheduling server sends the second connection parameter to the second edge CDN node, further comprising: The scheduling server determines a first weight and a second weight according to the network quality and load pressure of the first edge CDN node and the second edge CDN node; the first weight represents the influence degree of the throughput ratio on the data transmission performance of the RDMA channel, and the second weight represents the influence degree of the CPU occupancy ratio on the data transmission performance of the RDMA channel; the throughput ratio and the CPU occupancy ratio are determined by the second edge CDN node according to the performance detection package sent by the first edge CDN node and the data transmitted between the data transmission channel of the first edge CDN node and the second edge CDN node; The scheduling server adds the first weight and the second weight to the second connection parameter.

21. The method of claim 20, wherein, The first weight and the network quality of the first edge CDN node and the second edge CDN node have a positive correlation relationship; the second weight and the load pressure of the first edge CDN node and the second edge CDN node have a positive correlation relationship.

22. A data transmission apparatus, characterized by comprising: The device comprises a transceiver module and a processing module; the processing module calls the transceiver module to execute: The data to be transmitted received from the source client is directly stored in the first memory area; the first memory area is determined by the first edge CDN node according to the registration memory area indicated in the first connection parameter issued by the scheduling server; The data to be transmitted is read from the first memory area, and the data to be transmitted is sent to the second edge CDN node; the second edge CDN node is used to directly store the data to be transmitted in the second memory area, and read the data to be transmitted from the second memory area and send it to the destination client; the second memory area is determined by the second edge CDN node according to the registration memory area indicated in the second connection parameter issued by the scheduling server; Wherein, the first edge CDN node and the second edge CDN node are determined by the scheduling server in at least one edge CDN node according to the data transmission service request sent by the source client.

23. A data transmission apparatus, characterized by comprising: The device comprises a transceiver module and a processing module; The processing module calls the transceiver module to execute: receive the to-be-transmitted data read and sent by the first edge CDN node from the first memory area; the to-be-transmitted data is sent by a source client to the first edge CDN node and directly stored in the first memory area by the first edge CDN node, and the first memory area is determined by the first edge CDN node according to a registered memory area indicated in first connection parameters issued by a scheduling server; directly store the to-be-transmitted data in a second memory area and read the to-be-transmitted data from the second memory area and send to a destination client; the second memory area is determined by the second edge CDN node according to a registered memory area indicated in second connection parameters issued by the scheduling server; wherein the first edge CDN node and the second edge CDN node are determined by the scheduling server in at least one edge CDN node according to a data transmission service request sent by the source client.

24. A data transmission apparatus, characterized by comprising: The apparatus comprises a transceiving module and a processing module. The transceiving module is configured to receive a data transmission service request sent by a source client. The processing module is configured to determine a first edge CDN node and a second edge CDN node in at least one edge CDN node according to the data transmission service request. The transceiving module is further configured to send first connection parameters to the first edge CDN node and second connection parameters to the second edge CDN node; wherein a registered memory area indicated in the first connection parameters is used to instruct the first edge CDN node to determine a first memory area, and a registered memory area indicated in the second connection parameters is used to instruct the second edge CDN node to determine a second memory area. The first memory area is used for the first edge CDN node to directly store to-be-transmitted data sent by the source client; and the second memory area is used for the second edge CDN node to directly store to-be-transmitted data sent by the first edge CDN node and read the to-be-transmitted data from the second memory area and send to a destination client.

25. A data transmission device, characterized by comprise: a processor and a memory connected to the processor in communication; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory to implement the method of any one of claims 1-21.

26. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer execution instructions, and the computer execution instructions are executed by the processor to implement the method of any one of claims 1-21.

27. A computer program product, characterised in that, comprise a computer program, which is executed by the processor to implement the method of any one of claims 1-21.