Generation method of digital twin large-screen page, electronic equipment and storage medium

By obtaining large screen templates and components, configuring data sources and digital twin scenarios, and combining abstract processing and JSON data format, the problem of low digital twin large screen generation efficiency is solved, rapid configuration and efficient development are achieved, and development complexity and cost.

CN118760489APending Publication Date: 2024-10-11山东浪潮智能生产技术有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410931962.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

In the existing technology, when the R&D team faces the contradiction between productization needs and personalized needs, as well as the contradiction between insufficient manpower and rapid response, the generation efficiency of the digital twin large-screen page is low, and developers need to repeatedly write component codes and processes. The front-end interacts with the digital twin, resulting in heavy workload and high code variability.

Method used

Form a basic framework by obtaining large-screen templates, obtain components and configure data sources, generate large-screen pages based on digital twin scenarios and interaction methods, and abstract the data to support secondary development and customized development, using standardized JSON data format Perform data transfer to prevent the server from directly connecting to the business database, implement an abstraction layer between components and database systems, and simplify data processing and interaction.

Benefits of technology

It achieves rapid configuration and generation of digital twin large screens, reduces repeated development work, improves development efficiency and stability, reduces developer workload, enhances the system's adaptability to changes in customer needs, improves standardization capabilities, and Saves the cost of version update releases.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118760489A_ABST
    Figure CN118760489A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of software, and discloses a digital twin large-screen page generation method, electronic equipment and a storage medium, and the digital twin large-screen page generation method comprises the following steps: obtaining a large-screen template to form a basic large-screen frame; obtaining a component so as to fill the component into the large screen frame; configuring a data source to determine display content of the component; and obtaining an interaction mode of the digital twinning scene and the page to generate the required digital twinning large-screen page. According to the method, the digital twin large screen can be quickly configured and generated through template configuration and model driving, repeated development is not needed, data requirements are standard and unified, the research and development threshold can be remarkably reduced, the research and development efficiency is improved, and development resources are saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of software technology, and specifically relates to a method for generating a digital twin large-screen page, an electronic device and a storage medium. Background Art

[0002] Digital Twin is an advanced concept and technology that creates a virtual model that completely corresponds to a physical entity or system in the real world by integrating physical models, sensor data, computational analysis, and machine learning. This virtual model not only mimics the entity in form, but also reflects the entity's various states and behaviors in real time, and can even simulate the entity's possible future conditions.

[0003] In related technologies, there are two contradictions in software development. The first is the contradiction between the productization needs of the R&D team and the personalized needs of the implementation team. The second is the contradiction between the insufficient staff of the R&D team and the rapid response of the implementation team. Summary of the invention

[0004] In view of this, the present invention provides a method for generating a digital twin large-screen page, an electronic device and a storage medium to solve the existing problem of low R&D efficiency caused by the need for productization and personalization.

[0005] In the first aspect, the present invention provides a method for generating a digital twin large-screen page, including: obtaining a large-screen template to form a basic large-screen frame; obtaining components to fill into the large-screen frame; configuring a data source to determine the display content of the component; obtaining the interaction method of the digital twin scene and the page to generate the required digital twin large-screen page.

[0006] In some embodiments, the method for generating a digital twin large-screen page further includes: abstracting the data to be processed to obtain supporting data for secondary development and demand-customized development work of three parties.

[0007] In some embodiments, the data to be processed is abstracted to obtain supporting data for the secondary development and customized development work of the three parties, specifically including: abstracting the existing data flows, workflows, and basic functions; providing clear development documents, basic component usage documents, data access documents, and twin interaction method documents to the outside world.

[0008] In some embodiments, a normalized and standardized JSON data format is used for data transmission, and the data source is configured to determine the display content of the component, specifically including: after obtaining the component, completing the establishment of an abstract object to generate object data; configuring data sources and digital twin scenes for different components according to the object data.

[0009] In some embodiments, the method for generating a digital twin large-screen page further includes: abstracting the physical data table so that the server-side application does not need to directly connect to the corresponding business database.

[0010] In some implementations, the physical data tables are abstracted so that the server-side applications do not need to directly connect to the corresponding business database, specifically including: encapsulating the database structure, functions, and data operations to form one or more intermediate layers or abstract layers, so that the intermediate layers or the abstract layers can handle the communication and interaction with different database systems.

[0011] In some embodiments, the object data includes a data source, a data format, and a data operation of a component; and / or the data source includes a database, an API interface, and / or static data.

[0012] In some embodiments, the display content of the digital twin large screen is displayed on a front-end page, and the front-end page loads the page content through data acquisition, data rendering, and page rendering.

[0013] In a second aspect, the present invention provides an electronic device comprising: at least one processor; a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can: obtain a large-screen template to form a basic large-screen frame; obtain components to fill in the large-screen frame; configure a data source to determine the display content of the component; obtain the interaction method of the digital twin scene and the page to generate the required digital twin large-screen page.

[0014] In a third aspect, the present invention provides a storage medium storing a computer program, which, when executed by a processor, implements any of the methods for generating a digital twin large-screen page.

[0015] Beneficial effects:

[0016] 1. The present invention generates a digital twin large screen through rapid configuration, wherein common templates, data statistics components, and digital twin scenes and page interaction methods do not need to be repeatedly developed, and data requirements are standardized and unified. In the implementation process of a specific project, whether it is pre-sales sales to quickly configure demonstrations after understanding customer needs, or to respond to frequently changing customer needs during the later delivery process, it can respond quickly, thereby improving efficiency, saving development resources, and having great promotion and application value.

[0017] 2. It supports developers to quickly configure according to needs, generate the required digital twin large screen, complete the display of data statistics and the access of twin scenes, without the need to repeatedly write the same component code, and no need to spend time processing the interaction events between the front end and the digital twin. It can effectively reduce the workload of developers, reduce repetitive development work, and improve development efficiency; at the same time, it can reduce the problems caused by the replacement of developers, reduce the differences in code functions caused by different developers, and improve the stability and robustness of the program.

[0018] 3. For projects related to the digital twin large screen, digital twin developers no longer need to learn additional front-end development technologies, and front-end developers do not need to learn digital twin-related development technologies. Digital twin developers only need to complete scene modeling. After importing the twin scene, they can edit and maintain the layout, content, style, data and other contents of the large screen as needed, without the need to repeatedly develop data statistics components.

[0019] 4. The system's ability to respond to changes in customer demand has been greatly enhanced, and it can adapt to customers' needs for page modification. At the same time, component styles are generated according to unified specifications, and standardization capabilities are greatly improved.

[0020] 5. Provide complete development documentation for personalized functional requirements and page styles, and support customized development of pages to meet customers' personalized needs.

[0021] 6. After the backend template is modified, the digital twin large screen will take effect directly without the need to repackage and publish, saving the cost of version update and release.

[0022] 7. The product has a complete design concept, high security, and requires few operation and maintenance personnel. There is no need for a large number of product operation and maintenance personnel, which can save personnel costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0024] Figure 1 This is a flowchart of a method for generating a digital twin large-screen page according to an embodiment of the present invention;

[0025] Figure 2 The figure is a block diagram of an electronic device according to an embodiment of the present invention.

[0026] Description of reference numerals:

[0027] 110. Processor;

[0028] 120. Memory. DETAILED DESCRIPTION

[0029] In related technologies, with the rapid development of information technology, for some industries such as manufacturing and urban management, the traditional data access to the large screen mode, although the digital twin technology can intuitively present a large amount of data and information, but ordinary users cannot understand the data from multiple angles and levels, and the use of 3D modeling and simulation technology, the digital twin large screen provides a three-dimensional, close to the real visual experience, allowing users to observe objects from different angles and levels, enhancing the intuitiveness and understanding of information. In industrial and infrastructure management, the digital twin large screen can achieve remote monitoring and predictive maintenance, reducing downtime and maintenance costs, which is also difficult to achieve with traditional large screens.

[0030] In addition, among related technologies, Unity3D, as a widely used real-time 3D creation platform, has a large developer community and is applied in many fields, such as digital twins in industry. Unity can be used to transmit and render model data, sensor data, or point cloud data in real time. After adding physical properties and behavioral logic, it can not only process simple and abstract models and data into photo-level real-time rendering effects, but also interact in the form of AR / VR / MR on multiple platforms to realize digital twins.

[0031] The development technology of the front-end large-screen page is not the same. The traditional Unity way of developing digital twin large screens is to use Unity's UI system, such as Canvas, RectTransform, etc., and can also use practical graphics drawing APIs, such as Graphics.DrawTexture, etc. Although it has the advantages of flexibility and customizability, it also has some potential disadvantages. For example: For charts containing a large number of data points or complex graphics, the use of UI systems and graphics drawing APIs may cause performance degradation. If the chart needs to be updated frequently, the performance problem may be more serious. For complex chart types, such as 3D charts or dynamic charts, it will be very difficult to implement. If you need to add new chart types or functions, you may need to modify a lot of code, which will greatly reduce the maintainability and reusability of the code.

[0032] When using Unity to develop digital twins, the front-end solution for displaying charts requires additional developers, which increases development costs. In addition, the interaction between the twin and the front-end will also take a lot of time.

[0033] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0034] Combine the following Figure 1 and Figure 2 , describing an embodiment of the present invention.

[0035] like Figure 1 As shown, according to an embodiment of the present invention, on the one hand, a method for generating a digital twin large screen page is provided, comprising the following steps:

[0036] Step S101: Obtain a large screen template to form a basic large screen framework;

[0037] Step S103: Obtain components to fill into the large screen frame;

[0038] Step S105: configuring the data source to determine the display content of the component;

[0039] Step S107: Obtain the interaction mode between the digital twin scene and the page to generate the required digital twin large-screen page.

[0040] In this embodiment, the method of using template configuration to build a digital twin large screen is a flexible and scalable method of using template configuration to build a digital twin large screen. This method is based on the back-end large screen template management, large screen component management, twin scene management and front-end display page. The back-end provides style templates, various data statistics components, and digital twin scene and page interaction methods required for various large screens. Users can first select a large screen template in the background to form a basic large screen framework, select each component to fill in the large screen framework, configure the data source to determine the display content of the component, select the digital twin scene and interaction method, and the front-end generates the required digital twin large screen page according to the selected configuration.

[0041] The present invention generates a digital twin large screen through rapid configuration. Among them, the public templates, data statistics components, and the interactive methods of digital twin scenes and pages do not need to be repeatedly developed, and the data requirements are standardized and unified. In the implementation process of a specific project, whether it is pre-sales sales to understand customer needs and quickly configure demonstrations, or in the later delivery process to respond to customers' frequently changing needs, they can respond quickly, improve efficiency, save development resources, and have great promotion and application value.

[0042] To use the method of template configuration to build a digital twin large screen, R&D personnel only need to open the back-end configuration page, select templates and twin scenes according to customer needs, add data statistics components, and use dynamic data or static data to complete data docking to generate a digital twin large screen.

[0043] By building a digital twin large screen through template configuration, under strong design and development specifications, through template configuration, model-driven and other technologies, it can significantly lower the R&D threshold, improve R&D efficiency and ensure basic quality.

[0044] Optionally, the method for generating a digital twin large-screen page also includes: abstracting the data to be processed to obtain supporting data for secondary development and demand-customized development work of three parties.

[0045] In this example, through abstract processing of the data to be processed, the customer's personalized page display needs are met by supporting secondary development, thereby supporting third-party secondary development and demand-customized development work.

[0046] Among them, the data to be processed is abstracted to obtain supporting data for the secondary development and customized development work of the three parties, which specifically includes the following steps:

[0047] Step S201: abstract existing data flows, workflows, and basic functions;

[0048] Step S203: Provide clear development documents, basic component usage documents, data access documents, and twin interaction method documents to the outside world.

[0049] In this embodiment, by abstracting the existing data flow, workflow, and basic functions, and using the standard data format, clear development documents, basic component usage documents, data access documents, and twin interaction method documents are provided to the outside world, thereby supporting the secondary development and customized development work of third parties. It provides developers who need to carry out secondary development and customized development with convenience, thereby saving manpower investment, increasing development speed, and reducing development costs.

[0050] Optionally, a normalized and standardized JSON data format is used for data transmission, and a data source is configured to determine the display content of the component, specifically including the following steps:

[0051] Step S301: After obtaining the component, complete the creation of the abstract object to generate object data;

[0052] Step S303: Configure data sources and digital twin scenarios for different components according to the object data.

[0053] In this embodiment, the present invention aims to lower the threshold of research and development, improve research and development efficiency, ensure basic quality, and quickly meet customer needs. It mainly includes a template management module, a component management module, and a basic support module. The template management module includes large-screen template management and digital twin scene management, which allows users to select the large-screen templates and digital twin scenes they want to generate the main structure and theme style of the digital twin large screen. The component management module includes component management, data configuration, and interaction management. Users can select the required components to form the overall layout style of the data statistics page, configure the data source to determine the display content of the component, and the interaction method between the component and the model in the twin scene. The basic support module includes data interface management, basic component customization management, twin interaction customization management, customized style management, etc., and provides user development documents, data access documents, basic component usage documents, twin interaction method documents, etc., providing the basis and ability for secondary development and completion of customized needs.

[0054] You can select the template you want in the back-end template management to determine the overall style, add corresponding data statistics components to the template through component management, select the twin scene you uploaded through twin scene management, and use the normalized and standardized JSON data format for data transmission to connect the back-end template management, component management, twin scene management and front-end pages to facilitate the readability of data analysis.

[0055] Optionally, the method for generating a digital twin large-screen page also includes: abstracting the physical data table so that the server-side application does not need to directly connect to the corresponding business database.

[0056] In this embodiment, the physical table abstraction process of the database becomes the key to realize the decoupling between the server application and the business database, and the structure, function and data operation of the database are encapsulated to form one or more intermediate layers or abstract layers. These intermediate layers are responsible for handling the communication and interaction with different database systems, so that the server application does not need to directly pay attention to the specific implementation details of the underlying database.

[0057] By abstracting the database physical table, the server application does not need to directly connect to the corresponding business database, solving the differences in database connection access in different databases.

[0058] Among them, the physical data table is abstracted so that the server application does not need to directly connect to the corresponding business database, which specifically includes: encapsulating the database structure, functions and data operations to form one or more middle layers or abstract layers, so that the middle layers or abstract layers can handle the communication and interaction with different database systems.

[0059] Server applications can access and manipulate data in a unified and standardized way without worrying about the type, version, or specific SQL syntax of the underlying database. By implementing the database physical table abstraction process, server applications can focus more on the implementation of business logic without worrying about the specific details of the underlying database. This helps improve the maintainability, scalability, and portability of the system, allowing the system to respond more flexibly to changing business needs and technical environments.

[0060] Optionally, the object data includes a component's data source, data format, and data operations; and / or the data source includes a database, an API interface, and / or static data.

[0061] After the components are added, the backend system will generate abstract objects based on the definitions and configurations of these components. These abstract objects are encapsulation and abstraction of actual business data, and they contain key information such as the component's data source, data format, and data operations.

[0062] Optionally, the display content of the digital twin large screen is displayed on the front-end page, and the front-end page loads the page content through data acquisition, data rendering, and page rendering.

[0063] By adding templates and components through back-end image processing, the abstract objects are created and object data is generated. The data sources are configured for different components to generate page content. The generated page is bound to the twin scene through the twin interaction method configuration, thus completing the model interaction function in the twin scene.

[0064] like Figure 2 As shown, according to an embodiment of the present invention, on the other hand, an electronic device is further provided, comprising: at least one processor 110 and a memory 120 communicatively connected to the at least one processor, wherein the memory 120 stores instructions executable by the at least one processor 110, and the instructions are executed by the at least one processor 110 so that the at least one processor 110 can:

[0065] Get the large screen template to form the basic large screen framework;

[0066] Get components to fill into the large screen frame;

[0067] Configure the data source to determine the display content of the component;

[0068] Obtain the interaction method between the digital twin scene and the page to generate the required digital twin large-screen page.

[0069] According to an embodiment of the present invention, on the other hand, a storage medium is also provided, storing a computer program, which, when executed by a processor, implements any one of the methods for generating a digital twin large-screen page.

[0070] Computer executable instructions can:

[0071] Get the large screen template to form the basic large screen framework;

[0072] Get components to fill into the large screen frame;

[0073] Configure the data source to determine the display content of the component;

[0074] Obtain the interaction method between the digital twin scene and the page to generate the required digital twin large-screen page.

[0075] In another embodiment, a method for constructing a large visualization screen through template configuration includes the following steps:

[0076] Step a: Data is transferred through normalized and standardized data formats to connect the front-end page with the large-screen template management, large-screen component management, and digital twin scene management modules of the back-end;

[0077] Step b: By abstracting the existing data flows, workflows, and basic functions, provide clear development documents, basic component usage documents, data access documents, and twin interaction method documents to support the secondary development and customized development work of third parties;

[0078] Step c: The physical table abstraction process of the database becomes the key to achieving decoupling between the server-side application and the business database. The structure, functions and data operations of the database are encapsulated to form one or more middle layers or abstract layers. These middle layers are responsible for handling communication and interaction with different database systems, so that the server-side application does not need to pay direct attention to the specific implementation details of the underlying database. Server-side applications can access and manipulate data in a unified and standardized manner without worrying about the type, version or specific SQL syntax of the underlying database. By implementing the database physical table abstraction process, server-side applications can focus more on the implementation of business logic without worrying about the specific details of the underlying database. This helps to improve the maintainability, scalability and portability of the system, allowing the system to more flexibly respond to changing business needs and technical environments;

[0079] Step d: Select the template you want in the back-end template management to determine the overall style, add the corresponding data statistics component to the template through the component management, select the twin scene you uploaded through the twin scene management, and use the normalized and standardized JSON data format for data transmission to connect the back-end template management, component management, twin scene management and front-end page;

[0080] Step e: After the components are added, the backend system will generate abstract objects based on the definitions and configurations of these components. These abstract objects are encapsulations and abstractions of actual business data. They contain key information such as the component's data source, data format, and data operations. The abstract objects are created and object data is generated by adding templates and components through backend graphics. Data sources are configured for different components. The data source can be a database, API interface, static data, etc. The frontend page loads the page content through data acquisition, data rendering, and page rendering.

[0081] Step f: The generated page is bound to the twin scene through the twin interaction method configuration to complete the function of model interaction in the twin scene.

[0082] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment, and non-volatile computer storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0083] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for generating a digital twin large screen page, characterized in that it includes: Get the large screen template to form the basic large screen framework; Obtain components to fill into the large screen frame; Configuring a data source to determine the display content of the component; Obtain the interaction method between the digital twin scene and the page to generate the required digital twin large-screen page.

2. The method for generating a digital twin large screen page according to claim 1, characterized in that: Also includes: The data to be processed is abstracted to obtain supporting data for the secondary development and customized development work of the third parties.

3. The method for generating a digital twin large screen page according to claim 2, characterized in that: The abstract processing of the data to be processed is performed to obtain supporting data for the secondary development and customized development work of the three parties, specifically including: Abstract existing data flows, workflows, and basic functions; Provide clear development documentation, basic component usage documentation, data access documentation, and twin interaction method documentation to the outside world.

4. The method for generating a digital twin large screen page according to any one of claims 1 to 3, characterized in that: The data is transmitted using a normalized and standardized JSON data format. The configuration of the data source to determine the display content of the component specifically includes: After obtaining the component, the abstract object is established to generate object data; Configure data sources and digital twin scenarios for different components based on object data.

5. The method for generating a digital twin large screen page according to any one of claims 1 to 3, characterized in that: Also includes: Abstract the physical data table so that the server application does not need to directly connect to the corresponding business database.

6. The method for generating a digital twin large screen page according to claim 5, characterized in that: Abstract the physical data tables so that the server-side applications do not need to directly connect to the corresponding business database. Specifically, the database structure, functions and data operations are encapsulated to form one or more intermediate layers or abstract layers, so that the intermediate layers or abstract layers can handle the communication and interaction with different database systems.

7. The method for generating a digital twin large screen page according to any one of claims 1 to 3, characterized in that: The object data includes the data source, data format, and data operation of the component; and / or the data source includes a database, an API interface, and / or static data.

8. The method for generating a digital twin large screen page according to any one of claims 1 to 3, characterized in that: The display content of the digital twin large screen is displayed on the front-end page, and the front-end page loads the page content through data acquisition, data rendering, and page rendering.

9. An electronic device, characterized in that: include: at least one processor; a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to: Get the large screen template to form the basic large screen framework; Obtain components to fill into the large screen frame; Configuring a data source to determine the display content of the component; Obtain the interaction method between the digital twin scene and the page to generate the required digital twin large-screen page.

10. A storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the method for generating a digital twin large-screen page as described in any one of claims 1 to 8 is implemented.