Data distribution method and system for edge computing node and storage medium
By determining priorities and dynamically adjusting transmission paths based on real-time and historical data in the data offloading system of edge computing nodes, the problem of low data transmission efficiency in the existing technology is solved, achieving faster data transmission and lower response. delay, improving user experience.
Patent Information
- Application Number
- CN202410680257.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-05-29
AI Technical Summary
In the existing technology, the data offloading method of edge computing nodes causes the transmission duration of the same path to be too long, resulting in reduced data transmission efficiency, longer average delay time, increased service response delay, and poor user experience.
A data offloading system is designed, including a cloud computing center, data acquisition module, data storage module, data processing module, data analysis module and edge scheduling module. The data of the edge computing node is obtained through the Internet of Things node and determined based on real-time and historical data. Data processing priority and transmission path priority, dynamically adjust the data transmission slice length, and realize the distribution of data to the corresponding transmission path.
It improves data transmission efficiency, shortens the average delay time of data transmission, reduces service response delay, and improves user experience.
Smart Images

Figure CN118802913A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of edge computing technology, and in particular to a data offloading method, system and storage medium for edge computing nodes. Background Art
[0002] Mobile Edge Computing (MEC) mainly refers to providing IT and cloud computing capabilities for wireless access networks by deploying general servers on the wireless access side, so that traditional wireless access networks have the conditions for business localization and the ability to provide low-latency, high-bandwidth transmission. When the network bandwidth is limited, the data of edge computing nodes needs to be diverted to meet the needs of data transmission.
[0003] In the prior art, the data diversion method disperses a large data stream into multiple small data streams and distributes them to different processing units or storage devices according to fixed rules, so that a large amount of data is divided into several smaller data blocks for processing, reducing the storage and transmission overhead of the data. However, in the above data diversion method, the processing unit will sort and transmit the data according to the priority of the data, and the data of the same priority will not be further diverted, resulting in poor transmission due to the long transmission duration on the same path, and reduced data transmission efficiency, which makes the average delay time of data transmission longer, increases the service response delay, and poor user experience. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present disclosure provides a data offloading method, system and storage medium for edge computing nodes.
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided a data offloading system for edge computing nodes, the system comprising a cloud computing center, the cloud computing center being communicatively connected to a data acquisition module, a data storage module, a data processing module, a data analysis module and an edge scheduling module;
[0006] The data acquisition module is connected to the cloud computing center in a distributed manner through the Internet of Things nodes to obtain data collected by the edge computing nodes;
[0007] The data storage module is in communication with the data acquisition module, and is used to receive the collected data transmitted by the data acquisition module, and store the collected data separately according to the edge computing nodes;
[0008] The data processing module is used to obtain the real-time data and historical data of all edge computing nodes from the data storage module, and determine the data processing priority of the edge computing node according to the real-time data and historical data;
[0009] The data analysis module is used to request a data transmission path queue from the cloud computing center and determine a path priority corresponding to each data transmission path in the data transmission path queue;
[0010] The edge scheduling module is used to determine the data transmission slice length corresponding to the data transmission path, and allocate the data to be transmitted to the corresponding data transmission path according to the data processing priority and the path priority, and transmit it to the cloud computing center.
[0011] Optionally, in an embodiment of the present disclosure, determining the data processing priority of the edge computing node according to the real-time data and the historical data includes:
[0012] Determine the data activity of the edge computing node according to the number of data collections within a preset time period;
[0013] Determining a type attraction value of the edge computing node according to the real-time data and the historical data;
[0014] Determining a data processing priority value of the edge computing node according to the data activity, the type attraction value, and the data size in the real-time data;
[0015] Determine the data processing priority of the edge computing node according to the data processing priority value.
[0016] Optionally, in the embodiment of the present disclosure, determining the path priority corresponding to each data transmission path in the data transmission path queue includes:
[0017] Sending detection data to each data transmission path in the data transmission path queue, and obtaining the detection data transmission start time and transmission end time;
[0018] Obtaining a curve graph showing the transmission rate of the detection data changing over time;
[0019] Compare the real-time transmission rate in the curve graph with the rate threshold, and determine the corresponding positive deviation absolute value and negative deviation absolute value;
[0020] According to the positive deviation absolute value and the negative deviation absolute value, a transmission coefficient of the corresponding data transmission path is obtained by calculation;
[0021] The path priority of each data transmission path is determined according to the transmission coefficient of each data transmission path.
[0022] Optionally, in an embodiment of the present disclosure, determining the data transmission slice length corresponding to the data transmission path includes: matching the transmission coefficient corresponding to the data transmission path with a data transmission slice length comparison table to determine the data transmission slice length corresponding to the data transmission path.
[0023] Optionally, in the embodiment of the present disclosure, allocating the data to be transmitted to the corresponding data transmission path and transmitting it to the cloud computing center according to the data processing priority and the path priority includes:
[0024] According to the descending order of the data processing priority of each edge computing node, the data to be transmitted is allocated to the data transmission paths arranged in descending order of path priority;
[0025] If data with a high data processing priority has not completed data transmission within the data transmission slice length of the current data transmission path, the untransmitted data will be allocated to the data transmission path of the next priority for transmission until the data allocation is completed.
[0026] Optionally, in an embodiment of the present disclosure, the edge scheduling module is further used to: determine a round-trip data delay time of a data transmission path, and send the round-trip data delay time to a cloud computing center.
[0027] Optionally, in an embodiment of the present disclosure, the cloud computing center is used to determine whether to adjust the data transmission slice length of the data transmission path according to the data round-trip delay time.
[0028] Optionally, in the embodiment of the present disclosure, determining whether to adjust the data transmission slice length of the data transmission path according to the data round-trip delay time includes:
[0029] Comparing the data round-trip delay time with a preset delay threshold;
[0030] If the data round-trip delay time is greater than or equal to the preset delay threshold, it is determined not to adjust the data transmission slice length of the data transmission path, and the data transmission slice length of the data transmission path is marked as the data transmission slice quota of the data transmission path;
[0031] If the data round-trip delay time is less than the preset delay threshold, it is determined to increase the data transmission slice length of the data transmission path until the data transmission slice length of the data transmission path reaches the data transmission slice quota.
[0032] According to a second aspect of an embodiment of the present disclosure, a data offloading method for an edge computing node is provided, the method comprising:
[0033] Obtain real-time and historical data from edge computing nodes;
[0034] Determine the data processing priority of the edge computing node according to the real-time data and the historical data;
[0035] In response to the edge computing node transmitting data to the cloud computing center, requesting a data transmission path queue from the cloud computing center, and determining a path priority corresponding to each data transmission path in the data transmission path queue;
[0036] Determine the data transmission slice length corresponding to the data transmission path, and according to the data processing priority and the path priority, allocate the data to be transmitted to the corresponding data transmission path and transmit it to the cloud computing center.
[0037] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0038] processor;
[0039] a memory for storing processor-executable instructions;
[0040] The processor is configured to implement the method described in the first aspect above.
[0041] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided, wherein the computer storage medium stores computer-executable instructions; after the computer-executable instructions are executed by a processor, the method described in the first aspect above can be implemented.
[0042] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0043] The present disclosure proposes a data diversion method, system and storage medium for edge computing nodes, the system includes a cloud computing center, the cloud computing center is communicatively connected with a data acquisition module, a data storage module, a data processing module, a data analysis module and an edge scheduling module; the data acquisition module and the cloud computing center are distributedly connected through an Internet of Things node to obtain data collected by the edge computing node; the data storage module is communicatively connected with the data acquisition module to receive the collected data transmitted by the data acquisition module and store the collected data separately according to the edge computing node; the data processing module is used to obtain the real-time data and historical data of all edge computing nodes from the data storage module, and determine the data processing priority of the edge computing node according to the real-time data and the historical data; the data analysis module is used to request a data transmission path queue from the cloud computing center, and determine the path priority corresponding to each data transmission path in the data transmission path queue; the edge scheduling module is used to determine the data transmission slice length corresponding to the data transmission path, and according to the data processing priority and the path priority, the data to be transmitted is allocated to the corresponding data transmission path for transmission to the cloud computing center. Therefore, the present invention can allocate the data to be transmitted to the corresponding data transmission path according to the data processing priority of each edge computing node and the path priority of each data transmission path, thereby realizing data diversion of edge computing nodes and improving data transmission efficiency, thereby shortening the average delay time of data transmission, reducing service response delay, and improving user experience.
[0044] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0046] Figure 1 is a structural schematic diagram of a data offloading system for edge computing nodes according to some embodiments of the present disclosure;
[0047] Figure 2 is a flow chart of a data offloading method for edge computing nodes according to some embodiments of the present disclosure;
[0048] Figure 3 It is a block diagram of an electronic device suitable for executing a data offloading method for an edge computing node according to some embodiments of the present disclosure. DETAILED DESCRIPTION
[0049] Some embodiments of the present disclosure will be described in detail here, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. Various changes, modifications and equivalents of the methods, devices and / or systems described herein will become apparent after understanding the present disclosure. For example, the order of operations described herein is merely an example and is not limited to those orders set forth herein, but can be changed as becomes apparent after understanding the present disclosure, except for operations that must be performed in a specific order. In addition, for clarity and brevity, descriptions of features known in the art may be omitted.
[0050] The embodiments described in some embodiments of the present disclosure below do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0051] Figure 1 is a structural schematic diagram of a data distribution system for edge computing nodes according to some embodiments of the present disclosure, such as Figure 1 As shown, the system includes a cloud computing center, and the cloud computing center is communicatively connected with a data acquisition module, a data storage module, a data processing module, a data analysis module and an edge scheduling module;
[0052] The data collection module and the cloud computing center are connected in a distributed manner through the Internet of Things nodes to obtain the data collected by the edge computing nodes;
[0053] The data storage module is in communication connection with the data acquisition module, and is used to receive the collected data transmitted by the data acquisition module, and store the collected data separately according to the edge computing nodes;
[0054] The data processing module is used to obtain the real-time data and historical data of all edge computing nodes from the data storage module, and determine the data processing priority of the edge computing nodes according to the real-time data and historical data;
[0055] A data analysis module is used to request a data transmission path queue from a cloud computing center and determine a path priority corresponding to each data transmission path in the data transmission path queue;
[0056] The edge scheduling module is used to determine the data transmission slice length corresponding to the data transmission path, and allocate the data to be transmitted to the corresponding data transmission path according to the data processing priority and the path priority, and transmit it to the cloud computing center.
[0057] In the embodiment of the present disclosure, the data collected by the data collection module may include information of the edge computing node, collection cycle, collection time, data type and data size. The information of the edge computing node may include the name, IP address, authentication certificate and identification information of the edge computing node.
[0058] And, in the embodiment of the present disclosure, before the data acquisition module communicates with the data storage module, the data storage module needs to authenticate the data acquisition module. Specifically, in the embodiment of the present disclosure, the data acquisition module sends the information of the edge computing node it collects to the data storage module, and the data storage module determines whether the information of the edge computing node is authorized data. If it is determined that the information of the edge computing node is authorized data, the data acquisition module of the edge computing node is allowed to communicate with the data storage module; otherwise, the data acquisition module of the edge computing node is not allowed to communicate with the data storage module, thereby realizing the management of edge computing nodes and the scheduling of resources, and at the same time realizing the management of user permissions.
[0059] Furthermore, in the embodiment of the present disclosure, the data storage module is provided with a temporary database and a historical database, wherein the temporary database is used to store data collected in the current collection cycle, and mark the data information collected in the current collection cycle as real-time data; when the temporary database detects that new data is collected in the next collection cycle, the data collected in the current collection cycle is sent to the historical database for storage, and the data sent to the historical database is marked as historical data.
[0060] Further, in the embodiment of the present disclosure, the method for determining the data processing priority of the edge computing node according to the real-time data and the historical data may include the following steps:
[0061] Step 1: Determine the data activity of the edge computing node based on the number of data collections within a preset time period;
[0062] Step 2: Determine the type attraction value of the edge computing node based on real-time data and historical data;
[0063] Step 3: Determine the data processing priority value of the edge computing node according to the data activity, type attraction value, and data size in the real-time data;
[0064] Step 4: Determine the data processing priority of the edge computing node based on the data processing priority value.
[0065] In the embodiment of the present disclosure, the method for determining the data activity of the edge computing node according to the number of data collection times within a preset time period may specifically include: determining the data activity of the edge computing node according to the number of data collection times of the edge computing node within the preset time period and the number of data collection times of all edge computing nodes by a first formula, wherein the first formula is:
[0066]
[0067] Among them, HC i is the data activity of edge computing node i, C i represents the number of data collection times of edge computing node i within the preset time period, C n Indicates the number of data collections of all edge computing nodes within the preset time period.
[0068] Furthermore, in the embodiment of the present disclosure, the preset time period may be the current collection cycle.
[0069] Further, in the embodiment of the present disclosure, the method for determining the type attraction value of the edge computing node based on the real-time data and the historical data may specifically include the following steps:
[0070] Step a: Determine the data type R collected by edge computing node i in the current collection cycle i , and determine the R i The number of times the data type in the historical database overlaps is X i ;
[0071] Step b: Determine the number of times X that all data types in the current collection period overlap with the data types in the historical database N ;
[0072] Step c: Determine the type attraction value of the edge computing node by calculating through the second formula, wherein the second formula is:
[0073]
[0074] Among them, KR i is the type attraction value of edge computing node i, a1 is X i The weight coefficient of X N The weight coefficient of .
[0075] Further, in the embodiment of the present disclosure, after obtaining the data activity and type attraction value through the above steps, the data processing priority value of the edge computing node can be determined by a third formula according to the data activity, type attraction value and data size in the real-time data, wherein the third formula is:
[0076] XY i =HCi *a3+KR i *a4+P i *a5
[0077] Among them, XY i is the data processing priority value of edge computing i, P i is the data size in real-time data, a3 is HC i The weight coefficient of a4 is KR i The weight coefficient of a5 is P i The weight coefficient of .
[0078] Furthermore, in the embodiments of the present disclosure, after obtaining the data processing priority value of each edge computing node through the above steps, the data processing priority value of each edge computing node can be sorted in descending order, and the sorting result obtained by descending order can be determined as the data processing priority of the edge computing node, that is, the edge computing node with a larger data processing priority value has a higher data processing priority.
[0079] Furthermore, in an embodiment of the present disclosure, in response to an edge computing node transmitting data to a cloud computing center, after the data analysis module requests a data transmission path queue from the cloud computing center, it is necessary to determine the path priority corresponding to each data transmission path in the data transmission path queue, so as to subsequently allocate a path to the edge computing node according to the path priority corresponding to the data transmission path.
[0080] Specifically, in an embodiment of the present disclosure, a method for determining a path priority corresponding to each data transmission path in a data transmission path queue may include the following steps:
[0081] Step 1: Send detection data to each data transmission path in the data transmission path queue, and obtain the detection data transmission start time and transmission end time;
[0082] Step 2: Obtain a curve graph showing the transmission rate of the detection data changing with time;
[0083] Step 3: Compare the real-time transmission rate in the curve graph with the rate threshold, and determine the corresponding positive deviation absolute value and negative deviation absolute value;
[0084] Step 4: According to the absolute value of the positive deviation and the absolute value of the negative deviation, the transmission coefficient of the corresponding data transmission path is obtained by calculation;
[0085] Step 5: Determine the path priority of each data transmission path according to the transmission coefficient of each data transmission path.
[0086] Among them, in the embodiment of the present disclosure, when the real-time transmission rate in the curve graph is compared with the rate threshold, if the real-time transmission rate is greater than or equal to the rate threshold, the absolute value of the positive deviation between the real-time transmission rate and the rate threshold in the corresponding time period is obtained; if the real-time transmission rate is less than the rate threshold, the absolute value of the negative deviation between the real-time transmission rate and the rate threshold in the corresponding time period is obtained. And, in the embodiment of the present disclosure, the above-mentioned corresponding time period can be the transmission start time and the transmission end time corresponding to the curve graph divided into the corresponding same time interval. It should be noted that in the embodiment of the present disclosure, in the curve graph, when the real-time transmission rate is greater than or equal to the rate threshold, the absolute value of the negative deviation is zero; when the real-time transmission rate is less than the rate threshold, the absolute value of the positive deviation is zero.
[0087] Furthermore, in the embodiment of the present disclosure, after obtaining the positive deviation absolute value and the negative deviation absolute value through the above steps, the transmission coefficient of the corresponding data transmission path is calculated through the fourth formula, where the fourth formula is:
[0088] GF j =A j *a6-Y j *a7
[0089] Among them, GF j is the transmission coefficient corresponding to the data transmission path j, A j is the absolute value of the positive deviation corresponding to the data transmission path j, Y j is the absolute value of the negative deviation corresponding to the data transmission path j, a6 is the weight coefficient corresponding to the absolute value of the positive deviation, and a7 is the weight coefficient corresponding to the absolute value of the negative deviation.
[0090] Furthermore, in the embodiment of the present disclosure, after obtaining the transmission coefficient of each data transmission path through the above steps, the transmission coefficient can be sorted in descending order, and the sorting result obtained by descending order can be determined as the path priority of the data transmission path, that is, the data transmission path with a larger transmission coefficient has a higher path priority.
[0091] Further, in the embodiment of the present disclosure, after the transmission coefficient of each data transmission path is obtained through the above steps, the edge scheduling module can determine the data transmission slice length corresponding to each data transmission path according to the transmission coefficient of each data transmission path. Specifically, in the embodiment of the present disclosure, the above method for determining the data transmission slice length corresponding to the data transmission path can specifically include: matching the transmission coefficient corresponding to the data transmission path with the data transmission slice length comparison table to determine the data transmission slice length corresponding to the data transmission path.
[0092] Furthermore, in the embodiment of the present disclosure, after obtaining the data processing priority of the edge computing node and the path priority of the data transmission path through the above steps, the edge scheduling module can allocate the data to be transmitted to the corresponding data transmission path according to the data processing priority and the path priority, and transmit it to the cloud computing center.
[0093] Specifically, in the embodiment of the present disclosure, the method for allocating data to be transmitted to the corresponding data transmission path and transmitting it to the cloud computing center according to the data processing priority and the path priority may include the following steps:
[0094] Step S1: according to the descending order of the data processing priority of each edge computing node, the data to be transmitted is allocated to the data transmission paths arranged in descending order of path priority;
[0095] Step S2: If data with a high data processing priority has not completed data transmission within the data transmission slice length of the current data transmission path, the untransmitted data is allocated to the data transmission path of the next priority for transmission until the data allocation is completed.
[0096] For example, in an embodiment of the present disclosure, it is assumed that the time required to complete the data transmission collected by edge computing node A is 3 minutes, the time required to complete the data transmission collected by edge computing node B is 10 minutes, and the time required to complete the data transmission collected by edge computing node C is 30 minutes, and the data processing priority of edge computing nodes A, B and C is edge computing node A < edge computing node B < edge computing node C.
[0097] In addition, in the embodiment of the present disclosure, it is assumed that edge computing node A, edge computing node B and edge computing node C use the same data transmission path U j For sorted transmission, the edge computing node C takes precedence over the data transmission path U j Transmit data, then edge computing node B transmits data through data transmission path U j Transmit data, and finally edge computing node A transmits data through data transmission path U j Transmit data. Based on this, the average delay time T of data transmission of all edge computing nodes completed by the above transmission method is avg1 =(0+30+40) / 3=23.33 minutes.
[0098] Furthermore, in the embodiment of the present disclosure, it is assumed that three data transmission paths U1, U2 and U3 are allocated, and their transmission coefficients are arranged as GF1<GF2<GF3. The data transmission slice lengths on each data transmission path are L1=20 minutes, L2=9 minutes, and L3=3 minutes, respectively. The edge computing node A, edge computing node B and edge computing node C are allocated to the data transmission paths U1, U2 and U3 for transmission.
[0099] Specifically, in the embodiment of the present disclosure, the edge computing node C with a data processing priority of GF3 performs data transmission first. After the edge computing node C completes the data transmission of the data transmission slice length L3=3 minutes in the data transmission path U3, the remaining data is allocated to the data transmission path U2 to complete the data transmission of the data transmission slice length L2=9 minutes. After that, the remaining data is allocated to the data transmission path U1 to complete the data transmission. The delay time T required for data transmission collected by the edge computing node C is C = 0 minutes; the edge computing node B with data processing priority GF2 performs data transmission again. After completing the data transmission slice length L3 = 3 minutes in the data transmission path U3, the edge computing node B allocates the remaining data to the data transmission path U2 and completes the data transmission within the data transmission slice length L2 = 9 minutes; the data transmission required to complete the edge computing node B data transmission T B =(3+9)=12 minutes; the edge computing node A with data processing priority GF1 performs data transmission again, and the edge computing node A completes the data transmission of the data transmission slice length L3=3 minutes in the data transmission path U3; the data transmission required to complete the data transmission collected by the edge computing node A is T A =(3+3)=6 minutes; then the average delay time for completing data transmission of all edge computing nodes is T avg2 =(0+12+6) / 3=6 minutes.
[0100] Based on this, we can get T through the above description. avg1 >T avg2 That is, the data transmission efficiency is improved through the above method, thereby shortening the average delay time of data transmission, reducing the service response delay, and improving the user experience.
[0101] Furthermore, in the embodiment of the present disclosure, after the above-mentioned edge scheduling module allocates the data to be transmitted to the corresponding data transmission path and transmits it to the cloud computing center, the edge scheduling module can also determine the round-trip data delay time of the data transmission path and send the round-trip data delay time to the cloud computing center.
[0102] Furthermore, in the disclosed embodiment, after the cloud computing center receives the round-trip delay time of data sent by the edge scheduling module, it can determine whether to adjust the data transmission slice length of the data transmission path according to the round-trip delay time of data, so as to make full use of the idle resources of the data transmission path and effectively improve the data transmission efficiency.
[0103] Specifically, in an embodiment of the present disclosure, the method for determining whether to adjust the data transmission slice length of a data transmission path based on the data round-trip delay time may specifically include: comparing the data round-trip delay time with a preset delay threshold; if the data round-trip delay time is greater than or equal to the preset delay threshold, determining not to adjust the data transmission slice length of the data transmission path, and marking the data transmission slice length of the data transmission path as the data transmission slice quota of the data transmission path; if the data round-trip delay time is less than the preset delay threshold, determining to increase the data transmission slice length of the data transmission path until the data transmission slice length of the data transmission path reaches the data transmission slice quota.
[0104] The present disclosure proposes a data diversion system for edge computing nodes, the system includes a cloud computing center, the cloud computing center is communicatively connected with a data acquisition module, a data storage module, a data processing module, a data analysis module and an edge scheduling module; the data acquisition module and the cloud computing center are distributedly connected through an Internet of Things node to obtain data collected by the edge computing node; the data storage module is communicatively connected with the data acquisition module to receive the collected data transmitted by the data acquisition module, and the collected data is stored separately according to the edge computing node; the data processing module is used to obtain the real-time data and historical data of all edge computing nodes from the data storage module, and determine the data processing priority of the edge computing node according to the real-time data and the historical data; the data analysis module is used to request a data transmission path queue from the cloud computing center, and determine the path priority corresponding to each data transmission path in the data transmission path queue; the edge scheduling module is used to determine the data transmission slice length corresponding to the data transmission path, and according to the data processing priority and the path priority, the data to be transmitted is allocated to the corresponding data transmission path and transmitted to the cloud computing center. Therefore, the present invention can allocate the data to be transmitted to the corresponding data transmission path according to the data processing priority of each edge computing node and the path priority of each data transmission path, thereby realizing data diversion of edge computing nodes and improving data transmission efficiency, thereby shortening the average delay time of data transmission, reducing service response delay, and improving user experience.
[0105] Figure 2 A data offloading method for edge computing nodes is shown according to some embodiments of the present disclosure, such as Figure 2 As shown, the method may include the following steps:
[0106] Step 201: Acquire real-time data and historical data of the edge computing node;
[0107] Step 202: Determine the data processing priority of the edge computing node based on the real-time data and historical data;
[0108] Step 203: In response to the edge computing node transmitting data to the cloud computing center, requesting a data transmission path queue from the cloud computing center, and determining a path priority corresponding to each data transmission path in the data transmission path queue;
[0109] Step 204: determine the data transmission slice length corresponding to the data transmission path, and allocate the data to be transmitted to the corresponding data transmission path according to the data processing priority and the path priority, and transmit it to the cloud computing center.
[0110] In one or more embodiments of the present disclosure, real-time data and historical data of the edge computing node are acquired; the data processing priority of the edge computing node is determined based on the real-time data and historical data; in response to the edge computing node transmitting data to the cloud computing center, a data transmission path queue is requested from the cloud computing center, and the path priority corresponding to each data transmission path in the data transmission path queue is determined; the data transmission slice length corresponding to the data transmission path is determined, and according to the data processing priority and the path priority, the data to be transmitted is allocated to the corresponding data transmission path and transmitted to the cloud computing center. Thus, the present disclosure can allocate the data to be transmitted to the corresponding data transmission path according to the data processing priority of each edge computing node and the path priority of each data transmission path, realizes data diversion of the edge computing node, improves data transmission efficiency, thereby shortening the average delay time of data transmission, reducing service response delay, and improving user experience.
[0111] like Figure 3 As shown, the electronic device 300 includes a computing unit 301, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 302 or a computer program loaded from a storage unit 308 into a random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the electronic device 300 can also be stored. The computing unit 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0112] A number of components in the electronic device 300 are connected to the I / O interface 305, including: an input unit 308, such as a keyboard, a mouse, etc.; an output unit 307, such as various types of displays, speakers, etc.; a storage unit 308, such as a disk, an optical disk, etc.; and a communication unit 309, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 309 allows the electronic device 300 to exchange information / data with other electronic devices through a computer network such as the Internet and / or various telecommunication networks.
[0113] The computing unit 301 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 301 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 301 performs the various methods and processes described above, such as a data diversion method for edge computing nodes. For example, in some embodiments, the data diversion method for edge computing nodes may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 308. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 300 via ROM 302 and / or communication unit 309. When the computer program is loaded into RAM 303 and executed by the computing unit 301, one or more steps of the data diversion method for edge computing nodes described above may be performed. Alternatively, in other embodiments, the computing unit 301 may be configured to execute the data offloading method for the edge computing node in any other appropriate manner (eg, by means of firmware).
[0114] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0115] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0116] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or electronic device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or electronic device, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage electronic device, a magnetic storage electronic device, or any suitable combination of the foregoing.
[0117] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0118] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain network.
[0119] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.
[0120] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0121] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A data distribution system for edge computing nodes, characterized in that: The system includes a cloud computing center, which is communicatively connected to a data acquisition module, a data storage module, a data processing module, a data analysis module and an edge scheduling module; The data acquisition module is connected to the cloud computing center in a distributed manner through the Internet of Things nodes to obtain data collected by the edge computing nodes; The data storage module is in communication with the data acquisition module, and is used to receive the collected data transmitted by the data acquisition module, and store the collected data separately according to the edge computing nodes; The data processing module is used to obtain the real-time data and historical data of all edge computing nodes from the data storage module, and determine the data processing priority of the edge computing node according to the real-time data and historical data; The data analysis module is used to request a data transmission path queue from the cloud computing center and determine a path priority corresponding to each data transmission path in the data transmission path queue; The edge scheduling module is used to determine the data transmission slice length corresponding to the data transmission path, and allocate the data to be transmitted to the corresponding data transmission path according to the data processing priority and the path priority, and transmit it to the cloud computing center.
2. The system according to claim 1, characterized in that The determining the data processing priority of the edge computing node according to the real-time data and the historical data includes: Determine the data activity of the edge computing node according to the number of data collections within a preset time period; Determining a type attraction value of the edge computing node according to the real-time data and the historical data; Determining a data processing priority value of the edge computing node according to the data activity, the type attraction value, and the data size in the real-time data; Determine the data processing priority of the edge computing node according to the data processing priority value.
3. The system according to claim 1, characterized in that The determining the path priority corresponding to each data transmission path in the data transmission path queue includes: Sending detection data to each data transmission path in the data transmission path queue, and obtaining the detection data transmission start time and transmission end time; Obtaining a curve graph showing the transmission rate of the detection data changing over time; Compare the real-time transmission rate in the curve graph with the rate threshold, and determine the corresponding positive deviation absolute value and negative deviation absolute value; According to the positive deviation absolute value and the negative deviation absolute value, a transmission coefficient of the corresponding data transmission path is obtained by calculation; The path priority of each data transmission path is determined according to the transmission coefficient of each data transmission path.
4. The system according to claim 1, characterized in that Determining the data transmission slice length corresponding to the data transmission path includes: matching the transmission coefficient corresponding to the data transmission path with a data transmission slice length comparison table to determine the data transmission slice length corresponding to the data transmission path.
5. The system according to claim 1, wherein: The allocating the data to be transmitted to the corresponding data transmission path and transmitting it to the cloud computing center according to the data processing priority and the path priority includes: According to the descending order of the data processing priority of each edge computing node, the data to be transmitted is allocated to the data transmission paths arranged in descending order of path priority; If data with a high data processing priority has not completed data transmission within the data transmission slice length of the current data transmission path, the untransmitted data will be allocated to the data transmission path of the next priority for transmission until the data allocation is completed.
6. The system according to claim 1, wherein: The edge scheduling module is also used to determine the round-trip data delay time of the data transmission path, and send the round-trip data delay time to the cloud computing center.
7. The system according to claim 6, characterized in that The cloud computing center is used to determine whether to adjust the data transmission slice length of the data transmission path according to the data round-trip delay time.
8. The system according to claim 7, characterized in that The determining whether to adjust the data transmission slice length of the data transmission path according to the data round-trip delay time includes: Comparing the data round-trip delay time with a preset delay threshold; If the data round-trip delay time is greater than or equal to the preset delay threshold, it is determined not to adjust the data transmission slice length of the data transmission path, and the data transmission slice length of the data transmission path is marked as the data transmission slice quota of the data transmission path; If the data round-trip delay time is less than the preset delay threshold, it is determined to increase the data transmission slice length of the data transmission path until the data transmission slice length of the data transmission path reaches the data transmission slice quota.
9. A data offloading method for edge computing nodes, characterized in that: The method comprises: Obtain real-time and historical data from edge computing nodes; Determine the data processing priority of the edge computing node according to the real-time data and the historical data; In response to the edge computing node transmitting data to the cloud computing center, requesting a data transmission path queue from the cloud computing center, and determining a path priority corresponding to each data transmission path in the data transmission path queue; Determine the data transmission slice length corresponding to the data transmission path, and according to the data processing priority and the path priority, allocate the data to be transmitted to the corresponding data transmission path and transmit it to the cloud computing center.
10. A non-transitory computer-readable storage medium, wherein the computer storage medium stores computer-executable instructions; after the computer-executable instructions are executed by a processor, the method described in claim 9 can be implemented.
Citation Information
Patent Citations
Delay optimization method based on edge calculation
CN112217725A
Edge computing node task scheduling method and system for AIoT (Artificial Intelligence & Internet of Things)
CN113553160A
Dynamic data encryption strategy system adaptive to Internet of Things service
CN114363064A
Data transmission method and device, electronic equipment and computer storage medium
CN116320068A
Routing path determination method and device, equipment, medium and program product
CN117061420A
Cited By
Data transmission and storage system and method based on 5G communication technology
CN119402918A
A data transmission and storage system and method based on 5G communication technology
CN119402918B
Communication transmission control cabinet based on big data
CN119603301A
Brain-like AI architecture-based side computing power acceleration method and apparatus, and computer device
CN121233306A
