CN116954585A - Industrial digital twin three-dimensional visual scene editing method, device and medium - Google Patents

Industrial digital twin three-dimensional visual scene editing method, device and medium Download PDF

Info

Publication number
CN116954585A
CN116954585A CN202310946151.5A CN202310946151A CN116954585A CN 116954585 A CN116954585 A CN 116954585A CN 202310946151 A CN202310946151 A CN 202310946151A CN 116954585 A CN116954585 A CN 116954585A
Authority
CN
China
Prior art keywords
dimensional
digital twin
displayed
template
physical entity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310946151.5A
Other languages
Chinese (zh)
Inventor
于晶
肖雪
商广勇
胡立军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Yunzhou Industrial Internet Co Ltd
Original Assignee
Inspur Yunzhou Industrial Internet Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Yunzhou Industrial Internet Co Ltd filed Critical Inspur Yunzhou Industrial Internet Co Ltd
Priority to CN202310946151.5A priority Critical patent/CN116954585A/en
Publication of CN116954585A publication Critical patent/CN116954585A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application discloses an industrial digital twin three-dimensional visual scene editing method, equipment and medium. The method comprises the following steps: based on the size attribute information of the physical entity to be digitalized, constructing an initial three-dimensional digital twin body through a preset three-dimensional visual editing tool; determining a component to be displayed of a physical entity to be digitalized, and determining a preset two-dimensional template to be displayed based on the component to be displayed; configuring a two-dimensional template to be displayed to an initial three-dimensional digital twin body through a preset two-dimensional visual editing tool so as to obtain a three-dimensional digital twin body to be applied; binding the three-dimensional digital twin body to be applied with an application data source of the physical entity to be digitized so as to obtain the three-dimensional digital twin body corresponding to the physical entity to be digitized. The method solves the problem that the existing digital twin scene is difficult to quickly and intuitively edit in industrial application.

Description

Industrial digital twin three-dimensional visual scene editing method, device and medium
Technical Field
The application relates to the technical field of digital twinning, in particular to an industrial digital twinning three-dimensional visual scene editing method, equipment and medium.
Background
Along with the rapid development of computer science and technology, the wave trend of digital popularization and digital transformation is continuously rising, digital transformation is induced to generate digital twin technology, and the industries of smart city, industry 4.0, building structure and the like also consider the digital twin technology as a new opportunity of technical innovation. The industrial Internet can provide a data basis for digital twinning, and the digital twinning is also an important application scene of the industrial Internet.
The digital twin scene construction is an important process of the digital twin technology applied in industry, and the real-time mapping of the three-dimensional model and the physical entity is used for representing the change of the physical entity and realizing the driving control of the physical entity. The traditional digital twin scene development has the defects of long scene making period, large personnel investment, insufficient visual editing flexibility and incapability of meeting the requirement of quick editing, and in addition, in the application aspect of the digital twin technology, most scenes are mainly biased to data unidirectional flow application.
Disclosure of Invention
The embodiment of the application provides an industrial digital twin three-dimensional visual scene editing method, equipment and medium, which are used for solving the following technical problems: the existing digital twin scene is difficult to edit in a rapid and visual way in industrial application.
In a first aspect, an embodiment of the present application provides an industrial digital twin three-dimensional visual scene editing method, including: based on the size attribute information of the physical entity to be digitalized, constructing an initial three-dimensional digital twin body through a preset three-dimensional visual editing tool; determining a component to be displayed of a physical entity to be digitalized, and determining a preset two-dimensional template to be displayed based on the component to be displayed; configuring a two-dimensional template to be displayed to an initial three-dimensional digital twin body through a preset two-dimensional visual editing tool so as to obtain a three-dimensional digital twin body to be applied; binding the three-dimensional digital twin body to be applied with an application data source of the physical entity to be digitized so as to obtain the three-dimensional digital twin body corresponding to the physical entity to be digitized.
In one implementation of the present application, based on the size attribute information of the physical entity to be digitized, an initial three-dimensional digital twin body is built by a preset three-dimensional visual editing tool, which specifically includes: acquiring an image of a physical entity to be digitalized, and identifying the image through a model matching algorithm preset in a three-dimensional visual editing tool to determine a three-dimensional visual template with confidence coefficient larger than a preset threshold; after a three-dimensional visual template to be applied is selected from three-dimensional visual templates with confidence coefficient larger than a preset threshold, comparing the three-dimensional visual templates to be applied based on the size attribute information of the physical entity to be digitalized; under the condition that the size attribute information of the three-dimensional visual template to be applied is different from the size attribute information of the physical entity to be digitalized, the three-dimensional visual template to be applied is corrected based on the size attribute information of the physical entity to be digitalized, so that an initial three-dimensional digital twin body is obtained.
In one implementation of the present application, based on the size attribute information of the physical entity to be digitized, an initial three-dimensional digital twin body is built by a preset three-dimensional visual editing tool, which specifically includes: analyzing the physical entity to be digitized to determine a plurality of shape modules contained in the physical entity to be digitized; and dragging corresponding module templates in a module template library of the three-dimensional visual editing tool into a working area of the three-dimensional visual editing tool based on the plurality of shape modules, and correcting the plurality of module templates based on the size attribute information of the physical entity to be digitalized so as to obtain an initial three-dimensional digital twin body.
In one implementation manner of the present application, a two-dimensional template to be displayed is configured to an initial three-dimensional digital twin body through a preset two-dimensional visual editing tool, and the method specifically includes: dragging a two-dimensional template to be displayed in a two-dimensional visual editing tool into a working area of the three-dimensional visual editing tool, and determining a to-be-bound id and world coordinates of the two-dimensional template to be displayed; correcting the two-dimensional template to be displayed based on the size attribute information of the physical entity to be digitalized, and setting the id to be bound as a label of the two-dimensional template to be displayed so as to complete the configuration of the initial three-dimensional digital twin body.
In one implementation manner of the application, dragging a two-dimensional template to be displayed in a two-dimensional visual editing tool into a working area of a three-dimensional visual editing tool, and determining a to-be-bound id and a three-dimensional coordinate of the two-dimensional template to be displayed, specifically comprising: dragging a two-dimensional template to be displayed in a two-dimensional visual editing tool to trigger an id generation event to generate a to-be-bound id of the two-dimensional template to be displayed; and dragging the two-dimensional template to be displayed to the corresponding position of the initial three-dimensional digital twin body, and triggering a three-dimensional coordinate conversion event to acquire the world coordinates of the two-dimensional template to be displayed in the working area of the three-dimensional visual editing tool.
In one implementation of the present application, after configuring the two-dimensional template to be displayed to the initial three-dimensional digital twin body through a preset two-dimensional visual editing tool, the method further includes: determining whether the two-dimensional template to be displayed needs to be dynamically simulated according to the application data source to be bound; under the condition that the two-dimensional template to be displayed needs to be dynamically simulated according to the application data source to be bound, configuring a corresponding dynamic simulation program for the two-dimensional template to be displayed, and declaring the configuration relation between the dynamic simulation program and the two-dimensional template to be displayed.
In one implementation of the present application, binding a three-dimensional digital twin entity to be applied with an application data source of a physical entity to be digitized specifically includes: establishing communication connection between an application data source and a data source interface of a three-dimensional visual editing tool; determining a data message sending protocol of an application data source based on the id to be bound; based on a data message sending protocol, application data source data are input to a three-dimensional digital twin body to be applied through communication connection, so that the three-dimensional digital twin body corresponding to the physical entity to be digitized is obtained.
In one implementation of the present application, after binding the three-dimensional digital twins to be applied with the application data sources of the physical entities to be digitized, the method further comprises: generating a serialization id of an initial three-dimensional digital twin body in the three-dimensional digital twin body to be applied, and binding the serialization id with the id to be bound; automatically serializing the initial three-dimensional digital twin body into the scene data in the JSON format, and recording the world coordinates of the two-dimensional template to be displayed to generate a JSON configuration file; when the three-dimensional digital twin scene corresponding to the physical entity to be digitalized needs to be reentered, the JSON configuration file is called through the API interface to perform automatic deserialization so as to render the three-dimensional digital twin corresponding to the physical entity to be digitalized.
In a second aspect, an embodiment of the present application further provides an industrial digital twin three-dimensional visual scene editing apparatus, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to enable the at least one processor to: based on the size attribute information of the physical entity to be digitalized, constructing an initial three-dimensional digital twin body through a preset three-dimensional visual editing tool; determining a component to be displayed of a physical entity to be digitalized, and determining a preset two-dimensional template to be displayed based on the component to be displayed; configuring a two-dimensional template to be displayed to an initial three-dimensional digital twin body through a preset two-dimensional visual editing tool so as to obtain a three-dimensional digital twin body to be applied; binding the three-dimensional digital twin body to be applied with an application data source of the physical entity to be digitized so as to obtain the three-dimensional digital twin body corresponding to the physical entity to be digitized.
In a third aspect, embodiments of the present application further provide a non-volatile computer storage medium storing computer-executable instructions for industrial digital twin three-dimensional visual scene editing, the computer-executable instructions configured to: based on the size attribute information of the physical entity to be digitalized, constructing an initial three-dimensional digital twin body through a preset three-dimensional visual editing tool; determining a component to be displayed of a physical entity to be digitalized, and determining a preset two-dimensional template to be displayed based on the component to be displayed; configuring a two-dimensional template to be displayed to an initial three-dimensional digital twin body through a preset two-dimensional visual editing tool so as to obtain a three-dimensional digital twin body to be applied; binding the three-dimensional digital twin body to be applied with an application data source of the physical entity to be digitized so as to obtain the three-dimensional digital twin body corresponding to the physical entity to be digitized.
The embodiment of the application provides an industrial digital twin three-dimensional visual scene editing method, equipment and medium. And 3, realizing three-dimensional scene construction through a three-dimensional visual editing tool. And configuring a prefabricated interface template or a chart template in a dragging mode through a two-dimensional visual editing tool, so as to realize the effect optimization of the three-dimensional scene and the statistics, analysis and display of data. Based on automatic serialization and automatic deserialization JSON files, three-dimensional scene storage and rendering are realized, interaction and communication are realized through a communication interface, a development mode of industrial scene rapid visualization and visual editing can be realized, the construction rate of the industrial three-dimensional scene is improved, and intelligent data analysis capability and interaction capability of the industrial scene are provided for users.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a flow chart of an industrial digital twin three-dimensional visual scene editing method provided by an embodiment of the application;
fig. 2 is a schematic diagram of an internal structure of an industrial digital twin three-dimensional visual scene editing device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be clearly and completely described below with reference to specific embodiments of the present application and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The embodiment of the application provides an industrial digital twin three-dimensional visual scene editing method, equipment and medium, which are used for solving the following technical problems: the existing digital twin scene is difficult to edit in a rapid and visual way in industrial application.
The following describes the technical scheme provided by the embodiment of the application in detail through the attached drawings.
Fig. 1 is a flowchart of an industrial digital twin three-dimensional visual scene editing method provided by an embodiment of the application. As shown in fig. 1, the method for editing an industrial digital twin three-dimensional visual scene provided by the embodiment of the application specifically includes the following steps:
step 101, based on the size attribute information of the physical entity to be digitalized, constructing an initial three-dimensional digital twin body through a preset three-dimensional visual editing tool.
Firstly, it should be noted that the three-dimensional visual editing tool preset in the application is based on threjs and VUE frames.
In one embodiment of the present application, based on the size attribute information of the physical entity to be digitized, the initial three-dimensional digital twin body is built by a preset three-dimensional visual editing tool, and the following two methods can be adopted:
1. acquiring an image of a physical entity to be digitalized, and identifying the image through a model matching algorithm preset in a three-dimensional visual editing tool to determine a three-dimensional visual template with confidence coefficient larger than a preset threshold; after a three-dimensional visual template to be applied is selected from three-dimensional visual templates with confidence coefficient larger than a preset threshold, comparing the three-dimensional visual templates to be applied based on the size attribute information of the physical entity to be digitalized; under the condition that the size attribute information of the three-dimensional visual template to be applied is different from the size attribute information of the physical entity to be digitalized, the three-dimensional visual template to be applied is corrected based on the size attribute information of the physical entity to be digitalized, so that an initial three-dimensional digital twin body is obtained.
2. Analyzing the physical entity to be digitized to determine a plurality of shape modules contained in the physical entity to be digitized; and dragging corresponding module templates in a module template library of the three-dimensional visual editing tool into a working area of the three-dimensional visual editing tool based on the plurality of shape modules, and correcting the plurality of module templates based on the size attribute information of the physical entity to be digitalized so as to obtain an initial three-dimensional digital twin body.
Step 102, determining a component to be displayed of the physical entity to be digitalized, and determining a preset two-dimensional template to be displayed based on the component to be displayed.
In one embodiment of the application, after an initial three-dimensional digital twin is built by a preset three-dimensional visual editing tool based on the size attribute information of the physical entity to be digitized, the component to be displayed of the physical entity to be digitized is determined. It will be appreciated that the components to be exposed include some interface templates and echorts-based charts, etc.
Further, the required preset two-dimensional template to be displayed is determined based on the components to be displayed in a preset two-dimensional visual editing tool.
And 103, configuring the two-dimensional template to be displayed to an initial three-dimensional digital twin body through a preset two-dimensional visual editing tool so as to obtain the three-dimensional digital twin body to be applied.
In one embodiment of the application, after the two-dimensional template to be displayed, which is required to be preset, is determined in a preset two-dimensional visual editing tool, the two-dimensional template to be displayed is configured to an initial three-dimensional digital twin body through the preset two-dimensional visual editing tool.
Specifically, dragging a two-dimensional template to be displayed in a two-dimensional visual editing tool into a working area of the three-dimensional visual editing tool, and determining a to-be-bound id and world coordinates of the two-dimensional template to be displayed; correcting the two-dimensional template to be displayed based on the size attribute information of the physical entity to be digitalized, and setting the id to be bound as a label of the two-dimensional template to be displayed so as to complete the configuration of the initial three-dimensional digital twin body.
In one embodiment of the present application, dragging a two-dimensional template to be displayed in a two-dimensional visual editing tool into a working area of a three-dimensional visual editing tool, and determining a to-be-bound id and a three-dimensional coordinate of the two-dimensional template to be displayed, specifically including: dragging a two-dimensional template to be displayed in a two-dimensional visual editing tool to trigger an id generation event to generate a to-be-bound id of the two-dimensional template to be displayed; and dragging the two-dimensional template to be displayed to the corresponding position of the initial three-dimensional digital twin body, and triggering a three-dimensional coordinate conversion event to acquire the world coordinates of the two-dimensional template to be displayed in the working area of the three-dimensional visual editing tool.
In one embodiment of the present application, after configuring the two-dimensional template to be displayed to the initial three-dimensional digital twin body through a preset two-dimensional visual editing tool, the method further comprises: determining whether the two-dimensional template to be displayed needs to be dynamically simulated according to the application data source to be bound; under the condition that the two-dimensional template to be displayed needs to be dynamically simulated according to the application data source to be bound, configuring a corresponding dynamic simulation program for the two-dimensional template to be displayed, and declaring the configuration relation between the dynamic simulation program and the two-dimensional template to be displayed.
It should be noted that, the application declares the configuration relationship between the dynamic simulation program and the two-dimensional template to be displayed, so that the dynamic simulation program can be invoked to reconfigure to the two-dimensional template to be displayed when the three-dimensional digital twin scene corresponding to the physical entity to be digitalized needs to be entered again.
Step 104, binding the three-dimensional digital twin body to be applied with an application data source of the physical entity to be digitalized to obtain the three-dimensional digital twin body corresponding to the physical entity to be digitalized.
In one embodiment of the application, after the two-dimensional template to be displayed is configured to the initial three-dimensional digital twin body through a preset two-dimensional visual editing tool, the three-dimensional digital twin body to be applied is bound with an application data source of the physical entity to be digitalized.
Specifically, establishing communication connection between an application data source and a three-dimensional visual editing tool data source interface; determining a data message sending protocol of an application data source based on the id to be bound; based on a data message sending protocol, application data source data are input to a three-dimensional digital twin body to be applied through communication connection, so that the three-dimensional digital twin body corresponding to the physical entity to be digitized is obtained.
In one embodiment of the application, after binding the three-dimensional digital twins to be applied with the application data sources of the physical entities to be digitized, the method further comprises: generating a serialization id of an initial three-dimensional digital twin body in the three-dimensional digital twin body to be applied, and binding the serialization id with the id to be bound; automatically serializing the initial three-dimensional digital twin body into the scene data in the JSON format, and recording the world coordinates of the two-dimensional template to be displayed to generate a JSON configuration file; when the three-dimensional digital twin scene corresponding to the physical entity to be digitalized needs to be reentered, the JSON configuration file is called through the API interface to perform automatic deserialization so as to render the three-dimensional digital twin corresponding to the physical entity to be digitalized.
The above is a method embodiment of the present application. Based on the same inventive concept, the embodiment of the application also provides an industrial digital twin three-dimensional visual scene editing device, and the structure of the industrial digital twin three-dimensional visual scene editing device is shown in fig. 2.
Fig. 2 is a schematic diagram of an internal structure of an industrial digital twin three-dimensional visual scene editing device according to an embodiment of the present application. As shown in fig. 2, the apparatus includes:
at least one processor 201;
and a memory 202 communicatively coupled to the at least one processor;
wherein the memory 202 stores instructions executable by the at least one processor, the instructions being executable by the at least one processor 201 to enable the at least one processor 201 to:
based on the size attribute information of the physical entity to be digitalized, constructing an initial three-dimensional digital twin body through a preset three-dimensional visual editing tool;
determining a component to be displayed of a physical entity to be digitalized, and determining a preset two-dimensional template to be displayed based on the component to be displayed;
configuring a two-dimensional template to be displayed to an initial three-dimensional digital twin body through a preset two-dimensional visual editing tool so as to obtain a three-dimensional digital twin body to be applied;
binding the three-dimensional digital twin body to be applied with an application data source of the physical entity to be digitized so as to obtain the three-dimensional digital twin body corresponding to the physical entity to be digitized.
Some embodiments of the application provide a non-volatile computer storage medium corresponding to the industrial digital twin three-dimensional visual scene editing of fig. 1, storing computer executable instructions configured to:
based on the size attribute information of the physical entity to be digitalized, constructing an initial three-dimensional digital twin body through a preset three-dimensional visual editing tool;
determining a component to be displayed of a physical entity to be digitalized, and determining a preset two-dimensional template to be displayed based on the component to be displayed;
configuring a two-dimensional template to be displayed to an initial three-dimensional digital twin body through a preset two-dimensional visual editing tool so as to obtain a three-dimensional digital twin body to be applied;
binding the three-dimensional digital twin body to be applied with an application data source of the physical entity to be digitized so as to obtain the three-dimensional digital twin body corresponding to the physical entity to be digitized.
The embodiments of the present application are described in a progressive manner, and the same and similar parts of the embodiments are all referred to each other, and each embodiment is mainly described in the differences from the other embodiments. In particular, for the internet of things device and the medium embodiment, since they are substantially similar to the method embodiment, the description is relatively simple, and the relevant points are referred to in the description of the method embodiment.
The system, the medium and the method provided by the embodiment of the application are in one-to-one correspondence, so that the system and the medium also have similar beneficial technical effects to the corresponding method, and the beneficial technical effects of the method are explained in detail above, so that the beneficial technical effects of the system and the medium are not repeated here.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.

Claims (10)

1. An industrial digital twin three-dimensional visual scene editing method, characterized in that the method comprises the following steps:
based on the size attribute information of the physical entity to be digitalized, constructing an initial three-dimensional digital twin body through a preset three-dimensional visual editing tool;
determining a component to be displayed of the digital physical entity, and determining a preset two-dimensional template to be displayed based on the component to be displayed;
configuring the two-dimensional template to be displayed to the initial three-dimensional digital twin body through a preset two-dimensional visual editing tool so as to obtain a three-dimensional digital twin body to be applied;
binding the three-dimensional digital twin body to be applied with an application data source of the physical entity to be digitalized to obtain the three-dimensional digital twin body corresponding to the physical entity to be digitalized.
2. The industrial digital twin three-dimensional visual scene editing method according to claim 1, wherein an initial three-dimensional digital twin body is built by a preset three-dimensional visual editing tool based on size attribute information of a physical entity to be digitalized, and specifically comprises the following steps:
acquiring an image of the physical entity to be digitized, and identifying the image through a model matching algorithm preset in the three-dimensional visual editing tool to determine a three-dimensional visual template with confidence coefficient larger than a preset threshold value;
after a three-dimensional visual template to be applied is selected from the three-dimensional visual templates with the confidence coefficient larger than a preset threshold, comparing the three-dimensional visual templates to be applied based on the size attribute information of the physical entity to be digitalized;
and under the condition that the size attribute information of the three-dimensional visual template to be applied is different from the size attribute information of the physical entity to be digitalized, correcting the three-dimensional visual template to be applied based on the size attribute information of the physical entity to be digitalized so as to obtain an initial three-dimensional digital twin body.
3. The industrial digital twin three-dimensional visual scene editing method according to claim 1, wherein an initial three-dimensional digital twin body is built by a preset three-dimensional visual editing tool based on size attribute information of a physical entity to be digitalized, and specifically comprises the following steps:
analyzing the physical entity to be digitized to determine a plurality of shape modules contained in the physical entity to be digitized;
and dragging corresponding module templates in a module template library of the three-dimensional visual editing tool into a working area of the three-dimensional visual editing tool based on the plurality of shape modules, and correcting the plurality of module templates based on the size attribute information of the physical entity to be digitalized so as to obtain the initial three-dimensional digital twin body.
4. The method for editing an industrial digital twin three-dimensional visual scene according to claim 1, wherein the two-dimensional template to be displayed is configured to the initial three-dimensional digital twin body through a preset two-dimensional visual editing tool, and specifically comprises the following steps:
dragging the two-dimensional template to be displayed in the two-dimensional visual editing tool into a working area of the three-dimensional visual editing tool, and determining a to-be-bound id and world coordinates of the two-dimensional template to be displayed;
correcting the two-dimensional template to be displayed based on the size attribute information of the physical entity to be digitized, and setting the id to be bound as a label of the two-dimensional template to be displayed so as to complete the configuration of the initial three-dimensional digital twin body.
5. The industrial digital twin three-dimensional visual scene editing method according to claim 4, wherein dragging the two-dimensional template to be displayed in the two-dimensional visual editing tool into a working area of the three-dimensional visual editing tool, and determining a binding id and three-dimensional coordinates of the two-dimensional template to be displayed, specifically comprises:
dragging the two-dimensional template to be displayed in the two-dimensional visual editing tool to trigger an id generation event to generate a to-be-bound id of the two-dimensional template to be displayed;
and dragging the two-dimensional template to be displayed to the corresponding position of the initial three-dimensional digital twin body, and releasing to trigger a three-dimensional coordinate conversion event so as to acquire the world coordinates of the two-dimensional template to be displayed in the working area of the three-dimensional visual editing tool.
6. The method for editing an industrial digital twin three-dimensional visual scene according to claim 4, wherein after configuring the two-dimensional template to be displayed to the initial three-dimensional digital twin body by a preset two-dimensional visual editing tool, the method further comprises:
determining whether the two-dimensional template to be displayed needs to be dynamically simulated according to an application data source to be bound;
under the condition that the two-dimensional template to be displayed needs to be dynamically simulated according to the application data source to be bound, configuring a corresponding dynamic simulation program for the two-dimensional template to be displayed, and declaring the configuration relation between the dynamic simulation program and the two-dimensional template to be displayed.
7. The method for editing an industrial digital twin three-dimensional visual scene according to claim 4, wherein binding the three-dimensional digital twin to be applied with an application data source of the physical entity to be digitized specifically comprises:
establishing communication connection between the application data source and a data source interface of the three-dimensional visual editing tool;
determining a data message sending protocol of the application data source based on the to-be-bound id;
based on the data message sending protocol, the application data source data is input to the three-dimensional digital twin body to be applied through the communication connection, so that the three-dimensional digital twin body corresponding to the physical entity to be digitized is obtained.
8. The industrial digital twin three-dimensional visual scene editing method according to claim 6, wherein after binding the three-dimensional digital twin to be applied with the application data source of the physical entity to be digitized, the method further comprises:
generating a serialization id of the initial three-dimensional digital twin in the three-dimensional digital twin to be applied, and binding the serialization id with the id to be bound;
automatically serializing the initial three-dimensional digital twin body into the scene data in the JSON format, and recording the world coordinates of the two-dimensional template to be displayed to generate a JSON configuration file;
when the three-dimensional digital twin scenes corresponding to the physical entities to be digitalized need to be reentered, the JSON configuration file is called through an API interface to perform automatic deserialization so as to render the three-dimensional digital twin corresponding to the physical entities to be digitalized.
9. An industrial digital twin three-dimensional visual scene editing device, the device comprising:
at least one processor;
and a memory communicatively coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to:
based on the size attribute information of the physical entity to be digitalized, constructing an initial three-dimensional digital twin body through a preset three-dimensional visual editing tool;
determining a component to be displayed of the digital physical entity, and determining a preset two-dimensional template to be displayed based on the component to be displayed;
configuring the two-dimensional template to be displayed to the initial three-dimensional digital twin body through a preset two-dimensional visual editing tool so as to obtain a three-dimensional digital twin body to be applied;
binding the three-dimensional digital twin body to be applied with an application data source of the physical entity to be digitalized to obtain the three-dimensional digital twin body corresponding to the physical entity to be digitalized.
10. A non-volatile computer storage medium storing computer executable instructions for industrial digital twin three-dimensional visual scene editing, the computer executable instructions configured to:
based on the size attribute information of the physical entity to be digitalized, constructing an initial three-dimensional digital twin body through a preset three-dimensional visual editing tool;
determining a component to be displayed of the digital physical entity, and determining a preset two-dimensional template to be displayed based on the component to be displayed;
configuring the two-dimensional template to be displayed to the initial three-dimensional digital twin body through a preset two-dimensional visual editing tool so as to obtain a three-dimensional digital twin body to be applied;
binding the three-dimensional digital twin body to be applied with an application data source of the physical entity to be digitalized to obtain the three-dimensional digital twin body corresponding to the physical entity to be digitalized.
CN202310946151.5A 2023-07-28 2023-07-28 Industrial digital twin three-dimensional visual scene editing method, device and medium Pending CN116954585A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310946151.5A CN116954585A (en) 2023-07-28 2023-07-28 Industrial digital twin three-dimensional visual scene editing method, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310946151.5A CN116954585A (en) 2023-07-28 2023-07-28 Industrial digital twin three-dimensional visual scene editing method, device and medium

Publications (1)

Publication Number Publication Date
CN116954585A true CN116954585A (en) 2023-10-27

Family

ID=88452602

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310946151.5A Pending CN116954585A (en) 2023-07-28 2023-07-28 Industrial digital twin three-dimensional visual scene editing method, device and medium

Country Status (1)

Country Link
CN (1) CN116954585A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117473171A (en) * 2023-12-28 2024-01-30 江西省映尚科技有限公司 Intelligent interconnection system and method based on digital content visualization
CN117539368A (en) * 2024-01-09 2024-02-09 广州开得联智能科技有限公司 Interaction method, device, equipment and readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117473171A (en) * 2023-12-28 2024-01-30 江西省映尚科技有限公司 Intelligent interconnection system and method based on digital content visualization
CN117473171B (en) * 2023-12-28 2024-05-24 江西省映尚科技有限公司 Intelligent interconnection system and method based on digital content visualization
CN117539368A (en) * 2024-01-09 2024-02-09 广州开得联智能科技有限公司 Interaction method, device, equipment and readable storage medium
CN117539368B (en) * 2024-01-09 2024-05-03 广州开得联智能科技有限公司 Interaction method, device, equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN116954585A (en) Industrial digital twin three-dimensional visual scene editing method, device and medium
CN110058856A (en) Page configuration method and device
CN107578367B (en) Method and device for generating stylized image
CN105023595A (en) Apparatus for editing
CN110020353B (en) Method and device for constructing webpage form
CN106933887B (en) Data visualization method and device
CN113112208A (en) Electric power material storage management method based on three-dimensional visualization model
CN113870097A (en) Marking method of furniture image, model training method and equipment
CN110569379A (en) Method for manufacturing picture data set of automobile parts
CN115421786A (en) Design component migration method and related equipment
CN115599764A (en) Method, device and medium for migrating table data
CN109857964B (en) Thermodynamic diagram drawing method and device for page operation, storage medium and processor
CN113681897B (en) Slice processing method, printing method, system, device and storage medium
CN111611419B (en) Sub-graph identification method and device
CN109522532B (en) Method and device for calculating selection range of line drawing frame
CN107256004B (en) Product processing method and device
CN112579066A (en) Chart display method and device, storage medium and equipment
CN106569816B (en) Rendering method and device
CN115935909A (en) File generation method and device and electronic equipment
CN114863438A (en) Method and system for identifying curves
CN115687310A (en) Data cleaning method and device
CN115277865A (en) Display method, device and medium for device panel
CN112749229A (en) Data conversion method, device, storage medium and electronic equipment
CN113792241A (en) Method and related device for overlaying and browsing DWG (discrete wavelet packet) file on Web map
CN111652377A (en) Robot learning method, device and medium based on block chain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination