Digital twin data secure storage method, device, electronic device and storage medium
By using digital certificates and blockchain technology in the digital twin system, the security risks in data storage and interaction of the digital twin system are solved, and high-security data storage and interaction are achieved.
Patent Information
- Application Number
- CN202211109774.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-13
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-09-13
AI Technical Summary
Digital twin systems have security risks during data storage and interaction, and data can easily be tampered with.
By obtaining the first digital certificate of the digital twin unit and the second digital certificate of the digital twin system, using the predefined key algorithm to decrypt, determine whether the digital twin unit meets the preset requirements, and store the digital twin data in the block on the chain to ensure data security.
It improves the security of digital twin data storage and data interaction, prevents data tampering, and achieves data traceability.
Smart Images

Figure CN115484032B
Abstract
Description
Technical Field
[0001] The present application relates to the field of digital twin technology, and in particular to a method, device, electronic device and storage medium for secure storage of digital twin data. Background Art
[0002] Digital twin technology is widely used in digital cities, industries, and manufacturing industries. It is one of the key factors for promoting the development of intelligent manufacturing. There are heterogeneous types of data in the digital twin system, including physical entity data, virtual model data, physical model data, sensor update data, operation history data, etc. Storing these heterogeneous types of data and realizing data interaction between digital twin systems has become a research focus.
[0003] In the prior art, a digital twin system is constructed and used to collect and mark digital twin data. Furthermore, the marked digital twin data is stored and the storage time is recorded so that the system can perform background management of the digital twin data.
[0004] However, the above method lacks security control over the digital twin system, that is, when the digital twin system is storing and interacting with data, the data is easily tampered with, posing security risks. Summary of the invention
[0005] The present application provides a digital twin data security storage method, device, electronic device and storage medium, which can solve the problem of security risks in digital twin systems when performing data storage and data interaction. By storing digital twin data on a blockchain, it can prevent tampering and improve the security of data storage. The digital twin system can also read the required data from the blockchain to improve the security of data interaction.
[0006] In a first aspect, the present application provides a digital twin data security storage method, which is applied to a digital twin system; the digital twin system includes at least one digital twin unit; the method includes:
[0007] Obtain a first digital certificate corresponding to the digital twin entity and a second digital certificate corresponding to the digital twin system;
[0008] Decrypting the first digital certificate and the second digital certificate using a predefined key algorithm to obtain decrypted information, and determining whether the digital twin monomer meets preset requirements based on the decrypted information;
[0009] If so, the digital twin unit is controlled to join the digital twin system, and the digital twin data collected by the digital twin unit is obtained, and the digital twin data is stored in the blockchain, so that the digital twin system reads the digital twin data from the blockchain.
[0010] Optionally, obtaining digital twin data collected by the digital twin monomer includes:
[0011] Acquire digital twin data collected by the digital twin monomer, and extract feature data from the digital twin data using a safety monitoring algorithm;
[0012] Based on the feature data, it is determined whether the digital twin data corresponds to an abnormal event, and the digital twin data corresponding to the abnormal event is processed.
[0013] Optionally, processing the digital twin data corresponding to the abnormal event includes:
[0014] Searching for a handling strategy corresponding to the abnormal event from a preset strategy table, or inputting the abnormal event into a trained machine learning model to obtain a corresponding handling strategy;
[0015] The digital twin data corresponding to the abnormal event is processed using the disposal strategy to obtain a processing result.
[0016] Optionally, the method further includes:
[0017] At preset intervals, the evaluation parameters of the digital twin monomer are obtained, wherein the evaluation parameters include the digital twin data corresponding to the abnormal event, the time when the digital twin monomer joins the digital twin system, the corresponding processing result after the abnormal event occurs in the digital twin monomer, and the time required for the digital twin monomer to collect digital twin data;
[0018] A credible evaluation algorithm is used to calculate a credible value corresponding to the evaluation parameter, and based on the credible value, it is determined whether the digital twin unit is credible.
[0019] Optionally, determining whether the digital twin monomer is credible based on the credible value includes:
[0020] Obtaining a preset credible threshold interval, and determining whether the credible value is within the credible threshold interval;
[0021] If so, it is determined that the digital twin monomer is credible;
[0022] If not, it is determined that the digital twin monomer is not trustworthy, and an alarm message is generated based on the evaluation parameters.
[0023] Optionally, the method further includes:
[0024] When the alarm information is generated, the untrusted digital twin entity is deleted from the digital twin system, and a message instruction is sent to the blockchain so that the blockchain deletes the digital twin data corresponding to the digital twin entity based on the message instruction.
[0025] Optionally, storing the digital twin data in a blockchain includes:
[0026] Obtaining the type of the digital twin data, and determining whether the type is located in a lookup table;
[0027] If so, searching the lookup table for a first location corresponding to the type stored in the blockchain, and storing the digital twin data in the first location;
[0028] If not, the type is added to the lookup table and stored in the second position corresponding to the blockchain, the digital twin data is stored in the second position, and the correspondence between the newly added type and the second position in the lookup table is updated.
[0029] In a second aspect, the present application provides a digital twin data security storage device, which is applied to a digital twin system; the digital twin system includes at least one digital twin unit; the device includes:
[0030] An acquisition module, used to acquire a first digital certificate corresponding to the digital twin monomer and a second digital certificate corresponding to the digital twin system;
[0031] A decryption module, used to decrypt the first digital certificate and the second digital certificate using a predefined key algorithm to obtain decrypted information, and determine whether the digital twin monomer meets preset requirements based on the decrypted information;
[0032] The storage module is used to control the digital twin monomer to join the digital twin system when the digital twin monomer meets the preset requirements, and obtain the digital twin data collected by the digital twin monomer, and store the digital twin data in the blockchain, so that the digital twin system can read the digital twin data from the blockchain.
[0033] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;
[0034] The memory stores computer-executable instructions;
[0035] The processor executes the computer-executable instructions stored in the memory to implement the method as described in any one of the first aspects.
[0036] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method as described in any one of the first aspects.
[0037] In summary, the present application provides a digital twin data security storage method, device, electronic device and storage medium, which can obtain the first digital certificate corresponding to the digital twin monomer and the second digital certificate corresponding to the digital twin system; further, the first digital certificate and the second digital certificate are decrypted using a predefined key algorithm to obtain decryption information, and whether the digital twin monomer meets the preset requirements based on the decryption information is determined; when it is determined that the digital twin monomer meets the preset requirements, the digital twin monomer is controlled to join the digital twin system, and the digital twin data collected by the digital twin monomer is obtained, and the digital twin data is stored in the blockchain, so that the digital twin system reads the digital twin data from the blockchain. In this way, the present application provides security protection for digital twin monomers and digital twin systems through the management of digital certificates and cryptographic algorithms, uses blockchain to store digital twin data, prevents data from being tampered with, improves the security of data storage, and the digital twin system can also read the required data from the blockchain to improve the security of data interaction. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0039] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application;
[0040] Figure 2 A schematic diagram of a flow chart of a method for securely storing digital twin data provided in an embodiment of the present application;
[0041] Figure 3 A schematic diagram of the structure of a digital twin system provided in an embodiment of the present application;
[0042] Figure 4 A schematic diagram of a complete process of a digital twin data security storage method provided in an embodiment of the present application;
[0043] Figure 5 A schematic diagram of the structure of a digital twin data security storage device provided in an embodiment of the present application;
[0044] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0045] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0046] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0047] In order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second" and the like are used to distinguish the same items or similar items with substantially the same functions and effects. For example, the first device and the second device are only used to distinguish different devices, and their order is not limited. Those skilled in the art can understand that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not necessarily limit them to be different.
[0048] It should be noted that, in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0049] In the present application, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0050] The present application is introduced below with reference to the accompanying drawings. Figure 1 This is a schematic diagram of an application scenario provided in an embodiment of the present application. The digital twin data security storage method provided in the present application can be applied to the following: Figure 1The application scenario shown. The application scenario includes: a first terminal device 101, a second terminal device 102, a third terminal device 103, a digital twin platform 104, a display device 105 and a user 106; wherein the digital twin platform 104 is implemented based on the constructed digital twin system, and the first terminal device 101, the second terminal device 102 and the third terminal device 103 perform data transmission based on the corresponding network, and the network can be a mobile communication network, the Internet, the Internet of Things, etc. The embodiment of the present application does not specifically limit the type of network used by the terminal device.
[0051] Specifically, the digital twin platform 104 can determine whether the digital twin monomer that collects data in the first terminal device 101, the second terminal device 102, and the third terminal device 103 meets the security conditions for joining the digital twin platform 104. If so, it controls the digital twin monomer corresponding to the data collected in the first terminal device 101, the second terminal device 102, and the third terminal device 103 to join the digital twin system, collect the digital twin data collected by the digital twin monomer, process the digital twin data, and store the processed digital twin data in the digital twin platform 104.
[0052] It can be understood that when it is determined that a digital twin unit that collects data from the first terminal device 101, the second terminal device 102 and the third terminal device 103 does not meet the security conditions for joining the digital twin platform 104 or the digital twin unit itself is not trustworthy, an alarm message can be generated and displayed on the display device 105 corresponding to the digital twin platform 104 for the user 106 to view, understand the situation in a timely manner and make timely processing. For example, events that cannot be handled by the digital twin platform 104 can be handled manually. The embodiment of the present application does not specifically limit the content of the alarm message sent and the display format.
[0053] It should be noted that the embodiment of the present application does not specifically limit the types corresponding to the first terminal device 101, the second terminal device 102 and the third terminal device 103. The digital twin system can also collect various types of data such as various data sources, business systems, sensors, video surveillance equipment, etc., and the embodiment of the present application does not specifically limit this.
[0054] The above-mentioned terminal equipment can be a wireless terminal or a wired terminal. The wireless terminal can be a device that provides voice and / or other business data connectivity to users, a handheld device with wireless connection function, or other processing equipment connected to a wireless modem. The wireless terminal can communicate with one or more core network devices via a radio access network (Radio Access Network, referred to as RAN). The wireless terminal can be a mobile terminal, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal. For example, it can be a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device that exchanges language and / or data with the radio access network. For another example, the wireless terminal can also be a personal communication service (Personal Communication Service, referred to as PCS) phone, a cordless phone, a Session Initiation Protocol (Session Initiation Protocol, referred to as SIP) phone, a wireless local loop (Wireless Local Loop, referred to as WLL) station, a personal digital assistant (Personal Digital Assistant, referred to as PDA) and other devices. The wireless terminal may also be referred to as a system, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, an access terminal, a user terminal, a user agent, a user device or user equipment, without limitation. Optionally, the terminal device may also be a smart phone, a tablet computer or other device.
[0055] In one possible implementation, a digital twin system can be built, and the digital twin data can be collected and labeled using the system. Furthermore, the labeled digital twin data can be stored and the storage time can be recorded so that the system can perform background management of the digital twin data.
[0056] However, the above method lacks security control over the digital twin system, that is, when the digital twin system is storing and interacting with data, the data is easily tampered with, posing security risks.
[0057] In response to the above problems, the present application provides a method for secure storage of digital twin data, which is applied to a digital twin system. The digital twin system may include multiple digital twin units. Specifically, digital certificates and cryptographic algorithms can be used to determine whether the digital twin unit and the digital twin system can interact with each other. If so, the digital twin unit is controlled to join the digital twin system, and the digital twin data collected by the digital twin unit is stored on the blockchain to reduce the possibility of data tampering and improve the security of data storage. The digital twin system can also read the required digital twin data from the blockchain to improve the security of data interaction.
[0058] The technical solution of the present application is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0059] Figure 2 A schematic diagram of a flow chart of a digital twin data security storage method provided in an embodiment of the present application, the method is applied to a digital twin system; the digital twin system includes at least one digital twin monomer; Figure 2 As shown, the digital twin data security storage method includes the following steps:
[0060] S201. Obtain a first digital certificate corresponding to the digital twin entity and a second digital certificate corresponding to the digital twin system.
[0061] In an embodiment of the present application, the first digital certificate may refer to a digital certification issued for a digital twin entity (Digital Twins, DTS) that marks the identity information of the digital twin entity in Internet communications, including a key pair (pk, sk), that is, the key pair is used to implement encryption and decryption, wherein the key pair includes a private key sk and a public key pk, the private key is used for encryption and decryption, and the public key is used for signing; the second digital certificate is similar to the definition of the first digital certificate, and may refer to the description of the first digital certificate, except that the second digital certificate is issued for the digital twin system.
[0062] In this step, the digital twin security management platform may issue a first digital certificate such as DTS1 (pk, sk) to the digital twin unit, and issue a second digital certificate such as D (PK, SK) to the digital twin system; then the digital twin system obtains the first digital certificate and the second digital certificate, and the first digital certificate and the second digital certificate are used to provide security protection for the negotiation between the digital twin unit and the digital twin system, that is, based on the first digital certificate and the second digital certificate, determine whether the digital twin unit can join the digital twin system, and then conduct data interaction.
[0063] S202. Decrypt the first digital certificate and the second digital certificate using a predefined key algorithm to obtain decrypted information, and determine whether the digital twin monomer meets preset requirements based on the decrypted information.
[0064] In an embodiment of the present application, the predefined key algorithm may refer to an algorithm for generating a key through online or offline interactive negotiation, which is used to decrypt an encrypted file. The predefined key algorithm may be a digest algorithm, a hash algorithm, etc., and the embodiment of the present application does not specifically limit this.
[0065] Specifically, the first digital certificate is decrypted using a predefined key algorithm to obtain the identity information of the decrypted digital twin unit, and the second digital certificate is decrypted using a predefined key algorithm to obtain the identity information of the decrypted digital twin system. Further, it is determined whether the identity information of the digital twin unit and the identity information of the digital twin system meet the preset requirements. The preset requirements refer to the requirements defined in advance for determining that there is an association between the digital twin unit and the digital twin system. For example, each digital twin system stores the identity information of the digital twin unit that can be added. The preset requirements may be whether there is a corresponding relationship between the digital twin unit and the corresponding decrypted information of the digital twin system. The embodiment of the present application does not specifically limit the preset requirements.
[0066] S203. If yes, control the digital twin unit to join the digital twin system, obtain the digital twin data collected by the digital twin unit, and store the digital twin data in the blockchain, so that the digital twin system reads the digital twin data from the blockchain.
[0067] In the embodiment of the present application, the blockchain may refer to a chain composed of multiple blocks for storing data, which is equivalent to a shared database. The digital twin data is stored in the blockchain. It can be stored in the corresponding chain according to the chronological order of collecting the digital twin data, or it can be stored in the corresponding chain according to the type of collected digital twin data. The embodiment of the present application does not make specific limitations on this.
[0068] Exemplarily, the key data collected in the digital twin monomers DTS1, DTS2 to DTSn can be stored on the blockchain infrastructure (blockchain) to achieve tamper-proofing; the key data is negotiated and specified by the digital twin system and the digital twin monomers, and is important data required for different business scenarios. The key data can also be specified artificially, and this embodiment of the application does not specifically limit this.
[0069] It should be noted that by storing and accessing the data of the digital twin monomer DTS1 to the digital twin monomer DTSn through the blockchain infrastructure for data interaction, data integrity and traceability can be achieved.
[0070] In this step, the digital twin data collected by the digital twin unit is obtained, and the digital twin data needs to be securely verified to verify whether the digital twin data is secure. If the digital twin data is determined to be secure, the digital twin data can be stored in the blockchain. The embodiment of the present application does not specifically limit the algorithm for determining whether the digital twin data is secure. It can be a keyword extraction algorithm, a security intelligent monitoring and recognition algorithm based on a convolutional neural network, etc., that is, an algorithm for extracting whether the digital twin data carries keywords such as malicious code or attack identifiers, or an algorithm for inputting the digital twin data into a security intelligent monitoring and recognition algorithm to obtain a recognition result.
[0071] It can be understood that if there is a digital twin system, the digital twin system includes digital twin units that can interact with data. If there are multiple digital twin systems, data interaction can also be achieved between the digital twin systems. For example, the first digital twin system reads the digital twin data collected by a digital twin unit in the second digital twin system, and then sends an instruction to the second digital twin system. The second digital twin system reads the digital twin data collected by the digital twin unit stored in the blockchain of this system based on the instruction. The digital twin data is the Internet of Things terminal data.
[0072] Therefore, the present application provides a method for secure storage of digital twin data, which can be achieved by obtaining a first digital certificate corresponding to a digital twin monomer and a second digital certificate corresponding to a digital twin system; further, using a predefined key algorithm to decrypt the first digital certificate and the second digital certificate to obtain decryption information, and determining whether the digital twin monomer meets the preset requirements based on the decryption information; when it is determined that the digital twin monomer meets the preset requirements, the digital twin monomer is controlled to join the digital twin system, and the digital twin data collected by the digital twin monomer is obtained, and the digital twin data is stored in the blockchain, so that the digital twin system reads the digital twin data from the blockchain. In this way, the present application provides security protection for digital twin monomers and digital twin systems through the management of digital certificates and cryptographic algorithms, uses blockchain to store digital twin data, prevents data from being tampered with, improves the security of data storage, and the digital twin system can also read the required data from the blockchain to improve the security of data interaction.
[0073] Optionally, obtaining digital twin data collected by the digital twin monomer includes:
[0074] Acquire digital twin data collected by the digital twin monomer, and extract feature data from the digital twin data using a safety monitoring algorithm;
[0075] Based on the feature data, it is determined whether the digital twin data corresponds to an abnormal event, and the digital twin data corresponding to the abnormal event is processed.
[0076] In an embodiment of the present application, the security monitoring algorithm may refer to an algorithm used to determine whether there is abnormal data in the digital twin data collected by the digital twin unit. The abnormal data is a specific parameter in the abnormal event, which is determined based on feature data. The feature data may be specific keywords or codes, such as malicious code, an identifier corresponding to a malicious attack behavior, an identifier corresponding to unauthorized access, etc., and then determine whether it is an abnormal event based on the feature data.
[0077] The abnormal events include but are not limited to: the digital twin data collected by the digital twin monomer carries malicious code, the digital twin monomer launches a malicious attack on the digital twin system, the digital twin monomer launches a malicious attack on other digital twin monomers in the digital twin system, the digital twin monomer accesses the digital twin system without authorization, the digital twin monomer obtains data in the digital twin system or data of other digital twin monomers in the digital twin system without authorization, etc.
[0078] It should be noted that if the digital twin monomer is accessed normally, a corresponding identification code such as 1 will be assigned to the digital twin monomer. If the digital twin monomer is accessed abnormally, a corresponding identification code such as 0 will be assigned to the digital twin monomer. Malicious attacks, illegal data acquisition, etc. will be assigned corresponding identifications. The embodiment of the present application does not specifically limit the type and value of the identification assigned to abnormal events. The above is only an example.
[0079] In this step, the security monitoring module of the digital twin security management platform can be used to perform security monitoring on the digital twin data collected from the digital twin monomers DTS1 to DTSn based on artificial intelligence analysis capabilities such as security monitoring algorithms. The abnormal events obtained by monitoring a digital twin monomer can be classified into a set for recording, such as DTS1_sec_event{se1, se2,…sem}. The embodiment of the present application does not specifically limit the security monitoring algorithm and the monitored abnormal data.
[0080] Therefore, the embodiments of the present application can perform a security assessment on the digital twin data collected by the digital twin unit, and only store the digital twin data that is determined to be safe, thereby ensuring the security of data storage.
[0081] Optionally, processing the digital twin data corresponding to the abnormal event includes:
[0082] Searching for a handling strategy corresponding to the abnormal event from a preset strategy table, or inputting the abnormal event into a trained machine learning model to obtain a corresponding handling strategy;
[0083] The digital twin data corresponding to the abnormal event is processed using the disposal strategy to obtain a processing result.
[0084] In the embodiment of the present application, the handling strategy refers to the strategy for handling abnormal events. Different abnormal events correspond to different handling strategies. The handling strategy can be stored in a preset strategy table, that is, based on different abnormal events, the corresponding handling strategies are defined in advance and stored in the preset strategy table, which is directly called when used. The preset strategy table can be deployed in a digital twin system or an external system, and the embodiment of the present application does not make specific limitations on this.
[0085] Optionally, the handling strategy can also be obtained through a trained machine learning model, that is, the abnormal event is input into the trained machine learning model to obtain a corresponding handling strategy; the training process of the machine learning model includes: obtaining a training data set, the training data set includes a variety of abnormal events and handling strategies corresponding to the abnormal events; inputting the training data set into the machine learning model for training to obtain a trained machine learning model, so that the machine learning model has the ability of autonomous learning, and can adaptively obtain corresponding handling strategies for different abnormal events, thereby improving flexibility and accuracy. The embodiment of the present application does not limit the specific model corresponding to the machine learning model, which can be a convolutional neural network model based on deep learning.
[0086] In this step, the handling strategy corresponding to the abnormal event can be obtained through the handling and collaboration module of the digital twin safety management platform, and the corresponding handling strategy can be used to perform intelligent and safe handling of the digital twin data corresponding to the abnormal event set DTS1_sec_event{se1, se2,…sem} to obtain the processing result. If an external security system needs to be dispatched, the collaboration capability can also be used to connect with the external security system, and call the external security system to process the digital twin data corresponding to the abnormal event. The embodiment of the present application does not specifically limit the docking and collaboration method with the external security system.
[0087] Among them, the processing result can be discarding the digital twin data corresponding to the abnormal event, retaining other safe data in the digital twin unit, or filtering the digital twin data corresponding to the abnormal event to obtain safe data, etc. The embodiment of the present application does not specifically limit the method of using the disposal strategy to process the digital twin data corresponding to the abnormal event, which can depend on the actual situation or business scenario requirements. The above is only an example.
[0088] Therefore, the embodiments of the present application have corresponding handling strategies for different abnormal events, and use the handling strategies to handle abnormal events, obtain processing results, improve processing flexibility, reduce the occurrence of abnormal situations, and ensure the security of the digital twin system.
[0089] Optionally, the method further includes:
[0090] At preset intervals, the evaluation parameters of the digital twin monomer are obtained, wherein the evaluation parameters include the digital twin data corresponding to the abnormal event, the time when the digital twin monomer joins the digital twin system, the corresponding processing result after the abnormal event occurs in the digital twin monomer, and the time required for the digital twin monomer to collect digital twin data;
[0091] A credible evaluation algorithm is used to calculate a credible value corresponding to the evaluation parameter, and based on the credible value, it is determined whether the digital twin unit is credible.
[0092] In the embodiment of the present application, the trusted assessment algorithm refers to an algorithm for evaluating the overall security of the digital twin unit. The trusted assessment algorithm is used to calculate the trusted value corresponding to the evaluation parameter of the digital twin unit, and then the trusted value is used to determine whether the digital twin unit is trustworthy. The trusted value can be a numerical parameter or a parameter described in a formal language. The embodiment of the present application does not specifically limit the trusted assessment algorithm and the type of trusted value.
[0093] Exemplarily, the digital twin monomers DTS1 to DTSn in the digital twin system can be trusted in real time through a trusted assessment entity. Specifically, the evaluation parameters of a digital twin monomer are obtained, such as the digital twin data corresponding to the abnormal event set DTS1_sec_event{se1, se2, …sem}, and the abnormal event handling result set DTS1_sec_event'{se1', se2', …sem'}, etc., to perform a trusted assessment on the integrity of the digital twin monomer, that is, use a trusted assessment algorithm to calculate the trusted value corresponding to the evaluation parameter, and determine whether the digital twin monomer is trustworthy based on the trusted value.
[0094] It can be understood that in the present application, the evaluation parameters of the digital twin monomer can be obtained at preset time intervals for trusted evaluation, or the evaluation parameters of the digital twin monomer can be obtained in real time for trusted evaluation. The embodiment of the present application does not limit the specific numerical value corresponding to the preset time.
[0095] It should be noted that the present application can use one or more of the evaluation parameters to perform a trustworthy assessment on the integrity of the digital twin unit. The more corresponding evaluation parameters there are, the more accurate the evaluation result will be. The embodiments of the present application do not specifically limit the number of evaluation parameters used when performing a trustworthy assessment on the digital twin unit.
[0096] Therefore, the embodiments of the present application can monitor the digital twin units in real time, conduct a credible assessment of the integrity of the digital twin units, and ensure the safe operation of the digital twin system.
[0097] Optionally, determining whether the digital twin monomer is credible based on the credible value includes:
[0098] Obtaining a preset credible threshold interval, and determining whether the credible value is within the credible threshold interval;
[0099] If so, it is determined that the digital twin monomer is credible;
[0100] If not, it is determined that the digital twin monomer is not trustworthy, and an alarm message is generated based on the evaluation parameters.
[0101] In an embodiment of the present application, the trusted threshold interval may refer to a threshold value set for determining the trustworthiness of a digital twin entity, which may be manually changed according to business needs. The embodiment of the present application does not specifically limit the trusted threshold interval. When the trusted value is a numerical parameter, the trusted threshold interval may be [d, e]; when the trusted value is a parameter described in a formal language, the trusted threshold interval may be a parameter indicating whether a specific field, such as an xyz field, appears.
[0102] In this step, the digital twin system can inform the trusted assessment entity of the set trusted threshold interval through network interaction, and then the trusted assessment entity determines whether the digital twin entity is trustworthy based on whether the trusted value of the digital twin entity is within the trusted threshold interval. If the digital twin entity is determined to be untrustworthy, an alarm message can be generated based on the assessment parameters. Specifically, the trusted assessment entity is linked to the security monitoring module of the digital twin security management platform. When the trusted assessment entity determines that the trusted value of a digital twin entity is not within the trusted threshold interval, the trusted assessment entity generates an alarm message to the digital twin system, such as the alarm message DTS1_trust{(d, e)or"xyz"=yes}.
[0103] It should be noted that the embodiment of the present application does not specifically limit the content and form of the generated alarm information, and the above is only an example.
[0104] Therefore, the embodiment of the present application can set corresponding trust threshold intervals for different digital twin units to meet the needs of different scenarios and has a wide range of applications.
[0105] Optionally, the method further includes:
[0106] When the alarm information is generated, the untrusted digital twin entity is deleted from the digital twin system, and a message instruction is sent to the blockchain so that the blockchain deletes the digital twin data corresponding to the digital twin entity based on the message instruction.
[0107] In an embodiment of the present application, a message instruction is used to indicate that a digital twin entity is untrustworthy and needs to be deleted. The message instruction can be sent to a trusted assessment entity, a digital twin security management platform, a blockchain infrastructure, and other digital twin entities to perform corresponding operation processing respectively.
[0108] Specifically, taking the untrustworthy digital twin entity DTS1 as an example, when the digital twin system receives the alarm information sent by the trusted assessment entity, the digital twin system deletes DTS1 from the system. Furthermore, the digital twin system broadcasts message instructions to other digital twin entities in the system through the network, informing them that DTS1 has been deleted from the system, and other digital twin entities in the system will no longer interact with DTS1 for data. At the same time, the digital twin system sends message instructions to the blockchain infrastructure through the network to delete the DTS1 node and the digital twin data corresponding to the DTS1 node, and sends a message instruction to the digital twin security management platform to execute the operation of reclaiming the digital certificate of DTS1. Furthermore, the digital twin security management platform can update the digital certificate of the digital twin system.
[0109] Therefore, the embodiments of the present application can delete untrusted digital twin units in a timely manner to ensure the security and stability of the digital twin system.
[0110] Optionally, storing the digital twin data in a blockchain includes:
[0111] Obtaining the type of the digital twin data, and determining whether the type is located in a lookup table;
[0112] If so, searching the lookup table for a first location corresponding to the type stored in the blockchain, and storing the digital twin data in the first location;
[0113] If not, the type is added to the lookup table and stored in the second position corresponding to the blockchain, the digital twin data is stored in the second position, and the correspondence between the newly added type and the second position in the lookup table is updated.
[0114] In this step, the lookup table is used to store the correspondence between the type of digital twin data and the storage location. The lookup table is a pre-set table, so that after the type of digital twin data is obtained, the storage location corresponding to the blockchain is directly obtained from the table, and when a certain type of correspondence does not exist in the table, the storage location of the type can be generated automatically, and the correspondence between the type and the storage location in the lookup table is updated. The embodiment of the present application does not limit the type of digital twin data and its corresponding specific storage location.
[0115] Therefore, the embodiments of the present application can store digital twin data in the blockchain based on the type of digital twin data, reducing the possibility of data tampering. Different types of digital twin data correspond to different storage locations, which is convenient for storage and query.
[0116] It should be noted that the digital twin platform, blockchain infrastructure, trusted assessment entity, and digital twin security management platform mentioned in the above embodiments are used to build a complete digital twin system framework and implement the digital twin data security storage method provided in the embodiments of this application.
[0117] In combination with the above embodiments, Figure 3 A schematic diagram of the structure of a digital twin system provided in an embodiment of the present application; Figure 3 As shown in Figure 1, the entire framework includes multiple IoT sensing terminals, networks, multiple DTSs, and digital twin factories. The digital twin security management platform comprises a digital twin factory, a blockchain infrastructure, a trusted assessment entity, a digital twin security management platform, etc., wherein the DTS is used to collect data from IoT sensing terminals through the network (mobile communication network, Internet, IoT, etc.); the blockchain infrastructure is used to store key data collected by DTS to achieve tamper-proof; the digital twin security management platform is used to issue digital certificates, perform security monitoring, secure disposal and coordination for digital twin entities, and is also used to send digital certificates and notifications of abnormal events to DTF. When other security systems are required to assist in handling abnormal events, it is also connected with other security systems to call other security systems to coordinate the handling of abnormal events; the DTF can be understood as a digital twin platform, and the DTF is used to receive digital certificates issued by the digital twin security management platform and notifications of abnormal events, and is also used to receive untrusted alarms (alarm information) sent by trusted assessment entities, and is also used to interact with blockchain infrastructure for data; the trusted assessment entity is used to perform trusted assessment on DTS, generate untrusted alarms and send them to DTF, and is also used to interact with the digital twin security management platform for data, and promptly send instructions to delete untrusted DTS, so as to promptly delete untrusted digital twin entities.
[0118] For example, Figure 4 A schematic diagram of a complete digital twin data security storage method provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, the digital twin data security storage method includes the following steps:
[0119] Step A: The digital twin security management platform issues digital certificates to digital twin monomers 1 to digital twin monomers n and DTF, and determines whether digital twin monomers 1 to digital twin monomers n can join DTF based on the issuance of digital certificates. If so, the digital twin monomers that meet the requirements are controlled to join DTF, and the digital twin data collected by the digital twin monomers are stored in the blockchain infrastructure for data interaction. If not, the digital twin monomers are controlled not to join DTF.
[0120] Step B: When the blockchain infrastructure stores the digital twin data collected by the digital twin monomer, the digital twin security management platform can perform security monitoring on the digital twin data collected by the digital twin monomer added to the DTF, and make timely security disposal and coordination. When other security systems are needed to assist in processing, it can also connect with other security systems and call other security systems for collaborative disposal. After the blockchain infrastructure stores the digital twin data collected by the digital twin monomer, the trusted assessment entity can perform a trusted assessment on the integrity of the digital twin monomer added to the DTF in real time. When it is determined that a digital twin monomer is untrustworthy, an untrustworthy alarm for the digital twin monomer is generated and sent to the blockchain infrastructure, so that the blockchain infrastructure deletes the digital twin data corresponding to the digital twin monomer and deletes the digital twin monomer from the entire system.
[0121] The present application provides a method for secure storage of digital twin data, which is used for the security architecture and protocol design and implementation of the digital twin system. It provides security protection for the negotiation between digital twin entities and the digital twin system through the management of digital certificates and cryptographic algorithms, adopts blockchain infrastructure to provide data trust capabilities for the interaction between digital twin entities and the digital twin system, and monitors the security of digital twin entities in real time based on artificial intelligence analysis capabilities. It disposes of digital twin entities through intelligent collaborative capabilities, and promptly deletes untrustworthy digital twin entities through real-time trustworthy evaluation to ensure the security of the digital twin system.
[0122] In the foregoing embodiments, the digital twin data security storage method provided by the embodiments of the present application is introduced, and in order to realize the various functions in the method provided by the embodiments of the present application, the electronic device as the execution subject may include a hardware structure and / or a software module, and the above functions are realized in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether one of the above functions is executed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution.
[0123] For example, Figure 5A schematic diagram of the structure of a digital twin data security storage device provided in an embodiment of the present application, wherein the digital twin data security storage device is used in a digital twin system; the digital twin system includes at least one digital twin unit; Figure 5 As shown, the device includes: an acquisition module 510, a decryption module 520 and a storage module 530; wherein the acquisition module 510 is used to obtain a first digital certificate corresponding to the digital twin monomer and a second digital certificate corresponding to the digital twin system;
[0124] The decryption module 520 is used to decrypt the first digital certificate and the second digital certificate using a predefined key algorithm to obtain decrypted information, and determine whether the digital twin monomer meets the preset requirements based on the decrypted information;
[0125] The storage module 530 is used to control the digital twin monomer to join the digital twin system when the digital twin monomer meets the preset requirements, and obtain the digital twin data collected by the digital twin monomer, and store the digital twin data in the blockchain, so that the digital twin system can read the digital twin data from the blockchain.
[0126] Optionally, the storage module 530 includes an acquisition unit and a storage unit; the acquisition unit includes an extraction unit and a processing unit;
[0127] Optionally, the extraction unit is used to obtain the digital twin data collected by the digital twin monomer, and extract feature data from the digital twin data using a safety monitoring algorithm;
[0128] The processing unit is used to determine whether the digital twin data corresponds to an abnormal event based on the feature data, and process the digital twin data corresponding to the abnormal event.
[0129] Optionally, the processing unit is specifically used to:
[0130] Searching for a handling strategy corresponding to the abnormal event from a preset strategy table, or inputting the abnormal event into a trained machine learning model to obtain a corresponding handling strategy;
[0131] The digital twin data corresponding to the abnormal event is processed using the disposal strategy to obtain a processing result.
[0132] Optionally, the device further includes an evaluation module and a determination module;
[0133] Specifically, the evaluation module is used to obtain the evaluation parameters of the digital twin monomer at preset time intervals, and the evaluation parameters include the digital twin data corresponding to the abnormal event, the time when the digital twin monomer joins the digital twin system, the corresponding processing result after the abnormal event occurs in the digital twin monomer, and the time required for the digital twin monomer to collect digital twin data;
[0134] The determination module is used to calculate the trustworthy value corresponding to the evaluation parameter by using a trustworthy evaluation algorithm, and determine whether the digital twin unit is trustworthy based on the trustworthy value.
[0135] Optionally, the determining module is specifically used to:
[0136] Obtaining a preset credible threshold interval, and determining whether the credible value is within the credible threshold interval;
[0137] If so, it is determined that the digital twin monomer is credible;
[0138] If not, it is determined that the digital twin monomer is not trustworthy, and an alarm message is generated based on the evaluation parameters.
[0139] Optionally, the device further includes an alarm module, wherein the alarm module is configured to:
[0140] When the alarm information is generated, the untrusted digital twin entity is deleted from the digital twin system, and a message instruction is sent to the blockchain so that the blockchain deletes the digital twin data corresponding to the digital twin entity based on the message instruction.
[0141] Optionally, the storage unit is used to:
[0142] Obtaining the type of the digital twin data, and determining whether the type is located in a lookup table;
[0143] If so, searching the lookup table for a first location corresponding to the type stored in the blockchain, and storing the digital twin data in the first location;
[0144] If not, the type is added to the lookup table and stored in the second position corresponding to the blockchain, the digital twin data is stored in the second position, and the correspondence between the newly added type and the second position in the lookup table is updated.
[0145] The specific implementation principles and effects of the digital twin data security storage device provided in the embodiments of the present application can be found in the relevant descriptions and effects corresponding to the above embodiments, and no further details will be given here.
[0146] The present application also provides a schematic diagram of the structure of an electronic device. Figure 6A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, the electronic device may include: a processor 601 and a memory 602 that is communicatively connected to the processor; the memory 602 stores a computer program; the processor 601 executes the computer program stored in the memory 602, so that the processor 601 executes the method described in any of the above embodiments.
[0147] The memory 602 and the processor 601 may be connected via a bus 603 .
[0148] An embodiment of the present application further provides a computer-readable storage medium, which stores computer program execution instructions. When the computer program execution instructions are executed by a processor, they are used to implement the method described in any of the aforementioned embodiments of the present application.
[0149] An embodiment of the present application further provides a chip for executing instructions, wherein the chip is used to execute the method described in any of the aforementioned embodiments as executed by an electronic device in any of the aforementioned embodiments of the present application.
[0150] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the method described in any of the aforementioned embodiments of the present application executed by an electronic device can be implemented.
[0151] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules 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 through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0152] The modules described as separate components may or may not be physically separated, and the components shown as modules 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 modules may be selected according to actual needs to implement the solution of this embodiment.
[0153] In addition, each functional module in each embodiment of the present application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The above-mentioned module-composed unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
[0154] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the method described in each embodiment of the present application.
[0155] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the application may be directly implemented as being executed by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.
[0156] The memory may include high-speed random access memory (RAM), and may also include non-volatile memory (NVM), such as at least one disk storage, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a disk or an optical disk, etc.
[0157] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0158] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The storage medium can be any available medium that can be accessed by a general or special computer.
[0159] An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the storage medium can also exist as discrete components in an electronic device or a main control device.
[0160] The above is only a specific implementation of the embodiment of the present application, but the protection scope of the embodiment of the present application is not limited thereto, and any changes or replacements within the technical scope disclosed in the embodiment of the present application should be included in the protection scope of the embodiment of the present application. Therefore, the protection scope of the embodiment of the present application should be based on the protection scope of the claims.
Claims
1. A digital twin data security storage method, characterized in that: Applied to digital twin systems; The digital twin system includes at least one digital twin unit; the method includes: Obtain a first digital certificate corresponding to the digital twin entity and a second digital certificate corresponding to the digital twin system; Decrypt the first digital certificate using a predefined key algorithm to obtain the identity information of the decrypted digital twin unit, and decrypt the second digital certificate using the predefined key algorithm to obtain the identity information of the decrypted digital twin system, and determine whether the identity information of the digital twin unit and the identity information of the digital twin system meet preset requirements; the preset requirements are predefined requirements for determining that a digital twin unit and a digital twin system have an association relationship; If so, the digital twin unit is controlled to join the digital twin system, and the digital twin data collected by the digital twin unit is obtained, and the digital twin data is stored in the blockchain, so that the digital twin system reads the digital twin data from the blockchain.
2. The method according to claim 1, characterized in that Acquiring digital twin data collected by the digital twin monomer, including: Acquire digital twin data collected by the digital twin monomer, and extract feature data from the digital twin data using a safety monitoring algorithm; Based on the feature data, it is determined whether the digital twin data corresponds to an abnormal event, and the digital twin data corresponding to the abnormal event is processed.
3. The method according to claim 2, characterized in that Processing the digital twin data corresponding to the abnormal event includes: Searching for a handling strategy corresponding to the abnormal event from a preset strategy table, or inputting the abnormal event into a trained machine learning model to obtain a corresponding handling strategy; The digital twin data corresponding to the abnormal event is processed using the disposal strategy to obtain a processing result.
4. The method according to claim 3, characterized in that The method further comprises: At preset intervals, the evaluation parameters of the digital twin monomer are obtained, wherein the evaluation parameters include the digital twin data corresponding to the abnormal event, the time when the digital twin monomer joins the digital twin system, the corresponding processing result after the abnormal event occurs in the digital twin monomer, and the time required for the digital twin monomer to collect digital twin data; A credible evaluation algorithm is used to calculate a credible value corresponding to the evaluation parameter, and based on the credible value, it is determined whether the digital twin unit is credible.
5. The method according to claim 4, characterized in that Determining whether the digital twin monomer is credible based on the credible value includes: Obtaining a preset credible threshold interval, and determining whether the credible value is within the credible threshold interval; If so, it is determined that the digital twin monomer is credible; If not, it is determined that the digital twin monomer is not trustworthy, and an alarm message is generated based on the evaluation parameters.
6. The method according to claim 5, characterized in that The method further comprises: When the alarm information is generated, the untrusted digital twin entity is deleted from the digital twin system, and a message instruction is sent to the blockchain so that the blockchain deletes the digital twin data corresponding to the digital twin entity based on the message instruction.
7. The method according to any one of claims 1 to 6, characterized in that: Storing the digital twin data in a blockchain includes: Obtaining the type of the digital twin data, and determining whether the type is located in a lookup table; If so, searching the lookup table for a first location corresponding to the type stored in the blockchain, and storing the digital twin data in the first location; If not, the type is added to the lookup table and stored in the second position corresponding to the blockchain, the digital twin data is stored in the second position, and the correspondence between the newly added type and the second position in the lookup table is updated.
8. A digital twin data security storage device, characterized in that: Applied to digital twin systems; The digital twin system includes at least one digital twin unit; the device includes: An acquisition module, used to acquire a first digital certificate corresponding to the digital twin monomer and a second digital certificate corresponding to the digital twin system; A decryption module, used to decrypt the first digital certificate using a predefined key algorithm to obtain the identity information of the decrypted digital twin unit, and to decrypt the second digital certificate using the predefined key algorithm to obtain the identity information of the decrypted digital twin system, and determine whether the identity information of the digital twin unit and the identity information of the digital twin system meet preset requirements; the preset requirements are predefined requirements for determining that a digital twin unit and a digital twin system have an associated relationship; The storage module is used to control the digital twin monomer to join the digital twin system when the digital twin monomer meets the preset requirements, and obtain the digital twin data collected by the digital twin monomer, and store the digital twin data in the blockchain, so that the digital twin system can read the digital twin data from the blockchain.
9. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method according to any one of claims 1 to 7.
11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Computer-implemented systems and methods for linking a blockchain to a digital twin
CN111295660A
Digital twin virtual and real synchronous operation method based on publishing / subscribing mode
CN111716353A
Digital twin manufacturing unit protocol standardization and industrial big data real-time integration method
CN112099948A
Digital twin model scheduling method and device
CN112882765A
Digital twin model construction method and device, storage medium and electronic equipment
CN113064351A
Cited By
Trusted sharing method for distributed digital twinborn service of air-ground cooperative Internet of Vehicles
CN119814826A
An air-ground collaborative vehicle networking distributed digital twin service trusted sharing method
CN119814826B
