Data transmission method and device, equipment and storage medium

By sharing data between edge nodes in a distributed cloud cluster and using the local area network to transmit target data, the problem of low data transmission efficiency caused by insufficient storage capacity of edge nodes is solved, and efficient data transmission and storage efficiency are improved.

CN118677901APending Publication Date: 2024-09-20TENCENT CLOUD COMPUTING (BEIJING) CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202310250229.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-14
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

In a distributed cloud cluster, due to the limited local storage capacity of edge nodes, data needs to be requested through the public network, resulting in low data transmission efficiency, especially when the cluster scale expands and the public network bandwidth is insufficient.

Method used

By forming a self-organizing system through multiple edge nodes in the edge cloud cluster, using the local area network to form a shared storage area from the exclusive storage area of ​​each edge node, and selecting the appropriate node for data transmission based on the storage location of the target data and node load information, it is possible to achieve Data sharing to improve storage efficiency.

Benefits of technology

It significantly shortens the waiting time for data acquisition, improves data transmission efficiency, resolves the contradiction between cluster expansion and insufficient public network bandwidth, achieves a virtuous cycle of storage capacity and transmission efficiency improvements, and saves public network bandwidth costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118677901A
    Figure CN118677901A
Patent Text Reader

Abstract

The embodiment of the invention discloses a data transmission method and device, equipment and a storage medium. The method comprises the steps that when a data obtaining instruction of a first edge node in an edge cloud cluster is received, target data needing to be obtained by the first edge node is determined, the edge cloud cluster comprises at least one edge node and is provided with a shared storage area shared by the edge nodes, and the shared storage area is composed of exclusive storage areas of the edge nodes through a local area network; querying a target exclusive storage area in which the target data is stored in the shared storage area; identifying a target edge node corresponding to the target exclusive storage area according to a mapping relationship between the exclusive storage area and the edge node; selecting a second edge node to be subjected to data transmission from the target edge nodes according to the load information of each target edge node; and transmitting the target data to the first edge node through the second edge node based on the local area network. The data transmission efficiency of the edge cloud cluster can be improved, so that the edge node can efficiently store and read data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a data transmission method, apparatus, device and storage medium. Background Art

[0002] With the growing demand for edge data processing and real-time computing, distributed cloud has emerged. Distributed cloud is an extension of public cloud capabilities, aiming to provide ubiquitous cloud computing services and meet the requirements of local access.

[0003] In the process of research and practice of related technologies, the inventor of this application found that in a distributed cloud cluster, due to the limited local storage capacity of edge nodes, edge nodes need to request the data they lack from the public cloud through the public network, but due to the limitation of public network bandwidth, edge nodes need to wait for a long time to obtain the required data, which will undoubtedly affect the data transmission efficiency of the edge cloud cluster. At the same time, as the scale of the edge cloud cluster expands, the demand for data requests will also increase dramatically, and the contradiction between the expansion of the cluster scale and the insufficient public network bandwidth will become more and more significant, which will also aggravate the negative impact on the data transmission efficiency of the edge cloud cluster. Summary of the invention

[0004] The embodiments of the present application provide a data transmission method, apparatus, device and storage medium, which can improve the data transmission efficiency of an edge cloud cluster so that edge nodes can efficiently store and read data.

[0005] The present application provides a data transmission method, including:

[0006] When receiving a data acquisition instruction of a first edge node in an edge cloud cluster, determining target data that the first edge node needs to acquire, wherein the edge cloud cluster includes at least one edge node located in the same local area network, the edge cloud cluster has a shared storage area shared by each edge node, and the shared storage area is composed of exclusive storage areas of each edge node through the local area network;

[0007] Querying at least one target exclusive storage area storing the target data in the shared storage area;

[0008] According to the mapping relationship between the exclusive storage area and the edge node, identifying the target edge node corresponding to the target exclusive storage area;

[0009] Selecting a second edge node to be used for data transmission from the target edge nodes according to the load information of each of the target edge nodes;

[0010] The target data is transmitted to the first edge node through the second edge node based on the local area network.

[0011] Accordingly, an embodiment of the present application further provides a data transmission device, including:

[0012] A determination unit, configured to determine target data that needs to be acquired by a first edge node in an edge cloud cluster when receiving a data acquisition instruction of the first edge node, wherein the edge cloud cluster includes at least one edge node located in the same local area network, the edge cloud cluster has a shared storage area shared by each edge node, and the shared storage area is composed of exclusive storage areas of each edge node through the local area network;

[0013] A query unit, configured to query at least one target exclusive storage area storing the target data in the shared storage area;

[0014] an identification unit, configured to identify a target edge node corresponding to the target exclusive storage area according to a mapping relationship between the exclusive storage area and the edge node;

[0015] A selection unit, configured to select a second edge node to be used for data transmission from the target edge nodes according to load information of each of the target edge nodes;

[0016] A transmission unit is used to transmit the target data to the first edge node through the second edge node based on the local area network.

[0017] In one embodiment, the selection unit includes:

[0018] A feature acquisition subunit, used to acquire a node load feature of each of the target edge nodes in at least one dimension;

[0019] A feature aggregation subunit, used to perform feature aggregation processing on the node load features to obtain load information of each of the target edge nodes;

[0020] The node selection subunit is used to select a second edge node to perform data transmission from the target edge node according to the load information.

[0021] In one embodiment, the transmission unit includes:

[0022] an information generating subunit, configured to generate channel information describing a data transmission channel according to the first edge node and the second edge node, wherein the data transmission channel is used to perform data transmission between the first edge node and the second edge node based on the local area network;

[0023] An information sending subunit is used to send the channel information to the first edge node to trigger the first edge node to request the target data from the second edge node according to the channel information, and obtain the target data transmitted by the second edge node.

[0024] In one embodiment, the information sending subunit is used to:

[0025] Acquire current node information of the edge cloud cluster, wherein the node information includes initial task information of the second edge node; update the initial task information; and when it is detected that the update is complete, send the channel information to the first edge node.

[0026] In one embodiment, the information sending subunit is further used for:

[0027] When a transmission completion signal of the target data is detected, current task information of the second edge node is acquired; and the current task information is updated according to the initial task information.

[0028] In one embodiment, the information sending subunit is used to:

[0029] Trigger the first edge node to create a data transmission channel between the first edge node and the second edge node according to the channel information; send a data acquisition request for the target data to the second edge node through the data transmission channel; and obtain the target data transmitted by the second edge node based on the data acquisition request.

[0030] In one embodiment, the information sending subunit is specifically used for:

[0031] Acquire the data to be verified transmitted by the second edge node based on the data acquisition request; perform data integrity verification on the data to be verified; and when the verification passes, confirm that the data to be verified is the target data.

[0032] In one embodiment, the distributed cloud cluster includes a central node and an edge node in the edge cloud cluster, the central node stores node information of the edge cloud cluster, and the transmission unit further includes:

[0033] An information acquisition subunit is configured to acquire current data storage information in the exclusive storage area of ​​the first edge node through the central node when a transmission completion signal of the target data is detected;

[0034] An information analysis subunit is used to analyze the current data storage information to obtain an analysis result;

[0035] An information updating subunit is used to update the node information of the edge cloud cluster stored in the central node according to the current data storage information when the parsing result indicates that the target data is stored in the exclusive storage area of ​​the first edge node.

[0036] In one embodiment, the data transmission device further includes:

[0037] An acquiring unit, configured to acquire current data storage information in an exclusive storage area of ​​the first edge node;

[0038] A parsing unit, used to parse the current data storage information to obtain a parsing result;

[0039] A creating unit is configured to create a cloud server on the first edge node based on the image file when the parsing result indicates that the image file is stored in the exclusive storage area of ​​the first edge node.

[0040] Correspondingly, an embodiment of the present application also provides a computer device, including a memory and a processor; the memory stores a computer program, and the processor is used to run the computer program in the memory to execute any one of the data transmission methods provided in the embodiments of the present application.

[0041] Correspondingly, an embodiment of the present application also provides a computer-readable storage medium, which is used to store a computer program, and the computer program is loaded by a processor to execute any one of the data transmission methods provided in the embodiments of the present application.

[0042] Accordingly, an embodiment of the present application further provides a computer program product, including a computer program / instructions, wherein when the computer program / instructions are executed by a processor, the steps of the data transmission method shown in the embodiment of the present application are implemented.

[0043] An embodiment of the present application can determine the target data that the first edge node needs to acquire when receiving a data acquisition instruction from a first edge node in an edge cloud cluster, wherein the edge cloud cluster includes at least one edge node located in the same local area network, and the edge cloud cluster has a shared storage area shared by each edge node, and the shared storage area is composed of exclusive storage areas of each edge node through the local area network; query at least one target exclusive storage area storing the target data in the shared storage area; identify the target edge node corresponding to the target exclusive storage area according to a mapping relationship between the exclusive storage area and the edge node; select a second edge node to be used for data transmission from the target edge node according to load information of each of the target edge nodes; and transmit the target data to the first edge node based on the local area network through the second edge node.

[0044] This solution can form a self-organizing system through multiple edge nodes in the edge cloud cluster, and form a shared storage area shared by each edge node in the edge cloud cluster through the local area network from the exclusive storage area of ​​each edge node. Among them, each edge node can use its exclusive storage area for data storage, and when the edge node needs to obtain target data that is not stored in its exclusive storage area, it can share data between different edge nodes through the local area network, thereby improving the data storage limit and storage richness of the edge cloud cluster. For example, each edge node in the edge cloud cluster can use its local cache to cache hot data. When the first edge node needs to obtain an image file that it does not cache, the second edge node in the edge cloud cluster that caches the image file can quickly transmit the image file to the first edge node through the local area network.

[0045] It can be seen that compared with the first edge node needing to request the required target data from the public cloud through the public network, this can not only significantly shorten the waiting time for the first edge node to obtain the required data and improve the data transmission efficiency of the edge cloud cluster, but more importantly, it can effectively solve the contradiction between the expansion of the cluster scale and the insufficient public network bandwidth, and realize the virtuous cycle that the larger the cluster scale, the larger the storage capacity of the edge cloud cluster shared storage area, and the higher the data transmission efficiency in the edge cloud cluster. Take the target data as an example, because through this solution, the image file can be shared among neighboring edge nodes in the same edge cloud cluster, and only the intranet bandwidth is used without consuming the public network traffic cost. It can be seen that after the distributed cloud system is connected, except for the traffic that cannot be shared, a large number of image files can be obtained through the sharing of neighboring edge nodes. The measured results show that under standard scenarios, this solution can significantly reduce the public network transmission traffic, thereby effectively saving bandwidth costs.

[0046] In addition, the solution screens out target edge nodes that are eligible for establishing a data sharing channel from the edge nodes of the edge cloud cluster by determining at least one target edge node that stores target data in the edge cloud cluster, and then selects a second edge node from the target edge nodes to share the target data with the first edge node based on the load information of each target edge node. In this way, the best data sharing channel can be matched within the edge cloud cluster, effectively improving the data storage hit rate and enhancing the user experience of the distributed cloud. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0048] Figure 1 It is a scenario schematic diagram of the data transmission method provided in an embodiment of the present application;

[0049] Figure 2 is another scenario schematic diagram of the data transmission method provided in an embodiment of the present application;

[0050] Figure 3 is a flow chart of a data transmission method provided in an embodiment of the present application;

[0051] Figure 4 It is a schematic diagram of the use process architecture of the data transmission method provided in the embodiment of the present application;

[0052] Figure 5 It is a schematic diagram of channel matching of the data transmission method provided in an embodiment of the present application;

[0053] Figure 6 is a data transmission schematic diagram of a data transmission method provided in an embodiment of the present application;

[0054] Figure 7 is another flowchart of the data transmission method provided by an embodiment of the present application;

[0055] Figure 8 is a schematic diagram of the structure of a data transmission device provided in an embodiment of the present application;

[0056] Fig. 9 is another structural schematic diagram of the data transmission device provided in an embodiment of the present application;

[0057] Fig.10 is another structural schematic diagram of the data transmission device provided in an embodiment of the present application;

[0058] Fig.11 is another structural schematic diagram of the data transmission device provided in an embodiment of the present application;

[0059] Fig.12 is another structural schematic diagram of the data transmission device provided in an embodiment of the present application;

[0060] Fig.13 It is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0061] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0062] The embodiment of the present application proposes a data transmission method, which can be executed by a computer device. The computer device can be a terminal or a server, that is, the data transmission method can be executed by the terminal or the server, or can be executed by the terminal and the server together.

[0063] Specifically, the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal can be a smart phone, tablet computer, laptop computer, desktop computer, smart speaker, smart watch, etc., but is not limited to this. The terminal and the server can be directly or indirectly connected via wired or wireless communication, and this application does not limit this.

[0064] In one embodiment, if Figure 1 As shown, when the server 10 receives the data acquisition instruction of the first edge node in the edge cloud cluster, the target data that the first edge node needs to acquire can be determined. Figure 2 Taking the distributed cloud cluster shown as an example, the distributed cloud cluster may include a central node and edge nodes in an edge cloud cluster. The terminal 20 may send a data acquisition instruction for the first edge node in the edge cloud cluster to the central node. Correspondingly, when the central node receives the data acquisition instruction for the first edge node in the edge cloud cluster, it can determine the target data that the first edge node needs to acquire.

[0065] The edge cloud cluster includes at least one edge node located in the same local area network, and the edge cloud cluster has a shared storage area shared by each edge node, and the shared storage area is composed of the exclusive storage areas of each edge node through the local area network. Figure 2 The edge cloud cluster in the example may include k edge nodes located in the same local area network, k∈N * , and the exclusive storage areas of each edge node can be linked through the local area network to form a shared storage area of ​​the edge cloud cluster for data sharing among the edge nodes.

[0066] Furthermore, the server 10 can query at least one target exclusive storage area storing target data in the shared storage area of ​​the edge cloud cluster; identify the target edge node corresponding to the target exclusive storage area according to the mapping relationship between the exclusive storage area and the edge node; select a second edge node to be used for data transmission from the target edge node according to the load information of each target edge node; and transmit the target data to the first edge node through the second edge node based on the local area network.

[0067] For example, refer to Figure 2 , the central node can specifically perform data query to determine the target edge node storing the target data from the k edge nodes, and then select the second edge node to transmit the target data to the first edge node according to the load information of each target edge node. In this way, the second edge node can use the internal traffic of the edge cloud cluster to share the required target data with the first edge node.

[0068] It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.

[0069] Cloud technology refers to a hosting technology that unifies hardware, software, network and other resources within a wide area network or local area network to achieve data computing, storage, processing and sharing.

[0070] Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, application technology, etc. based on the cloud computing business model. It can form a resource pool, which can be used on demand and is flexible and convenient. Cloud computing technology will become an important support. The backend services of the technical network system require a large amount of computing and storage resources, such as video websites, image websites and more portal websites. With the rapid development and application of the Internet industry, in the future, each item may have its own identification mark, which needs to be transmitted to the backend system for logical processing. Data of different levels will be processed separately. All kinds of industry data need strong system backing support, which can only be achieved through cloud computing.

[0071] Cloud storage is a new concept that extends and develops from the concept of cloud computing. A distributed cloud storage system (hereinafter referred to as storage system) refers to a storage system that uses cluster applications, grid technology, and distributed storage file systems to bring together a large number of different types of storage devices (storage devices are also called storage nodes) in the network through application software or application interfaces to work together and provide external data storage and business access functions.

[0072] At present, the storage method of the storage system is: create a logical volume, and when creating a logical volume, allocate physical storage space for each logical volume. The physical storage space may be composed of disks of a storage device or several storage devices. The client stores data on a logical volume, that is, stores the data on the file system. The file system divides the data into many parts, each of which is an object. The object contains not only data but also additional information such as data identification (ID, ID entity). The file system writes each object into the physical storage space of the logical volume, and the file system records the storage location information of each object, so that when the client requests to access the data, the file system can allow the client to access the data according to the storage location information of each object.

[0073] The process of the storage system allocating physical storage space to a logical volume is as follows: based on the estimated capacity of the objects stored in the logical volume (this estimate often has a large margin relative to the actual capacity of the objects to be stored) and the grouping of independent redundant disk arrays (RAID, Redundant Array of Independent Disks), the physical storage space is pre-divided into stripes. A logical volume can be understood as a stripe, thereby allocating physical storage space to the logical volume.

[0074] The data transmission method provided in the embodiment of the present application can be executed by a terminal or a server, or can be executed by the server and the terminal together; the embodiment of the present application takes the data transmission method executed by the server as an example for explanation.

[0075] like Figure 3 The specific process of the data transmission method may be as follows:

[0076] 101. When a data acquisition instruction of a first edge node in an edge cloud cluster is received, target data that the first edge node needs to acquire is determined, wherein the edge cloud cluster includes at least one edge node located in the same local area network, and the edge cloud cluster has a shared storage area shared by each edge node, and the shared storage area is composed of exclusive storage areas of each edge node through the local area network.

[0077] Among them, the edge cloud cluster is a cluster composed of at least one edge node in the edge cloud. The edge cloud is a cloud computing platform built on the edge infrastructure based on the core of cloud computing technology and the ability of edge computing. The edge node can provide storage, computing, network and other resources for the business platform built on the edge host. In actual applications, some key business applications can be sunk to the edge of the access network through the edge node, so as to build the required business platform on the edge side of the network close to the user.

[0078] In the present application, an edge cloud cluster may be composed of at least one edge node located in the same local area network. For example, the local area network may be a local network between edge nodes in the edge cloud cluster. In addition, since different edge nodes in the edge cloud cluster can exchange data through the local area network, it can be considered that different edge nodes divided into the same edge cloud cluster are neighbor nodes.

[0079] The data acquisition instruction of the first edge node is used to instruct the first edge node to acquire the target data to ensure that the target data is stored in the exclusive storage area of ​​the first edge node, so that the first edge node can execute the relevant business process based on the target data. Correspondingly, the first edge node is the edge node that is instructed to acquire the target data in the data acquisition instruction.

[0080] The target data in this application refers to the data that the first edge node needs to obtain. For example, the target data may include relevant data required for non-essential capabilities of the first edge node, for example, the target data may include an image file required to create a cloud server at the first edge node. Specifically, the image file is a necessary resource for the edge node to produce cloud services. When a cloud server is produced at the edge node, the operating system needs to be installed through the image file stored in the edge node.

[0081] Specifically, since the distributed cloud is an extension of the public cloud capabilities, it aims to provide ubiquitous cloud server computing to meet the requirements of nearby access. The use of any location determines the compact and powerful characteristics of the distributed cloud. Therefore, the non-essential capabilities of the nodes in the distributed cloud cluster can be used by remotely connecting to the public cloud through the public network. For example, the necessary capabilities and non-essential capabilities of the nodes can be divided according to the frequency of use. For example, for the edge nodes in the edge cloud cluster, the ability to load the operating system on the edge node can be considered a non-essential capability, while the daily use of the operating system on the edge node to provide related service support can be considered a necessary capability.

[0082] The exclusive storage area of ​​the edge node refers to a storage area exclusively used by the edge node. For example, the exclusive storage area of ​​the edge node may include a local storage area of ​​the edge node, such as a local cache of the edge node.

[0083] Taking the edge host as an example, the hardware facilities corresponding to the edge node are the edge host. The exclusive storage area of ​​the edge node can include the cache space determined by the edge host's own disk, that is, the local cache of the edge host. In actual applications, the local cache of the edge host is the limited cache space that each edge host has. The capacity can generally be 200G, for example, which can be exclusive to each edge host and can be used to temporarily store image files.

[0084] The shared storage area of ​​the edge cloud cluster refers to a storage area formed by the exclusive storage areas of each edge node in the edge cloud cluster through a local area network. For example, the local caches of each edge node in the edge cloud cluster can be linked together through the local network of the edge cloud cluster to form a shared storage area of ​​the edge cloud cluster.

[0085] It is worth noting that since the shared storage area of ​​the edge cloud cluster can be composed of the exclusive storage areas of each edge node in the edge cloud cluster through a local area network, the edge nodes of the edge cloud cluster can share data in the shared storage area through the local area network. For example, data stored in the exclusive storage area of ​​a certain edge node can be shared with other edge nodes, so that the shared storage area of ​​the edge cloud cluster can be shared by each edge node of the edge cloud cluster.

[0086] In one embodiment, the distributed cloud may include a central cloud and an edge cloud, wherein the central cloud may include a central node and the edge cloud may include at least one edge node. Figure 4 , which shows the external module, the central cloud module of the distributed cloud, and the edge cloud module of the distributed cloud.

[0087] Among them, the central node can be integrated with a cloud server operating system, which can be used to manage massive cloud resources. For example, it can be used as an application programming interface (API) to receive input from external modules, such as requests initiated by users through terminals; for example, it can be used as a system scheduler to convert external input into appropriate cloud service commands for execution by edge cloud clusters; etc. In addition, the central node can also receive node data reported by each edge node in the edge cloud cluster. For example, the node data can include the current storage data information of the edge node, load characteristic information, etc., wherein the storage data information can be used to indicate what data is currently stored in the exclusive storage area of ​​the edge node, and the load characteristic information can include the node load characteristics of the edge node in at least one dimension.

[0088] in, Figure 4 In the example, the edge cloud cluster specifically includes three edge nodes located in the same local area network: edge node 1, edge node 2 and edge node 3, and the exclusive storage area of ​​each edge node is specifically its local cache, that is, edge node 1 uses its exclusive local cache 1 as its exclusive storage area, edge node 2 uses its exclusive local cache 2 as its exclusive storage area, and edge node 3 uses its exclusive local cache 3 as its exclusive storage area. In addition, for Figure 4The edge cloud cluster in the embodiment has a shared storage area shared by each edge node, and the shared storage area is composed of the exclusive storage area of ​​each edge node through a local area network. That is, Figure 4 Specifically, cache 1, cache 2 and cache 3 are linked together through the local area network of the edge cloud cluster to form a shared storage area of ​​the edge cloud cluster.

[0089] Specifically, the central node can obtain the input of the external module to determine whether the target data is stored in the exclusive storage area of ​​the first edge node according to the input. For example, taking the target data as the image file required by the edge node to create a cloud server, the user can initiate a service request to the central node through the terminal, and the service request indicates that the target data needs to be stored in the exclusive storage area of ​​the first edge node. Figure 4 A cloud server is created at edge node 1 in the edge cloud cluster shown, so that related cloud services can be provided later through edge node 1. Therefore, the central node can query whether the local cache of edge node 1 currently stores the related image file according to the service request.

[0090] The central node can determine whether the target data is currently stored in the exclusive storage area of ​​the first edge node according to the input of the external module. Specifically, if the target data is currently stored in the exclusive storage area of ​​the first edge node, the first edge node can give priority to using the target data currently stored in its exclusive storage area. Figure 4 The first edge node in the example is specifically edge node 1, and the local cache of edge node 1 currently stores the relevant image files required to create a cloud server, then edge node 1 can give priority to using the relevant image files in its local cache to create a cloud server. If the target data is not currently stored in the exclusive storage area of ​​the first edge node, a data acquisition instruction for the first edge node in the edge cloud cluster can be generated, wherein the data acquisition instruction can indicate that the first edge node needs to obtain the required target data through the shared storage area of ​​the edge cloud cluster. For example, if Figure 4 If the local cache of edge node 1 does not currently store the relevant image files required to create the cloud server, a data acquisition instruction for edge node 1 may be generated, wherein the data acquisition instruction may indicate that edge node 1 needs to Figure 4 Get the required image file from the shared cache in .

[0091] 102. Query at least one target exclusive storage area storing target data in the shared storage area.

[0092] The target exclusive storage area refers to an exclusive storage area in the exclusive storage area of ​​each edge node in the edge cloud cluster, which stores the target data.

[0093] In the shared storage area of ​​the edge cloud cluster, there are many ways to implement querying the target exclusive storage area storing the target data. For example, an agent module can be deployed on each edge node in the edge cloud cluster to report the node data of the corresponding edge node to the central node in the distributed cluster, and to control the data transmission between neighboring nodes, etc. Correspondingly, the central node can be integrated with a database (DB) to manage the node data reported by the edge nodes. For example, the central node can record the edge nodes in the edge cloud cluster, the exclusive storage areas corresponding to each edge node, and the data currently stored in each exclusive storage area through the DB. In this way, the central node can perform data query through the DB and determine the target exclusive storage area storing the target data from the exclusive storage areas of each edge node in the edge cloud cluster.

[0094] For example, when it is necessary to query at least one target exclusive storage area storing target data in the shared storage area, a data reporting instruction can be sent to each edge node in the edge cloud cluster to trigger each edge node to report the list of data currently stored in its exclusive storage area to the central node. In this way, the central node can determine the target exclusive storage area storing the target data from the exclusive storage area of ​​each edge node based on the storage data information reported by each edge node.

[0095] For example, when it is necessary to query at least one target exclusive storage area storing target data in the shared storage area, a data query instruction can be sent to each edge node in the edge cloud cluster. The data query instruction can be used to trigger each edge node to query whether the target data is stored in its exclusive storage area. In this way, the central node can determine the target exclusive storage area storing the target data from the exclusive storage area of ​​each edge node based on the data query results of each edge node according to the range of the data query instruction.

[0096] 103. According to the mapping relationship between the exclusive storage area and the edge node, identify the target edge node corresponding to the target exclusive storage area.

[0097] Among them, the mapping relationship between the exclusive storage area and the edge node can be used to describe the "corresponding" relationship between the exclusive storage area and the edge node. For example, a mapping relationship between an edge node and the exclusive storage area of ​​the edge node can be established so that the edge node corresponding to the exclusive storage area can be determined based on the mapping relationship.

[0098] There are many ways to implement the mapping relationship between the exclusive storage area and the edge node. For example, after the central node determines the exclusive storage area corresponding to each edge node, it can record the relevant information in the DB, for example, it can establish relevant table entries in the DB to record and maintain the mapping relationship between the exclusive storage area and the edge node.

[0099] As an example, refer to Figure 4 If it is determined that the target data is stored in local cache 2, then since local cache 2 is the exclusive storage area corresponding to edge node 2, it can be determined that Figure 4 The target edge nodes of the edge cloud cluster include edge node 2.

[0100] As another example, refer to Figure 5 The central node can load the edge node list of the edge cloud cluster through the DB (that is, Figure 5 ), and then, the central node can determine the data currently stored in the exclusive storage area of ​​each edge node in the edge node list. If the exclusive storage area of ​​an edge node currently stores the target data, it can be determined that the exclusive storage area belongs to the target exclusive storage area, and it can be determined that the edge node belongs to the target edge node. In this way, the central node can filter out at least one target edge node (that is, Figure 5 corresponds to the “Filtering” step in the above example).

[0101] For example, the central node can record the cluster ID of each edge cloud cluster in the DB, and record the data ID of the data stored in the exclusive storage area of ​​each edge node, and so on. In this way, the central node can perform data query in the DB according to the cluster ID of the edge cloud cluster to load the edge node list of the edge cloud cluster. Furthermore, the central node can perform data query in the DB according to the data ID of the target data to determine the target exclusive storage area storing the target data in the exclusive storage area of ​​each edge node, and determine the edge node having a mapping relationship with the target exclusive storage area as the target edge node of the edge cloud cluster. In this way, the central node can filter out at least one target edge node from each edge node of the edge cloud cluster.

[0102] 104. Select a second edge node for data transmission from the target edge nodes according to the load information of each target edge node.

[0103] Among them, the load information of the edge node refers to the relevant information that can characterize the node load condition of the edge node. For example, the load condition of the edge node can be evaluated from at least one dimension, that is, the current load information of the edge node can be determined based on the node load characteristics of the edge node in at least one dimension.

[0104] As an example, see Figure 5 After filtering out at least one target edge node from each edge node of the edge cloud cluster, a second edge node (i.e., Figure 5 The “weighing” step in the figure corresponds to the “weighing” step in the figure).

[0105] Specifically, according to the current node load of each target edge node, there are multiple ways to select the second edge node to be used for data transmission from the target edge node. For example, the target edge node with the lowest current load can be directly determined from the target edge nodes according to the load information of each target edge node as the second edge node to be used for transmitting target data to the first edge node.

[0106] For another example, at least one candidate edge node with a lower current load can be selected from the target edge nodes according to the load information of each target edge node, and then the second edge node to be transmitted to the first edge node can be selected from the candidate edge nodes in combination with other node information of each candidate edge node. For example, the second edge node can be selected from the candidate edge nodes in combination with the node aggregation of the candidate edge nodes. Specifically, if there are currently two candidate edge nodes, wherein candidate edge node A is surrounded by more target edge nodes, and candidate edge node B is surrounded by fewer target edge nodes or no target edge nodes are gathered, then considering that in the subsequent target data transmission process, candidate edge node A has better risk resistance than candidate edge node B, therefore, candidate edge node A can be preferentially selected as the second edge node to be transmitted to the first edge node. Specifically, considering that when a node failure occurs in the second edge node during data transmission, if more target edge nodes are gathered around the second edge node, a new second edge node can be conveniently selected from the surrounding target edge nodes to retransmit the target data to the first edge node or continue to transmit the target data.

[0107] In one embodiment, considering that the load of the edge node can be evaluated from at least one dimension, the current load information of the edge node can be determined according to the node load characteristics of the edge node in at least one dimension. Specifically, the step of "selecting a second edge node to be used for data transmission from the target edge node according to the load information of each target edge node" may include:

[0108] Obtaining node load characteristics of each target edge node in at least one dimension;

[0109] Perform feature aggregation processing on node load features to obtain load information of each target edge node;

[0110] According to the load information, a second edge node to be used for data transmission is selected from the target edge node.

[0111] The node load characteristics of the edge node refer to the relevant characteristics that can reflect the node load of the edge node. For example, the node load of the target edge node can be evaluated from the following dimensions: total bandwidth, number of current tasks, estimated time of current tasks, input / output (IO) consumption, storage usage, central processing unit (CPU) usage, etc., and the node information of the target edge node in the corresponding dimension can be used as the node load characteristics of the target edge node in the corresponding dimension.

[0112] There may be many ways to implement obtaining the node load characteristics of each target edge node in at least one dimension. For example, the agent module of each edge node may report its node data to the central node, wherein the node data may include the node load characteristics of the edge node in at least one dimension. In this way, the central node may query the node load characteristics of each target edge node in at least one dimension from the DB. For example, the central node may send a feature acquisition instruction to each target edge node when necessary to obtain the node load characteristics of each target edge node in at least one dimension. And so on.

[0113] Among them, feature aggregation processing refers to aggregating multiple features, for example, by aggregating multiple features into a smaller number of features, such as aggregating multiple features into a single feature. As an example, the node load features of the target edge node in at least one dimension can be aggregated into a feature that can comprehensively present the node load situation, and this feature can be used as the current load information of the target edge node.

[0114] There are many ways to implement feature aggregation processing of the node load characteristics of the target edge node in at least one dimension. For example, when the node load characteristics are specifically expressed as numerical values, feature aggregation can be achieved by calculating the statistical analysis values ​​of each node load characteristic. For example, the statistical analysis value may include a weighted average, a standard deviation, etc. For another example, when the node load characteristics are specifically expressed as vectors, the implementation methods of feature aggregation may include vector splicing, vector merging, etc. Optionally, the node load characteristics may also be used as input data of a preset feature aggregation model to implement feature aggregation through the model, and so on.

[0115] After determining the load information of each target edge node, the second edge node for data transmission can be further selected from the target edge nodes according to the load information of each target edge node. The specific implementation method can be referred to above and will not be described here.

[0116] 105. Transmit target data to the first edge node through the second edge node based on the local area network.

[0117] In the present application, by transmitting target data from the second edge node to the first edge node based on the local area network, it is possible to increase the storage limit of the local hot data of the edge cloud cluster through the shared storage area of ​​the edge cloud cluster, thereby improving the effect of the edge cloud cluster in providing cloud services.

[0118] For example, the target data can be specifically an image file required to create a cloud server, and the local caches of each edge node in the edge cloud cluster can be linked through a local network to generate a shared cache area of ​​the edge cloud cluster. Then the target data is transmitted to the first edge node based on the local area network by the second edge node, and specifically, the second edge node uses the internal traffic of the edge cloud cluster to share the image file in the local cache of the second edge node with the first edge node. It can be seen that by sharing the cache within the edge cloud cluster, the cache upper limit of the local hot data of the edge cloud cluster can be effectively increased, thereby increasing the speed of cloud server creation. The measured results show that for an image file of a standard size of about 5G, by applying the data transmission method of this embodiment, the complete production time of the cloud server can be shortened from 3.5min to 1.8min, and the production speed is increased by about 94%.

[0119] In addition, since the image file is shared between neighboring nodes in the edge cloud cluster, only the intranet bandwidth is used without consuming the public network traffic cost. Therefore, by applying the data transmission method of the present application, a large number of image files can be obtained by sharing with neighboring nodes. The measured results show that under standard scenarios, by applying the data transmission method of the present application, the public network transmission traffic can be significantly reduced, thereby effectively saving bandwidth costs.

[0120] In one embodiment, after determining the second edge node to share the target data with the first edge node, the central node can send the channel information of the data transmission channel to the first edge node to trigger the first edge node to initiate the data transmission process. Since the data transmission channel is specifically implemented using the internal traffic of the edge cloud cluster, the data transmission speed of the target data can be significantly improved. Specifically, the step of "transmitting the target data to the first edge node based on the local area network through the second edge node" may include:

[0121] Generate channel information describing a data transmission channel according to the first edge node and the second edge node, wherein the data transmission channel is used for data transmission between the first edge node and the second edge node based on a local area network;

[0122] Channel information is sent to the first edge node to trigger the first edge node to request target data from the second edge node according to the channel information, and obtain the target data transmitted by the second edge node.

[0123] Among them, the data transmission channel refers to a data channel for data transmission between the first edge node and the second edge node based on the local area network, that is, the data transmission channel specifically uses the internal traffic of the edge cloud cluster or the local network to share data.

[0124] For example, the channel information may include the following information: source edge node information that provides data during data transmission, port information of the source edge node, destination edge node information that receives data, port information of the target edge node, etc., so that when the first edge node obtains the channel information, it can create a data transmission channel for data transmission based on a local area network between the first edge node and the second edge node according to the channel information.

[0125] Therefore, channel information describing the data transmission channel can be generated according to the node identification information of the first edge node, the port identification information of the port in the first edge node, the node identification information of the second edge node, the port identification information of the port in the second edge node, etc.

[0126] In one embodiment, considering that after the central node determines the second edge node to transmit target data to the first edge node from the edge cloud cluster, in order to avoid the second edge node being selected by the central node again for sharing data with other edge nodes during the data transmission process, thereby causing the load of the second edge node to be too high, before the central node sends channel information to the first edge node, the current task information of the second edge node recorded by the central node can be updated. For example, the current task number of the second edge node recorded by the central node can be increased to avoid the second edge node being selected by the central node again for sharing data with other edge nodes during the data transmission process. Specifically, the step of "sending channel information to the first edge node" may include:

[0127] Obtain current node information of the edge cloud cluster, wherein the node information includes initial task information of the second edge node;

[0128] Update the initial task information;

[0129] When it is detected that the update is completed, the channel information is sent to the first edge node.

[0130] The node information of the edge cloud cluster refers to the node information of each edge node in the edge cloud cluster. For example, the node information of the edge node may include the data transmission task information of the edge node, such as the data transmission task information may include the task quantity of the data transmission task, the data size of the transmission data, the transmission time of the data transmission, and the like.

[0131] As an example, an agent module can be deployed on each edge node in the edge cloud cluster to report the node data of the corresponding edge node to the central node in real time, wherein the node data may include the data transmission task information of the edge node. Correspondingly, the central node can obtain the node information reported by each edge node in the edge cloud cluster, and manage the node information through the central node's DB. In this way, the central node can obtain the current node information of the edge cloud cluster by querying the DB when necessary.

[0132] Therefore, after the central node generates channel information describing the data transmission channel based on the first edge node and the second edge node, and before sending the channel information to the first edge node, it can perform data query in the DB to obtain the current data transmission task information of the second edge node. For the sake of convenience of distinction, the data transmission task information can be referred to as the initial task information of the second edge node.

[0133] Furthermore, the central node can update the initial task information. Specifically, the data transmission task in which the second edge node transmits the target data to the first edge node based on the local area network is called the target task, and the central node can update the initial task information of the second edge node according to the target task (in Figure 5 In the example, it corresponds to the “deduction” step in the figure).

[0134] For example, the central node can increase the task quantity of the data transmission tasks involved in the initial task information; for another example, the central node can increase the data size of the transmission data involved in the initial task information based on the data size of the target data; for another example, the central node can update the transmission time of the data transmission involved in the initial task information based on the execution time of the target task; and so on.

[0135] Furthermore, when it is detected that the central node has completed updating the initial task information of the second edge node, channel information can be sent to the first edge node to trigger the first edge node to request target data from the second edge node according to the channel information and obtain the target data transmitted by the second edge node.

[0136] As an example, in Figure 5In the example, the first edge node can be edge node B, the second edge node can be edge node A, and after completing the "deduction" link, the central node can send channel information to edge node B to trigger edge node B to request target data from edge node A according to the channel information, and obtain the target data shared by edge node A based on the local area network. In this way, it can be avoided that during the process of edge node A transmitting data to edge node B, edge node A is selected by the central node again to share data with other edge nodes, thereby causing the load of edge node A to be too high.

[0137] In one embodiment, in addition to timely updating the initial task information of the second edge node recorded by the central node before the central node sends the channel information to the first edge node, the current task information of the second edge node recorded by the central node can be restored after the second edge node completes the transmission of target data to the first edge node, so that the central node can better manage the node information of the edge cloud cluster. Specifically, the data transmission method can also include:

[0138] When a transmission completion signal of the target data is detected, current task information of the second edge node is obtained;

[0139] Update the current task information according to the initial task information.

[0140] The target data transmission completion signal is a signal indicating that the second edge node has completed the transmission of the target data to the first edge node. For example, when the first edge node determines that the second edge node has completed the transmission of the target data to it, it can generate the target data transmission completion signal and send the transmission completion signal to the central node.

[0141] Correspondingly, when the central node detects the target data transmission completion signal, the current task information of the second edge node can be obtained. For example, the central node can query the DB to obtain the current task information of the second edge node recorded by the central node.

[0142] Furthermore, the central node can update the current task information of the second edge node recorded by the central node according to the initial task information of the second edge node before sending the channel information to the first edge node. For example, the current task information can be restored to the initial task information.

[0143] As an example, the central node can reduce the number of data transmission tasks involved in the current task information; for another example, the central node can reduce the data size of the transmission data involved in the initial task information according to the data size of the target data; for another example, the central node can update the transmission time of the data transmission involved in the initial task information according to the end time of the target task; and so on.

[0144] In one embodiment, channel information describing a data transmission channel may be sent to the first edge node to trigger the first edge node to create a data transmission channel according to the channel information after receiving the channel information, so as to perform data transmission between the first edge node and the second edge node based on the local area network, so that the internal traffic of the edge cloud cluster can be used to achieve target data sharing. Specifically, the step of "triggering the first edge node to request the target data from the second edge node according to the channel information, and obtaining the target data transmitted by the second edge node" may include:

[0145] Triggering the first edge node to create a data transmission channel between the first edge node and the second edge node according to the channel information;

[0146] Sending a data acquisition request for target data to the second edge node through the data transmission channel;

[0147] The target data transmitted by the second edge node based on the data acquisition request is obtained.

[0148] As an example, it can be taken that the first edge node is specifically edge node B, and the second edge node is specifically edge node A. Figure 6 , the central node can send the channel information describing the data transmission channel and the data acquisition instruction of the edge node B to the edge node B through the public network, wherein the data acquisition instruction of the edge node B can be used to instruct the edge node B to obtain the target data to ensure that the target data is stored in the exclusive storage area of ​​the edge node B, so that the edge node B can execute the relevant business process based on the target data. Correspondingly, the edge node B can receive the data acquisition instruction through the public network, and perform data query in its exclusive storage area according to the data acquisition instruction to determine whether the target data is stored in its exclusive storage area.

[0149] Specifically, when the target data is not stored in the exclusive storage area of ​​the edge node B, the edge node B can create a data transmission channel between the edge node B and the edge node A according to the channel information, and send a local sharing request of the target data to the edge node A through the data transmission channel, wherein the local sharing request can be used to request the edge node A to share the target data with the edge node B through the local network, and specifically, the local sharing request can be used to request the edge node A to transmit the target data to the edge node B through the data transmission channel using the local area network. In addition, the local sharing request may include data identification information of the target data, an address of the edge node B receiving data, etc.

[0150] Correspondingly, after receiving the local sharing request, edge node A can check its own load status again. When the current load status of edge node A can meet the data transmission conditions, it can transmit the data corresponding to the data identification information to the specified address in the local sharing request through the data transmission channel using the local area network, thereby realizing the sharing of target data to edge node B based on the local area network.

[0151] In one embodiment, in the process of the second edge node transmitting the target data to the first edge node through the data transmission channel, in order to avoid errors caused by data transmission or storage, a data verification link can be set in the data transmission process. For example, the first edge node can perform data integrity verification on the target data transmitted by the second edge node through the data transmission channel. If the verification passes, it can be determined that the target data is undamaged target data. Specifically, the step of "obtaining the target data transmitted by the second edge node based on the data acquisition request" can include:

[0152] Acquire the data to be verified transmitted by the second edge node based on the data acquisition request;

[0153] Perform data integrity check on the data to be verified;

[0154] When the verification passes, it is confirmed that the data to be verified is the target data.

[0155] Here, for the purpose of distinction, the target data transmitted by the second edge node to the first edge node through the data transmission channel can be referred to as the data to be verified before the data integrity check. When it is determined that the data to be verified has passed the data integrity check, it can be determined that the data to be verified is the undamaged target data, so that the first edge node can subsequently execute related business processes based on the target data.

[0156] Among them, data integrity verification is intended to detect or verify relevant data to avoid data corruption due to errors that may occur after data transmission or storage.

[0157] There are many ways to implement data integrity verification of the data to be verified. For example, the first edge node can perform data integrity verification on the data to be verified based on the MD5 information digest algorithm by verifying the data digest of the data to be verified. The MD5 information digest algorithm is a widely used cryptographic hash function that can generate a 128-bit (16-byte) hash value to ensure the integrity and consistency of information transmission; for another example, the first edge node can perform data integrity verification on the data to be verified based on a parity check mechanism; for another example, the first edge node can perform data integrity verification on the data to be verified based on a cumulative check mechanism; and so on.

[0158] As an example, in Figure 6 In the example, when the current load state of edge node A can meet the data transmission conditions, edge node A can calculate the MD5 of the target data, and then transmit the data corresponding to the data identification information in the local sharing request to the specified address in the local sharing request through the data transmission channel and the local area network, so as to share the target data with edge node B based on the local area network. Correspondingly, edge node B can verify the MD5 after receiving the data to ensure the data integrity of the target data.

[0159] In one embodiment, considering that after the target data is transmitted from the second edge node to the first edge node, the target data is stored in the exclusive storage area of ​​the first edge node, therefore, in order to enable the central node to timely and effectively manage the node information of the edge cloud cluster stored therein, it can be set that after the data transmission of the target data is completed, the first edge node reports the current data storage status of its exclusive storage area to the central node, so that the first edge node can also serve as a source edge node for providing data in the future, and provide the required related data to other edge nodes in the edge cloud cluster based on the local area network. Specifically, the step of "triggering the first edge node to request the target data from the second edge node according to the channel information, and obtaining the target data transmitted by the second edge node" can also include:

[0160] When a transmission completion signal of the target data is detected, current data storage information in the exclusive storage area of ​​the first edge node is acquired through the central node;

[0161] Analyze the current data storage information to obtain the analysis result;

[0162] When the parsing result indicates that the target data is stored in the exclusive storage area of ​​the first edge node, the node information of the edge cloud cluster stored in the central node is updated according to the current data storage information.

[0163] The target data transmission completion signal is a related signal indicating that the second edge node has completed the transmission of the target data to the first edge node, that is, a related signal indicating that the data transmission process of the target data has ended.

[0164] The current data storage information in the exclusive storage area of ​​the first edge node is related information for describing what data is currently stored in the exclusive storage area of ​​the first edge node.

[0165] For example, after the first edge node obtains the target data transmitted by the second edge node through the data transmission channel, it can generate a transmission completion signal of the target data, and report the transmission completion signal and the current data storage information in the exclusive storage area of ​​the first edge node to the central node, so that the central node can obtain the current data storage information accordingly.

[0166] As an example, see Figure 6 , after ensuring the data integrity of the target data, the edge node B can determine that the data transmission process of the target data is completed, and then perform the data return step. Specifically, the edge node B can report the data information stored in its exclusive storage area to the central node, so that the subsequent edge node B can also serve as the source edge node for providing data, and provide the required relevant data to other edge nodes in the edge cloud cluster based on the local area network.

[0167] Parsing the current data storage information in the exclusive storage area of ​​the first edge node can be used to determine what data is currently stored in the exclusive storage area of ​​the first edge node. Specifically, the central node can parse the current data storage information to learn whether the target data is stored in the exclusive storage area of ​​the current first edge node.

[0168] When the parsing result indicates that the target data is stored in the exclusive storage area of ​​the first edge node, the central node can update the node information of the edge cloud cluster stored in the central node according to the current data storage information (that is, update the node information of the edge cloud cluster stored in the central node according to the current data storage information). Figure 6 Corresponding to the "metadata update" link in the edge cloud cluster), so that according to the updated node information of the edge cloud cluster, it can be determined that the target data is stored in the exclusive storage area of ​​the first edge node. In this way, when other edge nodes in the edge cloud cluster need to obtain the target data later, but the target data is not stored in their exclusive storage areas, the target data can be transmitted to the edge nodes that need to obtain the target data through the first edge node based on the local area network according to the data transmission method of the present application.

[0169] In one embodiment, considering that the target data may include relevant data required for non-essential capabilities of the first edge node, for example, the target data may include an image file required for creating a cloud server at the first edge node. Therefore, after the image file is transmitted to the first edge node via the second edge node based on the local area network, the first edge node can create a cloud server based on the image file and provide related cloud services. Specifically, the data transmission method may further include:

[0170] Acquire current data storage information in the exclusive storage area of ​​the first edge node;

[0171] Analyze the current data storage information to obtain the analysis result;

[0172] When the parsing result indicates that the image file is stored in the exclusive storage area of ​​the first edge node, a cloud server is created at the first edge node based on the image file.

[0173] As an example, the first edge node can obtain the current data storage information in its exclusive storage area, and by parsing the current data storage information, learn whether the relevant image file is stored in the exclusive storage area of ​​the current first edge node. When the parsing result indicates that the image file is stored in the exclusive storage area of ​​the first edge node, for example, when the parsing result indicates that the first edge node has the image file cached locally, the first edge node can create a cloud server based on the image file.

[0174] It is worth noting that the above embodiment takes the central node of the central cloud as the control center of each edge node in the edge cloud cluster as an example. In actual applications, other nodes with reliable computing resources in the distributed cloud can also be used as the control center of each edge node in the edge cloud cluster. This application does not limit this and will not be elaborated on later.

[0175] As can be seen from the above, this embodiment can determine the target data that the first edge node needs to acquire when receiving a data acquisition instruction from the first edge node in the edge cloud cluster, wherein the edge cloud cluster includes at least one edge node located in the same local area network, and the edge cloud cluster has a shared storage area shared by each edge node, and the shared storage area is composed of exclusive storage areas of each edge node through the local area network; query at least one target exclusive storage area storing target data in the shared storage area; identify the target edge node corresponding to the target exclusive storage area according to the mapping relationship between the exclusive storage area and the edge node; select a second edge node to be used for data transmission from the target edge node according to the load information of each target edge node; and transmit the target data to the first edge node based on the local area network through the second edge node.

[0176] This solution can form a self-organizing system through multiple edge nodes in the edge cloud cluster, and form a shared storage area shared by each edge node in the edge cloud cluster through the local area network from the exclusive storage area of ​​each edge node. Among them, each edge node can use its exclusive storage area for data storage, and when the edge node needs to obtain target data that is not stored in its exclusive storage area, it can share data between different edge nodes through the local area network, thereby improving the data storage limit and storage richness of the edge cloud cluster. For example, each edge node in the edge cloud cluster can use its local cache to cache hot data. When the first edge node needs to obtain an image file that it does not cache, the second edge node in the edge cloud cluster that caches the image file can quickly transmit the image file to the first edge node through the local area network.

[0177] It can be seen that compared with the first edge node needing to request the required target data from the public cloud through the public network, this can not only significantly shorten the waiting time for the first edge node to obtain the required data and improve the data transmission efficiency of the edge cloud cluster, but more importantly, it can effectively solve the contradiction between the expansion of the cluster scale and the insufficient public network bandwidth, and realize the virtuous cycle that the larger the cluster scale, the larger the storage capacity of the edge cloud cluster shared storage area, and the higher the data transmission efficiency in the edge cloud cluster. Take the target data as an example, because through this solution, the image file can be shared among neighboring edge nodes in the same edge cloud cluster, and only the intranet bandwidth is used without consuming the public network traffic cost. It can be seen that after the distributed cloud system is connected, except for the traffic that cannot be shared, a large number of image files can be obtained through the sharing of neighboring edge nodes. The measured results show that under standard scenarios, this solution can significantly reduce the public network transmission traffic, thereby effectively saving bandwidth costs.

[0178] In addition, the solution screens out target edge nodes that are eligible for establishing a data sharing channel from the edge nodes of the edge cloud cluster by determining at least one target edge node that stores target data in the edge cloud cluster, and then selects a second edge node from the target edge nodes to share the target data with the first edge node based on the load information of each target edge node. In this way, the best data sharing channel can be matched within the edge cloud cluster, effectively improving the data storage hit rate and enhancing the user experience of the distributed cloud.

[0179] According to the method described in the above embodiment, the following will give an example to further illustrate in detail.

[0180] In this embodiment, the data transmission device is integrated in the server, and the target data is specifically an image file required to create a cloud server at the first edge node as an example for description. Figure 7 As shown, a data transmission method, the specific process is as follows:

[0181] 201. When a data acquisition instruction is received from a first edge node in an edge cloud cluster, determine an image file that the first edge node needs to obtain, wherein the edge cloud cluster includes at least one edge node located in the same local area network, and the edge cloud cluster has a shared storage area shared by each edge node, and the shared storage area is composed of exclusive storage areas of each edge node through the local area network.

[0182] In a distributed cloud cluster, the image files required by edge nodes to create cloud servers often need to be downloaded from remote warehouses through the public network. However, due to cost constraints and low public network bandwidth, the speed at which edge nodes remotely download image files is currently very slow. Although a small number of image files can be cached on the edge node's own disk, the local cache capacity of the edge node is limited. Therefore, for image files that are not cached by the edge node, the current edge node still needs to obtain them from the remote warehouse through the public network, but the waiting time for data acquisition is long, such as up to 10 minutes or even half an hour. As the scale of the edge cluster expands, the demand for image file data acquisition will also increase, and this problem will become more significant.

[0183] As an example, in actual applications, although each host machine can currently have an average of 200G of cache space, this can only cache about 3% of the image files. It can be seen that there is still a problem of low hit rate of image files in the local cache of edge nodes. In addition, from the perspective of the edge cloud cluster, each edge node currently caches the image files it needs, so that the same image file may be cached repeatedly by multiple edge nodes, that is, there is still a problem of low overall disk effective utilization of the edge cloud cluster.

[0184] In view of the aforementioned series of problems caused by "the local cache capacity is limited and the remote warehouse cannot quench the nearby fire" in the image file usage process in the current distributed cloud scenario, the local caches of each edge node in the edge cloud cluster can be linked through the local network in this application to form a shared storage area of ​​the edge cloud cluster. In this way, when the first edge node in the edge cloud cluster does not have the required image file cached locally, the first edge node can share data through the shared cache area and effectively improve the above-mentioned problems when creating a cloud server at the edge node based on the image file.

[0185] As an example, refer to Figure 4 , when a data acquisition instruction of a first edge node in the edge cloud cluster is received through the cloud server operating system of the central node, the central node can determine the image file that the first edge node needs to obtain.

[0186] 202. Query at least one target exclusive storage area storing the image file in the shared storage area.

[0187] 203. Identify a target edge node corresponding to the target exclusive storage area according to a mapping relationship between the exclusive storage area and the edge node.

[0188] As an example, refer to Figure 5 After loading the list of all edge nodes in the edge cloud cluster, the central node can filter out the edge nodes that have the image file cached locally from all edge nodes in the edge cloud cluster according to the file ID of the image file that the first edge node needs to obtain. The filtered edge nodes are the target edge nodes.

[0189] 204. Select a second edge node to perform data transmission from the target edge nodes according to the load information of each target edge node.

[0190] For example, a proxy module can be deployed on each edge node in the edge cloud cluster, which is responsible for reporting the image cache information, node load characteristics, etc. of the corresponding edge node, and is responsible for controlling the shared channel transmission.

[0191] As an example, the central node can obtain the node load characteristics of each target edge node in at least one dimension reported by the proxy module of each target edge node, such as total bandwidth, current number of tasks, etc. Furthermore, for each target edge node, the target node can perform feature aggregation processing on its node load characteristics in at least one dimension to determine the load information of the target edge node. In this way, the target node can select the target edge node with the lowest current load from the target edge nodes according to the load information of each target edge node as the second edge node to be used for data transmission. It is worth noting that this process is similar to Figure 5 Corresponding to the “weighing” step in .

[0192] Optionally, for the second edge node selected in this step, the number of data transmission tasks currently performed by the second edge node may be increased in the node information recorded by the central node, so as to avoid excessive load on the second edge node due to being selected as the source edge node for providing data again. Figure 5 It is worth noting that in order to enable the central node to better manage the node information, the number of data transmission tasks recorded by the second edge node in the central node can be restored after the second edge node completes the transmission of the image file to the first edge node.

[0193] 205. Transmit the image file to the first edge node through the second edge node based on the local area network.

[0194] As an example, the first edge node may be specifically edge node B, and the second edge node may be specifically edge node A. Figure 5, the central node can send the image file requirement information and the matching shared channel to the edge node B. For details, see Figure 6 When edge node B determines that the local cache lacks the required image file, it can send a local sharing request to edge node A and then enter a loop waiting, wherein the local sharing request can include the image file name required by edge node B, the address where edge node B receives the file, etc.

[0195] After receiving the local sharing request, edge node A can check its own load status again. If the data transmission conditions are met, edge node A can calculate the file MD5 and initiate transmission to the specified address in the local sharing request to share the required image file with edge node B. During the data transmission process, edge node B can wait in a loop until the complete image file is received. Then, edge node B can check the MD5 to ensure that the image file it receives is normal.

[0196] Optionally, when the data transmission is completed, the edge node B can perform data return to the source, that is, report the image file information currently cached in the local device, so that the edge node B can also serve as an edge node providing the image file during the next transmission.

[0197] 206. Obtain current data storage information in the exclusive storage area of ​​the first edge node.

[0198] 207. Analyze the current data storage information to obtain the analysis result.

[0199] 208. When the parsing result indicates that the image file is stored in the exclusive storage area of ​​the first edge node, create a cloud server at the first edge node based on the image file.

[0200] It is worth noting that in the embodiments of the present application, the description of each embodiment has its own focus. For parts that are not described in detail, such as a certain step or a certain term explanation in a certain embodiment, please refer to the detailed description of the data transmission method above and will not be repeated here.

[0201] As can be seen from the above, the embodiment of the present application can form a self-organizing system through multiple edge nodes in the edge cloud cluster, and the local cache of each edge node can be used to form a shared cache area shared by each edge node in the edge cloud cluster through the local area network. Among them, each edge node can use its local cache for data storage, and when the edge node needs to obtain an image file that is not cached locally, it can share hot data between different edge nodes through the local area network, thereby improving the upper limit and richness of the hot cache of the edge cloud cluster.

[0202] It can be seen that compared with the first edge node needing to request the required image file from the public cloud through the public network, this can not only significantly shorten the waiting time for the first edge node to obtain the required file and improve the file transmission efficiency of the edge cloud cluster, but more importantly, it can effectively solve the contradiction between the expansion of the cluster scale and the insufficient public network bandwidth, and realize a virtuous cycle in which the larger the cluster scale, the larger the cache capacity of the edge cloud cluster shared cache area, the higher the file transmission efficiency in the edge cloud cluster, and the faster the creation speed of the cloud server in the edge node. Because through this solution, the image file can be shared among neighboring edge nodes in the same edge cloud cluster, and only the intranet bandwidth is used without consuming the public network traffic cost, it can be seen that after the distributed cloud system is connected, except for the traffic that cannot be shared, a large number of image files can be obtained through the sharing of neighboring edge nodes. The measured results show that under standard scenarios, this solution can significantly reduce the public network transmission traffic, thereby effectively saving bandwidth costs.

[0203] In addition, the solution screens out target edge nodes that meet the requirements for establishing a data sharing channel from the edge nodes of the edge cloud cluster by determining at least one target edge node that stores the image file in the edge cloud cluster, and then selects the second edge node to share the target data with the first edge node from the target edge nodes in combination with the load information of each target edge node. In this way, the best data sharing channel can be matched within the edge cloud cluster, effectively improving the cache hit rate of the image file and enhancing the user experience of the distributed cloud.

[0204] In one embodiment, a data transmission device is provided, such as Figure 8 As shown, the data transmission device may include: a determination unit 301, a query unit 302, an identification unit 303, a selection unit 304 and a transmission unit 305, which are specifically as follows:

[0205] The determining unit 301 may be configured to determine target data that the first edge node needs to acquire when receiving a data acquisition instruction of a first edge node in an edge cloud cluster, wherein the edge cloud cluster includes at least one edge node located in the same local area network, and the edge cloud cluster has a shared storage area shared by each edge node, and the shared storage area is composed of exclusive storage areas of each edge node through the local area network;

[0206] A query unit 302 may be used to query at least one target exclusive storage area storing the target data in the shared storage area;

[0207] The identification unit 303 may be configured to identify a target edge node corresponding to the target exclusive storage area according to a mapping relationship between the exclusive storage area and the edge node;

[0208] The selection unit 304 may be configured to select a second edge node to be used for data transmission from the target edge nodes according to the load information of each of the target edge nodes;

[0209] The transmission unit 305 may be configured to transmit the target data to the first edge node via the second edge node based on the local area network.

[0210] In one embodiment, reference Fig. 9 , the selection unit 304 may include:

[0211] The feature acquisition subunit 3041 may be used to acquire the node load feature of each of the target edge nodes in at least one dimension;

[0212] The feature aggregation subunit 3042 may be used to perform feature aggregation processing on the node load features to obtain load information of each target edge node;

[0213] The node selection subunit 3043 may be configured to select a second edge node to be used for data transmission from the target edge node according to the load information.

[0214] In one embodiment, reference Fig.10 , the transmission unit 305 may include:

[0215] The information generating subunit 3051 may be configured to generate channel information describing a data transmission channel according to the first edge node and the second edge node, wherein the data transmission channel is used to perform data transmission between the first edge node and the second edge node based on the local area network;

[0216] The information sending subunit 3052 may be configured to send the channel information to the first edge node to trigger the first edge node to request the target data from the second edge node according to the channel information and obtain the target data transmitted by the second edge node.

[0217] In one embodiment, the information sending subunit 3052 may be used to:

[0218] Acquire current node information of the edge cloud cluster, wherein the node information includes initial task information of the second edge node; update the initial task information; and when it is detected that the update is complete, send the channel information to the first edge node.

[0219] In one embodiment, the information sending subunit 3052 may also be used to:

[0220] When a transmission completion signal of the target data is detected, current task information of the second edge node is acquired; and the current task information is updated according to the initial task information.

[0221] In one embodiment, the information sending subunit 3052 may be used to:

[0222] Trigger the first edge node to create a data transmission channel between the first edge node and the second edge node according to the channel information; send a data acquisition request for the target data to the second edge node through the data transmission channel; and obtain the target data transmitted by the second edge node based on the data acquisition request.

[0223] In one embodiment, the information sending subunit 3052 may be specifically used for:

[0224] Acquire the data to be verified transmitted by the second edge node based on the data acquisition request; perform data integrity verification on the data to be verified; and when the verification passes, confirm that the data to be verified is the target data.

[0225] In one embodiment, reference Fig.11 The distributed cloud cluster includes a central node and edge nodes in the edge cloud cluster, the central node stores node information of the edge cloud cluster, and the transmission unit 305 may further include:

[0226] The information acquisition subunit 3053 may be configured to acquire current data storage information in the exclusive storage area of ​​the first edge node through the central node when a transmission completion signal of the target data is detected;

[0227] The information parsing subunit 3054 may be used to parse the current data storage information to obtain a parsing result;

[0228] The information updating subunit 3055 may be used to update the node information of the edge cloud cluster stored in the central node according to the current data storage information when the parsing result indicates that the target data is stored in the exclusive storage area of ​​the first edge node.

[0229] In one embodiment, reference Fig.12 , the data transmission device may further include:

[0230] An acquiring unit 306 may be configured to acquire current data storage information in an exclusive storage area of ​​the first edge node;

[0231] The parsing unit 307 may be used to parse the current data storage information to obtain a parsing result;

[0232] The creating unit 308 may be configured to create a cloud server on the first edge node based on the image file when the parsing result indicates that the image file is stored in the exclusive storage area of ​​the first edge node.

[0233] In specific implementation, the above units can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units can refer to the previous method embodiments, which will not be repeated here.

[0234] As can be seen from the above, in the data transmission device of this embodiment, when the determination unit 301 receives the data acquisition instruction of the first edge node in the edge cloud cluster, it determines the target data that the first edge node needs to acquire, wherein the edge cloud cluster includes at least one edge node located in the same local area network, and the edge cloud cluster has a shared storage area shared by each edge node, and the shared storage area is composed of the exclusive storage areas of each edge node through the local area network; the query unit 302 queries at least one target exclusive storage area storing the target data in the shared storage area; the identification unit 303 identifies the target edge node corresponding to the target exclusive storage area according to the mapping relationship between the exclusive storage area and the edge node; the selection unit 304 selects the second edge node to be used for data transmission from the target edge node according to the load information of each of the target edge nodes; the transmission unit 305 transmits the target data to the first edge node based on the local area network through the second edge node.

[0235] This solution can form a self-organizing system through multiple edge nodes in the edge cloud cluster, and form a shared storage area shared by each edge node in the edge cloud cluster through the local area network from the exclusive storage area of ​​each edge node. Among them, each edge node can use its exclusive storage area for data storage, and when the edge node needs to obtain target data that is not stored in its exclusive storage area, it can share data between different edge nodes through the local area network, thereby improving the data storage limit and storage richness of the edge cloud cluster. For example, each edge node in the edge cloud cluster can use its local cache to cache hot data. When the first edge node needs to obtain an image file that it does not cache, the second edge node in the edge cloud cluster that caches the image file can quickly transmit the image file to the first edge node through the local area network.

[0236] It can be seen that compared with the first edge node needing to request the required target data from the public cloud through the public network, this can not only significantly shorten the waiting time for the first edge node to obtain the required data and improve the data transmission efficiency of the edge cloud cluster, but more importantly, it can effectively solve the contradiction between the expansion of the cluster scale and the insufficient public network bandwidth, and realize the virtuous cycle that the larger the cluster scale, the larger the storage capacity of the edge cloud cluster shared storage area, and the higher the data transmission efficiency in the edge cloud cluster. Take the target data as an example, because through this solution, the image file can be shared among neighboring edge nodes in the same edge cloud cluster, and only the intranet bandwidth is used without consuming the public network traffic cost. It can be seen that after the distributed cloud system is connected, except for the traffic that cannot be shared, a large number of image files can be obtained through the sharing of neighboring edge nodes. The measured results show that under standard scenarios, this solution can significantly reduce the public network transmission traffic, thereby effectively saving bandwidth costs.

[0237] In addition, the solution screens out target edge nodes that are eligible for establishing a data sharing channel from the edge nodes of the edge cloud cluster by determining at least one target edge node that stores target data in the edge cloud cluster, and then selects a second edge node from the target edge nodes to share the target data with the first edge node based on the load information of each target edge node. In this way, the best data sharing channel can be matched within the edge cloud cluster, effectively improving the data storage hit rate and enhancing the user experience of the distributed cloud.

[0238] In addition, the embodiment of the present application also provides a computer device, which can be a server or a terminal. Fig.13 As shown, it shows a schematic diagram of the structure of the computer device involved in the embodiment of the present application, specifically:

[0239] The computer device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will appreciate that Fig.13 The computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. Among them:

[0240] The processor 401 is the control center of the computer device, and uses various interfaces and lines to connect various parts of the entire computer device. By running or executing software programs and / or modules stored in the memory 402, and calling data stored in the memory 402, the processor 401 performs various functions of the computer device and processes data. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user pages and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 401.

[0241] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.

[0242] The computer device also includes a power supply 403 for supplying power to various components. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 403 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.

[0243] The computer device may further include an input unit 404, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0244] Although not shown, the computer device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 401 in the computer device will load the executable files corresponding to the processes of one or more application programs into the memory 402 according to the following instructions, and the processor 401 will run the application programs stored in the memory 402, thereby realizing various functions, as follows:

[0245] When a data acquisition instruction of a first edge node in an edge cloud cluster is received, target data that the first edge node needs to acquire is determined, wherein the edge cloud cluster includes at least one edge node located in the same local area network, and the edge cloud cluster has a shared storage area shared by each edge node, and the shared storage area is composed of exclusive storage areas of each edge node through the local area network; at least one target exclusive storage area storing target data is queried in the shared storage area; according to a mapping relationship between the exclusive storage area and the edge node, a target edge node corresponding to the target exclusive storage area is identified; according to load information of each target edge node, a second edge node to be used for data transmission is selected from the target edge node; and the target data is transmitted to the first edge node through the second edge node based on the local area network.

[0246] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0247] As can be seen from the above, the computer device of this embodiment can form a self-organizing system through multiple edge nodes in the edge cloud cluster, and the exclusive storage area of ​​each edge node is used to form a shared storage area shared by each edge node in the edge cloud cluster through a local area network. Among them, each edge node can use its exclusive storage area for data storage, and when the edge node needs to obtain target data that is not stored in its exclusive storage area, it can share data between different edge nodes through the local area network, thereby improving the data storage upper limit and storage richness of the edge cloud cluster. For example, each edge node in the edge cloud cluster can use its local cache to cache hot data. When the first edge node needs to obtain a mirror file that it does not cache, the second edge node in the edge cloud cluster that caches the mirror file can quickly transmit the mirror file to the first edge node through the local area network.

[0248] It can be seen that compared with the first edge node needing to request the required target data from the public cloud through the public network, this can not only significantly shorten the waiting time for the first edge node to obtain the required data and improve the data transmission efficiency of the edge cloud cluster, but more importantly, it can effectively solve the contradiction between the expansion of the cluster scale and the insufficient public network bandwidth, and realize the virtuous cycle that the larger the cluster scale, the larger the storage capacity of the edge cloud cluster shared storage area, and the higher the data transmission efficiency in the edge cloud cluster. Take the target data as an example, because through this solution, the image file can be shared among neighboring edge nodes in the same edge cloud cluster, and only the intranet bandwidth is used without consuming the public network traffic cost. It can be seen that after the distributed cloud system is connected, except for the traffic that cannot be shared, a large number of image files can be obtained through the sharing of neighboring edge nodes. The measured results show that under standard scenarios, this solution can significantly reduce the public network transmission traffic, thereby effectively saving bandwidth costs.

[0249] In addition, the computer device screens out target edge nodes that meet the requirements of establishing a data sharing channel from the edge nodes of the edge cloud cluster by determining at least one target edge node that stores target data in the edge cloud cluster, and then selects a second edge node from the target edge nodes to share the target data with the first edge node in combination with the load information of each target edge node. In this way, the best data sharing channel can be matched within the edge cloud cluster, effectively improving the data storage hit rate and enhancing the user experience of the distributed cloud.

[0250] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0251] To this end, an embodiment of the present application provides a storage medium in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any one of the data transmission methods provided in the embodiments of the present application. For example, the instructions can execute the following steps:

[0252] When a data acquisition instruction of a first edge node in an edge cloud cluster is received, target data that the first edge node needs to acquire is determined, wherein the edge cloud cluster includes at least one edge node located in the same local area network, and the edge cloud cluster has a shared storage area shared by each edge node, and the shared storage area is composed of exclusive storage areas of each edge node through the local area network; at least one target exclusive storage area storing target data is queried in the shared storage area; according to a mapping relationship between the exclusive storage area and the edge node, a target edge node corresponding to the target exclusive storage area is identified; according to load information of each target edge node, a second edge node to be used for data transmission is selected from the target edge node; and the target data is transmitted to the first edge node through the second edge node based on the local area network.

[0253] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0254] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0255] Since the instructions stored in the storage medium can execute the steps in any one of the data transmission methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any one of the data transmission methods provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0256] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method provided in various optional implementations of the above-mentioned data transmission aspect.

[0257] The above is a detailed introduction to a data transmission method, device, equipment and storage medium provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A data transmission method, characterized in that: include: When receiving a data acquisition instruction of a first edge node in an edge cloud cluster, determining target data that the first edge node needs to acquire, wherein the edge cloud cluster includes at least one edge node located in the same local area network, the edge cloud cluster has a shared storage area shared by each edge node, and the shared storage area is composed of exclusive storage areas of each edge node through the local area network; Querying at least one target exclusive storage area storing the target data in the shared storage area; According to the mapping relationship between the exclusive storage area and the edge node, identifying the target edge node corresponding to the target exclusive storage area; Selecting a second edge node to be used for data transmission from the target edge nodes according to the load information of each of the target edge nodes; The target data is transmitted to the first edge node through the second edge node based on the local area network.

2. The data transmission method according to claim 1, characterized in that: According to the load information of each of the target edge nodes, selecting a second edge node to be used for data transmission from the target edge nodes includes: Obtaining node load characteristics of each of the target edge nodes in at least one dimension; Performing feature aggregation processing on the node load features to obtain load information of each of the target edge nodes; A second edge node to be used for data transmission is selected from the target edge node according to the load information.

3. The data transmission method according to claim 1, characterized in that: Transmitting the target data to the first edge node through the second edge node based on the local area network includes: Generate channel information describing a data transmission channel according to the first edge node and the second edge node, wherein the data transmission channel is used for data transmission between the first edge node and the second edge node based on the local area network; The channel information is sent to the first edge node to trigger the first edge node to request the target data from the second edge node according to the channel information, and obtain the target data transmitted by the second edge node.

4. The data transmission method according to claim 3, characterized in that: Sending the channel information to the first edge node includes: Acquire the current node information of the edge cloud cluster, wherein the node information includes the initial task information of the second edge node; Updating the initial task information; When it is detected that the update is completed, the channel information is sent to the first edge node.

5. The data transmission method according to claim 4, characterized in that: The method further comprises: When a transmission completion signal of the target data is detected, obtaining current task information of the second edge node; The current task information is updated according to the initial task information.

6. The data transmission method according to claim 3, characterized in that: Triggering the first edge node to request the target data from the second edge node according to the channel information, and obtaining the target data transmitted by the second edge node, including: Triggering the first edge node to create a data transmission channel between the first edge node and the second edge node according to the channel information; Sending a data acquisition request for the target data to the second edge node through the data transmission channel; The target data transmitted by the second edge node based on the data acquisition request is acquired.

7. The data transmission method according to claim 6, characterized in that: Acquiring the target data transmitted by the second edge node based on the data acquisition request includes: Acquire the data to be verified transmitted by the second edge node based on the data acquisition request; Performing data integrity verification on the data to be verified; When the verification passes, it is confirmed that the data to be verified is the target data.

8. The data transmission method according to claim 3, characterized in that: The distributed cloud cluster includes a central node and an edge node in the edge cloud cluster, the central node stores node information of the edge cloud cluster, and the method further includes: When a transmission completion signal of the target data is detected, current data storage information in the exclusive storage area of ​​the first edge node is acquired through the central node; Analyze the current data storage information to obtain an analysis result; When the parsing result indicates that the target data is stored in the exclusive storage area of ​​the first edge node, the node information of the edge cloud cluster stored in the central node is updated according to the current data storage information.

9. The data transmission method according to claim 1, characterized in that: The target data includes an image file, and the method further includes: Acquire current data storage information in the exclusive storage area of ​​the first edge node; Analyze the current data storage information to obtain an analysis result; When the parsing result indicates that the image file is stored in the exclusive storage area of ​​the first edge node, a cloud server is created at the first edge node based on the image file.

10. A data transmission device, characterized in that: include: A determination unit, configured to determine target data that needs to be acquired by a first edge node in an edge cloud cluster when receiving a data acquisition instruction of the first edge node, wherein the edge cloud cluster includes at least one edge node located in the same local area network, the edge cloud cluster has a shared storage area shared by each edge node, and the shared storage area is composed of exclusive storage areas of each edge node through the local area network; A query unit, configured to query at least one target exclusive storage area storing the target data in the shared storage area; an identification unit, configured to identify a target edge node corresponding to the target exclusive storage area according to a mapping relationship between the exclusive storage area and the edge node; A selection unit, configured to select a second edge node to be used for data transmission from the target edge nodes according to load information of each of the target edge nodes; A transmission unit is used to transmit the target data to the first edge node through the second edge node based on the local area network.

11. A computer device, characterized in that: It comprises a memory and a processor; the memory stores a computer program, and the processor is used to run the computer program in the memory to execute the data transmission method according to any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and the computer program is loaded by a processor to execute the data transmission method according to any one of claims 1 to 9.

13. A computer program product, characterized in that The computer program product stores a computer program, and the computer program is suitable for being loaded by a processor to execute the data transmission method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Resource acquisition method, apparatus and system

    CN108696895A

  • Systems and methods of providing edge cloud storage and caching system operating over a local area network

    CN109690518A

  • Resource downloading method and device, edge node and storage medium

    CN111327651A

  • Data storage system, method and device, electronic equipment and storage medium

    CN111597259A

  • Mirror image file management method, device and system, computer equipment and storage medium

    CN112565325A