A file packaging method, device and equipment for digital twins
By configuring the digital twins as multiple data segments in a unified file format and saving their data descriptions in the same file, the problem that the existing technology cannot save the product's full life cycle data is solved, and data integrity and security are achieved.
Patent Information
- Application Number
- CN202010550060.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-16
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2040-06-16
AI Technical Summary
The existing digital twin file encapsulation solution cannot save all data during the entire life cycle of the product, resulting in data loss and completeness loss.
By configuring the digital twin to at least two data segments in a unified file format according to the preset policy, obtaining the data description of these data segments, saving them in the same file, and encrypting them.
The files obtained after encapsulating the digital twin can save all data during the entire life cycle of the product, ensuring the integrity and security of the data.
Smart Images

Figure CN111858484B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of digital twin technology, and in particular to a file packaging method, device and equipment for digital twins. Background Art
[0002] Digital twin refers to the full use of physical models, sensor updates, operation history and other data, integrating multi-disciplinary, multi-physical quantity, multi-scale, and multi-probability simulation processes, completing mapping in virtual space, thereby reflecting the entire life cycle of the corresponding product.
[0003] However, existing file packaging solutions for digital twins generally only save data from one stage of the product's entire life cycle after the digital twin is packaged, and it is impossible to achieve that the file obtained after the digital twin is packaged can save all data in the product's entire life cycle. Summary of the invention
[0004] In view of this, the purpose of the present invention is to propose a file packaging method, device and equipment for digital twins, which can realize that the file obtained after packaging the digital twins can save all data during the entire life cycle of the product.
[0005] According to one aspect of the present invention, a file encapsulation method for digital twins is provided, comprising: configuring the digital twins into at least two data segments in a unified file format according to a preset strategy; obtaining data descriptions of the at least two data segments in the unified file format; and saving the obtained data descriptions in the same file.
[0006] Among them, according to the preset strategy, the digital twin is configured into at least two data segments in a unified file format, including: according to the preset strategy, the digital twin is configured into three data segments in a unified file format: file header, information data and file tail.
[0007] Among them, obtaining the data description of the at least two data segments in the unified file format includes: according to the description of the database interface corresponding to the at least two data segments in the unified file format, obtaining the data description of the at least two data segments in the unified file format from the described database interface.
[0008] Among them, saving the acquired data description in the same file includes: saving the acquired data description in the same file by saving the detailed content of the data segment corresponding to the required data description and saving the database interface description corresponding to the unnecessary data description.
[0009] After the acquired data description is saved in the same file, the method further includes: encrypting the data description saved in the same file.
[0010] According to another aspect of the present invention, there is provided a file encapsulation device for digital twins, comprising: a configuration module, an acquisition module and a saving module; the configuration module is used to configure the digital twin into at least two data segments in a unified file format according to a preset strategy; the acquisition module is used to acquire data descriptions of the at least two data segments in a unified file format; the saving module is used to save the acquired data descriptions in the same file.
[0011] Among them, the configuration module is specifically used to: configure the digital twin into three data segments in a unified file format: file header, information data and file footer according to a preset strategy.
[0012] The acquisition module is specifically used to: acquire data descriptions of the at least two data segments in the unified file format from the described database interface according to the description of the database interface corresponding to the at least two data segments in the unified file format.
[0013] Wherein, the saving module is specifically used to save the acquired data description in the same file by saving the detailed content of the data segment corresponding to the required data description and saving the database interface description corresponding to the unnecessary data description.
[0014] Among them, the file encapsulation device for digital twins also includes: an encryption module; the encryption module is used to encrypt the data description stored in the same file.
[0015] According to another aspect of the present invention, there is provided a file packaging device for digital twins, comprising: at least one processor; and 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 execute the file packaging method for digital twins as described in any one of the above items.
[0016] According to another aspect of the present invention, a computer-readable storage medium is provided, storing a computer program, which, when executed by a processor, implements the file packaging method for digital twins as described in any one of the above items.
[0017] It can be found that the above scheme can configure the digital twin into at least two data segments in a unified file format according to a preset strategy, and can obtain data descriptions of the at least two data segments in a unified file format, and can save the obtained data descriptions in the same file. It can achieve the integrity of the digital twin through at least two data segments in a unified file format, can cover all data during the entire life cycle of the product, and can achieve that the file obtained after packaging the digital twin can save all data during the entire life cycle of the product.
[0018] Furthermore, the above scheme can configure the digital twin into three data segments in a unified file format: file header, information data, and file footer according to a preset strategy. The advantage of this is that the integrity of the digital twin can be achieved through three data segments in a unified file format, and all data during the entire life cycle of the product can be covered.
[0019] Furthermore, the above scheme can obtain the data description of the at least two data segments in the unified file format from the description of the database interface corresponding to the at least two data segments in the unified file format. The advantage of this is that the accuracy of the obtained data description can be improved.
[0020] Furthermore, the above scheme can save the acquired data description in the same file by saving the detailed content of the data segment corresponding to the required data description and saving the database interface description corresponding to the unnecessary data description. The advantage of this is that it can effectively solve the problem that all data in the entire life cycle of the product involved in the digital twin is difficult to save in the same file due to the large amount of data, and can save all data in the entire life cycle of the product involved in the digital twin in the same file.
[0021] Furthermore, the above solution can encrypt the data description stored in the same file, which has the advantage of ensuring that the data description stored in the same file is not tampered with. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0023] Figure 1 It is a flow chart of an embodiment of a file packaging method for digital twins of the present invention;
[0024] Figure 2 It is a flow chart of another embodiment of the file packaging method for digital twins of the present invention;
[0025] Figure 3 It is a structural schematic diagram of an embodiment of a file packaging device for digital twins of the present invention;
[0026] Figure 4 It is a structural schematic diagram of another embodiment of the file packaging device for digital twins of the present invention;
[0027] Figure 5 It is a structural schematic diagram of an embodiment of a file packaging device for digital twins of the present invention. DETAILED DESCRIPTION
[0028] The present invention will be further described in detail below in conjunction with the accompanying drawings and examples. It is particularly noted that the following examples are only used to illustrate the present invention, but are not intended to limit the scope of the present invention. Similarly, the following examples are only partial embodiments of the present invention rather than all embodiments, and all other embodiments obtained by those of ordinary skill in the art without creative work are within the scope of protection of the present invention.
[0029] The present invention provides a file packaging method for digital twins, which can realize that the file obtained after packaging the digital twins can save all data during the entire life cycle of the product.
[0030] See also Figure 1 , Figure 1 1 is a flow chart of an embodiment of a file packaging method for digital twins of the present invention. It should be noted that if there are substantially the same results, the method of the present invention is not limited to Figure 1 The process sequence shown is limited. Figure 1 As shown, the method comprises the following steps:
[0031] S101: According to a preset strategy, the digital twin is configured into at least two data segments in a unified file format.
[0032] The configuration of the digital twin into at least two data segments in a unified file format according to a preset strategy may include:
[0033] According to the preset strategy, the digital twin is configured as three data segments in a unified file format: file header, information data, and file footer. The advantage of this is that the integrity of the digital twin can be achieved through three data segments in a unified file format, and all data during the entire life cycle of the product can be covered.
[0034] In this embodiment, the data segment of the file header may include information such as the creation time of the digital twin and the creator of the digital twin.
[0035] In this embodiment, the data segments of the information data may include physical information data segments, simulation information data segments, production process information data segments, production operation information data segments, product Internet of Things information data segments, big data center information data segments, etc. Among them, the content of the data segments of the information data can be simplified and saved according to needs, such as only saving database docking description information, which can achieve the minimum data storage amount.
[0036] In this embodiment, the data segment at the end of the file may include object information data and file attribute data, etc. The object information data may be information such as the name of the file content of each data segment, etc. The file attribute data may be file attributes such as a cyclic checksum of the data and a saved file thumbnail, etc.
[0037] S102: Obtain data description of the at least two data segments in the unified file format.
[0038] The step of obtaining the data description of the at least two data segments in the unified file format may include:
[0039] According to the description of the database interface corresponding to the at least two data segments in the unified file format, the data description of the at least two data segments in the unified file format is obtained from the described database interface. This has the advantage of improving the accuracy of the obtained data description.
[0040] S103: Save the acquired data description in the same file.
[0041] The acquired data description is stored in the same file and may include:
[0042] The acquired data description is saved in the same file by saving the detailed content of the data segment corresponding to the required data description and saving the database interface description corresponding to the unnecessary data description. The advantage of this is that it can effectively solve the problem that all data in the entire life cycle of the product involved in the digital twin is difficult to save in the same file due to the large amount of data. All data in the entire life cycle of the product involved in the digital twin can be saved in the same file.
[0043] After the acquired data description is saved in the same file, the following may also be included:
[0044] The data description stored in the same file is encrypted, which has the advantage of ensuring that the data description stored in the same file is not tampered with.
[0045] It can be found that in this embodiment, the digital twin can be configured as at least two data segments in a unified file format according to a preset strategy, and the data description of the at least two data segments in a unified file format can be obtained, and the obtained data description can be saved in the same file, so that the integrity of the digital twin can be achieved through at least two data segments in a unified file format, and all data in the entire life cycle of the product can be covered, and the file obtained after packaging the digital twin can save all data in the entire life cycle of the product.
[0046] Furthermore, in this embodiment, the digital twin can be configured as three data segments in a unified file format: file header, information data, and file footer according to a preset strategy. The advantage of this is that the integrity of the digital twin can be achieved through three data segments in a unified file format, and all data during the entire life cycle of the product can be covered.
[0047] Furthermore, in this embodiment, based on the description of the database interface corresponding to the at least two data segments in the unified file format, the data description of the at least two data segments in the unified file format can be obtained from the described database interface. This has the advantage of being able to improve the accuracy of the obtained data description.
[0048] Furthermore, in the present embodiment, the acquired data description can be saved in the same file by saving the detailed content of the data segment corresponding to the required data description and saving the database interface description corresponding to the unnecessary data description. The advantage of this is that it can effectively solve the problem that all data in the entire life cycle of the product involved in the digital twin is difficult to save in the same file due to the large amount of data, and can save all data in the entire life cycle of the product involved in the digital twin in the same file.
[0049] See also Figure 2 , Figure 2 1 is a flow chart of another embodiment of the file packaging method for digital twins of the present invention. In this embodiment, the method includes the following steps:
[0050] S201: According to a preset strategy, the digital twin is configured into at least two data segments in a unified file format.
[0051] This can be as described in S101 above and will not be elaborated here.
[0052] S202: Obtain data description of the at least two data segments in the unified file format.
[0053] This can be as described in S102 above, and will not be elaborated here.
[0054] S203: Save the acquired data description in the same file.
[0055] This can be as described in S103 above, and will not be elaborated here.
[0056] S204: Encrypt the data description stored in the same file.
[0057] It can be found that in this embodiment, the data description stored in the same file can be encrypted, which has the advantage of ensuring that the data description stored in the same file is not tampered with.
[0058] The present invention also provides a file packaging device for digital twins, which can realize that the file obtained after packaging the digital twins can save all data during the entire life cycle of the product.
[0059] See also Figure 3 , Figure 3 3 is a schematic diagram of the structure of an embodiment of a file packaging device for digital twins of the present invention. In this embodiment, the file packaging device 30 for digital twins includes a configuration module 31, an acquisition module 32 and a storage module 33.
[0060] The configuration module 31 is used to configure the digital twin into at least two data segments in a unified file format according to a preset strategy.
[0061] The acquisition module 32 is used to acquire data descriptions of the at least two data segments in a unified file format.
[0062] The saving module 33 is used to save the acquired data description in the same file.
[0063] Optionally, the configuration module 31 may be specifically used for:
[0064] According to the preset strategy, the digital twin is configured as three data segments in a unified file format: file header, information data, and file footer.
[0065] Optionally, the acquisition module 32 may be specifically used for:
[0066] According to the description of the database interface corresponding to the at least two data segments in the unified file format, the data description of the at least two data segments in the unified file format is obtained from the described database interface.
[0067] Optionally, the storage module 33 may be specifically used for:
[0068] The acquired data description is saved in the same file by storing the detailed content of the data segment corresponding to the required data description and storing the database interface description corresponding to the unnecessary data description.
[0069] See also Figure 4 , Figure 4 4 is a schematic diagram of the structure of another embodiment of the file packaging device for digital twins of the present invention. Different from the previous embodiment, the file packaging device 40 for digital twins described in this embodiment further includes an encryption module 41.
[0070] The encryption module 41 is used to encrypt the data description stored in the same file.
[0071] Each unit module of the file packaging device 30 / 40 for digital twins can respectively execute the corresponding steps in the above method embodiment, so each unit module will not be described in detail here. Please refer to the description of the above corresponding steps for details.
[0072] The present invention further provides a file packaging device for digital twins, such as Figure 5 As shown, it includes: at least one processor 51; and a memory 52 that is communicatively connected to the at least one processor 51; wherein the memory 52 stores instructions that can be executed by the at least one processor 51, and the instructions are executed by the at least one processor 51 so that the at least one processor 51 can execute the above-mentioned file packaging method for digital twins.
[0073] The memory 52 and the processor 51 are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors 51 and the memory 52 together. The bus can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor 51 is transmitted on a wireless medium via an antenna, and further, the antenna also receives data and transmits the data to the processor 51.
[0074] The processor 51 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management and other control functions. The memory 52 can be used to store data used by the processor 51 when performing operations.
[0075] The present invention further provides a computer-readable storage medium storing a computer program, which implements the above method embodiment when executed by a processor.
[0076] It can be found that the above scheme can configure the digital twin into at least two data segments in a unified file format according to a preset strategy, and can obtain data descriptions of the at least two data segments in a unified file format, and can save the obtained data descriptions in the same file. It can achieve the integrity of the digital twin through at least two data segments in a unified file format, can cover all data during the entire life cycle of the product, and can achieve that the file obtained after packaging the digital twin can save all data during the entire life cycle of the product.
[0077] Furthermore, the above scheme can configure the digital twin into three data segments in a unified file format: file header, information data, and file footer according to a preset strategy. The advantage of this is that the integrity of the digital twin can be achieved through three data segments in a unified file format, and all data during the entire life cycle of the product can be covered.
[0078] Furthermore, the above scheme can obtain the data description of the at least two data segments in the unified file format from the description of the database interface corresponding to the at least two data segments in the unified file format. The advantage of this is that the accuracy of the obtained data description can be improved.
[0079] Furthermore, the above scheme can save the acquired data description in the same file by saving the detailed content of the data segment corresponding to the required data description and saving the database interface description corresponding to the unnecessary data description. The advantage of this is that it can effectively solve the problem that all data in the entire life cycle of the product involved in the digital twin is difficult to save in the same file due to the large amount of data, and can save all data in the entire life cycle of the product involved in the digital twin in the same file.
[0080] Furthermore, the above solution can encrypt the data description stored in the same file, which has the advantage of ensuring that the data description stored in the same file is not tampered with.
[0081] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device implementation described above is only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0082] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0083] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0084] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0085] The above descriptions are only some embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any equivalent device or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A file packaging method for digital twins, characterized in that: include: According to the preset strategy, the digital twin is configured into at least two data segments in a unified file format; Obtaining data descriptions of the at least two data segments in a unified file format; Save the acquired data description in the same file; Among them, according to the preset strategy, the digital twin is configured into at least two data segments in a unified file format, including according to the preset strategy, the digital twin is configured into three data segments in a unified file format, namely, file header, information data and file tail, to cover all data during the entire life cycle of the product.
2. The file packaging method for digital twins according to claim 1, characterized in that: The obtaining of data descriptions of the at least two data segments in a unified file format includes: According to the description of the database interface corresponding to the at least two data segments in the unified file format, the data description of the at least two data segments in the unified file format is obtained from the described database interface.
3. The file packaging method for digital twins according to claim 1, characterized in that: The step of storing the acquired data description in the same file includes: The acquired data descriptions are saved in the same file by storing the detailed content of the data segment corresponding to the required data description and storing the database interface description corresponding to the unnecessary data description for the unnecessary data description.
4. The file packaging method for digital twins according to claim 1, characterized in that: After the acquired data description is saved in the same file, the method further comprises: The data description stored in the same file is encrypted.
5. A file packaging device for digital twins, characterized in that: include: Configure module, obtain module and save module; The configuration module is used to configure the digital twin into at least two data segments in a unified file format according to a preset strategy; The acquisition module is used to acquire data descriptions of the at least two data segments in a unified file format; The saving module is used to save the acquired data description in the same file; Among them, the configuration module is used to configure the digital twin into three data segments in a unified file format, namely, file header, information data and file footer, according to a preset strategy, so as to cover all data during the entire life cycle of the product.
6. The file packaging device for digital twins according to claim 5, characterized in that: The acquisition module is specifically used for: According to the description of the database interface corresponding to the at least two data segments in the unified file format, the data description of the at least two data segments in the unified file format is obtained from the described database interface.
7. The file packaging device for digital twins according to claim 5, characterized in that: The storage module is specifically used for: The acquired data descriptions are saved in the same file by storing the detailed content of the data segment corresponding to the required data description and storing the database interface description corresponding to the unnecessary data description for the unnecessary data description.
8. The file packaging device for digital twins according to claim 5, characterized in that: The file packaging device for digital twins also includes: Encryption module; The encryption module is used to encrypt the data description stored in the same file.
Citation Information
Patent Citations
Archive management method, device and system and medium
CN111143281A
Harmonized data for engineering simulation
US20200177712A1