Search

CN-121979515-A - Low-code digital twin platform development method based on anchor point mechanism

CN121979515ACN 121979515 ACN121979515 ACN 121979515ACN-121979515-A

Abstract

The invention discloses a low-code digital twin platform development method based on an anchor point mechanism, which dynamically associates interaction points in a three-dimensional model with data of the Internet of things by introducing an anchor point abstraction mechanism, and realizes condition-driven dynamic effect display by combining a low-code configuration interface; the method solves the problems of large code writing amount, difficult data and visual integration and complex dynamic effect realization in the application development of the traditional digital twin platform, improves the development efficiency by more than 80% by configuring an anchor point through a graphical interface without writing interactive codes, has an effect template of flicker, color change, light ring and the like, supports conditional triggering by setting a mapping rule, reduces the dynamic effect realization cost, and realizes data driving visualization by seamlessly connecting ThingsBoard data with a three-dimensional model through an anchor point mechanism.

Inventors

  • ZHAO WEI
  • GONG HAO
  • LIU KE
  • GUO JIANGYAN
  • WANG SEN
  • DU QIANG
  • ZHANG ZHONGLIN
  • HAN LIHUA
  • YAN BINGJIE
  • LIU JIANGBO
  • HAO QI
  • WANG XIAN
  • ZHAO DONGJIE
  • YANG ZHAOWEI

Assignees

  • 石家庄科林智控科技有限公司

Dates

Publication Date
20260505
Application Date
20260108

Claims (8)

  1. 1. The low-code digital twin platform development method based on the anchor point mechanism is characterized in that an anchor point abstraction mechanism is introduced to dynamically associate interaction points in a three-dimensional model with data of the Internet of things, and a low-code configuration interface is combined to realize condition-driven dynamic effect display, and specifically comprises the following steps: s1, importing and analyzing a three-dimensional model, namely importing a three-dimensional model file into a 3D editor of a digital twin model by a user, automatically analyzing a model structure by a platform, and extracting all Mesh objects and hierarchical relations thereof; S2, anchor point definition and type assignment, namely interactively selecting a Mesh object in a model in a design interface of a 3D editor by a user, marking the Mesh object as an anchor point, and defining the anchor point type through an enumeration system; s3, configuring and binding the data sources, namely selecting the data sources for the anchor points by a user in a low-code configuration interface of the platform, binding the anchor points with the data sources, and generating a mapping rule for triggering dynamic effect change; s4, real-time data association is established to be synchronous with the dynamic effect in real time, namely, real-time connection between an anchor point and a data source is established, and dynamic effect display is realized according to the mapping rule and the cooperation of a dynamic effect engine; s5, verifying and testing, namely providing an analog data mode by the platform, and inputting a test value by a user to verify anchor point response capability.
  2. 2. The anchor point mechanism-based low-code digital twin platform development method according to claim 1, wherein the model structure parsing operation in step S1 is as follows: s11, the system firstly automatically selects corresponding three.js loaders through file extension names, and each loader is responsible for converting a binary or text format 3D model into a three.js internally identifiable scene graph structure; S12, traversing the Scene graph and extracting the Mesh, wherein after loading is completed, the platform receives a complete Scene object, and the system accesses each node in the Scene graph through a recursion traversal algorithm; S13, mesh object independent processing; s14, memory management and optimization, wherein the system analyzes all the extracted Mesh, merges similar materials, optimizes drawing call, and establishes a spatial index structure to support efficient selection and collision detection.
  3. 3. The anchor-mechanism-based low-code digital twin platform development method of claim 1, wherein each Mesh object in the model is assigned a unique identifier for subsequent anchor definition during the parsing of step S1.
  4. 4. The anchor-mechanism-based low-code digital twin platform development method of claim 1, wherein in step S3, the data source supports multiple types: static data, namely directly inputting a value or an expression; and the integrated Internet of things platform subscribes the telemetry data of the equipment through the API interface.
  5. 5. The anchor mechanism-based low-code digital twin platform development method of claim 1, wherein in step S3, the user selects the device ID and the data field through a form, and the platform automatically generates the data mapping rule.
  6. 6. The anchor point mechanism-based low-code digital twin platform development method of claim 5, wherein in step S3, the mapping rule generation operates as follows: s31, inputting a conditional expression, namely inputting a logic expression by a user through a form, and supporting a comparison operator and a logic operator; S32, converting and outputting a conditional expression, namely, a lightweight rule engine is arranged in the platform, automatically analyzing the conditional expression, and converting the input conditional expression into an executable function; s33, configuring effect parameters, namely setting final output effect parameters according to anchor point types and set conditional expressions; s34, storing the mapping rule automatically generated by the platform in the form of structured data.
  7. 7. The anchor point mechanism-based low-code digital twin platform development method of claim 1, wherein the step S4 comprises the following operations: S41, acquiring real-time data by a platform through a subscription mechanism, wherein when equipment data is updated, a data packet is pushed to the front end; S42, mapping the anchor point and the data through key value pairs, namely associating the anchor point ID with the data point ID to form a mapping table; s43, binding the rule engine with the data stream, and matching with a dynamic effect engine arranged in the platform to realize the linkage of dynamic effect change and data.
  8. 8. The method for developing a low-code digital twin platform based on an anchor point mechanism according to claim 7, wherein in step S43, when real-time data arrives, the engine evaluates conditions piece by piece, when a change of data satisfies the conditions, the platform triggers a callback function, locates a corresponding anchor point according to a mapping table, implements high-performance rendering based on a shader and an animation mixer of a 3D editor in a dynamic effect engine, and applies a dynamic effect.

Description

Low-code digital twin platform development method based on anchor point mechanism Technical Field The invention relates to the technical field of digital twinning, in particular to a digital twinning platform development method based on an anchor point mechanism. Background The current digital twin platform has the following pain points of 1 high development complexity that a large number of codes are required to be written for model interaction and data binding in traditional three-dimensional visualization (such as three. Js), high development threshold, 2 high data and visualization disconnection that integration of a three-dimensional model and data (such as ThingsBoard) of equipment of the Internet of things depends on customized development, lack of standardized configuration modes, 3 low code tools that the existing platform is difficult to directly define model behaviors (such as dynamic effects) through a graphical interface, so that iteration efficiency is low, 4 difficult realization of dynamic effects that common digital twin effects such as flicker, color change, halo diffusion and the like are required to be realized through manual coding, and rapid adaptation of service logic through configuration is not possible. Disclosure of Invention The invention aims to solve the technical problems of large code writing amount, difficult data and visual integration, complex dynamic effect realization and the like in the application development of the traditional digital twin platform. In order to solve the technical problems, the technical scheme adopted by the invention is as follows. The low-code digital twin platform development method based on the anchor point mechanism dynamically associates the interaction points in the three-dimensional model with the data of the Internet of things by introducing the anchor point abstraction mechanism, and combines the low-code configuration interface to realize the condition-driven dynamic effect display, and specifically comprises the following steps: s1, importing and analyzing a three-dimensional model, namely importing a three-dimensional model file into a 3D editor of a digital twin model by a user, automatically analyzing a model structure by a platform, and extracting all Mesh objects and hierarchical relations thereof; S2, anchor point definition and type assignment, namely interactively selecting a Mesh object in a model in a design interface of a 3D editor by a user, marking the Mesh object as an anchor point, and defining the anchor point type through an enumeration system; s3, configuring and binding the data sources, namely selecting the data sources for the anchor points by a user in a low-code configuration interface of the platform, binding the anchor points with the data sources, and generating a mapping rule for triggering dynamic effect change; s4, real-time data association is established to be synchronous with the dynamic effect in real time, namely, real-time connection between an anchor point and a data source is established, and dynamic effect display is realized according to the mapping rule and the cooperation of a dynamic effect engine; s5, verifying and testing, namely providing an analog data mode by the platform, and inputting a test value by a user to verify anchor point response capability. The low-code digital twin platform development method based on the anchor point mechanism comprises the following operation of model structure analysis in the step S1: s11, the system firstly automatically selects corresponding three.js loaders through file extension names, and each loader is responsible for converting a binary or text format 3D model into a three.js internally identifiable scene graph structure; S12, traversing the Scene graph and extracting the Mesh, wherein after loading is completed, the platform receives a complete Scene object, and the system accesses each node in the Scene graph through a recursion traversal algorithm; S13, mesh object independent processing; s14, memory management and optimization, wherein the system analyzes all the extracted Mesh, merges similar materials, optimizes drawing call, and establishes a spatial index structure to support efficient selection and collision detection. In the low-code digital twin platform development method based on the anchor point mechanism, in the analysis process of the step S1, each Mesh object in the model is endowed with a unique identifier for subsequent anchor point definition. In the low-code digital twin platform development method based on the anchor point mechanism, in step S3, the data source supports multiple types: static data, namely directly inputting a value or an expression; and the integrated Internet of things platform subscribes the telemetry data of the equipment through the API interface. In the above-mentioned low-code digital twin platform development method based on anchor point mechanism, in step S3, the user selects the device ID and the data fiel