Data transmission system and method

By deploying specific modules at the CDN edge and PCDN intranet nodes, proactive transmission of cached data is achieved, solving the problem that PCDN intranet nodes cannot be directly used for CDN services, saving CDN bandwidth costs and improving data transmission efficiency.

CN121585733APending Publication Date: 2026-02-27CHINA TELECOM CLOUD TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511788443.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-01
Publication Date
2026-02-27

AI Technical Summary

Technical Problem

PCDN internal network nodes lack public IP addresses and cannot be directly used for CDN services, resulting in high CDN bandwidth costs.

Method used

By deploying an Agent module at the CDN edge and a PCDN-Agent module at the PCDN intranet node, the content scheduling center sends instructions to control the flow of cached data from the PCDN intranet node to the CDN edge node, thus achieving proactive transmission of cached data.

Benefits of technology

Make full use of PCDN intranet node resources to save CDN back-to-upper-layer bandwidth costs and improve the efficiency of CDN edge node cache data retrieval.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121585733A_ABST
    Figure CN121585733A_ABST
Patent Text Reader

Abstract

The invention relates to a data transmission system and method. The system comprises a CDN edge node, a CDN dispatching center node and an upper layer PCDN intranet node. Wherein the CDN edge node is used for receiving a user request and sending a request back to an upper layer to the CDN dispatching center node; the CDN dispatching center node is used for receiving an upper layer returning request and sending a cache request instruction to the upper layer PCDN intranet node; the upper PCDN intranet node is used for acquiring cache data based on a received cache request instruction and sending the acquired cache data to the corresponding CDN edge node, and the CDN edge node responds to the cache data to a user. According to the method, PCDN intranet node resources are applied to the CDN upper layer, and the purpose that the CDN edge node obtains the upper layer cache data is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of cloud computing, and particularly relates to a data transmission system and method. BACKGROUND

[0002] In the application scenario of a CDN (Content Delivery Network), in order to improve the carrying capacity of a PCDN (Peer-to-Peer Content Delivery Network) node resource, it is often necessary to aggregate the bandwidth capacity of multiple small accounts, that is, a PCDN node machine is allocated with a large number of dial-up lines; however, most of these dial-up lines are internal network IP, and there is no public network IP available for external access, so that a client request cannot directly reach the PCDN node, and thus the dial-up line cannot be directly used as a CDN edge cache node to provide services. SUMMARY

[0003] Therefore, it is necessary to provide a data transmission system and method capable of using a PCDN internal network node in view of the above technical problems.

[0004] In a first aspect, the present application provides a data transmission system, which comprises a CDN edge node, a CDN scheduling center node and an upper-layer PCDN internal network node; wherein:

[0005] The CDN edge node is configured to receive a user request and send a back-to-upper-layer request to the CDN scheduling center node.

[0006] The CDN scheduling center node is configured to receive the back-to-upper-layer request and send a cache request instruction to the upper-layer PCDN internal network node.

[0007] The upper-layer PCDN internal network node is configured to acquire cache data based on the received cache request instruction, send the acquired cache data to a corresponding CDN edge node, and respond to the user with the cache data by the CDN edge node.

[0008] In one embodiment, the system comprises a CDN edge cache module and a CDN edge Agent module deployed in the CDN edge node, a content scheduling center module deployed in the CDN scheduling center node, and an upper-layer PCDN cache module and an upper-layer PCDN-Agent module deployed in the upper-layer PCDN internal network node; wherein:

[0009] The CDN edge cache module is configured to receive a user request and send a back-to-upper-layer request to the content scheduling center module.

[0010] The content scheduling center module is configured to receive a request from an upper layer, find an upper layer PCDN internal network node with a normal heartbeat and redundant bandwidth, obtain a long connection of an upper layer PCDN-Agent module of the upper layer PCDN internal network node, and send a cache request instruction to the upper layer PCDN-Agent module;

[0011] The upper layer PCDN-Agent module is configured to receive the cache request instruction, request cache data from an upper layer PCDN cache module based on the cache request instruction, and send the cache data to a corresponding CDN edge Agent module.

[0012] The CDN edge Agent module is configured to return the received cache data to a CDN edge cache module, and the CDN edge cache module is configured to respond the cache data to a user.

[0013] In one embodiment, the upper layer PCDN-Agent module is configured to establish a long connection with the content scheduling center module, listen to instructions of the content scheduling center module in real time, and report heartbeat and network bandwidth data at a regular time.

[0014] In one embodiment, the cache request instruction carries a cache request URL and a CDN edge node IP.

[0015] The upper layer PCDN-Agent module is configured to obtain the cache request URL in the cache request instruction, request cache data from an upper layer PCDN cache module, and receive the cache data returned by the upper layer PCDN cache module, send a connection request to a CDN edge Agent module according to the CDN edge node IP, and send the cache data.

[0016] In one embodiment, the upper layer PCDN cache module is configured to read cache data from a local memory or a disk, the CDN edge Agent module is further configured to receive the cache data and cache the cache data in the memory, and the CDN edge cache module is further configured to request the cache data from the CDN edge Agent module.

[0017] In a second aspect, the application further provides a data transmission method applied to an upper layer PCDN internal network node, the method comprising:

[0018] receiving a cache request instruction from a CDN scheduling center node, and obtaining cache data;

[0019] sending the obtained cache data to a corresponding CDN edge node, and responding the cache data to a user by the CDN edge node.

[0020] In one embodiment, the method further comprises:

[0021] The upper PCDN-Agent module is used to establish a long connection with the content scheduling center module, to listen to instructions of the content scheduling center module in real time, and to report heartbeat and network bandwidth data at regular time intervals.

[0022] The upper PCDN-Agent module is deployed in an upper PCDN intranet node, and the content scheduling center module is deployed in a CDN scheduling center node.

[0023] In one embodiment, the cache request instruction carries a cache request URL and a CDN edge node IP; the cache data is acquired, and the acquired cache data is sent to the corresponding CDN edge node, including:

[0024] The cache request URL in the cache request instruction is acquired by the upper PCDN-Agent module, and the cache data is requested from the upper PCDN cache module; the upper PCDN cache module is deployed in an upper PCDN intranet node.

[0025] The cache data returned by the upper PCDN cache module is received, a connection request is sent to the CDN edge Agent module according to the CDN edge node IP, and the cache data is sent; the CDN edge Agent module is deployed in a CDN edge node.

[0026] In a third aspect, the application further provides a data transmission method applied to a CDN edge node, including: receiving cache data sent by an upper PCDN intranet node, and responding to the cache data to a user.

[0027] In one embodiment, the cache data sent by the upper PCDN intranet node is received, and the cache data is responded to the user, including:

[0028] The cache data is received by the CDN edge Agent module;

[0029] The cache data is requested from the CDN edge Agent module by the CDN edge cache module, and the cache data returned by the CDN edge Agent module is responded to the user; the CDN edge Agent module and the CDN edge cache module are deployed in a CDN edge node.

[0030] The data transmission system and method, the data transmission system comprises a CDN edge node, a CDN scheduling center node and an upper-layer PCDN internal network node, wherein the CDN edge node is configured to receive a user request and send a back-to-upper-layer request to the CDN scheduling center node; the CDN scheduling center node is configured to receive the back-to-upper-layer request and send a cache request instruction to the upper-layer PCDN internal network node; and the upper-layer PCDN internal network node is configured to obtain cache data based on the received cache request instruction and send the obtained cache data to the corresponding CDN edge node, and the CDN edge node responds the cache data to the user. The application proposes to apply the PCDN internal network node resource to the CDN upper layer, and actively send the cache data from the PCDN internal network node to the CDN edge node, so as to achieve the purpose of obtaining the upper-layer cache data by the CDN edge node. BRIEF DESCRIPTION OF DRAWINGS

[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the drawings needed to be used in the description of the embodiments of the present application or the related art will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other related drawings can be obtained by those skilled in the art without creative labor.

[0032] Figure 1 A schematic diagram of a traditional CDN back-to-upper-layer process;

[0033] Figure 2 A schematic diagram of the structure of the data transmission system in an embodiment;

[0034] Figure 3 A schematic diagram of the module architecture using the PCDN internal network node in an embodiment;

[0035] Figure 4 A schematic diagram of the flow of the data transmission method in an embodiment;

[0036] Figure 5 A schematic diagram of the flow of the data transmission method in another embodiment;

[0037] Figure 6 A schematic diagram of the request flow using the PCDN internal network node in an embodiment. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solutions and advantages of the present application more clear, the present application will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and not to limit the present application.

[0039] The term "indicate" in this application can be an explicit indication or an implicit indication. The explicit indication can be understood as the sender explicitly informing the receiver of the operation or the requested result in the sent indication. The implicit indication can be understood as the receiver judging according to the indication sent by the sender, and determining the operation or the requested result according to the judgment result.

[0040] It should be noted that the terms "first", "second", etc. used in this application can be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from the second element. The terms "include" and "have" and any variations thereof used in this application are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two and more than two. The term "and / or" used in this application refers to one of the schemes or any combination of multiple schemes.

[0041] In the conventional technology, the PCDN internal network node has no public network IP, and external requests are unreachable, so it cannot be directly applied to CDN services, such as the CDN back upper flow shown in FIG. 1; wherein the bandwidth cost of CDN is divided into two parts, one part is the bandwidth of CDN edge node, and the other part is the bandwidth of CDN upper node. Figure 1

[0042] Based on the above conventional technology, in order to fully utilize the PCDN internal network node resources and save the CDN bandwidth cost, since the PCDN internal network node resources cannot be applied to the CDN edge, the present application proposes to use the PCDN internal network node in the CDN upper layer, thereby saving the CDN upper layer bandwidth cost.

[0043] Exemplarily, the present application embodiment provides a scheme of using PCDN internal network node, which applies PCDN internal network node resources to CDN upper layer, and sends cache data to CDN edge node through active connection on PCDN internal network node, so as to achieve the purpose of CDN edge node obtaining upper layer cache data. Wherein, by deploying Agent module in CDN edge and deploying PCDN-Agent module in PCDN internal network node, sending instructions by content scheduling center to control cache data flowing from PCDN internal network node to CDN edge node, so as to achieve the purpose of CDN edge obtaining cache data.

[0044] ​This application embodiment can fully utilize PCDN intranet node resources, using them as upper-layer nodes to CDN, thus saving CDN back-to-upper-layer bandwidth costs. Optionally, this application can be applied to CDN service providers as upper-layer nodes for CDN, effectively saving CDN bandwidth costs. It should be noted that the beneficial effects or technical problems solved by this application embodiment are not limited to this one, but may also include other implicit or related problems, as detailed in the following description of the embodiments.

[0045] Before introducing the specific embodiments of this application, the technical terms involved in this application will be explained:

[0046] A Content Delivery Network (CDN) is a new type of network content service system built on IP networks. It provides content distribution and services based on the efficiency, quality, and order requirements of content access and application. Because CDNs can significantly alleviate pressure on origin servers and improve the speed of content distribution and services, they have been widely used in scenarios such as website acceleration, live streaming, and game acceleration.

[0047] PCDN (Peer-to-Peer Content Delivery Network) bandwidth is a traffic transmission service provided over the public internet, primarily used to deliver high-bandwidth content such as large media files, software, and games to users. PCDN service providers store content on nodes closest to users through online nodes, thereby shortening content transmission time and improving efficiency and speed. PCDN provides a peer-to-peer (P2P) content delivery service, utilizing user-uploaded data to store content in a distributed network and transmitting it quickly through technologies such as optimized routing and network latency. The advantages of PCDN include faster, more reliable, and more efficient traffic distribution, while also reducing the load on origin servers and bandwidth, thus lowering costs.

[0048] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will be described below with reference to the accompanying drawings.

[0049] In one exemplary embodiment, such as Figure 2 As shown, a data transmission system 10 is provided, including a CDN edge node 102, a CDN scheduling center node 104, and an upper-layer PCDN intranet node 106; wherein:

[0050] CDN edge node 102 is used to receive user requests and send the requests back to the upper layer to CDN scheduling center node 104.

[0051] CDN scheduling center node 104 is used to receive requests from the upper layer and send cache request instructions to the upper PCDN intranet node 106.

[0052] The upper-layer PCDN intranet node 106 is used to obtain cached data based on the received cache request command, and sends the obtained cached data to the corresponding CDN edge node 102. The CDN edge node 102 responds with the cached data to the user.

[0053] Specifically, in this embodiment, the data transmission system 10 uses a PCDN intranet node architecture. The CDN scheduling center node 102 can send instructions to control the flow of cached data from the upper-layer PCDN intranet node 106 to the CDN edge node 102, thereby achieving the goal of obtaining cached data at the CDN edge. This application can fully utilize PCDN intranet node resources, using them as upper-layer nodes to the CDN, saving CDN back-to-upper-layer bandwidth costs. It can be understood that the upper-layer PCDN intranet node in this application can also be simply referred to as the upper-layer PCDN node.

[0054] in, Figure 2 The client in the context can be a terminal, which can be, but is not limited to, various personal computers, laptops, smartphones, tablets, drones, low-altitude aircraft, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, projection devices, etc. Portable wearable devices can include smartwatches, smart bracelets, head-mounted displays, etc. Head-mounted displays can include virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. Furthermore, the CDN scheduling center node can be a node in a content scheduling center cluster; for example, the content scheduling center cluster can be a cluster composed of multiple CDN scheduling center nodes.

[0055] Furthermore, the user request sent by the client can also be called a client request, and this application does not limit this. The client sends a user request to CDN edge node 102. After receiving the user request, CDN edge node 102 sends a back-to-upper-layer request to CDN scheduling center node 104. CDN scheduling center node 104 then receives the back-to-upper-layer request and sends a cache request instruction to upper-layer PCDN intranet node 106. Upper-layer PCDN intranet node 106 can receive the cache request instruction, obtain cached data, and send the obtained cached data to the corresponding CDN edge node 102. CDN edge node 102 then responds with the cached data to the user (e.g., ...). Figure 2(response results in the text).

[0056] In this embodiment, the CDN edge nodes and the content scheduling center cluster both have public IP addresses, while the upper-layer PCDN intranet nodes do not. However, the data transmission system based on this application can fully utilize the resources of the PCDN intranet nodes, using them as upper-layer nodes to the CDN, thus saving CDN back-to-upper-layer bandwidth costs.

[0057] In one embodiment, the system includes: a CDN edge caching module and a CDN edge agent module deployed on CDN edge nodes, a content scheduling center module deployed on CDN scheduling center nodes, and an upper-layer PCDN caching module and an upper-layer PCDN-Agent module deployed on upper-layer PCDN intranet nodes; wherein:

[0058] The CDN edge caching module is used to receive user requests and send them back to the upper layer from the content scheduling center module;

[0059] The content scheduling center module is used to receive requests from the upper layer, find upper-layer PCDN intranet nodes with normal heartbeats and redundant bandwidth, obtain long connections of the upper-layer PCDN-Agent module of the upper-layer PCDN intranet nodes, and send cache request instructions to the upper-layer PCDN-Agent module.

[0060] The upper-layer PCDN-Agent module is used to receive cache request instructions, request cache data from the upper-layer PCDN cache module based on the cache request instructions, and send the cache data to the corresponding CDN edge Agent module;

[0061] The CDN edge agent module is used to return the received cached data to the CDN edge cache module, which then responds with the cached data to the user.

[0062] Specifically, this application deploys an Agent module at the CDN edge and a PCDN-Agent module at the PCDN intranet node. The content scheduling center sends instructions to control the flow of cached data from the PCDN intranet node to the CDN edge node, thereby achieving the goal of obtaining cached data at the CDN edge.

[0063] For example, the data transmission system includes a CDN edge caching module, a CDN edge agent module, a content scheduling center module, an upper-layer PCDN caching module, and an upper-layer PCDN-Agent module. The CDN edge caching module and the CDN edge agent module are deployed on CDN edge nodes, the content scheduling center module is deployed on a CDN scheduling center node, and the upper-layer PCDN caching module and the upper-layer PCDN-Agent module are deployed on upper-layer PCDN intranet nodes.

[0064] It is understood that the CDN edge caching module in this application embodiment can refer to the caching module of the CDN edge node, and the CDN edge Agent module can refer to the Agent module of the CDN edge node; the upper-layer PCDN caching module can refer to the caching module of the upper-layer PCDN intranet node, and the upper-layer PCDN-Agent module can refer to the PCDN-Agent module of the upper-layer PCDN intranet node.

[0065] Furthermore, after receiving a user request, the CDN edge caching module sends a request back to the upper layer to the content scheduling center module. After receiving the request back to the upper layer from the CDN edge caching module, the content scheduling center module searches for an upper-layer PCDN intranet node with a normal heartbeat and redundant bandwidth, obtains a long connection to the PCDN-Agent module of that node, and sends a cache request instruction to the PCDN-Agent module of that node.

[0066] When the PCDN-Agent module of the upper-layer PCDN intranet node receives a cache request instruction, it retrieves the cache request URL from the instruction and requests cached data from the upper-layer PCDN cache module. After obtaining the cached data, it connects to and sends it to the corresponding CDN edge Agent module. After receiving the cached data, the CDN edge Agent module returns it to the CDN edge cache module, which then responds with the data to the user.

[0067] The aforementioned data transmission system can apply PCDN intranet nodes to the upper layer of CDN, thereby saving CDN bandwidth. Specifically, by applying PCDN intranet node resources to the upper layer of CDN, the PCDN intranet nodes actively send cached data to CDN edge nodes, enabling the CDN edge nodes to obtain the upper-layer cached data.

[0068] In some embodiments, the upper-layer PCDN-Agent module is used to establish a long-lived connection with the content scheduling center module, listen for instructions from the content scheduling center module in real time, and periodically report heartbeat and network bandwidth data. Specifically, the upper-layer PCDN-Agent module can establish a long-lived connection with the content scheduling center module, listen for instructions from the content scheduling center module in real time, and periodically report heartbeat and network bandwidth data. This allows the content scheduling center module to identify upper-layer PCDN intranet nodes with normal heartbeats and redundant bandwidth after receiving a request from the CDN edge caching module.

[0069] In one embodiment, the cache request instruction carries a cache request URL (Uniform Resource Locator) and a CDN edge node IP; the upper-layer PCDN-Agent module is used to obtain the cache request URL in the cache request instruction, request cache data from the upper-layer PCDN cache module; and to receive the cache data returned by the upper-layer PCDN cache module, send a connection request to the CDN edge Agent module according to the CDN edge node IP, and send the cache data.

[0070] Specifically, the content scheduling center module sends a cache request instruction to the PCDN-Agent module. This instruction carries the actual cache request URL and the CDN edge node IP. The cache request URL can be used to instruct the upper-layer PCDN-Agent module to request cached data from the upper-layer PCDN cache module, and the CDN edge node IP can be used to instruct the upper-layer PCDN-Agent module to send a connection request to the CDN edge Agent module, thereby sending the cached data.

[0071] The aforementioned data transmission system supports sending cached data to CDN edge nodes via active connection on PCDN intranet nodes, enabling CDN edge nodes to obtain upper-layer cached data.

[0072] In one embodiment, the upper-layer PCDN caching module is used to read cached data from local memory or disk; the CDN edge agent module is also used to receive cached data and cache it in memory; the CDN edge caching module is also used to request cached data from the CDN edge agent module.

[0073] Specifically, when the upper-layer PCDN-Agent module requests cached data from the upper-layer PCDN cache module, the upper-layer PCDN cache module can read the cached data from local memory or disk and return it to the PCDN-Agent module. Once the CDN edge Agent module receives the cached data, it can cache it in memory. Furthermore, the CDN edge cache module can request cached data from the CDN edge Agent module, and then retrieve and return the cached data to the user.

[0074] To further illustrate the scheme of this application, a specific example is provided below, such as... Figure 3As shown, the data transmission system may include a CDN edge caching module, a CDN edge agent module, a content scheduling center module, an upper-layer PCDN caching module, and an upper-layer PCDN-Agent module. Taking the CDN edge caching module and CDN edge agent module deployed on CDN edge nodes, the content scheduling center module deployed on CDN scheduling center nodes, and the upper-layer PCDN caching module and upper-layer PCDN-Agent module deployed on upper-layer PCDN intranet nodes as an example, the CDN edge caching module refers to the caching module in the CDN edge node, the CDN edge agent module refers to the agent module in the CDN edge node, the upper-layer PCDN caching module refers to the caching module in the upper-layer PCDN intranet node, and the upper-layer PCDN-Agent module can refer to the PCDN-Agent module in the upper-layer PCDN intranet node.

[0075] like Figure 3 As shown, the upper-layer PCDN-Agent module establishes a long connection with the content scheduling center module, listens for instructions from the content scheduling center module in real time, and periodically reports heartbeat and network bandwidth data; the content scheduling center module can listen for back-to-upper-layer requests from the CDN edge caching module in real time. The CDN edge Agent module can listen for data connection requests from the upper-layer PCDN-Agent module in real time.

[0076] A user sends a request to a CDN edge node (i.e., the client sends a user request). Upon receiving the user request, the CDN edge caching module sends a request back to the content scheduling center module. After receiving the request, the content scheduling center module searches for an upper-layer PCDN intranet node with a normal heartbeat and sufficient bandwidth redundancy. It obtains the long-lived connection (long-lived connection heartbeat) of that node's PCDN-Agent module and sends a back-to-upper-layer instruction (e.g., a cache request instruction) to the PCDN-Agent module. This instruction carries the actual cache request URL and the CDN edge node's IP address. Optionally, the content scheduling center module can also return a message indicating successful instruction delivery to the CDN edge node.

[0077] The PCDN-Agent module of the upper-layer PCDN intranet node receives a cache request instruction, retrieves the cache request URL from the instruction, and requests cached data from the upper-layer PCDN cache module. The upper-layer PCDN cache module then returns the cached data to the upper-layer PCDN-Agent module.

[0078] After the upper-layer PCDN-Agent module obtains the cached data, it sends a connection request to the CDN edge agent module of the corresponding CDN edge node based on the CDN edge node IP in the cache request instruction, and sends the cached data (i.e., connects and sends cached data); the CDN edge agent module receives the cached data and caches it in memory; the CDN edge cache module requests cached data from the CDN edge agent module; and the CDN edge cache module returns the cached data to the user after obtaining it.

[0079] Based on the same inventive concept, this application also provides a data transmission method applicable to the aforementioned data transmission system. The solution provided by this method is similar to the implementation scheme described in the above system; therefore, the specific limitations in one or more data transmission method embodiments provided below can be found in the limitations of the data transmission system described above, and will not be repeated here.

[0080] In one exemplary embodiment, such as Figure 4 As shown, a data transmission method is provided, which is applied to an upper-layer PCDN intranet node. The method includes steps S402 to S404.

[0081] Step S402: Receive a cache request instruction from the CDN scheduling center node and obtain cache data.

[0082] Specifically, this application makes full use of PCDN intranet node resources, using PCDN intranet nodes as upper-layer nodes to CDN; wherein, the upper-layer PCDN intranet nodes receive cache request instructions from CDN scheduling center nodes and can obtain cached data.

[0083] In step S404, the obtained cached data is sent to the corresponding CDN edge node, which then responds to the user with the cached data.

[0084] Specifically, the upper-layer PCDN intranet nodes can send the obtained cached data to the corresponding CDN edge nodes, which will then respond with the cached data to the user.

[0085] In one embodiment, the method further includes: establishing a long connection with the content scheduling center module through the upper-layer PCDN-Agent module, listening to the instructions of the content scheduling center module in real time, and periodically reporting heartbeat and network bandwidth data; wherein the upper-layer PCDN-Agent module is deployed on the upper-layer PCDN intranet node, and the content scheduling center module is deployed on the CDN scheduling center node.

[0086] In one embodiment, the cache request instruction carries a cache request URL and a CDN edge node IP; obtaining cached data and sending the obtained cached data to the corresponding CDN edge node includes: obtaining the cache request URL in the cache request instruction through the upper-layer PCDN-Agent module, requesting cached data from the upper-layer PCDN cache module; the upper-layer PCDN cache module is deployed on the upper-layer PCDN intranet node; receiving the cached data returned by the upper-layer PCDN cache module, sending a connection request to the CDN edge Agent module according to the CDN edge node IP, and sending the cached data; the CDN edge Agent module is deployed on the CDN edge node.

[0087] In one exemplary embodiment, such as Figure 5 As shown, a data transmission method is provided, which is applied to CDN edge nodes. The method includes: step S502, receiving cached data sent by the upper-layer PCDN intranet node and responding the cached data to the user.

[0088] In one embodiment, receiving cached data sent by the upper-layer PCDN intranet node and responding with the cached data to the user includes: receiving cached data through the CDN edge agent module; requesting cached data from the CDN edge agent module through the CDN edge cache module; and responding with the cached data returned by the CDN edge agent module to the user; the CDN edge agent module and the CDN edge cache module are deployed on the CDN edge node.

[0089] The above data transmission method deploys an Agent module at the CDN edge and a PCDN-Agent module at the PCDN intranet node. The content scheduling center sends instructions to control the flow of cached data from the PCDN intranet node to the CDN edge node, thereby achieving the goal of obtaining cached data at the CDN edge.

[0090] To further illustrate the scheme of this application, specific examples are provided below, such as... Figure 6 As shown, based on this application, a request process for using PCDN intranet nodes can be implemented, including:

[0091] Step S1: The upper-layer PCDN-Agent module establishes a long connection with the content scheduling center module, listens for instructions from the content scheduling center module in real time, and periodically reports heartbeat and network bandwidth data.

[0092] Step S2: The content scheduling center module listens in real time for the CDN side cache module's requests to the upper layer.

[0093] Step S3: The CDN edge agent module listens for data connection requests from the upper-layer PCDN-Agent module in real time.

[0094] Step S4: The user sends a request http: / / www.a.com / 1.flv to CDN edge node 1.1.1.1.

[0095] Step S5: After receiving the user's request, the CDN edge caching module sends the upper-layer request back to the content scheduling center module.

[0096] Step S6: After receiving the upper-layer request from the CDN edge caching module, the content scheduling center module searches for upper-layer PCDN nodes with normal heartbeats and bandwidth redundancy, obtains the PCDN-Agent module long connection of that node, and sends a cache request instruction to the PCDN-Agent module. This instruction carries the actual cache request URL and the CDN edge node IP. Optionally, the cache instruction can be in JSON format, as shown in the example below:

[0097]

[0098] Among them, task_id is the instruction task identifier, task_type is the task type, 1 indicates the request instruction, url is the real URL requested by the user, and edge_ip is the CDN edge node IP.

[0099] Step S7: The PCDN-Agent module of the upper-layer PCDN intranet node receives the cache request instruction, obtains the cache request URL in the instruction: http: / / www.a.com / 1.flv, and requests cache data from the upper-layer PCDN cache module.

[0100] Step S8: The upper-layer PCDN cache module reads cached data from local memory or disk and returns it to the PCDN-Agent module.

[0101] Step S9: After the upper-layer PCDN-Agent module obtains the cached data, it sends a connection request to the CDN edge agent module of the specified IP address (1.1.1.1) in the cache request instruction, and sends the cached data.

[0102] Step S10: The CDN edge agent module receives the cached data and caches it in memory.

[0103] Step S11: The CDN edge caching module requests cached data from the CDN edge Agent module.

[0104] Step S12: After obtaining the cached data, the CDN edge caching module returns it to the user.

[0105] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.

[0106] Based on the same inventive concept, this application also provides a data transmission apparatus for implementing the data transmission method described above. The solution provided by this apparatus is similar to the implementation described in the above method; therefore, specific limitations in one or more data transmission apparatus embodiments provided below can be found in the limitations of the data transmission method described above, and will not be repeated here.

[0107] In one exemplary embodiment, a data transmission device is provided, applied to an upper-layer PCDN intranet node, the device comprising:

[0108] The cache data acquisition unit is used to receive cache request instructions from the CDN scheduling center node and acquire cache data;

[0109] The data sending unit is used to send the acquired cached data to the corresponding CDN edge node, which then responds to the user with the cached data.

[0110] In one embodiment, the apparatus further includes: a connection establishment unit for establishing a long connection with the content scheduling center module through the upper-layer PCDN-Agent module; and a monitoring and reporting unit for monitoring the instructions of the content scheduling center module in real time and reporting heartbeat and network bandwidth data periodically; wherein the upper-layer PCDN-Agent module is deployed on the upper-layer PCDN intranet node, and the content scheduling center module is deployed on the CDN scheduling center node.

[0111] In one embodiment, the cache request instruction carries a cache request URL and a CDN edge node IP; the cache data acquisition unit is used to obtain the cache request URL in the cache request instruction through the upper-layer PCDN-Agent module, and request cache data from the upper-layer PCDN cache module; the upper-layer PCDN cache module is deployed on the upper-layer PCDN intranet node; the data sending unit is used to receive the cache data returned by the upper-layer PCDN cache module, send a connection request to the CDN edge Agent module according to the CDN edge node IP, and send the cache data; the CDN edge Agent module is deployed on the CDN edge node.

[0112] In one exemplary embodiment, a data transmission apparatus is provided for use at a CDN edge node. The apparatus includes a cache response unit for receiving cached data sent by an upper-layer PCDN intranet node and responding with the cached data to the user.

[0113] In one embodiment, the cache response unit is configured to receive cached data through the CDN edge agent module; and request cached data from the CDN edge agent module through the CDN edge cache module, and respond to the user with the cached data returned by the CDN edge agent module; the CDN edge agent module and the CDN edge cache module are deployed on CDN edge nodes.

[0114] Each module in the aforementioned data transmission device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.

[0115] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.

[0116] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.

[0117] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0118] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0119] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0120] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A data transmission system, characterized in that, The system includes CDN edge nodes, CDN scheduling center nodes, and upper-layer PCDN intranet nodes; wherein: The CDN edge node is used to receive user requests and send back upper-layer requests to the CDN scheduling center node; The CDN scheduling center node is used to receive the request to return to the upper layer and send a cache request instruction to the upper-layer PCDN intranet node; The upper-layer PCDN intranet node is used to obtain cached data based on the received cache request instruction, and send the obtained cached data to the corresponding CDN edge node. The CDN edge node then responds with the cached data to the user.

2. The data transmission system according to claim 1, characterized in that, The system includes: a CDN edge caching module and a CDN edge agent module deployed at the CDN edge nodes; a content scheduling center module deployed at the CDN scheduling center nodes; and an upper-layer PCDN caching module and an upper-layer PCDN-Agent module deployed at the upper-layer PCDN intranet nodes; wherein: The CDN edge caching module is used to receive the user request and send the request back to the upper layer to the content scheduling center module; The content scheduling center module is used to receive the request to the upper layer, find upper-layer PCDN intranet nodes with normal heartbeat and redundant bandwidth, obtain the long connection of the upper-layer PCDN-Agent module of the upper-layer PCDN intranet node, and send the cache request instruction to the upper-layer PCDN-Agent module. The upper-layer PCDN-Agent module is used to receive the cache request instruction, request cache data from the upper-layer PCDN cache module based on the cache request instruction, and send the cache data to the corresponding CDN edge Agent module; The CDN edge agent module is used to return the received cached data to the CDN edge cache module, and the CDN edge cache module responds with the cached data to the user.

3. The data transmission system according to claim 2, characterized in that, The upper-layer PCDN-Agent module is used to establish a long connection with the content scheduling center module, listen to the instructions of the content scheduling center module in real time, and report heartbeat and network bandwidth data periodically.

4. The data transmission system according to claim 2, characterized in that, The cache request instruction carries the cache request URL and the CDN edge node IP; The upper-layer PCDN-Agent module is used to obtain the cache request URL in the cache request instruction and request cache data from the upper-layer PCDN cache module; And for receiving the cached data returned by the upper-layer PCDN cache module, sending a connection request to the CDN edge Agent module according to the CDN edge node IP, and sending the cached data.

5. The data transmission system according to any one of claims 2 to 4, characterized in that, The upper-layer PCDN cache module is used to read the cached data from local memory or disk; The CDN edge agent module is also used to receive the cached data and cache it in memory; The CDN edge caching module is also used to request cached data from the CDN edge Agent module.

6. A data transmission method, characterized in that, Applied to upper-layer PCDN intranet nodes, the method includes: Receive cache request instructions from the CDN scheduling center node and obtain cache data; The cached data is then sent to the corresponding CDN edge node, which in turn sends the cached data back to the user.

7. The method according to claim 6, characterized in that, The method further includes: The upper-layer PCDN-Agent module is used to establish a long connection with the content scheduling center module, listen to the instructions of the content scheduling center module in real time, and report heartbeat and network bandwidth data periodically. The upper-layer PCDN-Agent module is deployed on the upper-layer PCDN intranet node, and the content scheduling center module is deployed on the CDN scheduling center node.

8. The method according to claim 7, characterized in that, The cache request instruction carries the cache request URL and the CDN edge node IP; Retrieving cached data and sending the retrieved cached data to the corresponding CDN edge node includes: The upper-layer PCDN-Agent module obtains the cache request URL from the cache request instruction and requests cache data from the upper-layer PCDN cache module; the upper-layer PCDN cache module is deployed on the upper-layer PCDN intranet node. The system receives the cached data returned by the upper-layer PCDN caching module, sends a connection request to the CDN edge agent module based on the CDN edge node IP, and sends the cached data; the CDN edge agent module is deployed on the CDN edge node.

9. A data transmission method, characterized in that, Applied to CDN edge nodes, the method includes: receiving cached data sent by upper-layer PCDN intranet nodes and responding the cached data to the user.

10. The method according to claim 9, characterized in that, Receiving cached data sent by the upper-layer PCDN intranet node and responding with the cached data to the user includes: The cached data is received via the CDN edge agent module; The CDN edge caching module requests cached data from the CDN edge agent module and responds to the user with the cached data returned by the CDN edge agent module; the CDN edge agent module and the CDN edge caching module are deployed on the CDN edge node.