Deployment method and device of industrial digital twin application

By providing a deployment method and device for industrial digital twin applications, the problem of low deployment and update efficiency of digital twin applications in industrial scenarios is solved, standardized deployment and non-stop updates are achieved, and system availability is improved.

CN119496702APending Publication Date: 2025-02-21SHANGHAI BAOSIGHT SOFTWARE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411379275.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2025-02-21

AI Technical Summary

Technical Problem

It is difficult for the existing technology to efficiently deploy and update digital twin applications in industrial scenarios, especially due to the large model files and high system reliability requirements, which lead to low installation and deployment efficiency and uncertainty.

Method used

It provides a method and device for deploying industrial digital twin applications, including environment initialization, deployment and startup of digital twin application installer server, installation through browser access to installation page, and update management module for automatic update function.

Benefits of technology

It realizes the standardized deployment model of digital twin applications in industrial scenarios, improves installation and deployment efficiency, reduces the impact of manual factors, realizes continuous update of digital twin applications, and improves system availability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119496702A_ABST
    Figure CN119496702A_ABST
Patent Text Reader

Abstract

The invention provides a method and a device for deploying industrial digital twin applications. The method comprises the following steps of: S1, initializing an environment on a server; s2, deploying a digital twin application installer server, and starting the digital twin application installer server; s3, accessing an installation page through a browser, selecting a digital twin application scene type and a platform module, inputting database connection information, and executing an installation process; and S4, after the installation is completed, skipping to open a digital twin application login page. By adopting a standardized digital twin application deployment mode, the problems of repeated labor and uncertainty of manual deployment are solved, the influence of human factors is reduced, and the installation and deployment efficiency of the digital twin application is improved; according to the invention, by adopting a modularized deployment mode, the differential deployment of digital twin applications in different subdivision scenes in the industrial field is solved, and the problem of manufacturing a plurality of installation packages or redundant deployment of model files is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of industrial digital twin applications, and in particular, to a deployment method and device for industrial digital twin applications. Background Art

[0002] At present, the application architecture of industrial digital twins is complex and diverse. Due to the complexity of industrial equipment and the large size of related modeling files, the industry adopts manual deployment and manual update methods, which will lead to some uncertain problems and require application for downtime and scheduled repair time. In addition, the digital twin applications in different scenarios vary greatly, but they are mainly reflected in the differences in files and data. There are certain common practices for their installation, deployment and update methods.

[0003] Currently, many digital twin applications, including B / S architecture and C / S architecture, do not yet have methods and devices that meet the requirements of large model files, high system reliability, and high installation and deployment efficiency in industrial scenarios.

[0004] A method and system for continuous delivery of cloud-native applications in multiple environments based on GitOps is disclosed in a patent document with announcement number CN118295772B. This method includes the following steps: application configuration, Git repository, multi-environment differentiated configuration, continuous integration and continuous delivery environment configuration, GitOps application multi-environment continuous delivery, and GitOps application operation and maintenance. This method stores application configuration and infrastructure definitions in a unified manner in the Git repository, and implements cross-environment application deployment through an automated CI / CD pipeline. Although the source code-based continuous integration method can meet the system development and operation and maintenance scenarios of commonly used information systems, such as MES, ERP, etc., it cannot meet the digital twin application scenarios, especially the update requirements of 3D model files of large-scale equipment. These 3D model files are usually compiled and rendered using third-party software, such as UE, Unity, etc.

[0005] Therefore, it is necessary to propose a new technical solution to improve the above technical problems. Summary of the invention

[0006] In view of the defects in the prior art, the object of the present invention is to provide a deployment method and device for industrial digital twin applications.

[0007] According to a deployment method of an industrial digital twin application provided by the present invention, the method comprises the following steps:

[0008] Step S1: Initialize the environment on the server;

[0009] Step S2: deploy the digital twin application installer server and start it;

[0010] Step S3: Access the installation page through a browser, select the digital twin application scenario type and platform module, enter the database connection information, and execute the installation process;

[0011] Step S4: After the installation is complete, jump to open the digital twin application login page.

[0012] Preferably, initializing the environment on the server in step S1 includes installing a Java runtime environment and a database instance.

[0013] Preferably, step S3 comprises the following steps:

[0014] Step S3.1: Select the digital twin application scenario type, including steelmaking continuous casting and hot rolling heating furnace;

[0015] Step S3.2: Select digital twin platform modules, including digital-real connection and model management;

[0016] Step S3.3: Enter database connection information, including database type and account password, and execute the initialization script;

[0017] Step S3.4: The installer server executes file deployment, changes the configuration file, starts the platform server, and starts the update service.

[0018] Preferably, the installation process in step S3 includes file deployment, configuration file change, platform server startup and update service startup.

[0019] Preferably, the installation process in step S3 includes:

[0020] Get the digital twin application server platform file from the daily compilation server, modify its configuration file to point to the database information provided by the user, and start the platform server;

[0021] Get the update service site server file, modify its configuration file to point to the current server IP address, and start the update site;

[0022] Establish the storage path for digital twin application modules and model file resources.

[0023] Preferably, the method further comprises the steps of:

[0024] Step S5: The development and operation personnel log in to the update site, upload the update file according to the module path, and calculate the MD5 summary information of the uploaded file;

[0025] Step S6: The update site writes or updates the file name, MD5 summary information and update time into the server-side FileVersion configuration file;

[0026] Step S7: When the digital twin application client is started, it checks and downloads the update file, replaces the local file, and completes the update process.

[0027] Preferably, in step S7, checking and downloading the update file includes:

[0028] When the digital twin application client starts, it first obtains the server-side FileVersion configuration file of the update site;

[0029] Compare the MD5 values ​​of all files in the local FileVersion configuration file and the obtained FileVersion configuration file. If the MD5 values ​​of the files are inconsistent and the server is updated more recently, download the file and overwrite the local file.

[0030] The present invention also provides a deployment device for industrial digital twin applications, comprising:

[0031] The environment initialization module is used to initialize the Java runtime environment and database instance on the server;

[0032] Installer deployment module, used to deploy and start the digital twin application installer server;

[0033] The installation execution module is used to access the installation page through a browser, execute the installation process, and start the digital twin application;

[0034] The update management module is used to receive uploaded update files, calculate MD5 summary information, and manage FileVersion configuration files to achieve automatic updates of digital twin applications.

[0035] Preferably, when the digital twin application client is started, the update management module checks and downloads update files, replaces local files, and completes the update process.

[0036] Preferably, the device further comprises:

[0037] The storage module is used to store digital twin application modules and model file resources.

[0038] Compared with the prior art, the present invention has the following beneficial effects:

[0039] 1. The present invention designs a method and device for deploying industrial digital twin applications, provides a standardized operation mode for deploying digital twin applications in industrial scenarios, assists enterprises in quickly deploying digital twin applications through configurable scenario templates and version release and update functions, and realizes non-stop updates of digital twin applications through version update mechanisms;

[0040] 2. The present invention solves the problems of repeated labor and uncertainty in manual deployment by adopting a standardized digital twin application deployment mode, reduces the impact of human factors, and improves the installation and deployment efficiency of digital twin applications;

[0041] 3. The present invention solves the differentiated deployment of digital twin applications in different industrial scenarios by adopting a modular deployment method, avoiding the problem of making multiple installation packages or redundant deployment of model files.

[0042] 4. The present invention solves the downtime impact caused by system file updates, especially large file updates of digital twin device models, by adopting a version release update function, thereby improving system availability. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0044] Figure 1 It is a schematic diagram of the installation and deployment process of the present invention;

[0045] Figure 2 It is a schematic diagram of the update process of the present invention;

[0046] Figure 3 This is a schematic diagram of client file download and update according to the present invention. DETAILED DESCRIPTION

[0047] The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several changes and improvements can also be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

[0048] Embodiment 1:

[0049] According to a deployment method of an industrial digital twin application provided by the present invention, the method comprises the following steps:

[0050] Step S1: Initialize the environment on the server, including installing the Java runtime environment and database instance.

[0051] Step S2: deploy the digital twin application installer server and start it;

[0052] Step S3: Access the installation page through a browser, select the digital twin application scenario type and platform module, enter the database connection information, and execute the installation process;

[0053] Step S3.1: Select the digital twin application scenario type, including steelmaking continuous casting and hot rolling heating furnace;

[0054] Step S3.2: Select digital twin platform modules, including digital-real connection and model management;

[0055] Step S3.3: Enter database connection information, including database type and account password, and execute the initialization script;

[0056] Step S3.4: The installer server executes file deployment, changes the configuration file, starts the platform server, and starts the update service.

[0057] The installation process includes file deployment, configuration file changes, platform server startup, and update service startup.

[0058] The installation process includes:

[0059] Get the digital twin application server platform file from the daily compilation server, modify its configuration file to point to the database information provided by the user, and start the platform server;

[0060] Get the update service site server file, modify its configuration file to point to the current server IP address, and start the update site;

[0061] Establish the storage path for digital twin application modules and model file resources.

[0062] Step S4: After the installation is complete, jump to open the digital twin application login page.

[0063] Step S5: The development and operation personnel log in to the update site, upload the update file according to the module path, and calculate the MD5 summary information of the uploaded file;

[0064] Step S6: The update site writes or updates the file name, MD5 summary information and update time into the server-side FileVersion configuration file;

[0065] Step S7: When the digital twin application client is started, it checks and downloads the update file, replaces the local file, and completes the update process.

[0066] Check and download update files including:

[0067] When the digital twin application client starts, it first obtains the server-side FileVersion configuration file of the update site;

[0068] Compare the MD5 values ​​of all files in the local FileVersion configuration file and the obtained FileVersion configuration file. If the MD5 values ​​of the files are inconsistent and the server is updated more recently, download the file and overwrite the local file.

[0069] Example 2

[0070] The present invention also provides a deployment device for industrial digital twin applications, comprising:

[0071] The environment initialization module is used to initialize the Java runtime environment and database instance on the server;

[0072] Installer deployment module, used to deploy and start the digital twin application installer server;

[0073] The installation execution module is used to access the installation page through a browser, execute the installation process, and start the digital twin application;

[0074] The update management module is used to receive uploaded update files, calculate MD5 summary information, and manage FileVersion configuration files to achieve automatic updates of digital twin applications. When the digital twin application client is started, it checks and downloads update files, replaces local files, and completes the update process.

[0075] The storage module is used to store digital twin application modules and model file resources.

[0076] Embodiment 3:

[0077] Reference Figure 1 The present invention designs a method and device for deploying industrial digital twin applications, provides a standardized operation mode for deploying digital twin applications in industrial scenarios, assists enterprises in quickly deploying digital twin applications through configurable scenario templates and version release and update functions, and realizes non-stop updates of digital twin applications through version update mechanisms, including the following steps:

[0078] Step 1: Initialize the server environment, including the installation of the Java Runtime Environment (JDK) and database instance.

[0079] Step 2: Deploy the digital twin application installer server and start it. Start the installer server at the IP address 10.25.102.34: java-jar iPlat-DT-setup.jar.

[0080] Step 3: Use a browser to access the installation page to start the installation of the digital twin application. Use the browser to access http: / / 10.25.102.34:10001 to open the installation wizard page.

[0081] Step 3.1: Select the digital twin application scenario type, such as steelmaking continuous casting, hot rolling heating furnace, etc.

[0082] Step 3.2: Select digital twin platform modules, such as digital-real connection, model management, etc.

[0083] Step 3.3: Enter the database connection information, such as database type, account password, etc., and execute the initialization script.

[0084] Step 3.4: The installer server executes file deployment, changes configuration files, starts the platform server, and starts the update service. The installer obtains the digital twin application server platform file from the daily compilation server, modifies its configuration file to point to the database type, account password, etc. provided by the user in the installation interface, and starts the platform server; obtains the update service site server file ClientUpdate.jar, modifies its configuration file to point to the current server IP address, and starts the update site; establishes the storage path for digital twin application modules, model files and other resources, etc.

[0085] Step 4: After the installation is complete, jump to open the digital twin application login page.

[0086] Reference Figure 2 and Figure 3 , the update service method includes the following steps:

[0087] Step S1: The development and operation personnel log in to the update site.

[0088] Step S2: Upload files according to the module path, such as 3D device model files, client dynamic libraries, client static resource files, etc.

[0089] Step S2.1: The update site calculates the MD5 summary information of the file: The update site first calculates the file size. For smaller files, it directly uses java.security.MessageDigest to calculate the MD5 value. For larger model files, it calculates and updates the file segment by segment according to the file stream, and finally obtains the MD5 value of the file.

[0090] Step S2.2: The update site writes the file name, MD5 summary information, and update time into (if the file does not exist) or updates (if the file already exists) the server-side FileVersion configuration file.

[0091] Step S3: When the digital twin application client is started, it first starts the update check to obtain the server-side FileVersion configuration file of the update site. When the acquisition fails due to network or update site abnormalities, the client will remind the user to retry or skip the update to ensure system availability. Errors during file download will not affect the operation of the existing system; errors during file replacement will not affect the operation of the existing system, and the client will skip the current file; temporary files will only be deleted if the download and replacement are successful. This is in the same logic, which can ensure that the same file is fully downloaded, replaced or skipped, and will not be partially replaced.

[0092] Step S4: The digital twin application client compares the MD5 values ​​of all files in the local FileVersion configuration file and the FileVersion configuration file obtained in step S3. When the MD5 values ​​of the files are inconsistent and the server update time is newer, the update site interface is called to download the file. When downloading a file, first save the file in the Temp folder under the installation directory and save it as a temporary file in the "file name.Downloading" format. After the file is downloaded, the client will copy and replace the target file and delete the temporary file; if the target file is occupied (for example: the client is opened multiple times) and the copy and replacement fails, the temporary file will be retained, and the update, copy and replacement will be tried again the next time the client is started to ensure that the file is finally updated successfully.

[0093] Step S5: After the update is completed, the local FileVersion configuration file is replaced with the FileVersion configuration file on the server side, and the digital twin application client is entered.

[0094] The present invention solves the problems of repetitive labor and uncertainty in manual deployment by adopting a standardized digital twin application deployment mode, reduces the impact of human factors, and improves the installation and deployment efficiency of digital twin applications; by adopting a modular deployment method, it solves the differentiated deployment of digital twin applications in different industrial scenarios, and avoids the problem of making multiple installation packages or redundant deployment of model files; by adopting a version release and update function, it solves the downtime impact caused by system file updates, especially large file updates of digital twin device models, and improves system availability.

[0095] Those skilled in the art may understand this embodiment as a more specific description of Embodiment 1 and Embodiment 2.

[0096] Those skilled in the art know that, in addition to realizing the system and its various devices, modules, and units provided by the present invention in a purely computer-readable program code, it is entirely possible to realize the same functions in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, the system and its various devices, modules, and units provided by the present invention can be considered as a hardware component, and the devices, modules, and units included therein for realizing various functions can also be regarded as structures within the hardware component; the devices, modules, and units for realizing various functions can also be regarded as both software modules for realizing the method and structures within the hardware component.

[0097] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art can make various changes or modifications within the scope of the claims, which does not affect the essence of the present invention. In the absence of conflict, the embodiments of the present application and the features in the embodiments can be combined with each other arbitrarily.

Claims

1. A method for deploying industrial digital twin applications, characterized in that: The method comprises the following steps: Step S1: Initialize the environment on the server; Step S2: deploy the digital twin application installer server and start it; Step S3: Access the installation page through a browser, select the digital twin application scenario type and platform module, enter the database connection information, and execute the installation process; Step S4: After the installation is complete, jump to open the digital twin application login page.

2. The method for deploying industrial digital twin applications according to claim 1, characterized in that: Initializing the environment on the server in step S1 includes installing a Java runtime environment and a database instance.

3. The method for deploying industrial digital twin applications according to claim 1, characterized in that: The step S3 comprises the following steps: Step S3.1: Select the digital twin application scenario type, including steelmaking continuous casting and hot rolling heating furnace; Step S3.2: Select digital twin platform modules, including digital-real connection and model management; Step S3.3: Enter database connection information, including database type and account password, and execute the initialization script; Step S3.4: The installer server executes file deployment, changes the configuration file, starts the platform server, and starts the update service.

4. The method for deploying industrial digital twin applications according to claim 1, characterized in that: The execution of the installation process in step S3 includes file deployment, configuration file change, platform server startup and update service startup.

5. The method for deploying industrial digital twin applications according to claim 1, characterized in that: The installation process in step S3 includes: Get the digital twin application server platform file from the daily compilation server, modify its configuration file to point to the database information provided by the user, and start the platform server; Get the update service site server file, modify its configuration file to point to the current server IP address, and start the update site; Establish the storage path for digital twin application modules and model file resources.

6. The method for deploying industrial digital twin applications according to claim 1, characterized in that: The method further comprises the steps of: Step S5: The development and operation personnel log in to the update site, upload the update file according to the module path, and calculate the MD5 summary information of the uploaded file; Step S6: The update site writes or updates the file name, MD5 summary information and update time into the server-side FileVersion configuration file; Step S7: When the digital twin application client is started, it checks and downloads the update file, replaces the local file, and completes the update process.

7. The method for deploying industrial digital twin applications according to claim 6, characterized in that: In step S7, checking and downloading the update file includes: When the digital twin application client starts, it first obtains the server-side FileVersion configuration file of the update site; Compare the MD5 values ​​of all files in the local FileVersion configuration file and the obtained FileVersion configuration file. If the MD5 values ​​of the files are inconsistent and the server is updated more recently, download the file and overwrite the local file.

8. A deployment device for industrial digital twin applications, characterized in that: include: The environment initialization module is used to initialize the Java runtime environment and database instance on the server; Installer deployment module, used to deploy and start the digital twin application installer server; The installation execution module is used to access the installation page through a browser, execute the installation process, and start the digital twin application; The update management module is used to receive uploaded update files, calculate MD5 summary information, and manage FileVersion configuration files to achieve automatic updates of digital twin applications.

9. The deployment device for industrial digital twin applications according to claim 1, characterized in that: When the digital twin application client is started, the update management module checks and downloads update files, replaces local files, and completes the update process.

10. The deployment device for industrial digital twin applications according to claim 1, characterized in that: The device also includes: The storage module is used to store digital twin application modules and model file resources.

Citation Information

Patent Citations

  • A multi-environment continuous delivery method and system for cloud native applications based on GitOps

    CN118295772B