Cross-domain model sharing method based on block chain

By encrypting and authorization management of FMU models on the blockchain, the complexity of virtual integration and simulation verification in the avionics field is solved, and the secure sharing of models and cross-domain collaborative simulation are realized, and R&D efficiency is improved.

CN119474036APending Publication Date: 2025-02-18ZHIYING FUTURE (XIAN) INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411582562.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-07
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

In the field of avionics, it is difficult for the existing technology to effectively organize large-scale virtual integration and simulation verification, resulting in inconvenience of collaborative development and joint simulation of various development units, and the entire model development cycle is extended.

Method used

Using a cross-domain model sharing method based on blockchain, the FMU model is encrypted, and the encrypted model and decryption key are uploaded to the blockchain, and the key authorization management module is used for on-demand authorization to ensure the model's Usage permissions and time validity.

Benefits of technology

It realizes secure sharing of models and cross-domain collaborative joint simulation, protects the data assets of the model provider, simplifies the model integration process, supports the collaborative work of teams in different backgrounds, and improves R&D efficiency and resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119474036A_ABST
    Figure CN119474036A_ABST
Patent Text Reader

Abstract

The invention discloses a cross-domain model sharing method based on a block chain, which is applied to a model provider and comprises the following steps: encrypting an FMU model to obtain an encrypted FMU model; the encrypted FMU model and the decryption key are uploaded to a block chain; and carrying out on-demand authorization on the decryption key by using a key authorization management module, and determining a use white list of the FMU model. According to the method, sharing distribution and authorization application of the model can be carried out based on the block chain, model data assets of a model provider are protected, and a user can conveniently carry out cross-domain collaborative joint simulation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of blockchain, and in particular to a cross-domain model sharing method based on blockchain. Background Art

[0002] In the field of avionics, the model-based system engineering method has been gradually accepted by various host institutes and airborne system development units. Before the development of various components of model equipment, virtual integration and simulation verification of digital models are carried out first. Digital models have become the core assets of various development units. At present, when conducting virtual integration and simulation verification, each development unit still needs to burn its own digital model and operating environment into a CD or migrate the relevant operating environment to the host institute for joint simulation.

[0003] The existing integration and verification methods, on the one hand, require each research and development unit to hand over its core assets to a third party, which causes great concerns among each research and development unit; on the other hand, since there are many units involved in the development of the entire model, they are scattered in different regions and their development progress varies. It is difficult for the host institute to effectively organize large-scale virtual integration and simulation verification, and it is inconvenient for each research and development unit to collaborate in development and joint simulation, which prolongs the entire model development cycle. Summary of the invention

[0004] In view of the above-mentioned deficiencies in the prior art, the present invention provides a cross-domain model sharing method based on blockchain, which solves the problem of complex FMU model simulation combination in the prior art.

[0005] In order to achieve the above-mentioned purpose of the invention, the technical solution adopted by the present invention is: a cross-domain model sharing method based on blockchain, applied to the model provider, comprising the following steps:

[0006] S1. Encrypt the FMU model to obtain the encrypted FMU model;

[0007] S2, upload the encrypted FMU model and decryption key to the blockchain;

[0008] S3. Use the key authorization management module to authorize the decryption key on demand and determine the use whitelist of the FMU model.

[0009] A cross-domain model sharing method based on blockchain, applied to model users, includes the following steps:

[0010] Sa, obtain the encrypted FMU model from the trusted shared blockchain environment;

[0011] The encrypted FMU model is the one that the model provider encrypts and uploads to the blockchain;

[0012] Sb. Load the encrypted FMU model through the FMU model running tool and obtain the usage whitelist;

[0013] Sc. Determine whether you have permission to use the encrypted FMU model based on the whitelist. If yes, execute step Sd. If no, terminate the operation of the encrypted FMU model.

[0014] Sd, determine whether the authorization time of the encrypted FMU model is within the validity period, if so, execute step Se, if not, terminate the operation of the encrypted FMU model;

[0015] Se, obtain the decryption key from the trusted shared blockchain environment, and use the decryption key to decrypt the encrypted FMU model to obtain a temporarily decrypted FMU model;

[0016] Sf, run the temporarily decrypted FMU model to perform FMU model joint simulation;

[0017] Sg. When the FMU model joint simulation is completed, the temporarily decrypted FMU model is destroyed. When the FMU model joint simulation is not completed, the FMU model joint simulation is continued.

[0018] The beneficial effect of the above scheme is that the present invention can perform shared distribution and authorized application of models based on blockchain, protect the model data assets of the model provider, and facilitate cross-domain collaborative joint simulation by users.

[0019] Furthermore, step S1 specifically includes:

[0020] S11, select a 128-bit key as the encryption key;

[0021] S12, initializing the FMU model to obtain an initialization plaintext message of the FMU model;

[0022] S13, dividing the initialization plaintext message of the FMU model into 128-bit groups;

[0023] S14, input each group into the round function of the AES algorithm for round encryption. When the number of round encryptions does not meet the preset number of encryptions, continue to perform the round encryption operation. When the number of round encryptions meets the preset number of encryptions, output the encrypted FMU model.

[0024] Furthermore, in step Se, the encrypted FMU model is decrypted using the decryption key, specifically including:

[0025] Sea, select 128-bit key as decryption key;

[0026] Seb, use the decryption key to perform initial inverse permutation on the encrypted FMU model;

[0027] Sec. Input the ciphertext data obtained by the initial inverse permutation into the inverse operation of the round function of the AES algorithm for round decryption. When the number of round decryption does not meet the preset number of decryption, continue to perform the round decryption operation. When the number of round decryption meets the preset number of decryption, output the temporarily decrypted FMU model.

[0028] The beneficial effect of the above further scheme is that by encrypting the FMU model, the core algorithm and technical details of the model can be effectively prevented from being accessed or copied by unauthorized users, thereby protecting the ownership of the model provider. The encrypted FMU model can be securely transmitted and distributed between different organizations or individuals, ensuring that the model is not tampered with or misappropriated during transmission, thereby ensuring the integrity and authenticity of the model. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 The figure is a flowchart of a cross-domain model sharing method based on blockchain. DETAILED DESCRIPTION

[0030] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0031] A cross-domain model sharing method based on blockchain, applied to a model provider, includes the following steps:

[0032] S1. Encrypt the FMU model to obtain the encrypted FMU model;

[0033] S2, upload the encrypted FMU model and decryption key to the blockchain;

[0034] S3. Use the key authorization management module to authorize the decryption key on demand and determine the use whitelist of the FMU model.

[0035] In this embodiment, step S1 specifically includes:

[0036] S11, select a 128-bit key as the encryption key;

[0037] S12, initializing the FMU model to obtain an initialization plaintext message of the FMU model;

[0038] S13, dividing the initialization plaintext message of the FMU model into 128-bit groups;

[0039] S14, input each group into the round function of the AES algorithm for round encryption. When the number of round encryptions does not meet the preset number of encryptions, continue to perform the round encryption operation. When the number of round encryptions meets the preset number of encryptions, output the encrypted FMU model.

[0040] Exemplarily, the FMU (Functional Mock-up Unit) model is a standardized software component for system simulation. It is derived from the model interoperability standard (such as FMI, Functional Mock-up Interface), which aims to promote model exchange and reuse between different simulation tools and environments. In addition, FMU is a universal model packaging format. The model packaged in the FMU format can be regarded as the FMU model in this embodiment, and can be loaded and run by a dedicated FMU running tool.

[0041] A cross-domain model sharing method based on blockchain, applied to model users, includes the following steps:

[0042] Sa, obtain the encrypted FMU model from the trusted shared blockchain environment;

[0043] The encrypted FMU model is the one that the model provider encrypts and uploads to the blockchain;

[0044] Sb. Load the encrypted FMU model through the FMU model running tool and obtain the usage whitelist;

[0045] Sc. Determine whether you have permission to use the encrypted FMU model based on the whitelist. If yes, execute step Sd. If no, terminate the operation of the encrypted FMU model.

[0046] Sd, determine whether the authorization time of the encrypted FMU model is within the validity period, if so, execute step Se, if not, terminate the operation of the encrypted FMU model;

[0047] Se, obtain the decryption key from the trusted shared blockchain environment, and use the decryption key to decrypt the encrypted FMU model to obtain a temporarily decrypted FMU model;

[0048] Sf, run the temporarily decrypted FMU model to perform FMU model joint simulation;

[0049] Sg. When the FMU model joint simulation is completed, the temporarily decrypted FMU model is destroyed. When the FMU model joint simulation is not completed, the FMU model joint simulation is continued.

[0050] In this embodiment, cross-domain sharing of FMU models is achieved through blockchain. Cross-domain sharing allows data and services from different sources to interact and integrate, breaking down information silos and promoting the circulation of knowledge and resources. This is crucial for collaboration between different departments within an enterprise, or between different enterprises and organizations, and helps improve work efficiency and innovation capabilities. Through cross-domain sharing, enterprises or research institutions can access professional models that were originally difficult to obtain, avoiding the waste of resources from repeated development of the same or similar models, and improving R&D efficiency and resource utilization.

[0051] Furthermore, cross-domain sharing of FMU models simplifies the model integration process, supports teams with different professional backgrounds to work together to complete large-scale, high-precision simulation verification. The FMU standard itself was created to solve the problem of model interoperability, and cross-domain sharing further promotes the implementation of this standard, allowing models to be seamlessly connected between different simulation platforms, reducing technical barriers and improving the overall compatibility and consistency of the simulation community.

[0052] In this embodiment, in step Se, the encrypted FMU model is decrypted using a decryption key, which specifically includes:

[0053] Sea, select 128-bit key as decryption key;

[0054] Seb, use the decryption key to perform initial inverse permutation on the encrypted FMU model;

[0055] Sec. Input the ciphertext data obtained by the initial inverse permutation into the inverse operation of the round function of the AES algorithm for round decryption. When the number of round decryption does not meet the preset number of decryption, continue to perform the round decryption operation. When the number of round decryption meets the preset number of decryption, output the temporarily decrypted FMU model.

[0056] In this embodiment, the decryption mechanism can be used as a means of access control. Only users with the correct key can decrypt and run the FMU model. In this way, different decryption keys can be assigned according to user permissions and needs to achieve refined management. Under the premise of ensuring security, encryption technology promotes the sharing and reuse of models. Research institutions and enterprises can share their FMU models more confidently, accelerating technical exchanges and innovations.

[0057] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the principles of the present invention, and should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope of the invention.

Claims

1. A cross-domain model sharing method based on blockchain, characterized in that: Applied to the model provider, the method includes: S1. Encrypt the FMU model to obtain the encrypted FMU model; S2. Upload the encrypted FMU model and decryption key to the blockchain; S3. Use the key authorization management module to authorize the decryption key on demand and determine a use whitelist for the FMU model.

2. The method according to claim 1, characterized in that The step S1 specifically includes: S11, select a 128-bit key as the encryption key; S12, performing initialization processing on the FMU model to obtain an initialization plaintext message of the FMU model; S13, dividing the initialization plaintext message of the FMU model into 128-bit groups; S14, input each group into the round function of the AES algorithm for round encryption, when the number of round encryptions does not meet the preset number of encryptions, continue to perform the round encryption operation, when the number of round encryptions meets the preset number of encryptions, output the encrypted FMU model.

3. A cross-domain model sharing method based on blockchain, characterized in that: Applied to the model user, the method includes: Sa, obtain the encrypted FMU model from the trusted shared blockchain environment; The encrypted FMU model is encrypted by the model provider and uploaded to the blockchain; Sb. Load the encrypted FMU model through an FMU model running tool and obtain a usage whitelist; Sc. Determine whether the user has the right to use the encrypted FMU model according to the whitelist. If yes, execute step Sd. If no, terminate the operation of the encrypted FMU model. Sd, judging whether the authorization time of the encrypted FMU model is within the validity period, if so, executing step Se, if not, terminating the operation of the encrypted FMU model; Se. Obtain a decryption key from a trusted shared blockchain environment, and use the decryption key to decrypt the encrypted FMU model to obtain a temporarily decrypted FMU model; Sf. Run the temporarily decrypted FMU model to perform FMU model joint simulation; Sg. When the FMU model joint simulation is completed, the temporarily decrypted FMU model is destroyed; when the FMU model joint simulation is not completed, the FMU model joint simulation is continued.

4. The method according to claim 3, characterized in that In the step Se, decrypting the encrypted FMU model using the decryption key specifically includes: Sea, select 128-bit key as decryption key; Seb, using the decryption key to perform initial inverse permutation on the encrypted FMU model; Sec. Input the ciphertext data obtained by the initial inverse permutation into the inverse operation of the round function of the AES algorithm for round decryption. When the number of round decryption does not meet the preset number of decryption, continue to perform the round decryption operation. When the number of round decryption meets the preset number of decryption, output the temporarily decrypted FMU model.