Data processing method, system and related device based on edge computing

By deploying multiple computing nodes on the edge computing platform and transmitting data with specified priority to the main computing platform for processing, the problem of increasing processing time caused by data transmission delay is solved, and the current data is quickly processed and the data processing speed is improved.

CN113254196BActive Publication Date: 2025-04-08IND INTERNET INNOVATION CENT (SHANGHAI) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110454143.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-26
Publication Date
2025-04-08
Estimated Expiration
2041-04-26

AI Technical Summary

Technical Problem

In the process of the development of IoT technology, the increase in data volume leads to delay in data transmission, and a method is needed to quickly process current data and reduce processing time.

Method used

By deploying multiple computing nodes on the edge computing platform and communicating with the main computing platform, after determining the data processing delay, the data of the computing nodes with specified priority will be transmitted to the main computing platform, and the main computing platform assists the edge computing platform to process the current data.

Benefits of technology

The processing time of the current data is reduced and the processing speed is improved. Especially for data with the highest priority, it can be processed directly, reducing the waiting time, thereby improving the processing speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113254196B_ABST
    Figure CN113254196B_ABST
Patent Text Reader

Abstract

Embodiments of the present invention relate to the field of data processing, and disclose a data processing method, system, and related device based on edge computing. In some embodiments of the present invention, the data processing method based on edge computing is applied to an edge computing platform, and the edge computing platform is deployed with multiple computing nodes. The edge computing platform is communicatively connected to the main computing platform, and the method includes: after determining the data processing delay, transmitting the data of the computing node of the specified priority to the main computing platform; controlling the computing node of the specified priority to process the data captured from the computing nodes of other priorities other than the specified priority, and / or, processing the received data with the highest priority. The technical solution provided in the embodiment of the present application can reduce the processing time of the current data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of data processing, and in particular to a data processing method, system and related devices based on edge computing. Background Art

[0002] Edge computing platform refers to an open platform that integrates network, computing, storage and application core capabilities on the side close to the object or data source, providing the nearest service to the object or data source. The application of the edge computing platform is initiated on the edge side, generating faster network service response, meeting the basic needs of the industry in real-time business, application intelligence, security and privacy protection, etc. The edge computing platform is connected between the control end computing platform or cloud computing platform and the device end. The device end transmits the data detected by the sensor unit to the edge computing end.

[0003] At present, with the development of Internet of Things technology, the amount of data is relatively large, and data transmission delay may occur. Therefore, a method is urgently needed to process the current data as quickly as possible in the case of data transmission delay. Summary of the invention

[0004] The purpose of the embodiments of the present invention is to provide a data processing method, system and related devices based on edge computing, so as to reduce the processing time of current data.

[0005] To solve the above technical problems, in the first aspect, an embodiment of the present invention provides a data processing method based on edge computing, which is applied to an edge computing platform and deployed with multiple computing nodes. The edge computing platform is communicatively connected to a main computing platform. The method includes: after determining the data processing delay, transmitting the data of the computing nodes of a specified priority to the main computing platform; controlling the computing nodes of a specified priority to process data captured from computing nodes of other priorities other than the specified priority, and / or processing the received data with the highest priority.

[0006] In the second aspect, an embodiment of the present invention provides a data processing method based on edge computing, which is applied to a main computing platform, and the main computing platform is communicatively connected with an edge computing platform. The method includes: after receiving data of a computing node of a specified priority sent by the edge computing platform, processing the received data; the data of the computing node of the specified priority includes display request data; and transmitting the processed data to a device end so that the device end displays a display page according to the processed data.

[0007] In the third aspect, an embodiment of the present invention provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute: the edge computing-based data processing method applied to the edge computing platform mentioned in the above embodiment, wherein the electronic device is an edge computing platform or a main computing platform.

[0008] In a fourth aspect, an embodiment of the present invention provides a data processing system, comprising: a main computing platform and multiple edge computing platforms, the main computing platform and the multiple edge computing platforms are respectively communicatively connected; the edge computing platform is used to execute the edge computing-based data processing method mentioned in the above embodiment; the main computing platform is used for the edge computing-based data processing method mentioned in the above embodiment.

[0009] In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the edge computing-based data processing method applied to the edge computing platform mentioned in the above embodiment, or the edge computing-based data processing method applied to the main computing platform mentioned in the above embodiment.

[0010] According to an edge computing-based data processing method, system and related device provided by the embodiment of the present invention, after determining the data processing delay, the edge computing platform transmits the data of the computing node of the specified priority to the main computing platform, and the main computing platform assists the edge computing platform in processing the current data to reduce the processing time of the current data. Since there is no data to be processed in the computing node of the specified priority, if the computing node of the specified priority grabs data from computing nodes of other priorities, the data processing speed of computing nodes of other priorities will be accelerated; if the computing node of the specified priority processes the received data with the highest priority, it can directly process the received data with the highest priority, reducing the waiting time of the data with the highest priority, thereby improving the processing speed of the data with the highest priority. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplifications do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0012] Figure 1 is a flow chart of a data processing method based on edge computing performed by an edge computing platform according to an embodiment of the present application;

[0013] Figure 2is a flow chart of a data processing method based on edge computing performed by a main computing platform according to an embodiment of the present application;

[0014] Figure 3 is a flowchart of a method in which a computing node of priority 1 captures and processes data in one embodiment of the present application;

[0015] Figure 4 is a flowchart of a method in which a computing node of priority 1 captures and processes data in one embodiment of the present application;

[0016] Figure 5 is a flow chart of a data processing method based on edge computing executed by an edge computing platform in one embodiment of the present application;

[0017] Figure 6 is a flow chart of a data processing method based on edge computing executed by an edge computing platform in one embodiment of the present application;

[0018] Figure 7 is a flow chart of a data processing method based on edge computing executed by an edge computing platform in one embodiment of the present application;

[0019] Figure 8 is a flow chart of a data processing method based on edge computing executed by an edge computing platform in one embodiment of the present application;

[0020] Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application;

[0021] Fig.10 It is a structural diagram of a data processing system according to an embodiment of the present application. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those skilled in the art that in the embodiments of the present invention, many technical details are provided to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can be implemented.

[0023] The division of the following embodiments is for the convenience of description and shall not constitute any limitation on the specific implementation of the present invention. The various embodiments may be combined and referenced with each other without contradiction.

[0024] In the embodiments of the present application, Figure 1The data processing method based on edge computing is shown as being executed by an edge computing platform, where multiple computing nodes are deployed, and the edge computing platform is in communication connection with a main computing platform. The data processing method based on edge computing includes the following steps.

[0025] Step 101: After determining the data processing delay, the data of the computing nodes of the specified priority are transmitted to the main computing platform.

[0026] Step 102: Control the computing nodes of the specified priority to process data captured from computing nodes of other priorities other than the specified priority, and / or process the received data with the highest priority.

[0027] In the embodiment of the present application, after determining the data processing delay, the edge computing platform transmits the data of the computing node of the specified priority to the main computing platform, and the main computing platform assists the edge computing platform in processing the current data to reduce the processing time of the current data. Since there is no data to be processed in the computing node of the specified priority, if the computing node of the specified priority grabs data from the computing nodes of other priorities, the data processing speed of the computing nodes of other priorities will be accelerated; if the computing node of the specified priority processes the received data with the highest priority, it can directly process the received data with the highest priority, reducing the waiting time of the data with the highest priority, thereby improving the processing speed of the data with the highest priority.

[0028] like Figure 2 The data processing method based on edge computing is shown as being executed by a main computing platform, and the main computing platform is in communication connection with the edge computing platform. The data processing method based on edge computing includes:

[0029] Step 201: After receiving data of a computing node of a specified priority sent by an edge computing platform, the received data is processed, wherein the data of the computing node of the specified priority includes display request data.

[0030] Step 202: The processed data is transmitted to the device end so that the device end displays a display page according to the processed data.

[0031] In the embodiment of the present application, the edge computing platform transmits the data of the computing nodes of the specified priority to the main computing platform, and the main computing platform assists the edge computing platform in processing the current data to reduce the processing time of the current data. In addition, the edge computing platform transmits the display request data to the main computing platform for processing. After the main computing platform processes the display request data, it transmits the processed data to the device end so that the device end displays the display page according to the processed data, so that the user can see part of the processed data in advance, and then the user thinks that the data is being transmitted, thereby avoiding the user's reduced experience satisfaction with the edge computing platform and the main computing platform.

[0032] For example, the device transmits the data detected by the sensor unit to the edge computing platform, and after the data transmission detected by each sensor unit is completed, the notification data with the first flag is sent to the main computing platform to inform the main computing platform that the data transmission detected by each sensor unit is completed. The first flag indicates that the data transmission detected by each sensor unit is completed. After receiving the data transmitted by the device, the edge computing platform determines the priority of each data transmitted by the device according to the second flag of the data transmitted by the device. The edge computing platform allocates each data transmitted by the device to the computing nodes of each priority according to the priority of each data transmitted by the device and the pre-set data allocation rules, so as to process each data transmitted by the device. After the data processing is completed, each computing node of the edge computing platform sends it to the main computing platform. After receiving the notification data with the first flag, the main computing platform confirms that the data detected by each sensor unit has been transmitted to the edge computing platform. If the main computing platform does not receive the data processed by the edge computing platform for the data detected by each sensor unit within the preset time, it is determined that the data processing delay occurs. In this case, in order to process the data transmitted by the device as quickly as possible, the edge computing platform can transmit the data of the computing nodes of the specified priority to the main computing platform. The main computing platform can be a cloud computing platform or a control-end computing platform. The computing power of the main computing platform is better than that of the edge computing platform, which improves the processing speed of the data transmitted by the device. The edge computing platform controls the computing nodes of the specified priority to process the data captured from the computing nodes of other priorities other than the specified priority, and / or processes the received data with the highest priority, speeding up the processing speed of the data assigned to the computing nodes of other priorities.

[0033] From the above analysis, it can be seen that after determining the data processing delay, the edge computing platform transmits the data of the computing node with the specified priority to the main computing platform, and the main computing platform assists the edge computing platform in processing the current data to reduce the processing time of the current data. Since there is no data to be processed in the computing node with the specified priority, if the computing node with the specified priority grabs data from the computing nodes with other priorities, the data processing speed of the computing nodes with other priorities will be accelerated; if the computing node with the specified priority processes the received data with the highest priority, it can directly process the received data with the highest priority, reducing the waiting time of the data with the highest priority, thereby improving the processing speed of the data with the highest priority.

[0034] Those skilled in the art can understand that in actual applications, data allocation rules can be set as needed. For example, the priority number of the computing node in the edge computing platform is greater than or equal to the priority number of the data, and the data allocation rule is to allocate data of the first priority to the computing node of the first priority, and the data of the second priority to the computing node of the second priority, ..., and the data of the kth priority to the computing node of the kth priority. For another example, the priority number of the computing node in the edge computing platform is less than the priority number of the data, and the priority number of the computing node is k. The data allocation rule is to allocate data of the first priority to the computing node of the first priority, and the data of the second priority to the computing node of the second priority, ..., and the data of the kth priority and subsequent priorities are allocated to the computing node of the kth priority; or, the data allocation rule is to allocate data of the first priority to the computing node of the first priority, and the data of the second priority and the third priority to the computing node of the second priority, ..., and the data of the kth priority and subsequent priorities are allocated to the computing node of the kth priority. Examples of data allocation rules are not given one by one here.

[0035] It should be noted that those skilled in the art can understand that in actual applications, the device side can package the data detected by the sensor unit into a data packet and transmit it to the edge computing platform. The second flag bit of the data transmitted by the device side is the flag bit of the data packet. This implementation is only for illustration, and the data transmission method between the device side and the edge computing platform is not exemplified one by one here.

[0036] It should be noted that those skilled in the art can understand that the data in the computing nodes of each priority mentioned in this embodiment may include: computing requests and computing data corresponding to the computing requests, and may also include other data. Among them, the type of computing requests processed in the computing nodes of each priority can be determined according to the application scenarios of the main computing platform and the edge computing platform. For example, the computing requests processed by the computing nodes include display requests. This embodiment is not limited.

[0037] In one embodiment, in Figure 1 In the edge computing-based data processing method shown and executed by the edge computing platform, the computing node of the specified priority can be any one or more computing nodes of the priority. The computing node of the specified priority transmits the data that has not been calculated in itself to the main computing platform, and assists in data processing with the help of the powerful computing power of the main computing platform. The computing node of the specified priority is in a cleared state and can be used as a special computing channel to assist in processing the data from computing nodes of other priorities, and / or, to process the data with the highest priority received subsequently, thereby improving the data processing speed.

[0038] In one embodiment, in Figure 1In the data processing method based on edge computing performed by the edge computing platform shown, the specified priority includes the first priority and the Nth priority, and N is a positive integer greater than 1. Controlling the computing node of the specified priority to process the data captured from the computing nodes of other priorities other than the specified priority, and / or, processing the received data with the highest priority, includes: controlling the computing node of the Nth priority to process the received data with the highest priority; controlling the computing node of the 1st priority to process the data captured from the computing nodes of other priorities other than the specified priority. Among them, the Nth priority is the lowest priority and the 1st priority is the highest priority; or, the 1st priority is the lowest priority and the Nth priority is the highest priority. Specifically, the computing node of the Nth priority can be used as a special computing node to process the subsequent received data with the highest priority. Since the Nth priority is in a cleared state, the subsequent received data with the highest priority can be processed as soon as possible, reducing the waiting time of the data with the highest priority, thereby improving the processing speed of the subsequent received data with the highest priority. The computing node of the 1st priority captures the waiting data from the computing nodes of other priorities other than the specified priority and completes the calculation of the data. Since the first priority grabs data from computing nodes of other priorities for processing, the waiting time of data of other priorities is reduced and the processing speed of data of other priorities is accelerated.

[0039] The following is an example of how a computing node of the first priority level processes data fetched from computing nodes of other priorities other than a specified priority level.

[0040] like Figure 3 The figure shows one way in which the computing node of the first priority captures and processes data, including the following steps:

[0041] Step 301: Use the computing node with the first priority as the first crawling node.

[0042] Step 302: Control all the capture nodes to process the data captured from the computing node with the i-th priority, where the initial value of i is 2;

[0043] Step 303: Determine whether the data volume of the computing node of the i-th priority is less than or equal to the data volume threshold corresponding to the computing node of the i-th priority. Specifically, if it is determined that the data volume of the computing node of the i-th priority is greater than the data volume threshold corresponding to the computing node of the i-th priority, continue to execute step 302; if it is determined that the data volume of the computing node of the i-th priority is less than or equal to the data volume threshold corresponding to the computing node of the i-th priority, execute step 304.

[0044] Step 304: Determine whether i is less than N. If it is determined that i is less than N, execute step 305. If it is determined that i is equal to N, end the process.

[0045] Step 305: Take the computing node with the i-th priority as the i-th crawling node, and set i=i+1. Then return to step 302.

[0046] Specifically, when the computing nodes of the first priority complete the processing of the current data, they grab the data waiting to be processed in the computing nodes of the second priority. Every time the computing nodes of the first priority complete the processing of a data, they grab the data from the computing nodes of the second priority until the data in the computing nodes of the second priority are all completed. The computing nodes of the first priority and the computing nodes of the second priority grab the data waiting to be processed in the computing nodes of the third priority until the data in the computing nodes of the third priority are all completed. The computing nodes of the first priority, the computing nodes of the second priority, and the computing nodes of the third priority grab the data waiting to be processed in the computing nodes of the fourth priority... and so on. Since the computing nodes in the clearing state all act as grabbing nodes to assist in processing the data in the computing nodes of lower priority, the processing speed of the data in the computing nodes of lower priority is improved, thereby improving the overall computing speed.

[0047] like Figure 4 The figure shows one way in which the computing node of the first priority captures and processes data, including the following steps:

[0048] Step 401: Control the computing node of the first priority to process the data captured from the computing node of the i-th priority, where the initial value of i is 2.

[0049] Step 402: Determine whether the data volume of the computing node of the i-th priority is less than or equal to the data volume threshold corresponding to the computing node of the i-th priority. If it is determined that the data volume of the computing node of the i-th priority is less than or equal to the data volume threshold corresponding to the computing node of the i-th priority, execute step 403; if it is determined that the data volume of the computing node of the i-th priority is greater than the data volume threshold corresponding to the computing node of the i-th priority, continue to execute step 401.

[0050] Step 403: Determine whether i is less than N. If it is determined that i is less than N, execute step 404; if it is determined that i is equal to N, end the process.

[0051] Step 404: Set i=i+1. Then return to step 401.

[0052] Specifically, when the computing node of the first priority completes the processing of the current data, it grabs the data waiting to be processed in the computing node of the second priority. Every time the computing node of the first priority completes the processing of a data, it grabs the data from the computing node of the second priority until the data in the computing node of the second priority is completely completed. The computing node of the first priority grabs the data waiting to be processed in the computing node of the third priority until the data in the computing node of the third priority is completely completed... and so on. Since the computing nodes of the first priority assist in processing the data in the computing nodes of lower priority in turn, the processing speed of the data in the computing nodes of lower priority is improved, thereby improving the overall computing speed.

[0053] It should be noted that those skilled in the art can understand that Figure 3 and Figure 4 In the manner in which the computing node of the first priority level captures and processes data, the data volume threshold corresponding to the computing node of the i-th priority level can be set as needed. For example, the data volume threshold can be set to 0, that is, the data in the computing node of the i-th priority level is cleared. This embodiment does not limit the specific value of the data volume threshold corresponding to the i-th priority level.

[0054] It should be noted that those skilled in the art can understand that Figure 3 and Figure 4 In the manner in which the computing nodes of the first priority level capture and process data, the data volume thresholds corresponding to the computing nodes of different priorities may be the same or different, and this embodiment does not impose any limitation.

[0055] It should be noted that those skilled in the art can understand that Figure 3 and Figure 4 In the manner in which the computing node of the first priority level captures and processes data, when i is equal to N, subsequent operations may be set as required, and this embodiment does not impose any limitation.

[0056] In one embodiment, in Figure 1In the edge computing-based data processing method shown and executed by the edge computing platform, the specified priority includes the 1st priority and the Nth priority, N is a positive integer greater than 1, the Nth priority is the lowest priority, and the 1st priority is the highest priority. The data of the computing node of the specified priority is transmitted to the main computing platform, including: transmitting the data of the computing node of the 1st priority to the computing node of the Nth priority, and storing it in a stack manner; transmitting all the data of the computing node of the Nth priority to the main computing platform. Specifically, all the unprocessed data in the computing node of the highest priority is transmitted to the computing node of the lowest priority, and the data of the computing node of the lowest priority is uploaded to the main computing platform in a stack manner after storage is completed, and the main computing platform processes all the data in the computing node of the lowest priority. At this time, the computing node with the lowest priority is in an empty state, and the computing node with the lowest priority can be set as a computing node with a special priority, and the computing node with a special priority processes the subsequent received data with the highest priority. Since the unprocessed data in the highest priority computing node is stored in the lowest priority computing node in a stack manner, when the lowest priority computing node transmits all its own data to the main computing platform, since the data stored in a stack manner follows the last-in-first-out rule, the main computing platform first processes the data in the highest priority computing node (i.e., the data with the highest priority), and then executes the data in the lowest priority computing node (i.e., the data with the lowest priority), so that the data in the highest priority computing node can be processed at the fastest speed.

[0057] In one embodiment, in Figure 1 In the edge computing-based data processing method performed by the edge computing platform shown, after controlling the computing nodes of the specified priority to process the data captured from the computing nodes of other priorities other than the specified priority, and / or, processing the received data with the highest priority, the edge computing platform determines that the data captured from the computing nodes of other priorities other than the specified priority, and / or, after the received data with the highest priority is processed, transmits the processed data to the main computing platform. Specifically, after completing the data processing, each computing node of the edge computing platform transmits the processed data to the main computing platform so that the main computing platform can perform judgment, reprocessing and other operations based on the processed data.

[0058] In one embodiment, in Figure 1In the edge computing-based data processing method shown and executed by the edge computing platform, the specified priority includes the Nth priority, and the Nth priority is the lowest priority. The data processed in the lowest priority is the data with the lowest priority specified by the user. The data with the lowest priority can be the display request data. After processing the display request data, the main computing platform sends the processed data to the device side, so that the device side displays the display page first. When the user reads the display page and does not see the specific data, he usually thinks that the data transmission is not timely due to congestion (for example, the network information is not transmitted in time), thereby avoiding the user's reduced experience satisfaction with the edge computing platform and the main computing platform.

[0059] The above embodiments can be combined with each other and referenced to each other. For example, the following is an example after combining various embodiments, but it is not limited to this; various embodiments can be arbitrarily combined into a new embodiment under the premise of no contradiction.

[0060] In one embodiment, Figure 5 The figure shows a data processing method based on edge computing performed by an edge computing node, which includes the following steps.

[0061] Step 501: Data of a computing node of the first priority is transmitted to a computing node of the Nth priority and stored in a stack manner.

[0062] Step 502: Transmit all data of the computing nodes of the Nth priority level to the main computing platform.

[0063] Step 503: Control the computing node with the Nth priority to process the received data with the highest priority.

[0064] Step 504: Control the computing node of the first priority to process the data captured from the computing nodes of other priorities other than the specified priority. Specifically, N is a positive integer greater than 1; the Nth priority is the lowest priority, and the 1st priority is the highest priority.

[0065] It should be noted that those skilled in the art can understand that, for the sake of clarity, in this embodiment, step 504 is taken as a subsequent step of step 503. In actual applications, step 503 and step 504 can be executed simultaneously. This embodiment does not limit the execution order of the two.

[0066] Optionally, step 504 may refer to Figure 3 or Figure 4 The description of the grabbing or processing method shown will not be repeated here.

[0067] In one embodiment, Figure 6 The figure shows a data processing method based on edge computing performed by an edge computing node, which includes the following steps.

[0068] Step 601: After determining the data processing delay, the data of the computing nodes of the specified priority are transmitted to the main computing platform.

[0069] Specifically, the designated priorities include the 1st priority and the Nth priority, where N is a positive integer greater than 1; wherein the Nth priority is the lowest priority and the 1st priority is the highest priority; or, the 1st priority is the lowest priority and the Nth priority is the highest priority.

[0070] Step 602: Control the computing node with the Nth priority to process the received data with the highest priority.

[0071] Step 603: Control the computing nodes of the first priority level to process the data captured from computing nodes of other priorities other than the designated priority level.

[0072] Step 604: After determining the data captured from computing nodes of other priorities other than the specified priority, and / or the received data with the highest priority is processed, the processed data is transmitted to the main computing platform.

[0073] It should be noted that those skilled in the art can understand that, for the sake of clarity, in this embodiment, step 603 is taken as a subsequent step of step 602. In actual applications, step 602 and step 603 can be executed simultaneously. This embodiment does not limit the execution order of the two.

[0074] Optionally, step 603 may refer to Figure 3 or Figure 4 The description of the grabbing or processing method shown will not be repeated here.

[0075] In one embodiment, Figure 7 The figure shows a data processing method based on edge computing performed by an edge computing node, which includes the following steps.

[0076] Step 701: Data of a computing node of the first priority is transferred to a computing node of the Nth priority and stored in a stack manner.

[0077] Step 702: Transmit all data of the computing nodes of the Nth priority level to the main computing platform.

[0078] Step 703: Control the computing nodes of the first priority and the computing nodes of the Nth priority to process data captured from computing nodes of other priorities other than the designated priority, and / or process the received data with the highest priority.

[0079] Step 704: After determining that data captured from computing nodes of other priorities other than the 1st priority and the Nth priority, and / or the received data with the highest priority has been processed, the processed data is transmitted to the main computing platform.

[0080] In one embodiment, Figure 8 The figure shows a data processing method based on edge computing performed by an edge computing node, which includes the following steps.

[0081] Step 801: Data of a computing node of the first priority is transferred to a computing node of the Nth priority and stored in a stacked manner.

[0082] Step 802: Transmit all data of the computing nodes of the Nth priority level to the main computing platform.

[0083] Step 803: Control the computing node with the Nth priority to process the received data with the highest priority.

[0084] Step 804: Control the computing nodes of the first priority level to process data captured from computing nodes of other priorities other than the designated priority level.

[0085] Step 805: After determining the data captured from computing nodes of other priorities other than the 1st priority and the Nth priority, and / or the received data with the highest priority is processed, the processed data is transmitted to the main computing platform.

[0086] It should be noted that those skilled in the art can understand that, for the sake of clarity, in this embodiment, step 804 is taken as a subsequent step of step 803. In actual applications, step 803 and step 804 can be executed simultaneously. This embodiment does not limit the execution order of the two.

[0087] Optionally, step 804 may refer to Figure 3 or Figure 4 The description of the grabbing or processing method shown will not be repeated here.

[0088] The step division of the above methods is only for the purpose of clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.

[0089] The present application also provides an electronic device, such as Fig. 9As shown, it includes: at least one processor 901; and a memory 902 in communication with the at least one processor 901; wherein the memory stores instructions that can be executed by the at least one processor 901, and the instructions are executed by the at least one processor 901 so that the at least one processor 901 can execute the above method embodiment. The electronic device can be a main computing platform or an edge computing platform.

[0090] Among them, the memory 902 and the processor 901 are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors 901 and the memory 902 together. The bus can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are all well known in the art, and therefore, are not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor 901 is transmitted on a wireless medium through an antenna, and further, the antenna also receives data and transmits the data to the processor 901.

[0091] The processor 901 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management and other control functions. The memory 902 can be used to store data used by the processor 901 when performing operations.

[0092] The present application also provides a data processing system. Fig.10 As shown, it includes: a main computing platform 11 and multiple edge computing platforms 12, and the main computing platform 11 and the multiple edge computing platforms 12 are respectively connected in communication;

[0093] The edge computing platform 12 is used to execute the edge computing-based data processing method performed by the edge computing platform 12 mentioned in the above embodiment;

[0094] The main computing platform 11 is used to execute the edge computing-based data processing method performed by the main computing platform 11 mentioned in the above embodiment.

[0095] The present application also provides a computer-readable storage medium storing a computer program, which implements the above method embodiment when executed by a processor.

[0096] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0097] Those skilled in the art will appreciate that the above-mentioned embodiments are specific examples for implementing the present invention, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present invention.

Claims

1. A data processing method based on edge computing, characterized in that: Applied to an edge computing platform, a plurality of computing nodes are deployed, and the edge computing platform is communicatively connected with a main computing platform, and the method includes: After determining the data processing delay, transmitting the data of the computing nodes of the designated priority to the main computing platform; Controlling the computing node of the specified priority to process data captured from computing nodes of other priorities other than the specified priority, and / or processing the received data with the highest priority; The designated priorities include the first priority and the Nth priority, where N is a positive integer greater than 1; wherein the Nth priority is the lowest priority and the first priority is the highest priority; The controlling the computing node of the specified priority to process data captured from computing nodes of other priorities other than the specified priority, and / or processing the received data with the highest priority, includes: Controlling the computing node with the Nth priority to process the received data with the highest priority; Controlling the computing node of the first priority to process data captured from computing nodes of other priorities other than the designated priority; The step of transmitting the data of the computing nodes of the specified priority to the main computing platform includes: Transmitting the data of the computing node of the first priority to the computing node of the Nth priority and storing them in a stack manner; Transmitting all data of the computing nodes of the Nth priority level to the main computing platform; The controlling the computing node of the first priority to process data captured from computing nodes of other priorities other than the specified priority includes: Using the computing node with the first priority as the first crawling node; Control all the capture nodes to process the data captured from the computing node of the i-th priority; wherein the initial value of i is 2; If it is determined that the data volume of the computing node with the i-th priority is less than or equal to the data volume threshold corresponding to the computing node with the i-th priority, and i is less than N, take the computing node with the i-th priority as the i-th capture node, let i=i+1, and return to execute the step of controlling all the capture nodes to process the data captured from the computing node with the i-th priority until i is equal to N.

2. The data processing method based on edge computing according to claim 1, characterized in that: The controlling the computing node of the first priority to process data captured from computing nodes of other priorities other than the specified priority includes: Control the computing node of the first priority to process the data captured from the computing node of the i-th priority; wherein the initial value of i is 2; If it is determined that the data volume of the computing node of the i-th priority is less than or equal to the data volume threshold corresponding to the computing node of the i-th priority, and i is less than N, set i=i+1, and return to execute the step of controlling the computing node of the first priority to process the data captured from the computing node of the i-th priority until i is equal to N.

3. The data processing method based on edge computing according to any one of claims 1 to 2, characterized in that: After the computing node of the specified priority is controlled to process data captured from computing nodes of other priorities other than the specified priority, and / or the received data with the highest priority is processed, the method further includes: After determining the data captured from computing nodes of other priorities other than the specified priority, and / or after processing the received data with the highest priority, the processed data is transmitted to the main computing platform.

4. A data processing method based on edge computing according to claim 1, characterized in that: Applied to a main computing platform, the main computing platform is communicatively connected with an edge computing platform, the method includes: After receiving data of a computing node of a specified priority sent by the edge computing platform, processing the received data; the data of the computing node of the specified priority includes display request data; Transmitting the processed data to a device end so that the device end displays a display page according to the processed data; Among them, the designated priority includes the 1st priority and the Nth priority, N is a positive integer greater than 1; wherein the Nth priority is the lowest priority and the 1st priority is the highest priority; the main computing platform receives all data of the computing nodes of the Nth priority.

5. An electronic device, characterized in that: include: at least one processor; as well as, A memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor so that the at least one processor can execute: The data processing method based on edge computing as described in any one of claims 1 to 3, wherein the electronic device is an edge computing platform; or, the data processing method based on edge computing as described in claim 4, wherein the electronic device is a main computing platform.

6. A data processing system, characterized in that: include: A main computing platform and multiple edge computing platforms, wherein the main computing platform and the multiple edge computing platforms are respectively communicatively connected; The edge computing platform is used to execute the data processing method based on edge computing as described in any one of claims 1 to 3; The main computing platform is used to execute the edge computing-based data processing method described in claim 4.

7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, it implements the data processing method based on edge computing as described in any one of claims 1 to 3, or the data processing method based on edge computing as described in claim 4.

Citation Information

Patent Citations

  • Network scheduling method and system

    CN105898402A

  • Task scheduling method and device based on edge computing network

    CN111679904A