Digital twin synchronous display method for real-time input of IoT device operation status

By developing protocol conversion plug-ins, the communication protocol of IoT devices is converted into a format that is understandable to the digital twin platform, solving the problem of device protocol mismatch, real-time digital twin display of IoT devices is realized, and applicability and operation and maintenance efficiency are improved.

CN118158252BActive Publication Date: 2025-03-18HUBEI CRYSTAL CLOUD TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410442076.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-12
Publication Date
2025-03-18
Estimated Expiration
2044-04-12

AI Technical Summary

Technical Problem

In the prior art, different communication protocols of IoT devices do not match the communication protocols of digital twin platforms, resulting in the inability to perform digital twins and poor applicability.

Method used

By obtaining the device protocol documents of IoT devices, developing a common protocol conversion plug-in, connecting to IoT devices, and obtaining real-time operating status for digital twin synchronous display after all devices are connected.

Benefits of technology

IoT devices that realize different communication protocols can be displayed simultaneously with the digital twin platform, improving applicability and operation and maintenance efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118158252B_ABST
    Figure CN118158252B_ABST
Patent Text Reader

Abstract

The present invention provides a method for synchronously displaying a digital twin whose operating status is transmitted in real time by an Internet of Things device, wherein the method comprises: step 1: obtaining a device protocol document of an Internet of Things device; step 2: developing a protocol conversion plug-in according to the device protocol document; step 3: connecting the Internet of Things device according to the protocol conversion plug-in; step 4: when all the Internet of Things devices are connected, obtaining the real-time operating status of the Internet of Things device, and performing synchronous display of the digital twin according to the real-time operating status. The method for synchronously displaying a digital twin whose operating status is transmitted in real time by an Internet of Things device of the present invention develops a general protocol conversion plug-in according to the device protocol document of the Internet of Things device, and connects the Internet of Things device according to the protocol conversion plug-in. When all the Internet of Things devices that need to be connected are connected, the digital twin is synchronously displayed according to the real-time operating status of the Internet of Things device, which is more applicable to Internet of Things devices with different communication protocols.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of digital twin technology, and in particular to a method for synchronously displaying a digital twin of an Internet of Things device whose operating status is transmitted in real time. Background Art

[0002] At present, when operation and maintenance personnel check the operating status of IoT devices, they generally use manual on-site inspection or visit the IoT platform to check, but both methods are less intuitive and convenient. Digital twin technology is a technology that creates a virtual copy of a physical entity and synchronizes its physical state and behavior in real time. In the field of IoT, digital twins can be used to monitor and display the operating status of equipment in real time, thereby improving operation and maintenance efficiency and decision-making quality.

[0003] The invention patent with application number: CN202311668704.1 discloses a data visualization system based on digital twin technology, including a factory virtual IoT digital twin module for building a virtual scene of a real factory; a data acquisition module for collecting PLC data and sensor data driven by IoT devices; a data processing module for processing the data collected by the data acquisition module and sending it to the factory virtual IoT digital twin module, and a neural network unit for predicting the working status of IoT devices in a real factory by inputting the data collected by the data acquisition module. Based on this system, the above invention also discloses a data visualization method based on digital twin technology. The above invention quickly predicts the working status of the IoT in a real factory by constructing a neural network model of the working status of IoT devices, and realizes real-time understanding of the working status of the real factory while realizing the visualization of real factory data.

[0004] However, the IoT devices of different IoT device manufacturers use different communication protocols. In the existing technology, when the communication protocol of the IoT device required to access the digital twin platform does not match the communication protocol of the digital twin platform, digital twinning cannot be performed, and the applicability is poor.

[0005] In view of this, there is an urgent need for a digital twin synchronous display method that transmits the operating status of IoT devices in real time to at least solve the above-mentioned deficiencies. Summary of the invention

[0006] One of the purposes of the present invention is to provide a method for synchronously displaying digital twins of the real-time input running status of IoT devices. According to the device protocol documents of the IoT devices obtained, a universal protocol conversion plug-in is developed, and the IoT devices are connected according to the protocol conversion plug-in. When all the IoT devices that need to be connected are connected, the digital twins are synchronously displayed according to the real-time running status of the IoT devices obtained, which is more applicable to IoT devices with different communication protocols.

[0007] The embodiment of the present invention provides a method for synchronously displaying a digital twin of an IoT device running status transmitted in real time, including:

[0008] Step 1: Obtain the device protocol document of the IoT device;

[0009] Step 2: Develop a protocol conversion plug-in according to the device protocol document;

[0010] Step 3: Convert the plug-in according to the protocol and connect the IoT device;

[0011] Step 4: When all IoT devices are connected, obtain the real-time operating status of the IoT devices, and perform digital twin synchronization display based on the real-time operating status.

[0012] Preferably, step 2: developing a protocol conversion plug-in according to the device protocol document, including:

[0013] Parse the device protocol document and obtain the document semantics;

[0014] According to the document semantics, obtain the protocol information, which includes: communication format, data structure, command set and response mechanism;

[0015] According to the protocol information, key elements are determined and used as analysis results. The key elements include: data packet header, address field, data field and check field;

[0016] Determine the conversion logic for manual pre-entry;

[0017] Determine the conversion process based on the analysis results and conversion logic;

[0018] According to the conversion process, write the conversion code and use the conversion code as a protocol conversion plug-in.

[0019] Preferably, according to the conversion process, the conversion code is written, including:

[0020] According to the conversion process, determine the field correspondence between the source protocol field and the target protocol field;

[0021] Get the target code type;

[0022] Determine the writing information according to the field correspondence and the target code type, and the writing information includes: global variables, main function, target function and target class;

[0023] According to the main function, determine the code unit and execution order;

[0024] Perform unit testing and integration testing according to code units and execution order;

[0025] If the test results of the unit test and the test results of the integration test are both passed, the conversion code is determined based on the writing information.

[0026] Preferably, the writing information is determined according to the field correspondence and the target code type, including:

[0027] According to the target code type, visit the target code forum and obtain the access information of the target code forum;

[0028] Parsing the access information, and determining a first target feature group set according to a field relationship featureization rule;

[0029] Traversing each field correspondence in turn, and determining a second target feature group according to the field correspondence being traversed;

[0030] Based on the matching condition, determining a third target feature group according to the first target feature group set and the second target feature group;

[0031] Determining a target template based on access information corresponding to the third target feature group;

[0032] Determine the writing sub-information according to the field correspondence being traversed and the target template. When all the field correspondences are traversed, summarize the writing sub-information to obtain the writing information.

[0033] The matching conditions include:

[0034] The third target feature group is a first target feature group in the first target feature group set;

[0035] and,

[0036] The first feature group comparison parameter of the third target feature group and the second target feature group is less than or equal to a preset first feature group comparison parameter threshold;

[0037] and,

[0038] The second feature group comparison parameter of the third target feature group and any first target feature group except the third target feature group in the first target feature group is greater than a preset second feature group comparison parameter threshold.

[0039] Preferably, step 3: connecting the IoT device according to the protocol conversion plug-in, including:

[0040] Get the authentication parameters of the IoT platform to create the device;

[0041] Connect IoT devices based on authentication parameters and protocol conversion plug-ins.

[0042] Preferably, step 4: when all IoT devices are connected, the real-time operating status of the IoT devices is obtained, and digital twin synchronization is displayed according to the real-time operating status, including:

[0043] Determine the equipment status physical model based on the real-time operating status;

[0044] Get the control instructions of the sender of the subscribed device control;

[0045] Determine the remote control object model according to the device state object model and control instructions;

[0046] Based on digital twin technology, digital twins are displayed synchronously according to the device status physical model and the remote control physical model.

[0047] The method for synchronously displaying a digital twin of the IoT device operating status transmitted in real time provided by an embodiment of the present invention also includes:

[0048] Obtain early warning information of IoT devices based on real-time operating status;

[0049] Dispatch early warning personnel based on early warning information.

[0050] Preferably, obtaining early warning information of the IoT device according to the real-time operating status includes:

[0051] Determine the early warning equipment to be verified based on the real-time operating status;

[0052] Obtain the device information of the early warning device to be verified;

[0053] Determine the channel for obtaining environmental information based on device information;

[0054] Determine the environmental variables of the early warning equipment to be verified based on the environmental information acquisition channel;

[0055] Obtain the pending verification warning items of the pending verification warning equipment;

[0056] Obtain a search template based on the warning items to be verified;

[0057] Determine search results based on search templates and environment variables;

[0058] Determine the warning information based on the search results.

[0059] Preferably, determining the environmental variables of the early warning device to be verified according to the environmental information acquisition channel includes:

[0060] Get the trigger information of the environmental information acquisition channel;

[0061] According to the trigger information, the channel information of the environmental information acquisition channel is expanded in chronological order to obtain the channel information timeline;

[0062] Get the preset variable acquisition time interval;

[0063] Determine the variable acquisition time node according to the variable acquisition time interval and the channel information time axis;

[0064] Determine whether the environmental information acquisition channel corresponding to the channel information of the adjacent variable acquisition time node has changed;

[0065] If not, obtain the channel information corresponding to the time node according to the adjacent variables and determine the environment variables;

[0066] If so, the channel relationship information of the channel and the channel information corresponding to the adjacent variable acquisition time node are obtained according to the changed environment information to determine the environment variable.

[0067] The digital twin synchronous display system for real-time transmission of the operating status of IoT devices provided by the embodiment of the present invention includes:

[0068] The device protocol document acquisition subsystem is used to obtain the device protocol document of the IoT device;

[0069] The protocol conversion plug-in development subsystem is used to develop protocol conversion plug-ins according to the device protocol document;

[0070] The IoT device connection subsystem is used to connect IoT devices according to protocol conversion plug-ins;

[0071] The synchronous display subsystem is used to obtain the real-time operating status of IoT devices after all IoT devices are connected, and to perform digital twin synchronous display based on the real-time operating status.

[0072] The beneficial effects of the present invention are:

[0073] The present invention develops a universal protocol conversion plug-in based on the device protocol documents of the IoT devices obtained, and connects the IoT devices according to the protocol conversion plug-in. When all the IoT devices that need to be connected are connected, digital twin synchronization is displayed based on the real-time operating status of the IoT devices obtained, which is more applicable to IoT devices with different communication protocols.

[0074] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures specifically pointed out in the present application documents.

[0075] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0076] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0077] Figure 1 It is a schematic diagram of a digital twin synchronous display method for real-time input of the operating status of an IoT device in an embodiment of the present invention;

[0078] Figure 2 This is a schematic diagram of a digital twin synchronization display system for real-time transmission of the operating status of IoT devices in an embodiment of the present invention. DETAILED DESCRIPTION

[0079] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0080] The embodiment of the present invention provides a method for synchronously displaying a digital twin of an IoT device running status in real time, such as Figure 1 As shown, including:

[0081] Step 1: Obtain the device protocol document of the IoT device; the IoT device is the IoT device that needs to be displayed synchronously with the digital twin, such as the ventilation equipment at a certain location in a building; the device protocol document is the document that records the communication protocol of the IoT device, including information such as the communication interface, data format, instruction set, and status code. The device protocol document is provided by the manufacturer of the IoT device;

[0082] Step 2: Develop a protocol conversion plug-in based on the device protocol document. The protocol conversion plug-in is a software component that converts the communication protocol used by the IoT device into a format that the digital twin platform can understand.

[0083] Step 3: Convert the plug-in according to the protocol and connect the IoT device;

[0084] Step 4: When all IoT devices are connected, obtain the real-time operating status of the IoT devices, and perform digital twin synchronization display based on the real-time operating status. The real-time operating status refers to the current operating data of the IoT devices read by the platform after the IoT devices are successfully connected to the digital twin platform.

[0085] The working principle and beneficial effects of the above technical solution are:

[0086] This application develops a general protocol conversion plug-in based on the device protocol documents of the IoT devices obtained, and connects the IoT devices according to the protocol conversion plug-in. When all the IoT devices that need to be connected are connected, the digital twin is displayed synchronously based on the real-time operating status of the IoT devices obtained, which is more applicable to IoT devices with different communication protocols.

[0087] In one embodiment, step 2: developing a protocol conversion plug-in according to the device protocol document includes:

[0088] Parse the device protocol document to obtain the document semantics; wherein the document semantics refers to the meaning expressed in the device protocol document, which is obtained based on the semantic understanding technology;

[0089] According to the document semantics, obtain the protocol information, which includes: communication format, data structure, command set and response mechanism;

[0090] According to the protocol information, key elements are determined and used as analysis results. The key elements include: data packet header, address field, data field and check field. Among them, the data packet header identifies the beginning and end of the data packet; the address field specifies the sender and receiver of the data; the data field contains the actual information content of the transmission; the check field is used to verify the integrity and accuracy of the data;

[0091] Determine the conversion logic pre-entered manually; wherein the conversion logic is: the rules for converting device data from one format or protocol to another format or protocol;

[0092] Determine the conversion process according to the analysis results and the conversion logic; wherein the conversion process is: a protocol conversion process determined according to the analysis results and the conversion logic;

[0093] According to the conversion process, write the conversion code and use the conversion code as a protocol conversion plug-in.

[0094] The working principle and beneficial effects of the above technical solution are:

[0095] When developing a protocol conversion plug-in based on the device protocol document, it is inefficient to develop it manually. Therefore, this application parses the device protocol document, obtains the meaning expressed in the device protocol document, and obtains the protocol information based on the document semantics. According to the protocol information, determine the data packet header, address field, data field, and check field. Determine the conversion process of the protocol based on the analysis results and conversion logic. According to the conversion process, write a protocol conversion plug-in to improve the suitability of the protocol conversion plug-in development.

[0096] In one embodiment, according to the conversion process, the conversion code is written, including:

[0097] According to the conversion process, determine the field correspondence between the source protocol field and the target protocol field; the source protocol field is: the data element defined in the device protocol document; the target protocol field is: the data element suitable for the digital twin platform converted according to the source protocol field;

[0098] Get the target code type; the target code type is: the programming language or framework used by the written code, such as: Java and C++;

[0099] Determine the writing information according to the field correspondence and the target code type. The writing information includes: global variables, main functions, target functions and target classes. Among them, global variables are: shared data of the writing code; main functions are: the first function called when the writing code starts to execute; target functions are: functions that handle specific tasks in the writing code, such as: data conversion, verification and cleaning; target classes are: blueprints that encapsulate data and behaviors in the writing code;

[0100] According to the main function, the code unit and the execution order are determined; wherein the code unit is: the basic part of the conversion code determined according to the main function; the execution order is: the compilation order of the code unit;

[0101] Perform unit testing and integration testing according to code units and execution order;

[0102] If the test results of the unit test and the test results of the integration test are both passed, the conversion code is determined based on the writing information.

[0103] The working principle and beneficial effects of the above technical solution are:

[0104] The present application determines the field correspondence between the source protocol field and the target protocol field according to the conversion process, determines the writing information according to the field correspondence and the target code type, determines the code unit and execution order according to the main function, and performs unit testing and integration testing respectively according to the code unit and execution order, thereby improving the timeliness of writing error detection.

[0105] In one embodiment, the writing information is determined according to the field correspondence and the target code type, including:

[0106] According to the target code type, access the target code forum to obtain access information of the target code forum; wherein the target code forum is: a forum for discussing codes related to the target code type, for example: if the target code type is Java, then the target code forum is a Java forum; the access information is: discussion content of the target code forum;

[0107] Parse the access information, and determine the first target feature group set according to the field relationship characterization rule; wherein the field relationship characterization rule is: a rule for characterizing the relationship between the initial protocol field and the protocol field in the direction to be improved; the first target feature group set is a set consisting of the first target feature group, and the first target feature group is a relationship description vector between the initial protocol field in the access information and the protocol field in the direction to be improved;

[0108] Traverse each field correspondence in turn, and determine the second target feature group according to the field correspondence being traversed; wherein the second target feature group is: a relationship description vector between the initial protocol field (i.e., source protocol field) and the protocol field in the direction to be improved (i.e., target protocol field) in the field correspondence being traversed;

[0109] Based on the matching condition, determining a third target feature group according to the first target feature group set and the second target feature group;

[0110] Based on the access information corresponding to the third target feature group, a target template is determined; wherein the target template is: a template for generating a code according to the field correspondence relationship;

[0111] Determine the writing sub-information according to the field correspondence being traversed and the target template. When all the field correspondences are traversed, summarize the writing sub-information to obtain the writing information.

[0112] The matching conditions include:

[0113] The third target feature group is a first target feature group in the first target feature group set;

[0114] and,

[0115] The first feature group comparison parameter of the third target feature group and the second target feature group is less than or equal to a preset first feature group comparison parameter threshold; wherein the first feature group comparison parameter is: a feature group angle (i.e., a vector angle) between the third target feature group and the second target feature group; and the preset first feature group comparison parameter threshold is manually preset;

[0116] and,

[0117] The second feature group comparison parameter of the third target feature group and any first target feature group other than the third target feature group in the first target feature group is greater than the preset second feature group comparison parameter threshold. The first feature group comparison parameter is: the feature group angle (i.e., vector angle) between the third target feature group and any first target feature group other than the third target feature group; the preset second feature group comparison parameter threshold is manually preset;

[0118] The working principle and beneficial effects of the above technical solution are:

[0119] The present application determines the target code forum corresponding to the target code type, and characterizes the access information obtained from the target code forum to obtain a first target feature group set. The second target feature group is extracted according to the field correspondence relationship being traversed. A matching condition is introduced to determine the third target feature group corresponding to the second target feature group in the first target feature group set.

[0120] The matching conditions are: Condition 1: The third target feature group is one of the first target feature group, which is an availability verification; Condition 2: The first feature group comparison parameters of the third target feature group and the second target feature group are less than or equal to the preset first feature group comparison parameter threshold, which is a suitability verification, improving the suitability of the subsequently extracted writing sub-information; Condition 3: The second feature group comparison parameters of the third target feature group and any first target feature group except the third target feature group in the first target feature group are greater than the preset second feature group comparison parameter threshold, which is a uniqueness verification, improving the accuracy of the subsequently extracted writing sub-information.

[0121] The target template is determined according to the access information corresponding to the third target feature group, and the field correspondence being traversed is compared with the target template to generate writing sub-information. When all field correspondences are traversed, the writing sub-information is summarized to obtain the writing information, further improving the suitability of the writing information.

[0122] In one embodiment, step 3: connecting the IoT device according to the protocol conversion plug-in includes:

[0123] Obtain authentication parameters for the creation device of the IoT platform; wherein the creation device is: a virtual entity on the IoT platform; the authentication parameters are: security configuration information provided by the IoT platform when creating the device;

[0124] Connect IoT devices based on authentication parameters and protocol conversion plug-ins.

[0125] The working principle and beneficial effects of the above technical solution are:

[0126] This application obtains the security configuration information of the creation device of the Internet of Things platform, connects the Internet of Things device according to the authentication parameters and protocol conversion plug-in, and improves the security of the connection of the Internet of Things device.

[0127] In one embodiment, step 4: when all IoT devices are connected, the real-time operating status of the IoT devices is obtained, and digital twin synchronization is displayed according to the real-time operating status, including:

[0128] According to the real-time operation status, determine the equipment status physical model; wherein the equipment status physical model is: a virtual model constructed according to the real-time operation status information of the equipment, and the equipment status physical model reflects the actual working condition of the equipment and possible change trends;

[0129] Obtaining the control instruction of the sender of the subscribed device control; wherein the sender of the subscribed device control is: a person who has the control authority of the IoT device;

[0130] Determine the remote control object model according to the device state object model and the control instruction; wherein the remote control object model is: a virtual model constructed based on the device state object model and the received control instruction, which not only reflects the current state of the IoT device corresponding to the device state object model, but also includes the ability to remotely control the IoT device corresponding to the device state object model, so that the user or system can remotely manage and adjust the device;

[0131] Based on digital twin technology, digital twins are displayed synchronously according to the device status physical model and the remote control physical model.

[0132] The working principle and beneficial effects of the above technical solution are:

[0133] This application determines the device state object model based on the acquired real-time operating status, and determines the remote control object model based on the control instructions of the sender who subscribes to the device control and the device state object model. Based on the digital twin technology, the digital twin is synchronously displayed according to the device state object model and the remote control object model, which improves the suitability of the digital twin synchronous display.

[0134] The embodiment of the present invention provides a method for synchronously displaying a digital twin of an IoT device's operating status transmitted in real time, and further includes:

[0135] According to the real-time operation status, the early warning information of the IoT device is obtained; the early warning information is: related information of abnormal operation of the IoT device, such as: the exhaust fan stops rotating due to overheating;

[0136] Dispatch early warning personnel based on early warning information.

[0137] The working principle and beneficial effects of the above technical solution are:

[0138] This application determines the warning information of the Internet of Things equipment and dispatches warning personnel according to the real-time operating status, thereby improving the timeliness of the warning.

[0139] In one embodiment, obtaining early warning information of the IoT device according to the real-time operating status includes:

[0140] According to the real-time operation status, the warning devices to be verified are determined; the warning devices to be verified are: IoT devices for which the IoT platform issues abnormal reminders but has not been checked to see whether the warning conditions have been met;

[0141] Obtaining device information of the warning device to be verified; wherein the device information is: attribute information of the warning device to be verified, such as: device type, number, and location;

[0142] Determine the environmental information acquisition channel based on the device information; the environmental information acquisition channel is: a way to obtain the environmental information of the warning device to be verified, such as: a camera that can capture the warning device to be verified, the operation record of the warning device to be verified, etc.;

[0143] According to the environmental information acquisition channel, the environmental variables of the warning device to be verified are determined; wherein the environmental variables are: environmental change information, such as: video of human damage to the warning device to be verified, and: worker shutdown maintenance records;

[0144] Obtain the to-be-verified warning items of the to-be-verified warning equipment; wherein the to-be-verified warning items are: abnormal states that the to-be-verified warning equipment needs to verify, such as: exhaust fan stops rotating;

[0145] According to the warning project to be verified, a search template is obtained; wherein the search template is: a condition control template for the warning project to be verified to meet the warning condition;

[0146] Determine search results according to the search template and the environment variables; wherein the search results are: the warning conditions of the warning items to be verified are searched for and the warning conditions of the warning items to be verified are not searched for;

[0147] According to the search results, the warning information is determined. The warning information is: if the warning condition of the warning item to be verified is searched, the warning information is the warning of the warning item to be verified of the warning device to be verified, otherwise, no warning is issued.

[0148] The working principle and beneficial effects of the above technical solution are:

[0149] When an abnormality occurs in the real-time operating status of an IoT device, it is not necessarily an actual warning situation. For example, the abnormal status caused by shutdown and maintenance does not involve the dispatch of warning personnel. Therefore, this application determines the IoT devices for which the IoT platform has issued a warning but has not been inspected, and determines the environmental information acquisition channel based on the device information of the warning device to be verified. Determine the environmental variables based on the environmental information acquisition channel. Obtain the search template for the warning item to be verified of the warning device to be verified, and determine the search result based on the search template and the environmental variables. If the warning condition of the warning item to be verified is found, the warning information is the warning of the warning item to be verified of the warning device to be verified. Otherwise, no warning is issued, thereby improving the accuracy of the warning.

[0150] In one embodiment, determining the environmental variables of the warning device to be verified according to the environmental information acquisition channel includes:

[0151] Acquire trigger information of the environmental information acquisition channel; wherein the trigger information is: the trigger time and trigger duration of the environmental information acquisition channel;

[0152] According to the trigger information, the channel information of the environmental information acquisition channel is expanded in chronological order to obtain a channel information timeline; wherein the channel information is information obtained by the environmental information acquisition channel, such as: shooting video, and also: maintenance log;

[0153] Obtaining a preset variable acquisition time interval; wherein the preset variable acquisition time interval is manually preset;

[0154] Determine the variable acquisition time node according to the variable acquisition time interval and the channel information time axis; wherein the variable acquisition time node is marked on the channel information time axis, and starting from the starting point of the channel information time axis, a variable acquisition time node is determined every variable acquisition time interval;

[0155] Determine whether the environmental information acquisition channel corresponding to the channel information of the adjacent variable acquisition time node has changed;

[0156] If not, the channel information corresponding to the time node is obtained according to the adjacent variables to determine the environment variables; if the channel has not changed, the environment variables can be obtained by directly comparing the adjacent variables to obtain the channel information corresponding to the time node;

[0157] If so, the channel relationship information of the channel and the channel information corresponding to the adjacent variable acquisition time node are obtained according to the changed environmental information to determine the environmental variables. Among them, if the channel type changes, the environmental variables are determined according to the channel relationship information (correlation information of the channel type, such as: camera A and camera B, the channel changes, but is still related, and another example: camera A and maintenance log, the channel changes, and is not related). When determining the environmental variables according to the channel relationship information, if the channel relationship is related, the channel information corresponding to the variable acquisition time node is converted into a correlation before determining the environmental variables. If it is not related, there is no need to obtain the environmental variables, and the environmental variables are determined according to the next pair of adjacent variable acquisition time nodes.

[0158] The working principle and beneficial effects of the above technical solution are:

[0159] This application expands the information acquired by the environmental information acquisition channel in chronological order according to the trigger time and trigger duration of the environmental information acquisition channel to obtain the channel information timeline. Introduce the variable acquisition time interval to determine the variable acquisition time node on the channel information timeline. Determine whether the environmental information acquisition channel of the channel information corresponding to the adjacent variable acquisition time node has changed, and determine the environmental variables separately according to the different judgment results. While scheduling multiple environmental information acquisition channels to improve the comprehensiveness of environmental information acquisition, it can also obtain environmental variables in a timely and accurate manner, thereby improving the reliability of the basis for early warning judgment.

[0160] The embodiment of the present invention provides a digital twin synchronization display system for real-time input of the operating status of IoT devices, such as Figure 2 As shown, including:

[0161] The device protocol document acquisition subsystem 1 is used to acquire the device protocol document of the IoT device;

[0162] The protocol conversion plug-in development subsystem 2 is used to develop a protocol conversion plug-in according to the device protocol document;

[0163] The IoT device connection subsystem 3 is used to connect IoT devices according to the protocol conversion plug-in;

[0164] The synchronous display subsystem 4 is used to obtain the real-time operating status of the IoT devices after all the IoT devices are connected, and to perform digital twin synchronous display based on the real-time operating status.

[0165] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for synchronously displaying a digital twin of the real-time input running status of an IoT device, characterized in that: include: Step 1: Obtain the device protocol document of the IoT device; Step 2: Develop a protocol conversion plug-in according to the device protocol document; Step 3: Convert the plug-in according to the protocol and connect the IoT device; Step 4: When all IoT devices are connected, obtain the real-time operating status of the IoT devices, and perform digital twin synchronization display based on the real-time operating status; Step 2: Develop a protocol conversion plug-in according to the device protocol document, including: Parse the device protocol document and obtain the document semantics; According to the document semantics, obtain the protocol information, which includes: communication format, data structure, command set and response mechanism; According to the protocol information, key elements are determined and used as analysis results. The key elements include: data packet header, address field, data field and check field; Determine the conversion logic for manual pre-entry; Determine the conversion process based on the analysis results and conversion logic; According to the conversion process, write the conversion code and use the conversion code as a protocol conversion plug-in.

2. The method for synchronously displaying a digital twin of the IoT device operating status transmitted in real time according to claim 1, characterized in that: Write conversion code according to the conversion process, including: According to the conversion process, determine the field correspondence between the source protocol field and the target protocol field; Get the target code type; Determine the writing information according to the field correspondence and the target code type, and the writing information includes: global variables, main function, target function and target class; According to the main function, determine the code unit and execution order; Perform unit testing and integration testing according to code units and execution order; If the test results of the unit test and the test results of the integration test are both passed, the conversion code is determined based on the writing information.

3. The method for synchronously displaying a digital twin of the IoT device operating status transmitted in real time as claimed in claim 2, characterized in that: Determine the writing information based on the field correspondence and target code type, including: According to the target code type, visit the target code forum and obtain the access information of the target code forum; Parsing the access information, and determining a first target feature group set according to a field relationship featureization rule; Traversing each field correspondence in turn, and determining a second target feature group according to the field correspondence being traversed; Based on the matching condition, determining a third target feature group according to the first target feature group set and the second target feature group; Determining a target template based on access information corresponding to the third target feature group; Determine the writing sub-information according to the field correspondence being traversed and the target template. When all the field correspondences are traversed, summarize the writing sub-information to obtain the writing information. The matching conditions include: The third target feature group is a first target feature group in the first target feature group set; and, The first feature group comparison parameter of the third target feature group and the second target feature group is less than or equal to a preset first feature group comparison parameter threshold; and, The second feature group comparison parameter of the third target feature group and any first target feature group except the third target feature group in the first target feature group is greater than a preset second feature group comparison parameter threshold.

4. The method for synchronously displaying a digital twin of the IoT device operating status transmitted in real time according to claim 1, characterized in that: Step 3: Connect IoT devices based on the protocol conversion plug-in, including: Get the authentication parameters of the IoT platform to create the device; Connect IoT devices based on authentication parameters and protocol conversion plug-ins.

5. The method for synchronously displaying digital twins of the IoT device operating status transmitted in real time according to claim 1, characterized in that: Step 4: When all IoT devices are connected, obtain the real-time operating status of the IoT devices and perform digital twin synchronization display based on the real-time operating status, including: Determine the equipment status physical model based on the real-time operating status; Get the control instructions of the sender of the subscribed device control; Determine the remote control object model according to the device state object model and control instructions; Based on digital twin technology, digital twins are displayed synchronously according to the device status physical model and the remote control physical model.

6. The method for synchronously displaying a digital twin of the IoT device operating status transmitted in real time according to claim 1, characterized in that: Also includes: Obtain early warning information of IoT devices based on real-time operating status; Dispatch early warning personnel based on early warning information.

7. The method for synchronously displaying a digital twin of the IoT device operating status transmitted in real time according to claim 6, obtaining early warning information of the IoT device according to the real-time operating status, comprising: Determine the early warning equipment to be verified based on the real-time operating status; Obtain the device information of the early warning device to be verified; Determine the channel for obtaining environmental information based on device information; Determine the environmental variables of the early warning equipment to be verified based on the environmental information acquisition channel; Obtain the pending verification warning items of the pending verification warning equipment; Obtain a search template based on the warning items to be verified; Determine search results based on search templates and environment variables; Determine the warning information based on the search results.

8. The method for synchronously displaying the digital twin of the IoT device operating status transmitted in real time according to claim 7, determining the environmental variables of the warning device to be verified according to the environmental information acquisition channel, comprising: Get the trigger information of the environmental information acquisition channel; According to the trigger information, the channel information of the environmental information acquisition channel is expanded in chronological order to obtain the channel information timeline; Get the preset variable acquisition time interval; Determine the variable acquisition time node according to the variable acquisition time interval and the channel information time axis; Determine whether the environmental information acquisition channel corresponding to the channel information of the adjacent variable acquisition time node has changed; If not, obtain the channel information corresponding to the time node according to the adjacent variables and determine the environment variables; If so, the channel relationship information of the channel and the channel information corresponding to the adjacent variable acquisition time node are obtained according to the changed environmental information to determine the environmental variables.

9. The digital twin synchronous display system of the real-time input of the operation status of the IoT device is characterized by: include: The device protocol document acquisition subsystem is used to obtain the device protocol document of the IoT device; The protocol conversion plug-in development subsystem is used to develop protocol conversion plug-ins according to the device protocol document; IoT device connection subsystem, used to connect IoT devices according to protocol conversion plug-ins; The synchronous display subsystem is used to obtain the real-time operating status of IoT devices after all IoT devices are connected, and to perform digital twin synchronous display based on the real-time operating status; The protocol conversion plug-in development subsystem develops a protocol conversion plug-in according to the device protocol document, including: Parse the device protocol document and obtain the document semantics; According to the document semantics, obtain the protocol information, which includes: communication format, data structure, command set and response mechanism; According to the protocol information, key elements are determined and used as analysis results. The key elements include: data packet header, address field, data field and check field; Determine the conversion logic for manual pre-entry; Determine the conversion process based on the analysis results and conversion logic; According to the conversion process, write the conversion code and use the conversion code as a protocol conversion plug-in.

Citation Information

Patent Citations

  • Data visualization system and method based on digital twin technology

    CN117372630B

  • Equipment predictive maintenance system and method based on digital twin technology

    CN114077235A