Multi-platform data synchronization method based on cloud edge collaboration
Through a multi-platform data synchronization method based on cloud-edge collaboration, data synchronization and sharing between cloud and edge-edge platforms are realized, which solves the problem of inefficient data management and sharing in the existing technology, and improves data consistency and interoperability.
Patent Information
- Application Number
- CN202411564170.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-05
- Publication Date
- 2025-03-28
AI Technical Summary
The existing technology is difficult to realize data synchronization and sharing between cloud and edge platforms, resulting in inefficient data management and sharing, and prone to data confusion and errors.
The multi-platform data synchronization method based on cloud-edge collaboration is adopted, and data consistency and sharing between cloud and edge platforms are achieved through real-time synchronization of functional module configuration data and business data, equipment monitoring and status maintenance, equipment timing data synchronization, alarm data and work ticket data collaborative management, and multi-platform configuration and data same management.
It improves the efficiency of data management and sharing, solves the problem of edge data silos, reduces manual intervention and errors, improves work efficiency and the accuracy of business data, and enhances platform data interoperability.
Smart Images

Figure CN119728712A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of multi-platform data synchronization, and in particular to a method for multi-platform data synchronization based on cloud-edge collaboration. Background Art
[0002] With the rapid development of cloud service technology, the scale of the global cloud service market has developed rapidly. my country's cloud service market has grown from the initial billions to the current scale of hundreds of billions. Governments around the world have attached importance to cloud service technology. my country's cloud service policy environment has become increasingly perfect, cloud service technology has continued to mature, and cloud service applications have accelerated from the Internet industry to traditional industries such as government affairs, industry, and medical care. In the future, cloud services will continue to usher in the next growth rate and enter a period of inclusive development. With the rapid development of technologies such as 5G and the Internet of Things and the promotion of cloud services, edge services have also attracted much attention from the industry, but only cloud services and edge services can meet the needs of various scenarios through close collaboration, thereby maximizing the application value of cloud-edge collaboration. In the future, with the continuous implementation of new infrastructure, building an end-to-end cloud-edge collaborative architecture will be an important way to achieve high-speed interconnection of global data, application integration, scheduling and distribution, and full coverage of computing power.
[0003] In industrial Internet applications, there are often scenarios of data fusion. The cloud platform is responsible for data analysis and decision-making, and the edge platform is responsible for production control. The primary issue in achieving data interoperability is how to achieve data synchronization and sharing technology between cloud-edge platforms. At present, in traditional systems, the system is deployed in the edge factory area, and the edge system can only summarize and display its own data. When the company needs all the data for decision-making, it needs to manually collect the data from each edge and then summarize it. This is time-consuming and labor-intensive, and data confusion errors are prone to occur during manual summarization. In order to achieve data interoperability between the cloud and the edge and improve the application efficiency of data use, it becomes very valuable to explore a multi-platform data synchronization method based on cloud-edge collaboration. In general, the multi-platform data synchronization technology of cloud-edge collaboration provides users with a more convenient and efficient way to manage and share data, and will play an increasingly important role in future development. Therefore, we propose a multi-platform data synchronization method based on cloud-edge collaboration. Summary of the invention
[0004] The present application provides a method for multi-platform data synchronization based on cloud-edge collaboration to solve the above-mentioned problems.
[0005] The present application provides a multi-platform data synchronization method based on cloud-edge collaboration, including:
[0006] S1. Synchronization of function module configuration data and business data;
[0007] The function module configuration data and business data are generated on the edge platform, and the function module configuration data and business data of multiple edge platforms are connected to the cloud platform in a real-time synchronization manner;
[0008] S2, equipment monitoring and status maintenance;
[0009] Monitor the status of devices connected to the edge platform in real time, maintain device information in real time, and synchronize it to the edge platform and cloud platform to keep the status consistent;
[0010] S3, equipment timing data synchronization;
[0011] Synchronize the device timing data collected by the multiple edge platforms to the cloud platform through edge reporting and dumping by the edge platforms;
[0012] S4. Collaborative management of alarm data and work order data;
[0013] Collaboratively manage the alarm data and work order data of the edge platform and the cloud platform. The data and status managed by the edge platform can be reported to the cloud platform, and the data and status operated by the cloud platform can be sent to the corresponding edge platform.
[0014] S5, multi-platform configuration and unified data management;
[0015] The multiple cloud platforms manage the configuration information of all the edge platforms, and the business data and device data of the edge platforms are centrally managed on the cloud platforms.
[0016] Preferably, the collaborative management of the alarm data and work order data not only synchronously stores the time series variable data on the edge platform and the cloud platform, but also supports two-way management of business functions and status information on the edge platform and the cloud platform, thereby achieving data consistency in the three aspects of time series data, business data, and status data on the edge platform and the cloud platform.
[0017] Preferably, the functional module configuration and business data include the following functional categories: grouping and classification management of equipment types, basic information management of equipment types, management of equipment type physical model locations and attributes, equipment management, grouping and classification management of knowledge bases, basic information management of knowledge bases and file system management.
[0018] Preferably, the real-time synchronization method of accessing the cloud platform means that when maintaining the edge platform data, the HTTP protocol is used to call the synchronization maintenance interface, and the data is maintained to the cloud platform at the same time, and the synchronization interface sets authentication verification to identify the edge organization and verify the legitimacy of the call.
[0019] Preferably, the real-time monitoring of the device status of the access edge and the real-time maintenance of the device information are synchronized to the edge platform and the cloud platform to keep the status consistent, and also includes:
[0020] Real-time monitoring of the device status at the edge and real-time maintenance of device information means that during the data acquisition process, when the physical device establishes a connection with the MQTT server of the edge platform, each device connection will use its own unique identifier to establish a connection, and then the MQTT server triggers the creation of a connection or disconnection event to generate status data;
[0021] The consistency of the status of the cloud platform and the edge platform means that after receiving the status data, the edge platform promptly maintains the device status and stores it persistently. At the same time, it reports the status data to the cloud platform to maintain the corresponding device status and stores it persistently, ensuring that the status data of the cloud platform and the edge platform are consistent.
[0022] Preferably, the step of synchronizing the device timing data collected by the plurality of edge platforms to the cloud platform by way of edge reporting and dumping by the edge platforms further includes:
[0023] The device time series data collected by the edge platform refers to the method that can decode and escape a variety of different application layer protocols when the physical layer device communication is successfully established, and bind a unified standard timestamp according to the time node when the data is generated to form a serialized variable. The collected device data is reported to the edge platform and converted into the time series data of the device's statistical indicators, and the same indicator is recorded and stored as a data column in chronological order;
[0024] Synchronizing to the cloud platform through edge reporting and dumping means that for the collected device time series data, in addition to persistent storage on the edge platform, it must also be reported to the cloud platform's message middleware in the form of messages. The cloud platform processes the cloud platform's message middleware for unified management and persistent dumping.
[0025] Preferably, the collaborative management of the alarm data and work order data of the edge platform and the cloud platform, the data and status managed by the edge platform can be reported to the cloud platform, and the data and status operated by the cloud platform can be sent to the corresponding edge platform, further comprising:
[0026] Collaboratively manage the alarm data and work order data of the edge platform and the cloud platform. The data and status managed by the edge platform can be reported to the cloud platform. Users can set alarm triggers on the edge to generate alarm data and maintain work order workflows. At the same time, the alarm data, work order data and status will be synchronized to the cloud platform.
[0027] The data and status of cloud platform operations can be sent to the corresponding edge platform, which means that the cloud platform can initiate a work order process, submit the work order form process information and send the work order data to the corresponding edge platform to achieve reverse control.
[0028] Preferably, the plurality of cloud platforms manage configuration information of all edge platforms, and the business data and device data of the edge platforms are centrally managed on the cloud platforms, further comprising:
[0029] The cloud platform registers the organization information of the edge platform and generates a unique identifier for the edge platform organization. The edge platform sets the unique identifier for the organization and configures the cloud platform connection information.
[0030] The cloud platform centrally manages the business data, status data, and time series data synchronized by all edge platforms, and performs overall classification aggregation statistics and chart presentations.
[0031] Preferably, the multi-platform data synchronization processing steps are as follows:
[0032] Step 1: Configure the MQTT server, client connection or disconnection events, and generate event data;
[0033] Step 2: Configure the interface program to receive and parse event data;
[0034] Step 3: Verify the legitimacy of the device. If it is legal, maintain the device status of the edge platform, convert the data structure, generate status time series data, and push it to the Kafka status data topic of the edge platform. If it is illegal, filter out illegal data.
[0035] Step 4: The edge platform reporting program reports the status data to the Kafka status topic of the cloud platform, and the edge platform time series status data is persistently stored;
[0036] Step 5: Cloud consumption status data maintains device status and is persistently stored on the cloud platform;
[0037] Step 6: Keep the device status of the edge platform and the cloud platform consistent to ensure consistency of status historical data.
[0038] The above technical solution provided by the embodiment of the present application has the following advantages compared with the prior art:
[0039] The overall structure provided in the embodiment of the present application can be applied to industrial Internet, cloud-edge collaboration and Internet of Things data fusion scenarios. Compared with the existing technology and conventional solutions, the method of multi-platform data synchronization based on cloud-edge collaboration proposed in the present invention is based on the scenario of cloud-edge collaboration and multi-platform data synchronization access, and provides a new idea for managing data. It opens up multi-platform data channels, centrally manages and integrates data, facilitates data statistics and data display, solves the problem of edge data islands, reduces the repeated switching operations of users between platform systems, reduces the links of manual intervention, reduces the impact of human errors or operational errors, improves work efficiency, improves the accuracy of business data, enhances platform data interoperability, and provides a data basis for operational statistics and data decision-making. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0042] Figure 1 It is a schematic diagram of the overall method flow of the present invention;
[0043] Figure 2 It is a schematic diagram of the overall framework flow of the present invention;
[0044] Figure 3 It is a schematic diagram of the overall operation flow of the present invention;
[0045] Figure 4 It is a schematic diagram of the overall construction connection of the present invention. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0047] Various embodiments of the present application may exist in the form of a range. It should be understood that the description in the form of a range is only for convenience and simplicity and should not be understood as a hard limit to the scope of the present application; therefore, it should be considered that the range description has specifically disclosed all possible sub-ranges and single values within the range. For example, it should be considered that the range description from 1 to 6 has specifically disclosed sub-ranges, such as from 1 to 3, from 1 to 4, from 1 to 5, from 2 to 4, from 2 to 6, from 3 to 6, etc., as well as single numbers within the range, such as 1, 2, 3, 4, 5 and 6, which are applicable regardless of the range. In addition, whenever a numerical range is indicated in the present application, it is meant to include any quoted numbers (fractions or integers) within the indicated range. Unless otherwise specified, various raw materials, reagents, instruments and equipment used in the present application, etc., can be purchased from the market or can be prepared by existing equipment.
[0048] In the present application, in the absence of any contrary description, the directional words used, such as "upper" and "lower", are specifically the directions of the drawings in the accompanying drawings. In addition, in the present application, the terms "include", "comprise", etc. refer to "including but not limited to". In the present application, relational terms such as "first" and "second" 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. In the present application, "and / or" describes the association relationship of the associated objects, indicating that three relationships may exist, for example, A and / or B, which can represent: A exists alone, A and B exist at the same time, and B exists alone. Wherein A, B can be singular or plural. In the present application, "at least one" refers to one or more, and "plural" refers to two or more. "At least one", "at least one of the following" or similar expressions refer to any combination of these items, including any combination of singular items or plural items. For example, "at least one of a, b, or c" or "at least one of a, b and c" can both mean: a, b, c, ab, i.e. a and b, ac, bc or abc, where a, b, c can be single or plural, respectively.
[0049] like Figures 1 to 4 As shown: This embodiment of the application provides a method for multi-platform data synchronization based on cloud-edge collaboration, including:
[0050] S1. Synchronization of function module configuration data and business data;
[0051] The function module configuration data and business data are generated on the edge platform, and the function module configuration data and business data of multiple edge platforms are connected to the cloud platform in a real-time synchronization manner;
[0052] S2, equipment monitoring and status maintenance;
[0053] Monitor the status of devices connected to the edge platform in real time, maintain device information in real time, and synchronize it to the edge platform and cloud platform to keep the status consistent;
[0054] S3, equipment timing data synchronization;
[0055] Synchronize the device timing data collected by the multiple edge platforms to the cloud platform through edge reporting and dumping by the edge platforms;
[0056] S4. Collaborative management of alarm data and work order data;
[0057] Collaboratively manage the alarm data and work order data of the edge platform and the cloud platform. The data and status managed by the edge platform can be reported to the cloud platform, and the data and status operated by the cloud platform can be sent to the corresponding edge platform.
[0058] S5, multi-platform configuration and unified data management;
[0059] The multiple cloud platforms manage the configuration information of all the edge platforms, and the business data and device data of the edge platforms are centrally managed on the cloud platforms.
[0060] Specifically: the functional module configuration data and business data of multiple edge platforms are connected to the cloud platform in real-time synchronization;
[0061] Specifically, according to actual business and functional needs, the function configuration data and image files of the edge platform can be synchronized to the cloud platform when they are managed on the edge, so as to achieve the effect of one-time management and consistency between the edge platform and the cloud platform. In order to solve the problem of possible synchronization failure, a data synchronization status field should be reserved in each business data of the edge platform. For the main implementation method, please refer to Figure 2 As shown, when operating function configuration and business data on the edge platform, the edge platform management interface is called. At the same time, the background interface of the edge platform calls the corresponding cloud platform synchronization interface. The data synchronization status recorded by the edge platform is updated through the response result of the cloud interface call. When data synchronization fails, the edge platform reserves a synchronization function button to synchronize the data that failed to synchronize again.
[0062] When the edge platform calls the cloud platform interface, the cloud platform must design interface authority authentication and set the parameter information that must be transmitted for authentication. The cloud platform interface parses the authentication parameters, identifies the legitimacy of the user calling the interface, parses the edge organization information of the calling interface, and merges the business data into the corresponding organization of the cloud platform.
[0063] The collaborative management of alarm data and work order data not only synchronously stores the time series variable data on the edge platform and the cloud platform, but also supports two-way management of business functions and status information on the edge platform and the cloud platform, thereby achieving data consistency in the three aspects of time series data, business data, and status data on the edge platform and the cloud platform.
[0064] Specifically: physical equipment works in the factory, the edge platform and physical equipment can be deployed in the factory control equipment under the same network, and the edge platform is then connected to the cloud platform via a wireless network. Therefore, the source of equipment status data control is at the edge platform.
[0065] The functional module configuration and business data include the following functional categories: grouping and classification management of equipment types, basic information management of equipment types, management of equipment type physical model locations and attributes, equipment management, grouping and classification management of knowledge bases, basic information management of knowledge bases and file system management.
[0066] The real-time synchronization method of accessing the cloud platform means that when maintaining the edge platform data, the HTTP protocol is used to call the synchronization maintenance interface, and the data is maintained to the cloud platform at the same time. The synchronization interface sets authentication verification to identify the edge organization and verify the legitimacy of the call.
[0067] The real-time monitoring of the device status of the access edge and the real-time maintenance of device information, which is synchronized to the edge platform and the cloud platform to keep the status consistent, also includes:
[0068] Real-time monitoring of the device status at the edge and real-time maintenance of device information means that during the data acquisition process, when the physical device establishes a connection with the MQTT server of the edge platform, each device connection will use its own unique identifier to establish a connection, and then the MQTT server triggers the creation of a connection or disconnection event to generate status data;
[0069] The consistency of the status of the cloud platform and the edge platform means that after receiving the status data, the edge platform promptly maintains the device status and stores it persistently. At the same time, it reports the status data to the cloud platform to maintain the corresponding device status and stores it persistently, ensuring that the status data of the cloud platform and the edge platform are consistent.
[0070] The step of synchronizing the device timing data collected by the plurality of edge platforms to the cloud platform by edge reporting and dumping by the edge platforms further includes:
[0071] The device time series data collected by the edge platform refers to the method that can decode and escape a variety of different application layer protocols when the physical layer device communication is successfully established, and bind a unified standard timestamp according to the time node when the data is generated to form a serialized variable. The collected device data is reported to the edge platform and converted into the time series data of the device's statistical indicators, and the same indicator is recorded and stored as a data column in chronological order;
[0072] Synchronizing to the cloud platform through edge reporting and dumping means that for the collected device time series data, in addition to persistent storage on the edge platform, it must also be reported to the cloud platform's message middleware in the form of messages. The cloud platform processes the cloud platform's message middleware for unified management and persistent dumping.
[0073] Specifically: the edge platform sets up alarm rules and maintains the work order workflow. The edge alarm program triggers alarm records and cancels alarms. When performing the above operations, it also reports alarm data and work order data by calling the interface API via the http protocol to maintain the corresponding alarm and work order data on the cloud platform.
[0074] The cloud platform can initiate a work order, submit the work order form process information and send the work order data to the corresponding edge platform. Considering that the edge platform may be in a local area network, the cloud platform may not be able to access the edge platform. Each edge platform subscribes to its own cloud platform message topic using MQTT connection. The topic name can include the edge platform organization identifier. The data sent by the cloud platform can be distinguished by type and conversion structure and packaged into notification messages and pushed to the message topic subscribed by the edge platform. When the edge receives the notification message from the cloud message topic, it calls the edge service interface according to the message type to complete the edge data synchronization, thereby achieving reverse control of the edge platform by the cloud platform.
[0075] The collaborative management of the alarm data and work order data of the edge platform and the cloud platform, the data and status managed by the edge platform can be reported to the cloud platform, and the data and status operated by the cloud platform can be sent to the corresponding edge platform, further comprising:
[0076] Collaboratively manage the alarm data and work order data of the edge platform and the cloud platform. The data and status managed by the edge platform can be reported to the cloud platform. Users can set alarm triggers on the edge to generate alarm data and maintain work order workflows. At the same time, the alarm data, work order data and status will be synchronized to the cloud platform.
[0077] The data and status of cloud platform operations can be sent to the corresponding edge platform, which means that the cloud platform can initiate a work order process, submit the work order form process information and send the work order data to the corresponding edge platform to achieve reverse control.
[0078] Specifically: the time series data collected by multiple edge platforms are synchronized to the cloud platform through edge reporting and dumping; in this embodiment, the time series data packets collected by the edge platform should formulate a standard data structure to facilitate the processing of itself and the cloud platform. The formulation of standardization can effectively avoid unknown problems caused by abnormal data packets. The standard structure should include attributes such as the unique identification of the device, data timestamp, device working condition attribute identification and working condition value. At the same time, the edge platform sets the configuration of the equipment and working condition points on the platform, and then uses this as the standard to verify the legality and correctness of the equipment and working condition points for the connected time series data.
[0079] The edge time series data is reported to the cloud platform by the edge reporting program and pushed to the cloud platform message middleware Kafka topic. For multiple edge platform time series data, the data volume will inevitably be large if the network bandwidth is sufficient. The message middleware Kafka can meet high-throughput scenarios. At the same time, the asynchronous push method does not need to wait for the response of the cloud service, avoiding the timeout problem caused by network delay and reducing the risk of data loss. Then the cloud platform consumes the cloud message middleware Kafka time series data topic storage and use
[0080] The plurality of cloud platforms manage configuration information of all edge platforms, and the business data and device data of the edge platforms are uniformly managed on the cloud platforms, further comprising:
[0081] The cloud platform registers the organization information of the edge platform and generates a unique identifier for the edge platform organization. The edge platform sets the unique identifier for the organization and configures the cloud platform connection information.
[0082] The cloud platform centrally manages the business data, status data, and time series data synchronized by all edge platforms, and performs overall classification aggregation statistics and chart presentations.
[0083] Specifically: the cloud platform manages the organizational information of the edge platform, generates a unique identifier for the edge platform organization, and is a necessary parameter for synchronization and authentication of the organizational identifier. It is also the basis for the cloud platform to store multiple edge time-series data storage partitions, and each edge platform obtains the key part of its message notification topic name on the cloud platform.
[0084] When deploying, the edge platform configures the organization ID assigned by the cloud platform into the startup file, and after startup, configures the cloud platform to connect to the information cloud platform, such as Figure 2 As shown in the figure, if the cloud platform is configured correctly, the cloud platform will return the connection parameters for connecting to the cloud mqtt, and then create a long mqtt connection to the cloud platform, subscribe to the message notification topic mentioned above, to achieve the cloud-side delivery and reverse control effect. At the same time, the cloud platform collects all business data, status data and time series data synchronized by the edge platform, and can perform overall classification aggregation statistics and chart display.
[0085] The steps of multi-platform data synchronization processing are as follows:
[0086] Step 1: Configure the MQTT server, client connection or disconnection events, and generate event data;
[0087] Step 2: Configure the interface program to receive and parse event data;
[0088] Step 3: Verify the legitimacy of the device. If it is legal, maintain the device status of the edge platform, convert the data structure, generate status time series data, and push it to the Kafka status data topic of the edge platform. If it is illegal, filter out illegal data.
[0089] Step 4: The edge platform reporting program reports the status data to the Kafka status topic of the cloud platform, and the edge platform time series status data is persistently stored;
[0090] Step 5: Cloud consumption status data maintains device status and is persistently stored on the cloud platform;
[0091] Step 6: Keep the device status of the edge platform and the cloud platform consistent to ensure consistency of status historical data.
[0092] Specifically: first configure the hook event in the MQTT server-side middleware emqx, and set the creation and disconnection events to push event messages to the edge platform's API interface; the edge platform develops an interface API to receive event data, parses the event data, and queries whether the device is a legal device on the edge platform according to the client identifier in the event message. If legal, update the device status of the edge platform according to the event message type, and convert the status data into standard JSON format, and push it to the edge message middleware kafka device status topic. If illegal, discard it; the edge platform storage data program consumes the message middleware kafka status topic data, stores it in the time series library, and the edge platform reporting program reports it to the cloud platform's message middleware kafka status topic; the cloud platform consumes data from the cloud message middleware kafka status topic, updates the cloud platform's device status, and stores it in the cloud platform's time series library to ensure data consistency between the edge platform and the cloud platform.
[0093] The above is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. It will be apparent to those skilled in the art that various modifications to these embodiments are possible, and the general principles defined in the present application can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to these embodiments shown in the present application, but will conform to the widest scope consistent with the principles and novel features applied for by the present application.
Claims
1. A multi-platform data synchronization method based on cloud-edge collaboration, characterized in that: include: S1. Synchronization of function module configuration data and business data; The function module configuration data and business data are generated on the edge platform, and the function module configuration data and business data of multiple edge platforms are connected to the cloud platform in a real-time synchronization manner; S2, equipment monitoring and status maintenance; Monitor the status of devices connected to the edge platform in real time, maintain device information in real time, and synchronize it to the edge platform and cloud platform to keep the status consistent; S3, equipment timing data synchronization; Synchronize the device timing data collected by the multiple edge platforms to the cloud platform through edge reporting and dumping by the edge platforms; S4. Collaborative management of alarm data and work order data; Collaboratively manage the alarm data and work order data of the edge platform and the cloud platform. The data and status managed by the edge platform can be reported to the cloud platform, and the data and status operated by the cloud platform can be sent to the corresponding edge platform. S5, multi-platform configuration and unified data management; The multiple cloud platforms manage the configuration information of all the edge platforms, and the business data and device data of the edge platforms are centrally managed on the cloud platforms.
2. According to claim 1, a multi-platform data synchronization method based on cloud-edge collaboration is characterized in that: The collaborative management of alarm data and work order data not only synchronously stores the time series variable data on the edge platform and the cloud platform, but also supports two-way management of business functions and status information on the edge platform and the cloud platform, thereby achieving data consistency in the three aspects of time series data, business data, and status data on the edge platform and the cloud platform.
3. According to claim 1, a multi-platform data synchronization method based on cloud-edge collaboration is characterized in that: The functional module configuration and business data include the following functional categories: grouping and classification management of equipment types, basic information management of equipment types, management of equipment type physical model locations and attributes, equipment management, grouping and classification management of knowledge bases, basic information management of knowledge bases and file system management.
4. The method for multi-platform data synchronization based on cloud-edge collaboration according to claim 1, characterized in that: The real-time synchronization method of accessing the cloud platform means that when maintaining the edge platform data, the HTTP protocol is used to call the synchronization maintenance interface, and the data is maintained to the cloud platform at the same time. The synchronization interface sets authentication verification to identify the edge organization and verify the legitimacy of the call.
5. The method for multi-platform data synchronization based on cloud-edge collaboration according to claim 1, characterized in that: The real-time monitoring of the device status of the access edge and the real-time maintenance of device information, which is synchronized to the edge platform and the cloud platform to keep the status consistent, also includes: Real-time monitoring of the device status at the edge and real-time maintenance of device information means that during the data acquisition process, when the physical device establishes a connection with the MQTT server of the edge platform, each device connection will use its own unique identifier to establish a connection, and then the MQTT server triggers the creation of a connection or disconnection event to generate status data; The consistency of the status of the cloud platform and the edge platform means that after receiving the status data, the edge platform promptly maintains the device status and stores it persistently. At the same time, it reports the status data to the cloud platform to maintain the corresponding device status and stores it persistently, ensuring that the status data of the cloud platform and the edge platform are consistent.
6. The method for multi-platform data synchronization based on cloud-edge collaboration according to claim 1, characterized in that: The step of synchronizing the device timing data collected by the plurality of edge platforms to the cloud platform by edge reporting and dumping by the edge platforms further includes: The device time series data collected by the edge platform refers to the method that can decode and escape a variety of different application layer protocols when the physical layer device communication is successfully established, and bind a unified standard timestamp according to the time node when the data is generated to form a serialized variable. The collected device data is reported to the edge platform and converted into the time series data of the device's statistical indicators, and the same indicator is recorded and stored as a data column in chronological order; Synchronizing to the cloud platform through edge reporting and dumping means that for the collected device time series data, in addition to persistent storage on the edge platform, it must also be reported to the cloud platform's message middleware in the form of messages. The cloud platform processes the cloud platform's message middleware for unified management and persistent dumping.
7. The method for multi-platform data synchronization based on cloud-edge collaboration according to claim 1, characterized in that: The collaborative management of the alarm data and work order data of the edge platform and the cloud platform, the data and status managed by the edge platform can be reported to the cloud platform, and the data and status operated by the cloud platform can be sent to the corresponding edge platform, and further includes: Collaboratively manage the alarm data and work order data of the edge platform and the cloud platform. The data and status managed by the edge platform can be reported to the cloud platform. Users can set alarm triggers on the edge to generate alarm data and maintain work order workflows. At the same time, the alarm data, work order data and status will be synchronized to the cloud platform. The data and status of cloud platform operations can be sent to the corresponding edge platform, which means that the cloud platform can initiate a work order process, submit the work order form process information and send the work order data to the corresponding edge platform to achieve reverse control.
8. The method for multi-platform data synchronization based on cloud-edge collaboration according to claim 1, characterized in that: The plurality of cloud platforms manage configuration information of all edge platforms, and the business data and device data of the edge platforms are uniformly managed on the cloud platforms, further comprising: The cloud platform registers the organization information of the edge platform and generates a unique identifier for the edge platform organization. The edge platform sets the unique identifier for the organization and configures the cloud platform connection information. The cloud platform centrally manages the business data, status data, and time series data synchronized by all edge platforms, and performs overall classification aggregation statistics and chart presentations.
9. The method for multi-platform data synchronization based on cloud-edge collaboration according to claim 1, characterized in that: The steps of multi-platform data synchronization processing are as follows: Step 1: Configure the MQTT server, client connection or disconnection events, and generate event data; Step 2: Configure the interface program to receive and parse event data; Step 3: Verify the legitimacy of the device. If it is legal, maintain the device status of the edge platform, convert the data structure, generate status time series data, and push it to the Kafka status data topic of the edge platform. If it is illegal, filter out illegal data. Step 4: The edge platform reporting program reports the status data to the Kafka status topic of the cloud platform, and the edge platform time series status data is persistently stored; Step 5: Cloud consumption status data maintains device status and is persistently stored on the cloud platform; Step 6: Keep the device status of the edge platform and the cloud platform consistent to ensure consistency of status historical data.
Citation Information
Patent Citations
Electric power intelligent terminal management system and method based on cloud edge collaboration
CN113937894A
Low-power-consumption internet-of-things platform supporting long connection and equipment and management method of low-power-consumption internet-of-things platform
CN115037600A
Calculation cloud network integrated analysis system for video streams
CN115967719A
Energy internet of things cloud edge collaboration method based on MQTT protocol and storage medium
CN118353895A
Cloud side end data collaborative management system and method based on Internet of Things
CN118646782A