Data link tracking method, system and device based on Internet of Things technology

By sending link configuration and tracking configuration information up and down on edge nodes, and generating and sending link tracking information, the problem of inefficient log analysis is solved, and the application module caused by rapid and accurate positioning of exceptions is realized.

CN119814811APending Publication Date: 2025-04-11HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410204940.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-10-09
Filing Date
2024-02-23
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

When there are many application modules called by edge nodes, the analysis of massive logs is inefficient, which leads to difficulty in positioning the problem.

Method used

Through the cloud management platform, link configuration information and link tracking configuration information are sent to edge nodes. The edge node calls the application module to process business data based on the configuration information, and generates link tracking information, and finally sends the processing results and link tracking information to the cloud management platform.

Benefits of technology

It realizes the rapid and accurate positioning of application modules caused by exceptions, avoids customizing log printing specifications for each application module, and improves the efficiency of problem analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119814811A_ABST
    Figure CN119814811A_ABST
Patent Text Reader

Abstract

The invention discloses a data link tracking method, system and device based on the Internet of Things technology, and belongs to the technical field of communication. According to the method, link configuration information and link tracking configuration information are issued to an edge node in edge hardware through a cloud management platform, so that the edge node calls each application module to process service data of service equipment according to a calling sequence of the application modules indicated by the link configuration information, and the service data of the service equipment are processed according to the link tracking configuration information. And generating link tracking information of each application module, and then sending the finally processed service data and the called link tracking information of each application module to a cloud management platform so as to perform link tracking on the service data. If the reported service data is abnormal, the application module causing the abnormity can be quickly and accurately positioned according to the link tracking information of each application module subsequently without depending on the log of the application module.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims priority to Chinese patent application No. 202311304623.3 filed on October 9, 2023, entitled “Data link tracking method for edge node and link tracking information acquisition method”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of communication technology, and in particular to a data link tracking method, system and device based on Internet of Things technology. Background Art

[0003] There are industrial equipment of different ages and manufacturers on the factory production line. For the key equipment in the production process, it is necessary to collect business data from each production link and manage the business data on the cloud management platform to form data for decision-making and realize the digitalization of the production process. For example, the data acquisition device collects business data from industrial equipment and sends the business data to the edge node in the edge hardware. The edge node calls one or more application modules in the edge hardware to process the business data, and reports the processed business data to the cloud management platform, which manages the processed business data.

[0004] In related technologies, if the business data reported to the cloud management platform is abnormal, the cloud management platform will print the logs of each application module called by the edge node, and perform problem analysis on the printed logs to determine the application module that caused the abnormality and locate the problem.

[0005] However, when there are many application modules called by the edge node, it is necessary to analyze the massive logs. Since the log formats of different application modules may be different, the analysis efficiency is low and the problem location is difficult when analyzing the massive logs. Summary of the invention

[0006] The embodiment of the present application provides a data link tracking method, system and device based on the Internet of Things technology, which can solve the technical problems of low efficiency in problem analysis and difficulty in problem location of business data. The technical solution is as follows:

[0007] In a first aspect, a data link tracking method based on Internet of Things technology is provided, the method is applied to a first edge node in a first edge hardware connected to a business device, the first edge node is used to manage a first application module and a second application module running on the first edge hardware, the first application module and the second application module are used to process business data generated by the business device during operation, the method comprising the following steps: receiving first link configuration information and first link tracking configuration information sent by a cloud management platform; after acquiring the business data, calling the first application module to process the business data according to the first link configuration information to obtain a first processing result; generating first link tracking information according to the first link tracking configuration information, the first link tracking information being used to indicate the first application The module has processed the business data; according to the first link configuration information, the second application module is called to process the first processing result to obtain the second processing result; then, according to the first link tracking configuration information, the second link tracking information is generated; the second processing result, the first link tracking information and the second link tracking information are sent to the cloud management platform; wherein the first link configuration information is used to indicate the calling order of the first application module and the calling order of the second application module, the first link tracking configuration information is used to indicate the link tracking information of the first application module and the second application module respectively configured for the business data, the first link tracking information is used to indicate that the first application module has processed the business data, and the second link tracking information is used to indicate that the second application module has processed the first processing result.

[0008] The method sends link configuration information and link tracking configuration information to edge nodes in edge hardware through a cloud management platform, so that the edge node calls each application module to process the business data of the business device according to the calling order of the application module indicated by the link configuration information, generates link tracking information of each application module according to the link tracking configuration information, and then sends the final processed business data and the link tracking information of each called application module to the cloud management platform to track the link of the business data. If the reported business data is abnormal, there is no need to rely on the log of the application module. Subsequently, based on the link tracking information of each application module, the application module that caused the abnormality can be quickly and accurately located, and there is no need to customize the adapted log printing specifications for each application module.

[0009] In a possible implementation, any one of the first link tracking information and the second link tracking information includes at least one of the following: an identifier of the application module to which it belongs, a timestamp of data processed by the application module to which it belongs, a quality code, an input address, and an output address.

[0010] In one possible implementation, the above-mentioned calling the second application module to process the first processing result to obtain the second processing result includes: sending the first processing result and the first link tracking information to the second application module; receiving the second processing result and the first link tracking information returned by the second application module; based on this method of obtaining the second processing result, the above-mentioned steps of sending the second processing result, the first link tracking information and the second link tracking information to the cloud management platform are implemented by sending the second link tracking information to the cloud management platform and the received second processing result and the first link tracking information.

[0011] Based on the above possible implementation manner, the first link tracking information and the first processing result are sent to the second application module together, so that the first link tracking information can flow with the business data, thereby realizing link tracking.

[0012] In one possible implementation, the method further includes the following steps: after generating the first link tracking information, adding the first link tracking information to a completion list; after generating the second link tracking information, adding the second link tracking information to the completion list, wherein the completion list is used to record the link tracking information of the application module indicated by the first link configuration information that has processed the data; based on this, the second processing result, the first link tracking information in the completion list, and the second link tracking information are sent to the cloud management platform to implement the above-mentioned steps of sending the second processing result, the first link tracking information, and the second link tracking information to the cloud management platform.

[0013] Based on the above possible implementation methods, after obtaining the business data processed by any application module, the link tracking information of the application module is added to the completion list to record the application module that has completed the business data processing, and the processing result of the last application module is sent to the cloud management platform together with the recorded link tracking information to avoid accidentally adding link tracking information, thereby realizing link tracking with application module as the granularity.

[0014] In a possible implementation, the method also includes the following steps: in response to a first data subscription request from the first application module, executing the step of calling the first application module to process the business data according to the first link configuration information to obtain a first processing result; in response to a second data subscription request from the second application module, executing the step of calling the second application module to process the first processing result according to the first link configuration information to obtain a second processing result; wherein the first data subscription request is used to indicate subscription to business data, and the second data subscription request is used to indicate subscription to the first processing result.

[0015] Based on the possible implementation manners described above, each application module can subscribe to the service data to be processed from the first edge node according to its own needs, so as to avoid accumulation of the service data to be processed in the application module.

[0016] In a possible implementation, before receiving the first link configuration information and the first link tracking configuration information sent by the cloud management platform, the method also includes the following steps: receiving application deployment information sent by the cloud management platform, the application deployment information including the first application module and the second application module; based on the application deployment information, deploying the first application module and the second application module on the first edge hardware.

[0017] Based on the above possible implementation methods, the cloud management platform can deploy the application modules on the first call chain on the first edge hardware without manually deploying the application modules.

[0018] In one possible implementation, the first application module, the second application module and the third application module are used to process business data, the third application module is managed by a second edge node running on second edge hardware, and the method also includes the following steps: sending the second processing result, the first link tracking information and the second link tracking information to the second edge node.

[0019] Based on the above possible implementation methods, the link tracking information of calling each application module after the first edge node calls the data processed by the application module can be sent to the edge node in another edge hardware, thereby realizing link tracking across edge hardware.

[0020] In a second aspect, a data link tracking method based on Internet of Things technology is provided, which is applied to a cloud management platform, the cloud management platform is used to manage a first edge node, the first edge node is used to manage a first application module and a second application module running on a first edge hardware, the first edge hardware is connected to a business device, the first application module and the second application module are used to process business data generated by the business device during operation, the method comprising: obtaining first link configuration information; obtaining first link tracking configuration information; sending first link configuration information and first link tracking configuration information to the first edge node, wherein the first link configuration information is used to indicate a calling order of the first application module and a calling order of the second application module, the first link tracking configuration information is used to indicate link tracking information of the first application module and the second application module respectively configured for business data, and the link tracking information is used to indicate that the application module to which it belongs has processed the business data.

[0021] In a possible implementation manner, the above-mentioned obtaining of the first link configuration information includes the following step: receiving the first link configuration information sent by the terminal.

[0022] Based on the above possible implementation methods, the user can configure the link configuration information of the first call chain on the cloud management platform through the terminal to meet the user's needs.

[0023] In one possible implementation, the above-mentioned obtaining of the first link configuration information includes the following steps: based on the business model, determining the at least one application module and the calling order of the at least one application module; based on the at least one application module and the calling order of the at least one application module, obtaining the first link configuration information, wherein the business model is used to indicate the processing flow of the business data.

[0024] Based on the possible implementation methods described above, the link configuration information of the first call chain can be automatically analyzed through the business model without manual configuration.

[0025] In a possible implementation, before obtaining the first link tracking configuration information, the method further includes the following steps: obtaining application deployment information, and sending the application deployment information to the first edge node, wherein the application deployment information includes a first application module and a second application module.

[0026] In one possible implementation, after sending the first link configuration information and the first link tracking configuration information to the first edge node, the method further includes: receiving a second processing result, first link tracking information, and second link tracking information sent by the first edge node, the first link tracking information being used to indicate that the first application module has processed the business data, and the second link tracking information being used to indicate that the second application module has processed the first processing result.

[0027] In a third aspect, a link tracking system based on Internet of Things technology is provided, comprising the edge node involved in the above-mentioned first aspect or any optional method of the first aspect, and the cloud management platform involved in the above-mentioned second aspect or any optional method of the second aspect.

[0028] In a fourth aspect, a data link tracking device based on Internet of Things technology is provided, which is used to execute the method provided in the first aspect or any optional manner of the first aspect.

[0029] In a fifth aspect, a data link tracking device based on Internet of Things technology is provided, which is used to execute the method provided in the second aspect or any optional manner of the second aspect.

[0030] In a sixth aspect, a computing device cluster is provided, the computing device cluster comprising at least one computing device, each computing device comprising a processor and a memory, the processor of the at least one computing device being used to execute computer program instructions stored in the memory of the at least one computing device, so that the computing device cluster executes the method provided in the first aspect or any one of the optional aspects of the first aspect, or executes the method provided in the second aspect or any one of the optional aspects of the second aspect.

[0031] In the seventh aspect, a computer-readable storage medium is provided, in which computer program instructions are stored. When the computer program instructions are executed by a computing device cluster, the computing device cluster executes the method provided in the first aspect or any optional manner of the first aspect, or executes the method provided in the second aspect or any optional manner of the second aspect.

[0032] In an eighth aspect, a computer program product or a computer program is provided, which includes instructions. When the instructions are executed by a computing device cluster, the computing device cluster executes the method provided in the first aspect or various optional implementations of the first aspect, or executes the method provided in the second aspect or any optional implementation of the second aspect.

[0033] Based on the implementations provided in the above aspects, the present application can also be further combined to provide more implementations. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 It is a schematic diagram of an implementation environment of a data link tracking method based on Internet of Things technology provided in an embodiment of the present application;

[0035] Figure 2 This is a cloud-edge coordination architecture diagram of a service provided in an embodiment of the present application;

[0036] Figure 3 This is a schematic diagram of data link tracking of business data provided by an embodiment of the present application;

[0037] Figure 4 This is a flow chart of a data link tracking method based on Internet of Things technology provided by an embodiment of the present application;

[0038] Figure 5 is a data link tracking schematic diagram of another data provided by an embodiment of the present application;

[0039] Figure 6 This is a flow chart of another data link tracking method based on Internet of Things technology provided by an embodiment of the present application;

[0040] Figure 7 It is a structural schematic diagram of a data link tracking device based on Internet of Things technology provided by an embodiment of the present application;

[0041] Figure 8 It is a structural schematic diagram of another data link tracking device based on Internet of Things technology provided by an embodiment of the present application;

[0042] Fig. 9 is a schematic diagram of the structure of a computing device provided in an embodiment of the present application;

[0043] Fig.10 It is an architecture diagram of a computing device cluster provided in an embodiment of the present application;

[0044] Fig.11 This is an architecture diagram of another computer cluster provided in an embodiment of the present application. DETAILED DESCRIPTION

[0045] Figure 1 This is a schematic diagram of an implementation environment of a data link tracking method based on Internet of Things (IoT) technology provided by the present application, such as Figure 1 As shown, the implementation environment includes a business device 101, a data collection device 102, and a link tracking system 103 based on the Internet of Things technology, wherein there can be at least one business device 101, and any business device 101 can be an industrial device on an industrial production line. The link tracking system 103 is used to process the production data of the business device 101, and the production data is the data collected from the business device 101, such as the data generated during the operation of the business device 101 or the device data of the device 101 itself during the operation. The data collection device 102 is any device that supports data collection, such as a sensor, a programmable logic controller (PLC), an instrument, etc., and the present application does not limit the type of the data collection device 102. The data collection device 102 collects data from the business device 101, and the collected data is called the business data of the link tracking system 103. According to different data collection requirements, the types of business data collected by different data collection devices 102 may be different or the same. Here, the present application does not limit the type of business data.

[0046] The data acquisition device 102 is connected to the link tracking system 103, and the data acquisition device 102 sends business data to the link tracking system 103. The link tracking system 103 processes the business data. In the process of processing the business data, the data link tracking method based on the Internet of Things technology provided by the present application is executed to track the link of the business data processing process. Next, combined with Figure 1 , the link tracking system 103 is introduced in detail.

[0047] The link tracking system 103 includes an edge network 31 and a cloud management platform 32. The edge network 31 is connected to the cloud management platform 32 via a wired / wireless communication network. The edge network 31 includes multiple edge hardware, such as Figure 1The edge hardware 311, edge hardware 312 and edge hardware 313 are shown in the figure. Each edge hardware in the edge network 31 is connected through a wired / wireless communication network. Any edge hardware in the edge network 31 is a hardware device for processing business data in the edge network. The edge hardware can be a gateway or a server. This application does not limit the device type of the edge hardware. Figure 1 Three edge hardwares are used as an example. In other embodiments, the edge network 31 may also include less than three or more than three edge hardwares. Here, this application does not limit the number of edge hardwares 31 in the edge network 31.

[0048] The cloud management platform 32 is a cloud platform based on the Internet of Things technology, such as a cloud Internet of Things platform or other types of platforms. The cloud management platform 32 can provide data management services and data processing services for the business data of the business device 101, such as Figure 2 As shown, for the business data of a certain business device 101, the cloud management platform 32 can deploy at least one application module in at least one edge hardware in the edge network 31 through a cloud-edge collaborative management channel. The at least one application module is used to process the business data, and any application module is used to provide at least one data processing service for the business data. The data processing services provided by different application modules for business data may be the same or different. Any application module can be an application program, such as an application component of the cloud management platform 32 or a third-party application. When multiple application modules are deployed for business data, the multiple application modules can be deployed on one edge hardware or on multiple edge hardware. Figure 1 For example, the cloud management platform 32 configures three application modules for business data 1 in edge hardware 311, and configures one application module for business data 2 in edge hardware 312 and edge hardware 313 respectively.

[0049] like Figure 2As shown, for the edge hardware deployed with the at least one application module, the cloud management platform 32 can also utilize the cloud-edge coordinated management channel to deploy edge nodes in the edge hardware, and the edge nodes are used to manage the application modules deployed by the cloud management platform 32 in the edge hardware. The cloud management platform 32 can send the link configuration information of the at least one application module to the edge node through the cloud-edge coordinated management channel, and the edge node calls the application module in the edge node to process the business data based on the link configuration information, so that the business data flows in the edge hardware. The cloud management platform 32 can also send the link tracking configuration information of the at least one application module to the edge node, and the edge node configures the link tracking information of the business data in the at least one application module based on the link tracking configuration information to implement link tracking, and sends the link tracking information of the at least one application module and the processed business data to the cloud management platform 32. Taking the application module that is not deployed across edge hardware as an example, as Figure 1 As shown, the edge node in the edge hardware 311 sequentially calls application modules 1 to 3 to process business data 1, and sends the processed business data and the link tracking information of application modules 1 to 3 to the cloud management platform 32. Taking the application module deployed across edge hardware as an example, Figure 1 As shown, the edge node in the edge hardware 312 calls application module 4 to process business data 2, and sends the processed business data and link tracking information of application module 4 to the edge node in the edge hardware 313. The edge node in the edge hardware 313 calls application module 5 to process the business data processed by application module 4, and sends the business data processed by application module 5, the link tracking information of application module 4, and the link tracking information of application module 5 to the cloud management platform 32.

[0050] like Figure 2 As shown, the cloud management platform 32 also has a data opening function, which supports third-party applications to query the business data processed by the application module and the link tracking information of the application module on the cloud management platform 32.

[0051] Take multiple application modules that process the same business data on an edge hardware as an example. Figure 3In the link tracking schematic diagram shown, the cloud management platform 32 uses the cloud-edge coordinated management channel to send the edge node, multiple application modules for processing the same business data, link configuration information, and link tracking configuration information to the edge hardware. The edge node in the edge hardware deploys multiple application modules in the edge hardware. According to the calling order of multiple calling modules indicated by the link configuration information, the data collection device is driven to collect data from the business device through the data collection protocol supported by the application module with the calling order of 1, and the collected business data is provided to the edge node. The edge node sequentially calls the remaining application modules to process the business data, so that the business data flows between the multiple application modules. After each application module is circulated, the edge node configures the link tracking information in the application module for the processed business data according to the link tracking configuration information, and sends the business data processed by the application module together with the link tracking information of the application module to the next application module to realize link tracking. After the business data is circulated in multiple application modules, the edge node can send the business data processed by the multiple application modules and the link tracking information of the multiple application modules to the device access plane in the cloud management platform 32. In the case of data openness, the cloud management platform 32 can also provide different (application programming interface, API) for independent software developers (ISVs) to call processed business data and link tracking information respectively. In some embodiments, the cloud management platform supports storage of processed business data and link tracking information of multiple application modules for subsequent problem location and delimited query.

[0052] In another possible implementation, the cloud management platform 32 can also deploy the operating base of the application module for processing business data and the operating base of the edge node on the edge hardware through the cloud-edge collaborative management channel, so that the application module and the edge node can run normally on the edge hardware. The application modules, edge nodes, and operating bases deployed on the edge hardware are all edge applications deployed by the cloud management platform 32 on the edge device.

[0053] The edge nodes and application modules managed by edge nodes introduced above are all illustrated using software as an example. In other embodiments, the edge node or application module may also be implemented in the form of hardware or a combination of hardware and software. When implemented in the form of hardware or a combination of hardware and software, the cloud management platform may issue the software and configuration required for the edge node or application module to the edge hardware, and the edge node or application module may be manually configured on the edge hardware.

[0054] From the above introduction, it can be seen that for the business data of any business device, multiple application modules for processing the business data can be organized into a call chain. When the multiple application modules are deployed on the same edge hardware, the call chain is a call chain that does not cross edge nodes. When the multiple application modules are deployed on different edge hardware, the call chain is a call chain that crosses edge hardware. The data link tracking method based on the Internet of Things technology provided in this application is applicable to both types of call chains. Next, Figure 4 and Figure 5 As an example, for the call chain that does not cross edge hardware, the process of this method is introduced. Figure 6 Taking as an example, the process of this method is introduced for the call chain across edge hardware.

[0055] Figure 4 This is a flowchart of a data link tracking method based on Internet of Things technology provided by an embodiment of the present application. The method is applied to a link tracking system based on Internet of Things technology (such as link tracking system 103), and the method includes the following steps.

[0056] 401. The cloud management platform obtains first link configuration information, where the first link configuration information is used to indicate a calling order of a first application module and a calling order of a second application module. The first application module and the second application module are used to process business data generated by a business device during operation.

[0057] Among them, in a cloud management platform such as cloud management platform 32, the first link configuration information is the link configuration information of the first call chain, and the first call chain refers to any call chain in which all application modules are deployed on the same edge hardware. The first call chain includes a calling order of multiple application modules, and multiple application modules are used to process the business data. The calling order of multiple application modules is used to indicate the order in which each application module in the multiple application modules processes the business data. The application module that first processes the business data among the multiple application modules is called the first application module, and the application module that processes the business data second is called the second application module, and so on. For example, the first call chain includes the calling order of N application modules, and the application module with a calling order of i is called the i-th application module, where i is an integer greater than or equal to 1 and less than or equal to N, and N is an integer greater than 1. To facilitate understanding of the data link tracking method based on Internet of Things technology provided in the present application, Figure 4 The illustrated embodiment is exemplified by taking N=2, where the first call chain includes the calling sequence of the first application module and the calling sequence of the second application module.

[0058] The link configuration information of the first call chain includes the identifier of the edge device where the first call chain is located, the identifiers of each application module of the first call chain, the calling order of each application module, and the identifier of the first call chain. The cloud management platform can obtain the first link configuration information through the following method 1 or method 2.

[0059] Method 1: The cloud management platform receives the first link configuration information sent by the terminal.

[0060] The terminal is a terminal device used by the user, such as a tablet computer, a laptop computer, a desktop computer or other forms of terminal devices. The embodiment of the present application does not limit the type of terminal.

[0061] The cloud management platform provides a link configuration interface, which is an interface provided to users for configuring a call chain for business data. If a user needs to configure a call chain for the business data, the user can send first link configuration information to the link configuration interface through a terminal, and the cloud management platform receives the first link configuration information from the link configuration interface.

[0062] Method 2: The cloud management platform obtains the first link configuration information based on the business model of the business.

[0063] The business model is used to indicate the processing flow of the business data. The business model records at least one information including: each application module required to process the business data, the processing order of each application module on the business data, and the way each application module processes the data.

[0064] The cloud management platform determines the calling order of the first application module and the calling order of the second application module based on the business model. Exemplarily, the cloud management platform determines the order in which at least one application module involved in the processing flow and each application module in the at least one application module in the business flow processes the business data by performing a process analysis on the processing flow indicated by the business model. Assuming that the processing flow involves two application modules, the application module with a higher processing order among the two application modules is determined as the first application module, and the processing order of the first application module is determined as the calling order of the first application module. The application module with a lower processing order among the two application modules is determined as the second application module, and the processing order of the second application module is determined as the calling order of the second application module. For example, in the processing flow, application module 1 processes the business data first, and then application module 2 processes the business data. Then application module 1 is the first application module, and the calling order is 1, and application module 2 is the second application module, and the calling order is 2.

[0065] After determining the calling order of the first application module and the calling order of the second application module, the cloud management platform obtains the first link configuration information based on the calling order of the first application module and the calling order of the second application module. For example, the first link tracking configuration information is generated based on the identifiers of the edge hardware where the first application module and the second application module are located, the identifier and calling order of the first application module, the identifier and calling order of the second application module, and the identifier of the first call chain.

[0066] It should be understood that the first call chain is an instantiation of the business model, and the first call chain is deployed on the edge hardware by sending the first link tracking configuration information to the edge hardware to instantiate the business model.

[0067] The edge hardware used to deploy the first call chain is called the first edge hardware. At this time, the first application module and the second application module may have been deployed in the first edge hardware, or the first application module and the second application module may not have been deployed yet. In the case where the first application module and the second application module have not been deployed in the first edge hardware, the cloud management platform can also add the first application module and the second application module to the first link configuration information, so that the first link configuration information also includes the at least one application module, so that the at least one application module can be sent to the first edge hardware together with the first link configuration information. Alternatively, the cloud management platform does not perform the step of adding the first application module and the second application module to the first link configuration information. Before this step 401, the cloud management platform obtains application deployment information, and the application deployment information is used to indicate the deployment of the first application module and the second application module in the first edge hardware. The application deployment information includes the first application module and the second application module. The cloud management platform sends the application deployment information to the first edge hardware. The edge node in the first edge hardware (referred to as the first edge node) receives the application deployment information sent by the cloud management platform, and deploys the first application module and the second application module locally based on the application deployment information. For example, the first edge node obtains the first application module and the second application module from the application deployment information, and installs the first application module and the second application module in the first edge hardware. Based on the above method, the cloud management platform can deploy the application modules of the first call chain on the first edge hardware without manually deploying the application modules.

[0068] 402. The cloud management platform obtains first link tracking configuration information, where the first link tracking configuration information is used to indicate link tracking information of the first application module and the second application module respectively configured for the business data.

[0069] Among them, the first link tracking configuration information is the link tracking configuration information of the first call chain. In the present application, the link tracking configuration information of any call chain includes the identifier of the call chain and the tracking configuration sub-information of each application module on the call chain. The application module on the call chain indicates the application module corresponding to the call order in the call chain. The tracking configuration sub-information of any application module is used to indicate the link tracking information of the application module configured for the business data, wherein the link tracking information of the application module configured for the business data can show that the business data processed by the application module is associated with the link tracking information of the application module. The link tracking information of any application module is to track the completion of the processing of the business data in the application module. Exemplarily, the link tracking information is used to indicate that the application module to which it belongs has processed the business data. When locating the problem of abnormal business data, it is generally necessary to pay attention to which application modules the abnormal business data has been processed by, or to assist in the problem locating through some additional information. The link tracking information can be used as the auxiliary information required for locating the problem of abnormal business data. Based on this, the link tracking information includes the identifier of the application module to which it belongs (also called the module identifier) ​​to indicate that the application module has processed the business data. Optionally, the link tracking information also includes additional information in addition to the module identifier, and the additional information is information related to the data processed by the application module. For example, the additional information includes at least one of the timestamp, quality code, input address and output address of the data processed by the application module. The timestamp is used to indicate the acquisition time of the business data, such as the acquisition time. The quality code is used to indicate the quality of the business data. The input address is used to indicate the source of the business data processed by the application module, such as the identifier of the previous application module of the application module in the first call chain. The output address is used to indicate the destination of the data processed by the application module, such as the identifier of the next application module of the application module in the first call chain. According to the problem location requirements of the first call chain, problem location may also require other additional information, such as business data incremental information, indicating the value-added status of the business data after the application module processes the business data. Here, the embodiment of the present application does not limit whether the link tracking information includes additional information and the content of the link tracking information.

[0070] The additional information is an optional item in the link tracking information. The link tracking information of some application modules may not include the additional information, while the link tracking information of some application modules may include the additional information. Figure 5For example, assuming that the first call chain includes the call sequence of 4 application modules, and the 4 application modules are data collection application, application module A, application module B and application module C. Assuming that when locating the problem, it is necessary to pay extra attention to the collection time and quality of the business data collected by the data collection application, the tracking configuration sub-information of the data collection application is also used to indicate: add additional information such as the timestamp and quality code of the business data to the link tracking information of the data collection application. Assuming that when locating the problem, it is necessary to pay attention to the module identification (identity, ID) of application module A and the module ID of application module C, and no additional information other than the module ID is needed, the tracking configuration sub-information of application module A indicates: add the module identification of application module A to the link tracking information of application module A, and the tracking configuration sub-information of application module C indicates: add the module identification of application module C to the link tracking information of application module C. Assuming that when locating the problem, it is necessary to pay extra attention to the input address and output address of the business data processed by application module B, the tracking configuration sub-information of application module B indicates: add additional information such as the input address and output address to the link tracking information of application module B.

[0071] The user can configure the first link tracking configuration information for the first call chain on the cloud management platform through the terminal, so that the cloud management platform obtains the first link tracking configuration information configured by the user. Alternatively, the cloud management platform can also determine the type of required information for each application module based on the business needs of problem location and each application module on the first call chain, the required information is information used to assist in problem location (such as module ID and / or additional information), and generate tracking configuration sub-information for each application module based on the type of required information for each application module, and then obtain the first link tracking configuration information based on the tracking configuration sub-information of each application module.

[0072] The cloud management platform may also associate and store the first link configuration information of the first call chain with the first link tracking configuration information for subsequent query. For example, the cloud management platform stores the first link configuration information and the first link tracking configuration information, establishes a mapping relationship between the storage location of the first link configuration information and the storage location of the first link tracking configuration information, or adds the first link tracking configuration information to the first link configuration information, and stores the first link configuration information including the first link tracking configuration information.

[0073] 403. The cloud management platform sends the first link configuration information and the first link tracking configuration information to the first edge node.

[0074] The cloud management platform can implement this step 403 by sending the first link configuration information and the first link tracking configuration information to the first edge hardware. The cloud management platform can first send the first link configuration information to the first edge node, and then send the first link tracking configuration information to the first edge node, or send the first link configuration information and the first link tracking configuration information to the first edge node at the same time. Here, this application does not limit the order of sending the first link configuration information and the first link tracking configuration information.

[0075] 404. The first edge node receives the first link configuration information and the first link tracking configuration information.

[0076] For example, the first edge node obtains the first link configuration information and the first link tracking configuration information sent to the first edge device.

[0077] After receiving the first link configuration information, the first edge node parses the first link configuration information. If the first application module and the second application module are parsed out from the first link configuration information, the first application module and the second application module are installed on the first edge hardware to deploy the first application module and the second application module on the first edge hardware, and the first edge hardware stores the first link configuration information that does not include the application module. If the application module is not parsed out from the first link configuration information, it means that the first application module and the second application module have been deployed in the first edge hardware, and the first edge node stores the first link configuration information locally to configure the first application module and the second application module to the first call chain.

[0078] After receiving the first link tracking configuration information, the first edge node associates the first link configuration information of the first call chain with the first link tracking configuration information and stores it in the first edge hardware to establish the mapping relationship between the first link configuration information and the first link tracking configuration information, that is, to configure the link tracking information for each application module in the first call chain. The associated storage method can refer to the associated storage method of the first link configuration information and the first link tracking configuration information on the cloud management platform, which will not be repeated here.

[0079] Through the above steps 401 to 404, the cloud management platform can configure the link configuration information and link tracking configuration information of the first call chain on the first edge hardware without manual configuration, thereby realizing automatic management of the call chain.

[0080] If the application modules of the first call chain, the calling order of the application modules and / or the processing method of the application modules have not been updated, the above steps 401 to 404 can be executed once without repeated execution, wherein the update of the application modules of the first call chain includes at least one of the following: deleting one or more application modules from the first call chain, adding one or more application modules to the first call chain, and replacing one or more application modules in the first call chain. The update of the processing method of the application module includes at least one of the following: the processing method is reduced, increased or replaced. If the application modules of the first call chain, the calling order of the application modules and / or the processing method of the application modules have not been updated, the cloud management platform updates the first link configuration information and / or the first link tracking configuration information in the first edge node to ensure the correctness of the first link configuration information and the first link tracking configuration information configured in the first edge hardware.

[0081] In another possible implementation, the cloud management platform is not responsible for configuring the first link configuration information and / or the first link tracking configuration information on the first edge hardware. The first link configuration information and / or the first link tracking configuration information may also be configured manually on the first edge hardware. Therefore, the above steps 401 to 404 are optional steps.

[0082] When the first edge hardware is configured with the first link tracking configuration information and the first link tracking configuration information, the first edge node implements the link tracking of the service data based on the first link tracking configuration information and the first link tracking configuration information by executing the data link tracking method based on the Internet of Things technology provided by the present application. The first edge node executes the method, which includes the following steps 405 to 410.

[0083] 405. The first edge node obtains service data generated by the service device during operation.

[0084] The business device may be any of the industrial devices described above. The first edge hardware is connected to the business device. The connection may be direct or indirect. For example, the first edge hardware is connected to the business device through a data acquisition device. Figure 1 The edge hardware 311 in the figure is the first edge hardware, and the business device 101 is the business device. Of course, the data acquisition device can also be configured on the business device, the first edge hardware is directly connected to the business device, and the business data collected by the data acquisition device from the business device can be sent to the first edge hardware through the connection between the first edge hardware and the business device.

[0085] The business data refers to data generated during operation and collected from the business device. Taking the business data as device data as an example, the business data includes at least one device data collected from the business device. Figure 5 For example, the data type of the device data is temperature (temp), and the device data is 5. In another possible implementation, the device data may also be other types of data other than temperature or not temperature data. Here, the embodiment of the present application does not limit the data type of the service data.

[0086] The first edge node can actively obtain the business data. Exemplarily, the first edge node sends a data collection instruction to a data collection device (such as data collection device 102) through a data collection protocol, and the data collection device collects data from the business device based on the data collection instruction, uses the collected data as business data, and sends the business data to the first edge node, and the first edge node obtains the business data.

[0087] In another possible implementation, the first edge hardware may also passively acquire the business data. Exemplarily, without issuing a data acquisition instruction to the data acquisition device, the data acquisition device acquires business data from the business device, actively sends the acquired business data to the first edge hardware, and the business data may be acquired from the first edge hardware.

[0088] 406. The first edge node calls the first application module to process the service data according to the first link configuration information to obtain a first processing result.

[0089] The first processing result includes the business data processed by the first application module.

[0090] The first edge node queries the calling order of the first application module and the calling order of the second application module in the first link configuration information, and first calls the first application module to process business data in the order of the calling order from front to back. For example, the calling order of the first application module is 1, and the calling order of the second application module is 2. The calling order of the first application module is before the calling order of the second application module. The first edge node calls the first application module to process business data.

[0091] Among them, the calling process of the first application module can be: the first edge node sends business data to the first application module, and after the first application module receives the business data, it processes the business data to obtain a first processing result. When processing business data, the first application module processes the business data according to its own processing method, such as changing the value of the business data, adding other information to the business data, or changing the data type of the business data. Here, the embodiment of the present application does not limit the way the first application module processes business data and the first processing result obtained. After obtaining the first processing result, the first application module sends the first processing result to the first edge node, and the first edge node receives the first processing result returned by the first application module, and the call of the first application module is completed.

[0092] In another possible implementation, the first application module is a data collection application, and the first edge node calls the first application module to collect business data to complete the processing of the business data. Figure 5 Taking the first call chain shown as an example, assuming that the first application module of the first call chain is a data acquisition application, the data acquisition application supports the data acquisition protocol, the first edge node calls the data acquisition application, drives the data device to collect temperature data of the business device, and assumes that the business data collected by the data acquisition application is {temperature data: 5}, {temperature data: 5} is the business data processed by the data acquisition application, which is the first processing result.

[0093] 407. The first edge node generates first link tracking information according to the first link tracking configuration information, where the first link tracking information is used to indicate that the first application module has processed the service data.

[0094] Among them, the first link tracking information is the link tracking information of the business data in the first application module. The first link tracking information includes the identifier of the first application module to indicate that the first application module has processed the business data. Optionally, the first link tracking information also includes first additional information, and the first additional information refers to additional information related to the first processing result. The first additional information includes at least one of the first timestamp, quality code, input address and output address of the first processing result. In another possible implementation, the first additional information may also include other information of the first processing result in addition to this. Here, the embodiment of the present application does not limit the content of the first additional information.

[0095] The first edge node obtains the tracking configuration sub-information (referred to as the first tracking configuration sub-information) of the first application module from the first link tracking configuration information, and generates the first link tracking information according to the instruction of the first tracking configuration sub-information. For example, if the first tracking configuration sub-information indicates that the identifier of the application module is added to the link tracking information, the first edge node generates the first link tracking information based on the identifier of the first application module, and the first link tracking information includes the identifier of the first application module.

[0096] For another example, if the first tracking configuration sub-information also indicates that additional information is added to the link tracking information, the first edge node generates the first additional information according to the instruction of the first tracking configuration sub-information, and generates the first link tracking information based on the identifier of the first application module and the first additional information. At this time, the first link tracking information includes the identifier of the first application module and the first additional information. Figure 5 For example, assuming that the first processing result obtained by the first edge node is {temperature data: 5}, the data acquisition application has processed the business data, and assuming that the additional information indicated by the tracking configuration sub-information of the data acquisition application is a timestamp and a quality code, the link tracking information generated by the data acquisition application is {module ID: XXX; timestamp: 2023xx; quality code: good}.

[0097] 408. The first edge node calls the second application module to process the first processing result according to the first link configuration information to obtain a second processing result.

[0098] The second processing result includes the processed first processing result.

[0099] After obtaining the first processing result, the first edge node queries the first link configuration information for the next calling order after the calling order of the first application module, determines the application module corresponding to the next calling order as the second application module, and calls the second application module to process the first processing result to obtain the second processing result.

[0100] Among them, the calling process of the second application module can be: the first edge node sends the first processing result to the second application module, and after the second application module receives the first processing result, it processes the first processing result to obtain the second processing result. When processing the first processing result, the second application module processes the first processing result according to its own processing method, such as changing the numerical value of the first processing result, adding other information to the first processing result, or changing the data type of the first processing result. Here, the embodiment of the present application does not limit the way the second application module processes business data and the obtained second processing result. After obtaining the second processing result, the second application module sends the second processing result to the first edge node, and the first edge node receives the second processing result returned by the second application module, and the call of the second application module is completed.

[0101] 409. The first edge node generates second link tracking information according to the first link tracking configuration information, where the second link tracking information is used to indicate that the second application module has processed the first processing result.

[0102] Among them, the second link tracking information is the link tracking information of the first processing result in the second application module. The second link tracking information includes the identifier of the second application module to indicate that the second application module has processed the first processing result. Optionally, the first link tracking information also includes second additional information, which is additional information related to the second processing result. The second additional information includes at least one of the first timestamp, quality code, input address and output address of the second processing result. In another possible implementation, the second additional information may also include other information of the second processing result in addition to this. Here, the embodiment of the present application does not limit the content of the second additional information.

[0103] The first edge node obtains the tracking configuration sub-information (referred to as the second tracking configuration sub-information) of the second application module from the first link tracking configuration information, and generates the second link tracking information according to the instruction of the second tracking configuration sub-information. For example, if the second tracking configuration sub-information indicates that the identifier of the application module is added to the link tracking information, the first edge node generates the second link tracking information based on the identifier of the second application module, and the second link tracking information includes the identifier of the second application module.

[0104] For another example, if the second tracking configuration sub-information also indicates that additional information is to be added to the link tracking information, the first edge node generates second additional information according to the instruction of the second tracking configuration sub-information, and generates second link tracking information based on the identifier of the second application module and the second additional information. At this time, the second link tracking information includes the identifier of the second application module and the second additional information.

[0105] In another possible implementation, when the tracking configuration sub-information of any application module on the first call chain does not indicate adding a quality code to the link tracking information, after obtaining the processing result returned by any application module, the first edge node detects whether there is any abnormality in the processing result returned by the application module. If it is detected that there is no abnormality in the processing result, the first edge node may add a first quality code to the link tracking information of the application module, and the first quality code is used to indicate that the processing result is normal business data, such as the first quality code is "good". Of course, the first quality code may not be added to the link tracking information of the application module; if it is detected that the processing result is abnormal, the first edge node adds a second quality code to the link tracking information of the application module, and the second quality code is used to indicate that the processing result is abnormal business data, such as the second quality code is "bad".

[0106] When an abnormality is found in the business data processed by a certain application module, the first edge node adds a second quality code to the link tracking information of the application module so that it can subsequently determine, based on the second quality code in the link tracking information, that the business data abnormality is caused by the application module, so as to locate the problem.

[0107] 410. The first edge node sends the second processing result, the first link tracking information, and the second link tracking information to the cloud management platform.

[0108] The first edge node generates business tracking data based on the first link tracking information, the second link tracking information, and the second processing result, and sends the business tracking data to the cloud management platform, so as to send the second processing result, the first link tracking information, and the second link tracking information to the cloud management platform. By sending the link tracking information of each application module on the first call chain, the processing details of each application module on the business data are reported to the cloud management platform for subsequent problem location.

[0109] In another possible implementation, before or after calling the first application module to process business data, the first edge node creates a completion list based on the first link configuration information, and the completion list is used to record the link tracking information of the application module indicated by the first link configuration information that has processed the data; after generating the first link tracking information, the first edge node adds the first link tracking information to the completion list, and after generating the second link tracking information, adds the second link tracking information to the completion list. Thereafter, the first edge node sends the second processing result, the first link tracking information in the completion list, and the second link tracking information to the cloud management platform. For example, the second processing result, the first link tracking information in the completion list, and the second link tracking information generate business tracking data, and send it to the cloud management platform.

[0110] After obtaining the business data processed by any application module, the link tracking information of the application module is added to the completion list to record the application module that has completed the business data processing. The processing result of the last application module is sent to the cloud management platform together with the recorded link tracking information to avoid the accidental addition of link tracking information, thereby realizing link tracking with application module as the granularity.

[0111] The above is explained by taking the example that when the first edge node calls the second application module, only the first processing result is sent to the second application module. In another possible implementation, the calling process of the first edge node to the second application module can also be: the first edge node sends the first processing result and the first link tracking information to the second application module. After the second application module receives the first processing result and the first link tracking information, it processes the first processing result to obtain the second processing result, sends the second processing result and the first link tracking information to the first edge node, and the first edge node receives the second processing result and the first link tracking information returned by the second application module. The link tracking information is made to flow between other application modules on the call chain along with the business data to be processed (such as the first processing result). At this time, the first edge node does not need to record the link tracking information of each application module. Accordingly, after the first edge node receives the second processing result and the first link tracking information, it generates the second link tracking information, and sends the second link tracking information and the received second processing result and the first link tracking information to the cloud management platform.

[0112] The above is explained using the example of the first edge node actively calling the first application module and the second application module to process business data. In another possible implementation method, the first edge node also supports business data subscription, and each application module subscribes to its own business data to be processed from the first edge node. At this time, the first edge node acts as the pusher of business data, and each application module acts as the subscriber of business data. Each application module can subscribe to business data from the first edge node and process the subscribed business data. The first edge node pushes the business data processed by each application module to the next application module in the first call chain, so that the business data can flow on the first call chain.

[0113] Exemplarily, the first application module sends a first data subscription request to the first edge node, the first data subscription request is a data subscription request sent by the first application module to the first edge node, the first data subscription request is used to indicate the subscription to the business data to be processed by the first application module, the first edge node receives the first data subscription request, and in response to the first data subscription request, executes the above-mentioned step of calling the first application module to process the business data according to the first link configuration information to obtain the first processing result (such as step 406). For example, in the case where the first application module is not used to collect business data, the first edge node responds to the first data subscription request, obtains the business data, and based on the business data, sends a first data subscription response to the first application module, the first data subscription response includes the business data, and the first application module processes the business data and returns the first processing result to the first edge node.

[0114] The second application module sends a second data subscription request to the first edge node. The second data subscription request is a data subscription request sent by the second application module to the first edge node. The second data subscription request is used to indicate the subscription of the service data to be processed by the second application module (for example, indicating the subscription of the first processing result). The first edge node receives the second data subscription request, and in response to the second data subscription request, determines the first application module whose calling order is before the second application module according to the first link configuration information, and inquires whether the first processing result returned by the first application module is obtained. If the first processing result is obtained, the above step of calling the second application module to process the first processing result to obtain the second processing result according to the first link configuration information is executed (such as step 408). For example, the first edge node responds to the second data subscription request, obtains the first processing result, and based on the first processing result, sends a second data subscription response to the second application module. The second data subscription response includes the first processing result, and the second application module processes the first processing result and returns the second processing result to the first edge node. Alternatively, the second data subscription response also includes the first link tracking data, and accordingly, the second application module returns the second processing result and the first link tracking data to the first edge node.

[0115] Each application module on the first call chain can subscribe to the business data to be processed from the first edge node according to their own needs to avoid the accumulation of business data to be processed in the application module. If data cannot be directly exchanged between different application modules and second application modules in the first call chain, the first edge node provides the first application module and the second application module with the business data to be processed, respectively, to ensure that the business data can flow on the first call chain. For example, when the first application module and the second application module are both third-party applications, the first application module and the second application module may come from different software developers, and application modules developed by different software developers may not support direct data interaction with application modules developed by other developers. The first edge node can ensure that business data can flow on the first call chain.

[0116] 411. The cloud management platform receives the second processing result, the first link tracking information, and the second link tracking information.

[0117] The cloud management platform may store the second processing result, the first link tracking information, and the second link tracking information in a database for subsequent user query.

[0118] The above is explained using the example that the first call chain includes the calling order of the first application module and the calling order of the second application module. In another possible implementation, the first call chain includes the calling order of N application modules. Accordingly, the first link configuration information includes the calling order of N application modules, and the first link tracking configuration information includes the tracking configuration sub-information of N application modules. The i-th application module among the N application modules is called the i-th application module, the tracking configuration sub-information of the i-th application module is called the i-th tracking configuration sub-information, and the link tracking information of the i-th application module is called the i-th link tracking information, where i is greater than or equal to 1 and less than or equal to N.

[0119] For this implementation, for the i-th application module in N application modules, when i=1, the first edge node calls the i-th application module to process the business data according to the first link configuration information to obtain the i-th processing result (this process is the same as step 406); when 1<i≤N, after obtaining the i-1-th processing result, the first edge node calls the i-th application module to process the i-1-th processing result according to the first link configuration information to obtain the i-th processing result (this process is the same as step 408). After obtaining the i-th processing result, the i-th link tracking information is generated according to the i-th tracking configuration sub-information in the first link tracking configuration information. When calling the i+1-th application module to process the i-th processing result, the i-th link tracking information may be sent to the i+1-th application module, or the i-th link tracking information may not be sent to the i+1-th application module. When i=N, after obtaining the i-th processing result and the i-th link tracking information, the first edge node sends the i-th processing result and the link tracking information of the N application modules to the cloud management platform (the same as step 410). When i=1, the i-th processing result includes the business data processed by the i-th application module, and when 1<i≤N, the i-th processing result includes the i-1-th processing result processed by the i-th application module. The processing results returned by the N application modules to the first edge node are all the business data processed by each of them.

[0120] Still Figure 5Taking the first call chain as an example, the first edge node calls the data acquisition application to obtain business data {temperature data: 5}, generates link tracking information 1 {module ID: XXX; timestamp: 2023xx; quality code: good} of the data acquisition application according to the tracking configuration sub-information of the data acquisition application, and sends the business data {temperature data: 5} and link tracking information 1 to application module A; assuming that after application module A processes the received business data, the processed business data is still {temperature data: 5}, then application module A returns business data {temperature data: 5} and link tracking information 1 to the first edge node; after the first edge node obtains the business data {temperature data: 5} and link tracking information 1 returned by application module A, it generates link tracking information 2 {module ID: A} of application module A according to the tracking configuration sub-information of application module A, and sends the business data {temperature data: 5} and link tracking information 1 and 2 to application module B; assuming that after application module B processes the received business data, the processed business data is still {temperature data: 5}, then application module B returns business data to the first edge node. {temperature data: 5} and link tracking information 1 and 2; after the first edge node obtains the business data {temperature data: 5} link tracking information 1 and 2 returned by application module B, it generates link tracking information 3 {module ID: B; input address: A; output address: C} of application module B according to the tracking configuration sub-information of application module B, and sends the business data {temperature data: 5} and link tracking information 1 to 3 to application module C; assuming that after application module C processes the received business data, the processed business data is still {temperature data: 5}, then application module C returns the business data {temperature data: 5} and link tracking information 1 to 3 to the first edge node; after the first edge node obtains the business data {temperature data: 5} and link tracking information 1 to 3 returned by application module C, it generates link tracking information 4 {module ID: C} of application module C according to the tracking configuration sub-information of application module C, and sends link tracking information 1 to 4 and the business data {temperature data: 5} returned by application module C to the cloud management platform, so that the link tracking information flows on the call chain together with the business data, thereby realizing link tracking. It should be noted that for link tracking information including the identification and additional information of the application module, Figure 5 Only the additional information in the link tracking information is displayed without the identification of the application module.

[0121] The first edge node uploads the link tracking information of each application module on the first call chain and the processing result of the last application module to the cloud management platform, and the cloud management platform stores the processing result of the last application module and the link tracking information of each application module for subsequent query. Figure 5Taking the example, the first edge node uploads the link tracking information 1 to 4 and the business data {temperature data: 5} returned by the application module C to the device access plane of the cloud management platform. The device access plane uses the link tracking information 1 to 4 as the link tracking data of the business data {temperature data: 5}, and archives the business data {temperature data: 5} and the link tracking data separately.

[0122] The cloud management platform also provides users with a first API and a second API, wherein the first API supports querying business data processed by the first call chain, and the second API supports querying link tracking data and business data processed by the first call chain. When data is open, users call the first API through a third-party application in the terminal to query the business data {temperature data: 5} processed by the first call chain. If an exception occurs in the business data processed by the first call chain, users can also call the second API through a third-party application in the terminal to query the link tracking data of the first call chain, and determine the application module that caused the exception based on the link tracking information in the link tracking data. For example, assuming Figure 5 If the temperature data uploaded to the cloud management platform is 6 instead of 5, then the business data is abnormal. Query the link tracking information 1-4 uploaded to the cloud management platform together with the business data. Since the quality code in the link tracking information 1 is "good", it means that the data collection application did not cause business data abnormalities. Link tracking information 2 and 3 only have module IDs, which have nothing to do with the quality of business data, indicating that application modules A and B did not cause data abnormalities. Further, it can be determined whether application module C caused data abnormalities based on link tracking information 4. For example, if link tracking information 4 includes the quality code "bad", it is determined that application module C caused business data abnormalities. If link tracking information 4 does not include a quality code, but includes additional information such as "add 2 to the business data", and temperature data 5 plus 2 should be 7, not 6, which also means that application module C caused business data abnormalities. If link tracking information 4 only includes the identification of application module C and does not include information related to business data quality, it means that application module C did not cause business data abnormalities.

[0123] In another possible implementation, the format of the link tracking information of each application module on the first call chain is the same, for example, the format of each link tracking information is: module ID + additional information. The embodiment of the present application does not limit the format of the link tracking information. In the case where there are many application modules on the first call chain, the format of the link tracking information of each application module is the same, which facilitates the second API to parse each link tracking information based on a unified format, so as to quickly find key information (such as quality code) used for problem location from each link tracking information, thereby improving the efficiency of problem location. The format of the link tracking information can be indicated by the first link tracking configuration information, so that the first edge node generates each link tracking information having the format of the link tracking information indicated by the first link tracking configuration information.

[0124] Figure 4 The method provided in the embodiment sends link configuration information and link tracking configuration information to the edge node in the edge hardware through the cloud management platform, so that the edge node calls each application module to process the business data of the business device according to the calling order of the application module indicated by the link configuration information, generates link tracking information of each application module according to the link tracking configuration information, and then sends the final processed business data and the link tracking information of each called application module to the cloud management platform together to perform link tracking on the business data. If the reported business data is abnormal, there is no need to rely on the log of the application module. Subsequently, according to the link tracking information of each application module, the application module that caused the abnormality can be quickly and accurately located, and there is no need to customize the adapted log printing specifications for each application module. The method provided in the embodiment of the present application uses the flow process of business data to perform link tracking with the application module as the granularity for the processed business data. The implementation method is simple and efficient, saving the information technology (IT) operation and maintenance costs.

[0125] The above example uses the case where the call chain of business data does not cross edge hardware as an example. In another possible implementation, the call chain of business data crosses edge hardware. For the call chain that crosses edge hardware, next, Figure 6 , the process of the data link tracking method based on Internet of Things technology provided in this application is introduced. The method is applied to a link tracking system based on Internet of Things technology. The link tracking system includes a cloud management platform, a first edge hardware and a second edge hardware. The first edge hardware and the second edge hardware are used to deploy the same call chain. The method includes the following steps.

[0126] 601. The cloud management platform obtains second link configuration information and second link tracking configuration information. The second link configuration information is used to indicate the calling order of each application module in the first application module, the second application module and the third application module. The second link tracking configuration is used to indicate that the business data configures the link tracking information of each application module respectively.

[0127] Among them, the link tracking system, such as the link tracking system 103, the cloud management platform, such as the cloud management platform 32, the second link configuration information and the second link tracking configuration information are respectively the link configuration information and the link tracking configuration information of the second call chain, the second call chain refers to any call chain in which the application modules are fully deployed on multiple edge hardwares, the second call chain includes multiple sub-chains and the processing order of multiple sub-chains, any sub-chain includes the calling order of at least one application module, the calling order of the at least one application module is used to indicate the order in which each application module in the at least one application module processes business data, and different sub-chains are deployed on different edge nodes. The processing order of the subchain is used to indicate the order in which the subchain processes business data in the second call chain. The subchain that processes business data first among multiple subchains is called the first subchain, the subchain that processes business data second first is called the second subchain, and so on. Exemplarily, the second call chain includes M subchains and the processing order of M subchains. The subchain with processing order j is called the jth subchain, the edge hardware deploying the jth subchain is called the jth edge hardware, and the edge node in the jth edge hardware is called the jth edge node, where j is an integer greater than or equal to 1 and less than or equal to M, and M is an integer greater than 1.

[0128] The second link configuration information includes the link configuration information of each sub-chain of the second call chain. The link configuration information of any sub-chain is called sub-link configuration information. For ease of description, the link configuration information of the j-th sub-chain is called the j-th sub-link configuration information. The j-th sub-link configuration information includes the identifier of the second call chain, the identifier of the j-th sub-chain, the identifier of the j-th edge hardware, the identifier of each application module of the j-th sub-chain, and the calling order of each application module on the j-th sub-chain. In this step 601, the process of obtaining the second link configuration information is the same as the process of obtaining the first link configuration information in step 401. The difference is that the link configuration information of the call chain across edge hardware is obtained in this step 601, and the link configuration information of the call chain that does not cross edge hardware is obtained in step 401.

[0129] The second link tracking configuration information includes the link tracking configuration information of each sub-chain of the second call chain. The link tracking configuration information of any sub-chain is called sub-link tracking configuration information. For ease of description, the link tracking configuration information of the j-th sub-chain is called the j-th sub-link tracking configuration information. The j-th sub-link tracking configuration information is used to indicate that the link tracking information of each application module on the j-th sub-chain is configured for the business data. For example, the j-th sub-link tracking configuration information includes the tracking configuration sub-information of each application module on the j-th sub-chain. The tracking configuration information of any application module is used to indicate that the link tracking information of the application module is configured for the business data. The process of obtaining the second link tracking configuration information in this step 601 is the same as the process of obtaining the first link tracking configuration information in step 402. The difference is that the link tracking configuration information of the call chain across edge hardware is obtained in this step 601, and the link tracking configuration information of the call chain that does not cross edge hardware is obtained in step 402.

[0130] To facilitate understanding of the data link tracking method based on Internet of Things technology provided by this application, Figure 6 The illustrated embodiment takes M=2, the second call chain includes the first subchain and the second subchain, the first call chain in the above text is taken as the first subchain (that is, the first subchain includes the calling order of the first application module and the calling order of the second application module), and the second call chain includes the calling order of the third application module as an example for illustrative explanation. In this case, the edge hardware where the first subchain is located is the first edge hardware, and the edge node in the first edge hardware is the first edge node. The edge hardware where the second subchain is located is the second edge hardware, and the edge node in the second edge hardware is the second edge node. In another possible implementation, the first subchain may also include one or more application modules, and the number of application modules in the first subchain is not limited here. The second subchain may also include two or more application modules, and the number of application modules in the second subchain is not limited here.

[0131] 602. Based on the second link configuration information and the second link tracking configuration information, the cloud management platform sends the first sub-link configuration information and the first sub-link tracking configuration information to the first edge node, and sends the second sub-link configuration information and the second sub-link tracking configuration information to the second edge node.

[0132] Among them, the first sub-link configuration information and the first sub-link tracking configuration information are the link configuration information and link tracking configuration information of the first sub-link respectively, the second sub-link configuration information and the second sub-link tracking configuration information are the link configuration information and link tracking configuration information of the second sub-chain respectively, this step 602 is the same as step 403, and will not be repeated here.

[0133] 603. The first edge node receives first sub-link configuration information and first sub-link tracking configuration information, and the second edge node receives second sub-link configuration information and the second sub-link tracking configuration information.

[0134] Among them, this step 603 is the same as step 404 and will not be repeated here.

[0135] 604. The first edge node obtains service data generated by the service device during operation.

[0136] Here, step 604 is the same as step 405 and will not be described in detail here.

[0137] 605. The first edge node calls the first application module to process the business data to obtain a first processing result according to the first sub-link configuration information, generates first link tracking information according to the first sub-link tracking configuration information, calls the second application module to process the first processing result to obtain a second processing result according to the first sub-link configuration information, and generates second link tracking information according to the first sub-link tracking configuration information.

[0138] Among them, the process of step 605 is the same as that of steps 406 to 409, and will not be repeated here.

[0139] 606. The first edge node sends the second processing result, the first link tracking information, and the second link tracking information to the second edge node.

[0140] Among them, this step 606 is the same as step 410, the difference is that, in this step 606, since the second edge node is used to manage the next subchain after the first subchain on the second call chain (i.e., the second subchain), the first edge node sends the second processing result, the first link tracking information and the second link tracking information to the second edge node, so that the second processing result continues to flow on the second subchain.

[0141] 607. The second edge node receives the second processing result, the first link tracking information and the second link tracking information, and calls the third application module to process the second processing result to obtain the third processing result according to the second sub-link configuration information, and generates the third link tracking information according to the second sub-link tracking configuration information. The third link tracking information is used to indicate that the third application module has processed the second processing result.

[0142] The third link tracking information is the link tracking information of the service data in the third application module, and the third processing result includes the processed second processing result. This step 607 is similar to the process shown in step 408 and step 409, and will not be repeated here.

[0143] 608. The second edge node sends the third processing result, the first link tracking information, the second link tracking information, and the third link tracking information to the cloud management platform.

[0144] Among them, this step 608 is similar to step 410, the difference is that in this step 608, the second edge node also sends the link tracking information of each application module on the first sub-chain together with the third link tracking information and the third processing result to the cloud management platform.

[0145] 609. The cloud management platform receives the third processing result, the first link tracking information, the second link tracking information, and the third link tracking information.

[0146] After receiving the third processing result, the first link tracking information, the second link tracking information and the third link tracking information, the cloud management platform processes the third processing result, the first link tracking information, the second link tracking information and the third link tracking information in the same way as the cloud management platform processes the second processing result, the first link tracking information and the second link tracking information in the above step 411, and will not be repeated here.

[0147] The method provided in the embodiment of the present application processes the business data through the application modules of each sub-chain on the call chain in turn for a call chain across edge hardware to obtain the business data processed by the call chain. The edge nodes to which each sub-chain belongs also generate link tracking information of the business data in each application module of the corresponding sub-chain, and circulate the link tracking information of each application module along with the business data on each sub-chain. In this way, the edge node that manages the last sub-chain can obtain the business data finally processed by the call chain and the link tracking information of the business data in each application module on the call chain. The edge node sends the processed business data and the link tracking information of each application module on the call chain to the cloud management platform together. When an exception occurs in the processed business data, the application module that caused the exception can be accurately located based on the link tracking information of each application module on the call chain.

[0148] Figure 6The example in which the second call chain includes two subchains is used for explanation. In another possible implementation, the second call chain includes M subchains. For the j-th subchain among the M subchains, the cloud management platform sends the j-th sublink configuration information and the j-th sublink tracking configuration information to the i-th edge hardware based on the second link tracking configuration information and the second link tracking configuration. When j=1, the j-th edge node calls each application module on the j-th subchain in sequence to process business data according to the j-th sublink configuration information, obtains the business data processed by the j-th subchain, generates link tracking information of each application module of the business data on the j-th subchain according to the j-th sublink tracking configuration information, and sends the business data processed by the j-th subchain and the link tracking information of each application module on the j-th subchain to the j+1-th edge node. When 1<j≤M, the jth edge node receives the service data processed by the j-1th subchain and the link tracking information of each application module of each subchain from the first subchain to the (j-1)th subchain sent by the (j-1)th edge node, and according to the jth subchain configuration information, sequentially calls the application module of the jth subchain to process the service data processed by the j-1st subchain, obtains the service data processed by the jth subchain, and generates the link tracking information of each application module of the service data on the jth subchain according to the jth subchain tracking configuration information, so that the jth edge node can obtain the link tracking information of each application module of the first subchain to the jth subchain. The link tracking information of each application module of each subchain in the chain, if 1<j<M, the jth edge node sends the business data processed by the jth subchain and the link tracking information of each application module from the first subchain to the jth subchain to the (j+1)th edge node; if j=M, the jth edge node sends the business data processed by the jth subchain and the link tracking information of each application module from the first subchain to the jth subchain to the cloud management platform, so that the link tracking information of each application module of the second call chain is sent to the cloud management platform together with the business data processed by the second call chain.

[0149] The above are all explained with the first application module being the first application module in the call chain as an example. In another possible implementation, the first application module is an application module other than the first application module in the call chain. For this implementation, the business data processed by the first edge node calling the first application module is the business data processed by the previous application module of the first application module in the call chain. Accordingly, the business data processed by the call chain and the link tracking information of each application module in the call chain are finally sent to the cloud management platform.

[0150] The above describes the method of the embodiment of the present application, and the following describes the device of the embodiment of the present application. It should be understood that the device described below has any function of the edge hardware, edge node or cloud management platform in the above method. Figures 4 to 6The data link tracking method based on the Internet of Things technology provided by the present application is described in detail. Based on the same inventive concept, the following will be combined with Figures 7 to 11 It should be understood that the technical features described in the method embodiment are also applicable to the following device embodiment.

[0151] Figure 7 is a structural diagram of a data link tracking device based on Internet of Things technology provided by an embodiment of the present application, Figure 7 The device 700 shown is used to manage the first application module and the second application module running on the first edge hardware, the first edge hardware is connected to the business device, the first application module and the second application module are used to process the business data generated by the business device during operation, and the device 700 includes:

[0152] The receiving module 701 is used to receive the first link configuration information and the first link tracking configuration information sent by the cloud management platform, the first link configuration information is used to indicate the calling order of the first application module and the calling order of the second application module, and the first link tracking configuration information is used to indicate the link tracking information of the first application module and the second application module respectively configured for the service data;

[0153] A calling module 702 is used to call a first application module to process service data to obtain a first processing result according to the first link configuration information;

[0154] A generating module 703, configured to generate first link tracking information according to the first link tracking configuration information, wherein the first link tracking information is used to indicate that the first application module has completed processing the service data;

[0155] The calling module 702 is further used to call the second application module to process the first processing result to obtain the second processing result according to the first link configuration information;

[0156] The generating module 703 is further used to generate second link tracking information according to the first link tracking configuration information, where the second link tracking information is used to indicate that the second application module has processed the first processing result;

[0157] The sending module 704 is used to send the second processing result, the first link tracking information and the second link tracking information to the cloud management platform.

[0158] In a possible implementation, any one of the first link tracking information and the second link tracking information includes at least one of the following: an identifier of the application module to which it belongs, a timestamp of data processed by the application module to which it belongs, a quality code, an input address, and an output address.

[0159] In a possible implementation, the calling module 702 is further configured to send the first processing result and the first link tracking information to the second application module; and receive the second processing result and the first link tracking information returned by the second application module;

[0160] The sending module is also used to send the second link tracking information and the received second processing result and the first link tracking information to the cloud management platform.

[0161] In a possible implementation, the apparatus 700 further includes:

[0162] An adding module, the adding module is further used to add the first link tracking information in the completion list, and add the second link tracking information in the completion list, the completion list is used to record the link tracking information of the application module indicated by the first link configuration information that has processed the data;

[0163] The sending module 704 is further used to send the second processing result, the first link tracking information in the completion list, and the second link tracking information to the cloud management platform.

[0164] In a possible implementation, the calling module 702 is further configured to:

[0165] In response to a first data subscription request of the first application module, executing the step of calling the first application module to process the service data to obtain a first processing result according to the first link configuration information, wherein the first data subscription request is used to indicate subscription to the service data;

[0166] In response to a second data subscription request from the second application module, a step of calling the second application module to process the first processing result to obtain a second processing result according to the first link configuration information is executed, and the second data subscription request is used to indicate subscription to the first processing result.

[0167] In a possible implementation, the apparatus 700 further includes:

[0168] A receiving module, used to receive application deployment information sent by the cloud management platform, where the application deployment information includes a first application module and a second application module;

[0169] A deployment module is used to deploy a first application module and a second application module on a first edge hardware based on the application deployment information.

[0170] In a possible implementation, the first application module, the second application module, and the third application module are used to process service data, the third application module is managed by the second edge node running on the second edge hardware, and the sending module 704 is further used to:

[0171] The second processing result, the first link tracking information, and the second link tracking information are sent to the second edge node.

[0172] Any of the above-described devices 700 can be configured as an edge node in the first edge hardware, such as the edge node involved above. Alternatively, the device 700 can also be configured as the first edge hardware. The modules in the device 700 and the above-mentioned other operations and / or functions are respectively for implementing the various steps and methods implemented by the first edge hardware or edge node in the above-mentioned data link tracking method based on the Internet of Things technology. For specific details, please refer to the above-mentioned method flow, which will not be repeated here for the sake of brevity.

[0173] Figure 8 is a structural diagram of another data link tracking device based on Internet of Things technology provided by an embodiment of the present application, Figure 8 The device 800 shown is applied to a cloud management platform, the cloud management platform is used to manage a first edge node, the first edge node is used to manage a first application module and a second application module running on a first edge hardware, the first edge hardware is connected to a business device, the first application module and the second application module are used to process business data generated by the business device during operation, and the device 800 includes:

[0174] A first acquisition module 801 is used to acquire first link configuration information, where the first link configuration information is used to indicate a calling order of a first application module and a calling order of a second application module;

[0175] A second acquisition module 802 is used to acquire first link tracking configuration information, where the first link tracking configuration information is used to indicate link tracking information of the first application module and the second application module are configured for the service data, respectively, and the link tracking information is used to indicate that the corresponding application module has processed the service data;

[0176] The sending module 803 is configured to send the first link configuration information and the first link tracking configuration information to the first edge node.

[0177] In a possible implementation manner, the first acquisition module 801 is used to: receive first link configuration information sent by a terminal.

[0178] In a possible implementation, the first acquisition module 801 is used to:

[0179] Determine the calling order of the first application module and the calling order of the second application module based on the business model, the business model is used to indicate the processing flow of the business data;

[0180] Based on the calling order of the first application module and the calling order of the second application module, the first link configuration information is acquired.

[0181] In a possible implementation, the apparatus 800 further includes:

[0182] The third acquisition module is used to acquire application deployment information, where the application deployment information includes the first application module and the second application module:

[0183] The sending module is also used to send application deployment information to the first edge node.

[0184] In a possible implementation, the apparatus 800 further includes:

[0185] The receiving module is used to receive the second processing result, the first link tracking information and the second link tracking information sent by the first edge node, the first link tracking information is used to indicate that the first application module has processed the business data, and the second link tracking information is used to indicate that the second application module has processed the first processing result.

[0186] Any of the above-described devices 800 can be configured as a cloud management platform or a component in a cloud management platform. The modules in the device 800 and the above-mentioned other operations and / or functions are respectively for realizing various steps and methods implemented by the cloud management platform in the above-mentioned data link tracking method based on the Internet of Things technology. For specific details, please refer to the above-mentioned method flow, and for the sake of brevity, they will not be repeated here.

[0187] For any device in device 700 and device 800, when the device performs link tracking on business data, only the division of the above-mentioned functional modules is used as an example. In actual application, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and the above-mentioned data link tracking method based on the Internet of Things technology belong to the same concept. The specific implementation process is detailed in the above-mentioned data link tracking process based on the Internet of Things technology, which will not be repeated here.

[0188] For any device in the device 700 and the device 800, each module in the device can be implemented by software or hardware. Exemplarily, the implementation of the generation module 703 is described below by taking the generation module 703 as an example. Similarly, each module in the device can refer to the implementation of the generation module 703.

[0189] As an example of a software functional unit, the generation module 703 may include code running on a computing instance. Among them, the computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Further, the above-mentioned computing instance may be one or more. For example, the generation module 703 may include code running on multiple hosts / virtual machines / containers. It should be noted that the multiple hosts / virtual machines / containers used to run the code can be distributed in the same region (region) or in different regions. Furthermore, the multiple hosts / virtual machines / containers used to run the code can be distributed in the same availability zone (AZ) or in different AZs, each AZ including a data center or multiple data centers with close geographical locations. Among them, usually a region can include multiple AZs.

[0190] Similarly, multiple hosts / virtual machines / containers used to run the code can be distributed in the same virtual private cloud (VPC) or in multiple VPCs. Usually, a VPC is set up in a region. For cross-region communication between two VPCs in the same region and between VPCs in different regions, a communication gateway needs to be set up in each VPC to achieve interconnection between VPCs through the communication gateway.

[0191] As an example of a hardware functional unit, the generation module 703 may include at least one computing device, such as a server, etc. Alternatively, the generation module 703 may also be a device implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD). The PLD may be a complex programmable logical device (CPLD), a field programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

[0192] The multiple computing devices included in the generation module 703 can be distributed in the same region or in different regions. The multiple computing devices included in the generation module 703 can be distributed in the same AZ or in different AZs. Similarly, the multiple computing devices included in the generation module 703 can be distributed in the same VPC or in multiple VPCs. The multiple computing devices can be any combination of computing devices such as servers, ASICs, PLDs, CPLDs, FPGAs, and GALs.

[0193] For the device 700, in other embodiments, the generation module 703 can be used to execute any step in the data link tracking method based on the Internet of Things technology on the edge node side, the receiving module 701, the calling module 702 or the sending module 704 can be used to execute any step in the method, the steps that the receiving module 701, the calling module 702, the generation module 703 and the sending module 704 are responsible for implementing can be specified as needed, and the receiving module 701, the calling module 702, the generation module 703 and the sending module 704 respectively implement different steps in the method to achieve all functions based on edge hardware or edge nodes. In other embodiments, the first acquisition module 801 can be used to execute any step in the data link tracking method based on the Internet of Things technology on the cloud management platform side, the second acquisition module 802 or the sending module 803 can be used to execute any step in the method, the first acquisition module 801, the second acquisition module 802 and the sending module 803 are responsible for implementing the steps that can be specified as needed, and the first acquisition module 801, the second acquisition module 802 and the sending module 803 respectively implement different steps in the method to achieve functions based on the cloud management platform.

[0194] The present application also provides a computing device, such as Fig. 9 The schematic diagram of the structure of a computing device provided by an embodiment of the present application is shown, and the computing device 900 includes: a bus 902, a processor 904, a memory 906, and a communication interface 908. The processor 904, the memory 906, and the communication interface 908 communicate through the bus 902. The computing device 900 can be a server or a terminal gateway. It should be understood that the present application does not limit the number of processors and memories in the computing device 900.

[0195] The bus 902 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig. 9The bus 902 may include a path for transmitting information between various components of the computing device 900 (eg, the memory 906, the processor 904, and the communication interface 908).

[0196] The processor 904 may include any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).

[0197] The memory 906 may include a volatile memory, such as a random access memory (RAM). The memory 906 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).

[0198] The memory 906 stores executable program codes, and the processor 904 executes the executable program codes to respectively implement the functions of the data link tracking method based on the Internet of Things technology on the edge node side or the cloud management platform side, thereby implementing the data link tracking method based on the Internet of Things technology. That is, the memory 906 stores instructions for executing the data link tracking method based on the Internet of Things technology.

[0199] Alternatively, the memory 906 stores executable codes, and the processor 904 executes the executable codes to respectively implement the aforementioned provided apparatus 700 and apparatus 800, thereby implementing the data link tracking method and apparatus method based on the Internet of Things technology provided above. That is, the memory 906 stores instructions for executing the data link tracking method based on the Internet of Things technology.

[0200] The processor 904 is used to execute instructions stored in the memory 906 so that the computing device 900 executes the steps of the data link tracking method based on the Internet of Things technology on the edge node side or the cloud management platform side.

[0201] The communication interface 908 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the computing device 900 and other devices or communication networks.

[0202] The embodiment of the present application also provides a computing device cluster. The computing device cluster includes at least one computing device. The computing device may be a server or a gateway.

[0203] like Fig.10 The illustrated embodiment of the present application provides an architecture diagram of a computing device cluster, wherein the computing device cluster includes at least one computing device 900. The memory 906 in one or more computing devices 900 in the computing device cluster may store the same instructions for executing the data link tracking method based on the Internet of Things technology on the edge node side or the cloud management platform side.

[0204] In some possible implementations, the memory 906 of one or more computing devices 900 in the computing device cluster may also store partial instructions for executing the data link tracking method based on the Internet of Things technology on the edge node side or the cloud management platform side. In other words, the combination of one or more computing devices 900 can jointly execute instructions for executing the data link tracking method based on the Internet of Things technology.

[0205] It should be noted that, when the computing device 900 in the computing device cluster is configured as an edge node, the memory 906 in different computing devices 900 may store different instructions, which are respectively used to implement partial functions of the receiving module 701, the calling module 702, the generating module 703 and the sending module 704. That is, the instructions stored in the memory 906 in different computing devices 900 may implement the functions of one or more modules in the receiving module 701, the calling module 702, the generating module 703 and the sending module 704. When the computing device 900 in the computing device cluster is configured as a cloud management platform, the memory 906 in different computing devices 900 may store different instructions, which are respectively used to implement partial functions of the first acquisition module 801, the second acquisition module 802 and the sending module 803. That is, the instructions stored in the memory 906 in different computing devices 900 may implement the functions of one or more modules in the first acquisition module 801, the second acquisition module 802 and the sending module 803.

[0206] In some possible implementations, one or more computing devices in a computing device cluster may be connected via a network. The network may be a wide area network or a local area network, etc. For example Fig.11 The embodiment of the present application shown in the figure provides another architecture diagram of a computing device cluster. Fig.11As shown, two computing devices 9A and 9B are connected via a network. Specifically, the network is connected via a communication interface in each computing device. In this type of possible implementation, when the computing devices in the computing cluster are configured as edge hardware, the memory 906 in the computing device 9A stores instructions for the functions of the calling module 702 and the generating module 703. At the same time, the memory 906 in the computing device 9B stores instructions for executing the functions of the receiving module 701 and the sending module 704. Fig.11 The connection method between the computing device clusters shown may be based on the needs of the data link tracking method based on the Internet of Things technology provided in this application, so it is considered to hand over the functions implemented by the calling module 702 and the generating module 703 to the computing device 9A for execution.

[0207] In this type of possible implementation, when the computing devices in the computing cluster are configured as a cloud management platform, the memory 906 in the computing device 9A stores instructions for the functions of the second acquisition module 802. At the same time, the memory 906 in the computing device 9B stores instructions for executing the functions of the first acquisition module 801 and the sending module 803.

[0208] It should be understood that Fig.11 The functions of the computing device 9A shown in FIG. 9A may also be completed by multiple computing devices 900. Similarly, the functions of the computing device 9B may also be completed by multiple computing devices 900.

[0209] The present application embodiment also provides another computing device cluster. The connection relationship between the computing devices in the computing device cluster can be similar to that of Fig.10 and Fig.11 The connection mode of the computing device cluster is different in that the memory 906 in one or more computing devices 900 in the computing device cluster may store the same instructions for executing the data link tracking method based on the Internet of Things technology on the edge node side or the cloud management platform side.

[0210] In some possible implementations, the memory 906 of one or more computing devices 900 in the computing device cluster may also store partial instructions for executing the data link tracking method based on the Internet of Things technology on the edge node side or the cloud management platform side. In other words, the combination of one or more computing devices 900 can jointly execute instructions for executing the data link tracking method based on the Internet of Things technology.

[0211] The embodiment of the present application also provides a computer program product including instructions. The computer program product may be a software or program product including instructions that can be run on a computing device or stored in any available medium. When the computer program product is run on at least one computing device, the at least one computing device executes a data link tracking method based on the Internet of Things technology on the edge node side or the cloud management platform side.

[0212] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center containing one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk). The computer-readable storage medium includes instructions that instruct the computing device to execute a data link tracking method based on Internet of Things technology.

[0213] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions. For example, the business data involved in this application are all obtained with full authorization.

[0214] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the protection scope of the technical solutions of the embodiments of the present application.

Claims

1. A data link tracking method based on Internet of Things technology, characterized in that: The method is applied to a first edge node, the first edge node is used to manage a first application module and a second application module running on a first edge hardware, the first edge hardware is connected to a service device, the first application module and the second application module are used to process service data generated by the service device during operation, and the method includes: Receiving first link configuration information and first link tracking configuration information sent by the cloud management platform, the first link configuration information is used to indicate the calling order of the first application module and the calling order of the second application module, and the first link tracking configuration information is used to indicate the link tracking information of the first application module and the second application module respectively configured for the service data; Calling the first application module to process the service data to obtain a first processing result according to the first link configuration information; Generate first link tracking information according to the first link tracking configuration information, where the first link tracking information is used to indicate that the first application module has completed processing the service data; Calling the second application module to process the first processing result to obtain a second processing result according to the first link configuration information; generating second link tracking information according to the first link tracking configuration information, wherein the second link tracking information is used to indicate that the second application module has processed the first processing result; The second processing result, the first link tracking information, and the second link tracking information are sent to the cloud management platform.

2. The method according to claim 1, characterized in that Any one of the first link tracking information and the second link tracking information includes at least one of the following: The identification of the application module to which it belongs, the timestamp of the data processed by the application module, the quality code, the input address and the output address.

3. The method according to claim 1 or 2, characterized in that: The calling the second application module to process the first processing result to obtain the second processing result includes: Sending the first processing result and the first link tracking information to the second application module; receiving the second processing result and the first link tracking information returned by the second application module; The sending the second processing result, the first link tracking information and the second link tracking information to the cloud management platform includes: The second link tracking information and the received second processing result and the first link tracking information are sent to the cloud management platform.

4. The method according to claim 1 or 2, characterized in that: The method further comprises: After generating the first link tracking information, adding the first link tracking information to the completion list, and after generating the second link tracking information, adding the second link tracking information to the completion list, the completion list is used to record the link tracking information of the application module indicated by the first link configuration information that has processed the data; The sending the second processing result, the first link tracking information and the second link tracking information to the cloud management platform includes: The second processing result, the first link tracking information in the completion list, and the second link tracking information are sent to the cloud management platform.

5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: In response to a first data subscription request of the first application module, executing a step of calling the first application module to process the service data to obtain a first processing result according to the first link configuration information, wherein the first data subscription request is used to indicate a subscription to the service data; In response to a second data subscription request of the second application module, the step of calling the second application module to process the first processing result to obtain a second processing result according to the first link configuration information is executed, and the second data subscription request is used to indicate subscription to the first processing result.

6. The method according to any one of claims 1 to 5, characterized in that Before receiving the first link configuration information and the first link tracking configuration information sent by the cloud management platform, the method further includes: Receiving application deployment information sent by the cloud management platform, the application deployment information including the first application module and the second application module; Based on the application deployment information, the first application module and the second application module are deployed on the first edge hardware.

7. The method according to any one of claims 1 to 6, characterized in that The first application module, the second application module, and the third application module are used to process the service data, the third application module is managed by a second edge node running on the second edge hardware, and the method further includes: The second processing result, the first link tracking information, and the second link tracking information are sent to the second edge node.

8. A data link tracking method based on Internet of Things technology, characterized in that: The method is applied to a cloud management platform, the cloud management platform is used to manage a first edge node, the first edge node is used to manage a first application module and a second application module running on a first edge hardware, the first edge hardware is connected to a business device, the first application module and the second application module are used to process business data generated by the business device during operation, and the method includes: Acquire first link configuration information, where the first link configuration information is used to indicate a calling order of the first application module and a calling order of the second application module; Acquire first link tracking configuration information, where the first link tracking configuration information is used to indicate that link tracking information of the first application module and the second application module are respectively configured for the service data, and the link tracking information is used to indicate that the corresponding application module has processed the service data; The first link configuration information and the first link tracking configuration information are sent to a first edge node.

9. The method according to claim 8, characterized in that The acquiring of the first link configuration information comprises: The first link configuration information sent by the receiving terminal.

10. The method according to claim 8, characterized in that The acquiring of the first link configuration information comprises: Determining a calling order of the first application module and a calling order of the second application module based on a business model, wherein the business model is used to indicate a processing flow for the business data; The first link configuration information is acquired based on the calling order of the first application module and the calling order of the second application module.

11. The method according to any one of claims 8 to 10, characterized in that: Before obtaining the first link tracking configuration information, the method further includes: Obtain application deployment information, the application deployment information including the first application module and the second application module: Send the application deployment information to the first edge node.

12. The method according to any one of claims 8 to 11, characterized in that After sending the first link configuration information and the first link tracking configuration information to the first edge node, the method further includes: Receive a second processing result, first link tracking information, and second link tracking information sent by the first edge node, the first link tracking information is used to indicate that the first application module has processed the business data, and the second link tracking information is used to indicate that the second application module has processed the first processing result.

13. A link tracking system based on Internet of Things technology, characterized in that: It includes the edge node involved in any one of claims 1-7 and the cloud management platform involved in any one of claims 8-12.

14. A data link tracking device based on Internet of Things technology, characterized in that: The device is used to manage a first application module and a second application module running on a first edge hardware, the first edge hardware is connected to a service device, the first application module and the second application module are used to process service data generated by the service device during operation, and the device includes: a receiving module, configured to receive first link configuration information and first link tracking configuration information sent by a cloud management platform, wherein the first link configuration information is used to indicate a calling order of the first application module and a calling order of the second application module, and the first link tracking configuration information is used to indicate link tracking information of the first application module and the second application module respectively configured for the service data; A calling module, configured to call the first application module to process the service data to obtain a first processing result according to the first link configuration information; A generating module, configured to generate first link tracking information according to the first link tracking configuration information, wherein the first link tracking information is used to indicate that the first application module has completed processing the service data; The calling module is further used to call the second application module to process the first processing result to obtain a second processing result according to the first link configuration information; The generating module is further used to generate second link tracking information according to the first link tracking configuration information, wherein the second link tracking information is used to indicate that the second application module has processed the first processing result; A sending module is used to send the second processing result, the first link tracking information and the second link tracking information to the cloud management platform.

15. The device according to claim 14, characterized in that Any one of the first link tracking information and the second link tracking information includes at least one of the following: The identification of the application module to which it belongs, the timestamp of the data processed by the application module, the quality code, the input address and the output address.

16. The device according to claim 14 or 15, characterized in that The calling module is further used to send the first processing result and the first link tracking information to the second application module; and receive the second processing result and the first link tracking information returned by the second application module; The sending module is further used to send the second link tracking information and the received second processing result and the first link tracking information to the cloud management platform.

17. The device according to claim 14 or 15, characterized in that The device also includes: an adding module, the adding module is further used to add the first link tracking information to a completion list, and to add the second link tracking information to the completion list, the completion list being used to record the link tracking information of the application module indicated by the first link configuration information that has processed the data; The sending module is further used to send the second processing result, the first link tracking information in the completion list, and the second link tracking information to the cloud management platform.

18. The device according to any one of claims 14 to 17, characterized in that The calling module is also used for: In response to a first data subscription request of the first application module, executing a step of calling the first application module to process the service data to obtain a first processing result according to the first link configuration information, wherein the first data subscription request is used to indicate a subscription to the service data; In response to a second data subscription request of the second application module, the step of calling the second application module to process the first processing result to obtain a second processing result according to the first link configuration information is executed, and the second data subscription request is used to indicate subscription to the first processing result.

19. The device according to any one of claims 14 to 18, characterized in that The device also includes: A receiving module, configured to receive application deployment information sent by the cloud management platform, wherein the application deployment information includes the first application module and the second application module; A deployment module is used to deploy the first application module and the second application module on the first edge hardware based on the application deployment information.

20. The device according to any one of claims 14 to 19, characterized in that The first application module, the second application module and the third application module are used to process the service data, the third application module is managed by the second edge node running on the second edge hardware, and the sending module is further used to: The second processing result, the first link tracking information, and the second link tracking information are sent to the second edge node.

21. A data link tracking device based on Internet of Things technology, characterized in that: The device is applied to a cloud management platform, the cloud management platform is used to manage a first edge node, the first edge node is used to manage a first application module and a second application module running on a first edge hardware, the first edge hardware is connected to a business device, the first application module and the second application module are used to process business data generated by the business device during operation, and the device includes: A first acquisition module, used to acquire first link configuration information, where the first link configuration information is used to indicate a calling order of the first application module and a calling order of the second application module; A second acquisition module is used to acquire first link tracking configuration information, where the first link tracking configuration information is used to indicate that link tracking information of the first application module and the second application module are respectively configured for the service data, and the link tracking information is used to indicate that the application module has processed the service data; A sending module is used to send the first link configuration information and the first link tracking configuration information to a first edge node.

22. The device according to claim 21, characterized in that The first acquisition module is used for: The first link configuration information sent by the receiving terminal.

23. The device according to claim 21, characterized in that The first acquisition module is used for: Determining a calling order of the first application module and a calling order of the second application module based on a business model, wherein the business model is used to indicate a processing flow for the business data; The first link configuration information is acquired based on the calling order of the first application module and the calling order of the second application module.

24. The device according to any one of claims 21 to 23, characterized in that The device also includes: A third acquisition module is used to acquire application deployment information, where the application deployment information includes the first application module and the second application module: The sending module is further configured to send the application deployment information to the first edge node.

25. The device according to any one of claims 21 to 24, characterized in that The device also includes: A receiving module is used to receive a second processing result, first link tracking information and second link tracking information sent by the first edge node, the first link tracking information is used to indicate that the first application module has processed the business data, and the second link tracking information is used to indicate that the second application module has processed the first processing result.

26. A computing device cluster, characterized in that: It includes at least one computing device, each computing device includes a processor and a memory; the processor of the at least one computing device is used to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster executes the method as described in any one of claims 1-12.

27. A computer program product comprising instructions, characterized in that When the instructions are executed by a computing device cluster, the computing device cluster executes the method according to any one of claims 1 to 12.

28. A computer-readable storage medium, characterized in that: The method comprises computer program instructions. When the computer program instructions are executed by a computing device cluster, the computing device cluster performs the method according to any one of claims 1 to 12.