Edge computing node, edge computing method and edge cloud cooperative system
By using message queue clusters and data lakes to optimize memory management in edge computing nodes, combined with efficient parallel computing technology and zero-dependency deployment, the problems of cloud computing latency and low edge computing efficiency are solved, real-time data processing and storage are achieved, and the cost is reduced latency and cost, enhanced security and reliability.
Patent Information
- Application Number
- CN202410911907.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-10-15
AI Technical Summary
The traditional cloud computing model cannot meet the real-time and low-latency requirements, and edge computing is inefficient when resources are limited, resulting in the inability to effectively handle the data processing needs of the Internet of Things and 5G era.
An edge computing node is designed, including a data collection module, a streaming computing engine, a data output module, and a data storage and transmission module. It optimizes memory management through message queue clusters and data lakes, and adopts efficient parallel computing technology and zero-dependency deployment. Real-time data processing and storage.
It reduces the memory consumption of streaming jobs, improves the computing efficiency of edge devices, meets real-time data processing needs, reduces latency and bandwidth costs, and enhances data security and reliability.
Smart Images

Figure CN118784646A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet of Things technology, and in particular to an edge computing node, an edge computing method and an edge-cloud collaborative system. Background Art
[0002] With the rapid development of technologies such as 5G, Internet of Things, and cloud computing, the traditional cloud computing model can no longer meet the requirements of real-time and low latency, resulting in a variety of problems. For example, since the cloud computing system is completely dependent on the Internet, without an effective Internet connection, enterprises cannot access data or applications hosted in the cloud; it may result in high cloud service fees, where the cloud service fees that users need to pay depend on factors such as the amount of resources used, the service level agreement (SLA), and the technical architecture; in a cloud environment, the execution speed of applications may be affected by factors such as network latency, bandwidth limitations, and quality of service (QoS); cloud computing stores and processes large amounts of data, making it a major target for hacker attacks and data leaks.
[0003] As an emerging computing model, edge computing has received extensive attention and research. It reduces latency and bandwidth costs and improves data processing efficiency by placing computing and data storage at the edge of the network. However, with the increasing demand for data processing capabilities in the Internet of Things and 5G era, edge devices usually have limited computing resources, storage resources, and energy supply, which limits the capabilities and application scope of edge computing. Therefore, how to improve the efficiency of edge computing under resource constraints has become an important research direction for technicians in this field. Summary of the invention
[0004] The technical purpose to be achieved by the embodiments of the present application is to provide an edge computing node, an edge computing method and an edge-cloud collaborative system to solve the problems that current cloud computing cannot meet the requirements of real-time and low latency, and that edge computing is inefficient when resources are limited.
[0005] In order to solve the above technical problems, an embodiment of the present application provides an edge computing node, including:
[0006] A data acquisition module, used for acquiring first data of at least one edge device, and pre-storing the first data in a message queue cluster;
[0007] A stream computing engine, used for consuming the first data in the message queue cluster to obtain target data, wherein the stream computing engine is deployed based on an executable file received in advance, wherein the executable file includes all dependencies of the stream job;
[0008] A data output module, used to output the target data to an offline data lake and a real-time data lake, and output the business data in the target data to a data storage and transmission module;
[0009] The data storage and transmission module is used to store and transmit the business data according to user needs. The storage method includes local storage and cloud storage. The transmission method includes at least one of wired transmission, wireless transmission, streaming encoding, and cloud computing with an optical disk.
[0010] Specifically, in the edge computing node as described above, the streaming computing engine includes:
[0011] A preprocessing module, used for preprocessing the first consumed data to obtain second data, wherein the preprocessing includes at least one of data cleaning, data filtering, data aggregation, data compression and data verification;
[0012] A rule processing module is used to perform rule processing on the second data to obtain the target data.
[0013] Preferably, the edge computing node as described above further includes:
[0014] A dependency management module, used for receiving the executable file issued by the cloud computing center;
[0015] An integrated deployment module is used to deploy the stream computing engine according to the executable file.
[0016] Preferably, the edge computing node as described above further includes:
[0017] Exception handling module, used to monitor data status and processing process;
[0018] The counter-control module is used to execute a counter-control measure corresponding to the abnormality when it is determined that there is an abnormality according to the data state and / or the processing process.
[0019] Specifically, the edge computing node as described above further includes:
[0020] The message queue management module is used to adjust the number of message queues in the message queue cluster according to the amount of the first data received.
[0021] Specifically, the edge computing node as described above also includes: at least one of a service security module, a stream computing management module, a protocol parsing module, a basic data module, an edge collaborative management module, and a data lake management module.
[0022] Another embodiment of the present application further provides an edge computing method of an edge computing node, which is applied to the edge computing node, including:
[0023] Acquire first data of at least one edge device, and pre-store the first data in a message queue cluster;
[0024] The first data in the message queue cluster is consumed to obtain target data, and the stream computing engine is deployed based on the executable file received in advance, wherein the executable file includes all dependencies of the stream job;
[0025] The target data is output to an offline data lake and a real-time data lake, and the business data in the target data is output to a data storage and transmission module, wherein the data storage and transmission module is used to store and transmit the business data according to user needs, the storage method includes local storage and cloud storage, and the transmission method includes at least one of wired transmission, wireless transmission, streaming encoding, and cloud computing with a CD.
[0026] Yet another embodiment of the present application further provides an edge-cloud collaboration system, comprising: an edge device, a cloud computing center, and the edge computing node as described above;
[0027] Wherein, the cloud computing center is connected to at least one edge computing node, and the edge computing node is connected to at least one edge device;
[0028] The edge computing node is used to obtain the first data of at least one of the edge devices, and after pre-storing the first data in the message queue cluster, consume the first data through the streaming computing engine to obtain target data, and output the target data to the offline data lake and the real-time data lake, and output the business data in the target data to the data storage and transmission module, wherein the data storage and transmission module is used to store and transmit the business data according to user needs, the storage method includes local storage and cloud storage, and the transmission method includes at least one of wired transmission, wireless transmission, streaming encoding, and cloud computing with CD.
[0029] Specifically, in the edge-cloud collaborative system as described above, the cloud computing center includes at least one of the following:
[0030] An edge node management module, used to manage the edge nodes, including at least registration function, deregistration function and status query function;
[0031] A task scheduling module, used to schedule jobs based on user requests and the status of the edge computing nodes;
[0032] A monitoring and alarm module, used to obtain the operating data of the edge computing node and perform visual display and / or alarm notification;
[0033] A system configuration module, used to provide configuration management functions for the edge computing node;
[0034] A joint supervision module, used for supervising the task status of at least one computing cloud connected to the cloud computing center;
[0035] The application operation management module is used to build the incubation technology corresponding to the target application and provide application services for the target application.
[0036] Furthermore, in the edge-cloud collaborative system as described above, the system configuration module further includes:
[0037] A custom configuration unit is used to customize rules and / or anti-control strategies based on user input.
[0038] Another embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the edge computing method of the edge computing node as described above are implemented.
[0039] Another embodiment of the present application further provides a computer program product, including computer instructions, which, when executed by a processor, implement the steps of the edge computing method of the edge computing node as described above.
[0040] Compared with the prior art, the edge computing node, edge computing method and edge-cloud collaborative system provided by the embodiments of the present application have at least the following beneficial effects:
[0041] Compared with the traditional streaming computing framework, this application can reduce the memory consumption of streaming jobs to less than 10M by adopting message queue clusters and data lake optimized memory management algorithms, achieving a two-order-of-magnitude reduction so that edge devices with limited computing power can also run streaming jobs. By adopting efficient parallel computing technology, the lightweight streaming computing engine achieves high computing efficiency with limited resources, meeting the needs of edge devices for real-time data processing. By compiling all dependencies of the streaming job into a statically compiled executable file, zero dependency on the operating environment is achieved. This deployment method eliminates the installation and deployment of dependencies such as JVM, master, and worker, greatly simplifying the job deployment process. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 One of the network architecture diagrams of the edge computing node of this application;
[0043] Figure 2 This is the second network architecture diagram of the edge computing node of this application;
[0044] Figure 3A schematic diagram of the flow of the edge computing method applied to the edge computing node of the present application;
[0045] Figure 4 This is a schematic diagram of the architecture of the edge system cloud system of this application.
[0046] [Description of Reference Numerals]
[0047] 1. Edge computing node; 101. Data acquisition module; 102. Message queue cluster; 103. Stream computing engine; 104. Data output module; 105. Offline data lake; 106. Real-time data lake; 107. Data storage and transmission module; 108. Dependency management module; 109. Integrated deployment module; 1010. Exception handling module; 1011. Counter-control module; 1012. Message queue management module; 1013. Service security module; 1014. Stream computing management module; 1015. Protocol parsing module; 1016. Basic data module; 1017. Data lake management module; 1018. Edge collaborative management module; 10181. Multi-task collaborative management unit; 10182. Multi-computing coordination unit; 10183. Cloud edge platform service management unit; 10184. Exception handling unit; 10185. Data flow collaborative management unit; 10186. Multi-data source coordination management unit; 2. Edge device; 3. Cloud computing center. DETAILED DESCRIPTION
[0048] In order to make the technical problems, technical solutions and advantages to be solved by the application clearer, the following will be described in detail in conjunction with the accompanying drawings and specific embodiments. In the following description, specific details such as specific configurations and components are provided only to help fully understand the embodiments of the application. Therefore, it should be clear to those skilled in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the application. In addition, for clarity and brevity, the description of known functions and structures has been omitted.
[0049] It should be understood that the references to "one embodiment" or "an embodiment" throughout the specification mean that the specific features, structures, or characteristics associated with the embodiment are included in at least one embodiment of the present application. Therefore, the references to "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0050] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the following processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0051] It should be understood that the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0052] In the embodiments provided in the present application, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.
[0053] See also Figure 1 An embodiment of the present application provides an edge computing node 1, comprising:
[0054] The data acquisition module 101 is used to obtain first data of at least one edge device 2 and pre-store the first data in the message queue cluster 102;
[0055] A stream computing engine 103, used for consuming the first data in the message queue cluster to obtain target data, wherein the stream computing engine is deployed based on an executable file received in advance, wherein the executable file includes all dependencies of the stream job;
[0056] A data output module 104 is used to output the target data to an offline data lake 105 and a real-time data lake 106, and output the business data in the target data to a data storage and transmission module 107;
[0057] The data storage and transmission module 107 is used to store and transmit the business data according to user needs. The storage method includes local storage and cloud storage, and the transmission method includes at least one of wired transmission, wireless transmission, streaming encoding, and cloud computing with CD-ROM.
[0058] The edge computing node 1 provided in this embodiment includes a data acquisition module 101, a streaming computing engine 103 and a data output module 104, wherein the data acquisition module 101 is connected to at least one edge device 2, and is used to collect the first data of the edge device 2, and pre-store the first data to the message queue cluster 102, wherein the edge device 2 described here is a general term for devices or data sources located on the edge side and connected to the edge computing node, which includes but is not limited to various types of programmable logic controllers (PLC), robots, energy detection equipment (such as energy meters), sensors, smart terminals, cameras, conveying equipment, other edge computing devices, etc. on the automated production line. Specifically, the data acquisition module 101 can support multiple protocols and interfaces, so that it can be compatible with different devices or data sources.
[0059] The collected massive data will first enter the message queue cluster 102 for pre-storage, and then the stream computing engine 103 will consume the first data in the message queue cluster 102, which can facilitate data diversion. Through the calculation of the stream computing engine 103, the real-time processing of the data is realized to obtain the processed target data. Among them, the stream computing engine 103 will deploy all dependencies related to the stream job based on the pre-received executable file, such as: computing engine, library file, configuration file, etc., so that the computing process can be separated from the cloud computing center 3 for autonomous computing, realize zero-dependency deployment, simplify the job deployment process, and avoid frequent interaction with the cloud computing center 3 during the computing process. Computing dependencies affect computing efficiency. Among them, the stream computing engine 103 can realize efficient and real-time stream computing under limited resources by optimizing the memory management algorithm and adopting efficient parallel computing technology, and calculate, clean, count, verify, and store massive data in a distributed, diverted, and parallel computing engine technology.
[0060] The calculated target data will be output to the offline data lake 105 and the real-time data lake 106 through the data output module 104. Various components such as kafka (a high-throughput distributed publish-subscribe messaging system), Hbase (a distributed, column-oriented open source database), and remote dictionary server (RemoteDictionary Server, Redis) can be built in the real-time data lake 106, and real-time stream computing and processing of massive data can be completed according to various rules and business processing of the stream engine. In the offline data lake 105, the data operation layer (Operational Data Store, ODS), data service layer (Data WareHouse Servce, DWS), data detail layer (Data WareHouse Detail, DWD) and data application layer can be quickly built through a layered design method to provide customers with user needs such as statistical analysis of offline data and historical data.
[0061] In addition, the data output module can also output the business data in the target data to the data storage and transmission module 107, wherein the data storage and transmission module 107 is used to store and transmit the business data according to user needs, and the storage method includes local storage and cloud storage, and the transmission method includes at least one of wired transmission, wireless transmission, streaming encoding, and cloud computing with a CD.
[0062] In summary, compared with the traditional streaming computing framework, this application can reduce the memory consumption of streaming jobs to less than 10M by adopting message queue clusters and data lake optimized memory management algorithms, achieving a two-order-of-magnitude reduction, so that edge devices with limited computing power can also run streaming jobs. By adopting efficient parallel computing technology, the lightweight streaming computing engine achieves high computing efficiency under limited resources, meeting the needs of edge devices for real-time data processing. By compiling all dependencies of the streaming job into a statically compiled executable file, zero dependence on the operating environment is achieved. This deployment method eliminates the installation and deployment of dependencies such as JVM, master, and worker, greatly simplifying the job deployment process.
[0063] It should be noted that after massive edge devices 2 are connected through the factory's industrial ring network, the device data enters the edge computing node 1 closest to the factory through the ring network and core switch, or the edge computing node 1 is deployed in the factory's internal computer room. At the same time, the stream engine service and related platforms are deployed on the edge computing node 1. In this way, massive data can be efficiently processed through the streaming computing engine, which has the following advantages:
[0064] 1. Reduced latency: Since edge computing nodes 1 are deployed close to users, the time it takes to transmit data to and from the remote cloud can be greatly reduced, thereby significantly reducing latency in data processing. This is critical for real-time business and high-performance applications, such as being able to respond almost immediately to a given crisis in industrial applications.
[0065] 2. Improve response speed: Since the edge computing node 1 is closer to the user device, it can respond to the user's request faster. Storing key data and services on the edge server can reduce transmission delays and increase data acquisition speed, thereby providing a better user experience.
[0066] 3. Reduce bandwidth requirements and costs: Using edge computing nodes1 can reduce the need to exchange data with external networks, thereby reducing the requirements for network bandwidth and, in turn, reducing costs. For example, in image classification tasks, using edge computing nodes can avoid sending the entire image for online processing and only transmit data in the local network, thus greatly saving bandwidth costs.
[0067] 4. Improved data security: Reducing the transmission of data to external locations means fewer open connections and fewer opportunities for cyber attacks. This helps protect the secure operation of local devices and avoids potential data interception or leakage. In addition, since data is no longer stored or processed in a centralized cloud, the consequences of a single violation can be greatly mitigated. At the same time, the edge computing node 1 acts as a firewall between the terminal device and the cloud server, providing an additional layer of security to encrypt and verify data, further protecting the user's privacy and data security.
[0068] 5. Improve reliability: Due to the distributed nature of edge computing, even if a centralized cloud computer or cluster fails, the edge computing node is still able to maintain functionality in the local network because the computing process is now independent of the cloud. This is especially important for critical IoT applications in healthcare or critical control systems.
[0069] 6. Support offline work: Edge computing nodes can store and process part of the data through the data lake, so that the terminal device can still work normally without network connection. When the terminal device is connected to the network again, the edge computing node will automatically synchronize the data to ensure data consistency.
[0070] To facilitate understanding by those skilled in the art, the specific application of the data storage and transmission module 107 is exemplified below:
[0071] Real-time data is stored locally on edge devices to enable real-time computing and low-latency responses. This approach is suitable for data processing scenarios that require fast responses.
[0072] Long-term data is uploaded to the cloud (cloud computing center) for storage and analysis. Cloud storage provides features such as high reliability and data redundancy to protect data from being lost due to hardware failure.
[0073] Wired transmission, that is, using physical connection methods such as network cables, power lines or High Definition Multimedia Interface (HDMI), has the advantages of high speed and stability. It is suitable for scenarios that require large amounts of data transmission, such as high-definition video surveillance or multimedia entertainment equipment.
[0074] Wireless transmission is the main way of data transmission for smart home devices, including different wireless communication protocols such as Wi-Fi, Bluetooth, Zigbee, and Z-Wave. Among them, Wi-Fi has a longer communication distance and a higher transmission rate, which is suitable for scenarios where multiple devices are connected to the Internet at the same time. Bluetooth has a shorter communication distance but lower energy consumption, which is suitable for connecting personal devices and transmitting smaller data.
[0075] Streaming encoding is mainly used in large-scale virtual scene transmission. According to the viewing distance of the scene object, the rough model of the object is downloaded first, and then as the viewing distance decreases, the incremental grid is gradually downloaded to make the model gradually refined. In this way, the amount of data transmitted over the network can be effectively reduced.
[0076] Cloud computing comes with a disc as a data storage and transmission method, which stores data and applications on a disc and transmits them over the network. It has the advantages of fast data transmission speed, high data security and convenience.
[0077] The data storage and transmission implementation methods in this data storage and transmission module include the combination of local storage and cloud storage, wired and wireless transmission methods, streaming encoding technology, and cloud computing attached CDs, etc. These technologies work together to achieve efficient, safe, and reliable data storage and transmission.
[0078] It should also be noted that when data is stored and transmitted in the data storage and transmission module, the data will also be de-redundant and compressed. De-redundancy can be achieved through data de-duplication, differential storage, etc., effectively reducing the storage space occupied. Compression can be achieved through lossless compression and lossy compression, etc., reducing storage capacity while maintaining data availability.
[0079] Specifically, in the edge computing node as described above, the streaming computing engine includes:
[0080] A preprocessing module, used for preprocessing the first consumed data to obtain second data, wherein the preprocessing includes at least one of data cleaning, data filtering, data aggregation, data compression and data verification;
[0081] A rule processing module is used to perform rule processing on the second data to obtain the target data.
[0082] In this implementation, the specific structure and specific calculation method of the streaming computing engine are exemplified, wherein the first consumed data can be preprocessed through a preprocessing module to obtain second data, wherein the preprocessing methods include but are not limited to cleaning, filtering and aggregation, and the preprocessing module can customize cleaning rules, filtering conditions and aggregation strategies according to business needs to reduce data transmission bandwidth costs.
[0083] The preprocessed data can be processed by the rule processing module, that is, real-time calculation is performed according to the preset calculation logic to obtain the target data. Specifically, it manages the preprocessed data stream to ensure the orderliness and consistency of the data stream, which includes the reception, buffering, scheduling and distribution of the data stream; manages and executes some real-time computing tasks, and processes and analyzes the input data stream in real time, involving various computing logics and algorithms to extract useful information or generate results. Since the streaming computing engine adopts efficient memory management algorithms and parallel computing technologies, it ensures high computing efficiency under limited resources. The calculated target data can be directly output to the data storage and transmission module. Furthermore, after obtaining the target data, the target data can be further processed by message queues and other methods.
[0084] See also Figure 1 Preferably, the edge computing node as described above further includes:
[0085] A dependency management module 108, configured to receive the executable file issued by the cloud computing center 3;
[0086] The integrated deployment module 109 is used to deploy the stream computing engine according to the executable file.
[0087] In this embodiment, the deployment method of the streaming computing engine is described in detail, wherein the dependency management module 108 in the edge computing node receives an executable file for the streaming job issued by the cloud computing center 3, and the executable file includes all dependencies related to the streaming job, such as: computing engine, library files, configuration files, etc.;
[0088] Furthermore, the integrated deployment module 109 deploys the stream computing engine according to the received executable file, so that the computing process of the stream computing engine can be independent of the cloud computing center and realize zero dependence on the operating environment. This deployment method eliminates the installation and deployment of dependencies such as JVM, master, and worker, greatly simplifying the job deployment process. It avoids frequent interaction with the cloud computing center during the computing process, which affects the computing efficiency.
[0089] See also Figure 1 and Figure 2 Preferably, the edge computing node as described above further includes:
[0090] The exception handling module 1010 is used to monitor the data status and processing process;
[0091] The counter-control module 1011 is used to execute a counter-control measure corresponding to the abnormality when it is determined that there is an abnormality according to the data state and / or the processing process.
[0092] In this embodiment, the edge computing node 1 further includes an exception handling module 1010 and a counter-control module 1011, wherein the exception handling module 1010 monitors the data status and processing process in real time, and once an exception (such as data anomaly, calculation error, etc.) is found, the exception handling module 1010 triggers the counter-control module 1011, and the counter-control module 1011 executes corresponding counter-control measures, such as suspending operations, restarting services, or sending alarm information, etc. It can improve the security and stability of the system and reduce the risk of data leakage and attacks.
[0093] It should be noted that the anti-control strategies and rules can be customized in the cloud center management module, and can be flexibly configured according to the needs of different application scenarios to improve the flexibility and scalability of the system. Specifically, the edge computing node as described above also includes:
[0094] See also Figure 1 , a message queue management module 1012 is used to adjust the number of message queues in the message queue cluster according to the amount of the first data received.
[0095] In this embodiment, when massive data from the edge device 2 is stored in the message queue cluster 102, the number of message queues in the message queue cluster 102 will be adjusted according to the data volume of the received first data. For example, when the product of the current number of message queues and the first preset capacity is less than the data volume of the first data, at least one message queue is added; when the product of the current number of message queues and the second preset capacity is greater than the data volume of the first data, at least one message queue is reduced, wherein the first preset capacity is the data processing upper limit of the message queue, and the second preset capacity is the data processing lower limit of the message queue. It should be noted that the message queue cluster includes at least one message queue.
[0096] See also Figure 1 and Figure 2 Specifically, the edge computing node as described above also includes: at least one of a service security module 1013, a stream computing management module 1014, a protocol parsing module 1015, a basic data module 1016, a data lake management module 1017 and an edge collaborative management module 1018.
[0097] In this embodiment, other modules in the edge computing node 1 are exemplified, including but not limited to at least one of the following:
[0098] The service security module 1013 is used to ensure the data security, information security and platform security related to the microservices in the platform, and to prevent the leakage of core data and theft by third-party users.
[0099] The stream computing management module 1014 establishes an interactive channel with the data in the stream computing engine, connects the underlying device data with the underlying services of the stream engine service, and can also achieve partial diversion and part of the data processing work.
[0100] The protocol parsing module 1015 is used to integrate hundreds of common industrial protocol libraries. Through this protocol parsing module, various industrial equipment PLCs, sensors, robots, instruments, etc. can be connected and connected, realizing the underlying protocol support for data collection.
[0101] Basic data module 1016, the relevant basic data required for initialization in the system, system menu, user permissions, data dictionary, etc., to ensure that after the system is deployed, it can be successfully entered and the necessary conditions for running services.
[0102] The data lake management module 1017 supports access to and management of various data lake storage locations, such as object storage BOS, Hadoop Distributed File System (HDFS), etc., provides data lake storage management functions to ensure data security and reliability; provides data integration functions, supports distributed integration of multi-source heterogeneous data, including offline data synchronization and real-time stream collection, is equipped with data processing components, such as mapping, filtering, formatting, etc., and supports custom code processing.
[0103] The edge collaborative management module 1018 specifically includes a multi-task collaborative management unit 10181, a multi-computing coordination unit 10182, a cloud-edge platform service management unit 10183, an exception handling unit 10184, a data flow collaborative management unit 10185 and a multi-data source coordination management unit 10186 to achieve collaborative management between edge and cloud.
[0104] See also Figure 3 Another embodiment of the present application further provides an edge computing method of an edge computing node, which is applied to the edge computing node, including:
[0105] Step S301, obtaining first data of at least one edge device, and pre-storing the first data in a message queue cluster;
[0106] Step S302: consuming the first data in the message queue cluster through a streaming computing engine to obtain target data, wherein the streaming computing engine is deployed based on an executable file received in advance, and the executable file includes all dependencies of the streaming job;
[0107] Step S303: output the target data to the offline data lake and the real-time data lake, and output the business data in the target data to the data storage and transmission module, wherein the data storage and transmission module is used to store and transmit the business data according to user needs, the storage method includes local storage and cloud storage, and the transmission method includes at least one of wired transmission, wireless transmission, streaming encoding, and cloud computing with CD-ROM.
[0108] Specifically, in the method described above, consuming the first data in the message queue cluster by the stream computing engine to obtain the target data includes:
[0109] Preprocessing the first consumed data to obtain second data, wherein the preprocessing includes at least one of data cleaning, data filtering, data aggregation, data compression, and data verification;
[0110] The second data is processed according to rules to obtain the target data.
[0111] Preferably, the method as described above further comprises:
[0112] Receiving the executable file issued by the cloud computing center;
[0113] The stream computing engine is deployed according to the executable file.
[0114] Preferably, the method as described above further comprises:
[0115] Monitor data status and processing;
[0116] When it is determined that an abnormality exists according to the data state and / or the processing procedure, a counter-control measure corresponding to the abnormality is executed.
[0117] Specifically, the method as described above further includes:
[0118] The number of message queues in the message queue cluster is adjusted according to the amount of the first data received.
[0119] The edge computing method embodiment of the present application is a method corresponding to the above-mentioned edge computing node embodiment. All implementation means in the above-mentioned edge computing node embodiment are applicable to the embodiment of the method and can achieve the same technical effect. Therefore, the parts and beneficial effects of this embodiment that are the same as those of the edge computing node embodiment will not be described in detail here.
[0120] See also Figure 4 , Yet another embodiment of the present application further provides an edge-cloud collaborative system, comprising: an edge device 2, a cloud computing center 3, and the edge computing node 1 as described above;
[0121] The cloud computing center 3 is connected to at least one edge computing node 1, and the edge computing node 1 is connected to at least one edge device 2;
[0122] The edge computing node 1 is used to obtain the first data of at least one of the edge devices 2, and after pre-storing the first data in the message queue cluster, consume the first data through the streaming computing engine to obtain target data, and output the target data to the offline data lake and the real-time data lake, and output the business data in the target data to the data storage and transmission module, wherein the data storage and transmission module is used to store and transmit the business data according to user needs, the storage method includes local storage and cloud storage, and the transmission method includes at least one of wired transmission, wireless transmission, streaming encoding, and cloud computing attached CD.
[0123] The edge-cloud collaborative system provided in this embodiment includes edge devices 2, cloud computing center 3, and edge computing nodes as described above, wherein edge devices 2 are a general term for devices or data sources located on the edge side and connected to edge computing nodes, including but not limited to various types of programmable logic controllers (PLCs), robots, energy detection equipment (such as energy meters), sensors, smart terminals, cameras, conveying equipment, other edge computing devices, etc. on automated production lines. Specifically, the data acquisition module of edge computing node 1 can support multiple protocols and interfaces, so that it can be compatible with different devices or data sources.
[0124] The cloud computing center 3 is responsible for managing the pre-processed data streams entering the system through the streaming computing engine in the edge computing node 1, ensuring the orderliness and consistency of the data streams, including the reception, buffering, scheduling and distribution of data streams, etc.; managing and executing some real-time computing tasks, real-time processing and analysis of the input data streams, involving various computing logics and algorithms to extract useful information or produce results, and is also responsible for scheduling and managing computing resources, such as CPU, memory and storage. It dynamically allocates and releases resources according to the needs of computing tasks and the resource status of the system to ensure the efficient execution of computing tasks. In distributed systems, node failures are common. The central layer needs to have fault tolerance and recovery capabilities, and can automatically detect, isolate and restore faulty nodes when the edge computing node 1 fails to ensure the stability and availability of the system. It is also responsible for monitoring the operating status and performance of the system, and recording logs for subsequent analysis and troubleshooting. This helps to discover and solve problems in a timely manner, improve the reliability and maintainability of the system, and on the other hand, the platform also has the ability to operate applications and supervise each platform to ensure the continuous and stable operation and operation of the platform. Among them, in this embodiment, the management of data and some real-time computing tasks are also sunk to the edge computing node 1.
[0125] By sinking data management and some real-time computing tasks to edge computing nodes 1, and optimizing memory management algorithms and adopting efficient parallel computing technology based on edge computing nodes 1, efficient and real-time streaming computing can be achieved under limited resources. All dependencies of streaming jobs are compiled into a statically compiled executable file, achieving zero dependence on the operating environment. All edge computing nodes 1 are uniformly managed, scheduled and monitored through the cloud computing center 3, improving the stability and reliability of the system.
[0126] Specifically, in the edge-cloud collaborative system as described above, the cloud computing center 3 includes at least one of the following:
[0127] The edge node management module 301 is used to manage the edge nodes, including at least registration function, deregistration function and status query function;
[0128] A task scheduling module 302, configured to schedule jobs based on user requests and the status of the edge computing nodes;
[0129] A monitoring and alarm module 303 is used to obtain the operating data of the edge computing node and perform visual display and / or alarm notification, wherein the operating data includes but is not limited to CPU usage, memory usage, network bandwidth, etc.;
[0130] The system configuration module 304 is used to provide configuration management functions for the edge computing node, including parameter configuration, version upgrade, etc.;
[0131] A joint supervision module 305 is used to supervise the task status of at least one computing cloud connected to the cloud computing center, wherein the task status includes but is not limited to task completion status, node operation status and fault status, etc.;
[0132] The application operation management module 306 is used to build incubation technology corresponding to the target application and provide application services for the target application. For example, by combining the object model, real-time equipment data, historical data, algorithms, big data and other innovative technologies in the platform, the value of data can be more deeply explored, providing customers with the ability to provide data services.
[0133] Furthermore, in the edge-cloud collaborative system as described above, the system configuration module 304 further includes:
[0134] The custom configuration unit 3041 is used to customize rules and / or anti-control strategies according to user input.
[0135] In this embodiment, the system configuration module 304 also includes a custom configuration unit 3041. Based on the custom configuration unit 3041, custom rules and / or counter-control strategies can be configured based on user input, so that when the system configuration module is configured or updated, the edge computing center is configured accordingly to ensure the personalized configuration of the edge computing center.
[0136] Another embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the edge computing method of the edge computing node as described above are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0137] Another embodiment of the present application further provides a computer program product, including computer instructions, which, when executed by a processor, implement the steps of the edge computing method of the edge computing node as described above, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0138] In addition, the present application may repeat reference numerals and / or letters in different examples. This repetition is for the purpose of simplicity and clarity, and does not in itself indicate the relationship between the various embodiments and / or settings discussed.
[0139] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusions.
[0140] The above is a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles described in the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. An edge computing node, It is characterized in that include: A data acquisition module, used for acquiring first data of at least one edge device, and pre-storing the first data in a message queue cluster; A stream computing engine, used for consuming the first data in the message queue cluster to obtain target data, wherein the stream computing engine is deployed based on an executable file received in advance, wherein the executable file includes all dependencies of the stream job; A data output module, used to output the target data to an offline data lake and a real-time data lake, and output the business data in the target data to a data storage and transmission module; The data storage and transmission module is used to store and transmit the business data according to user needs. The storage method includes local storage and cloud storage. The transmission method includes at least one of wired transmission, wireless transmission, streaming encoding, and cloud computing with an optical disk.
2. The edge computing node according to claim 1, It is characterized in that The stream computing engine includes: A preprocessing module, used for preprocessing the first consumed data to obtain second data, wherein the preprocessing includes at least one of data cleaning, data filtering, data aggregation, data compression and data verification; A rule processing module is used to perform rule processing on the second data to obtain the target data.
3. The edge computing node according to claim 1, It is characterized in that Also includes: A dependency management module, used for receiving the executable file issued by the cloud computing center; An integrated deployment module is used to deploy the stream computing engine according to the executable file.
4. The edge computing node according to claim 1, It is characterized in that Also includes: Exception handling module, used to monitor data status and processing process; The counter-control module is used to execute a counter-control measure corresponding to the abnormality when it is determined that there is an abnormality according to the data state and / or the processing process.
5. The edge computing node according to claim 1, It is characterized in that Also includes: The message queue management module is used to adjust the number of message queues in the message queue cluster according to the amount of the first data received.
6. The edge computing node according to claim 1, It is characterized in that Also includes: At least one of the following: service security module, stream computing management module, protocol parsing module, basic data module, edge collaboration management module, and data lake management module.
7. An edge computing method for an edge computing node, It is characterized in that Applied to edge computing nodes, including: Acquire first data of at least one edge device, and pre-store the first data in a message queue cluster; The first data in the message queue cluster is consumed to obtain target data, and the stream computing engine is deployed based on the executable file received in advance, wherein the executable file includes all dependencies of the stream job; The target data is output to an offline data lake and a real-time data lake, and the business data in the target data is output to a data storage and transmission module, wherein the data storage and transmission module is used to store and transmit the business data according to user needs, the storage method includes local storage and cloud storage, and the transmission method includes at least one of wired transmission, wireless transmission, streaming encoding, and cloud computing with a CD.
8. An edge-cloud collaborative system, It is characterized in that include: An edge device, a cloud computing center, and an edge computing node as claimed in any one of claims 1 to 6; Wherein, the cloud computing center is connected to at least one edge computing node, and the edge computing node is connected to at least one edge device; The edge computing node is used to obtain the first data of at least one of the edge devices, and after pre-storing the first data in the message queue cluster, consume the first data through the streaming computing engine to obtain target data, and output the target data to the offline data lake and the real-time data lake, and output the business data in the target data to the data storage and transmission module, wherein the data storage and transmission module is used to store and transmit the business data according to user needs, the storage method includes local storage and cloud storage, and the transmission method includes at least one of wired transmission, wireless transmission, streaming encoding, and cloud computing with CD.
9. The edge-cloud collaborative system according to claim 8, It is characterized in that The cloud computing center includes at least one of the following: An edge node management module, used to manage the edge nodes, including at least registration function, deregistration function and status query function; A task scheduling module, used to schedule jobs based on user requests and the status of the edge computing nodes; A monitoring and alarm module, used to obtain the operating data of the edge computing node and perform visual display and / or alarm notification; A system configuration module, used to provide configuration management functions for the edge computing node; A joint supervision module, used for supervising the task status of at least one computing cloud connected to the cloud computing center; The application operation management module is used to build the incubation technology corresponding to the target application and provide application services for the target application.
10. The edge-cloud collaborative system according to claim 9, It is characterized in that The system configuration module also includes: A custom configuration unit is used to customize rules and / or anti-control strategies based on user input.
11. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the edge computing method of the edge computing node as claimed in claim 7 are implemented.
12. A computer program product, It is characterized in that It includes computer instructions, which, when executed by a processor, implement the steps of the edge computing method of the edge computing node as described in claim 7.
Citation Information
Cited By
Video stream data processing system and method
CN119166364A
