Aviation material data sharing method and system based on Internet of Things
By using the Internet of Things technology and alliance chain in aviation material information sharing, and using the aviation materials supervision center to generate encryption parameters and attribute trees for multiple encryptions, the trust, authenticity and security issues in aviation material information sharing are solved and achieved. A new data sharing ecosystem among airlines.
Patent Information
- Application Number
- CN202410977236.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-07-22
AI Technical Summary
Existing technologies cannot effectively solve the issues of trust, data authenticity and security in the process of aeronautical material information sharing. As a result, the leakage of aeronautical equipment information may cause economic losses, and data distortion may lead to serious safety accidents.
Adopting the aviation material data sharing method based on the Internet of Things, the aviation material supervision center generates user attribute sets and encrypted public parameters, builds an attribute tree for data encryption, and uses the alliance chain for data sharing to ensure that the data cannot be tampered with, and through multiple encryption and Authentication ensures data security.
It establishes a trust-sharing relationship between airlines, ensures data authenticity and security, provides technical support for user authenticity, data security and authenticity, and builds a new ecosystem for aviation materials data sharing, which is suitable for large-scale applications.
Smart Images

Figure CN118523911B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of data sharing, and in particular relates to an aviation material data sharing method and system based on the Internet of Things. Background Art
[0002] Aviation materials are a general term for various materials used in the manufacture of aircraft, aircraft engines, and airborne equipment. They are the material guarantee for the research and production of aviation products, and are also the technical basis for aviation products to achieve the performance, service life, and reliability that people expect. In actual application, the management of aviation materials mostly adopts the management model of major airlines independently building aviation material reserves. Among them, there are many participants in the domestic aviation field, and each airline operates independently. The aviation market covers a large area and has many categories of aviation equipment. If the current management ideas are adopted, there is a problem that a single airline cannot achieve comprehensive coverage of aviation equipment resources. Therefore, the need to build an aviation material sharing ecosystem is very urgent.
[0003] At present, the aviation material information sharing method based on the existing data platform and data management technology cannot solve the trust problem, data authenticity and security problems in the information sharing process. Among them, aviation equipment involves the resource guarantee and strict safety and quality control of the airline. Any information leakage of aviation equipment may cause economic losses to the airline, and data distortion may cause serious safety accidents. Therefore, trust relationship and data authenticity and security are the bottlenecks in building an aviation material information sharing ecosystem. Based on this, how to provide a data sharing method that can ensure data authenticity, security and user trust in the process of aviation material data sharing has become a problem that needs to be solved urgently. Summary of the invention
[0004] The purpose of the present invention is to provide an aviation material data sharing method and system based on the Internet of Things, so as to solve the problem that the prior art cannot guarantee the user trust in the process of aviation material information sharing, as well as the authenticity and security of the data.
[0005] In order to achieve the above object, the present invention adopts the following technical solutions:
[0006] In a first aspect, an aviation material data sharing method based on the Internet of Things is provided, comprising:
[0007] Sending a data sharing request to an aviation material supervision center, so that the aviation material supervision center generates a user attribute set and encrypted public parameters for the data sharing terminal after receiving the data sharing request;
[0008] Receive the user attribute set sent by the aviation material supervision center, and construct an attribute tree for data encryption based on the user attribute set, wherein the attribute tree includes a plurality of leaf nodes, the number of leaf nodes in the attribute tree is the same as the number of user attributes in the user attribute set, and any leaf node stores a first attribute value, a second attribute value, and an encrypted value corresponding to a user attribute in the user attribute set;
[0009] The aviation material sharing data is encrypted using the first key to obtain encrypted aviation material sharing data;
[0010] Acquire the tag information and initial encryption parameters of the aviation material sharing data, and use the initial encryption parameters, the encryption public parameters, and the first attribute value, the second attribute value, and the encryption value stored in each leaf node in the attribute tree to encrypt the tag information and the first key to obtain a first ciphertext, a second ciphertext, a third ciphertext, a first encryption verification parameter, and a second encryption verification parameter;
[0011] Using the third ciphertext, the first encryption verification parameter and the second encryption verification parameter, construct a data sharing credential, and using the first ciphertext, the second ciphertext and the encrypted aviation material sharing data, construct a ciphertext set;
[0012] The data sharing credential, the attribute tree and the ciphertext set are consensus-concluded in the alliance chain to complete the data sharing of the aviation material sharing data in the alliance chain after consensus, wherein the alliance chain includes a plurality of alliance nodes, and any alliance node corresponds to a data user end or a data sharing end. The data sharing credential and the attribute tree are used to authenticate the alliance node that initiates the data viewing request in the alliance chain, and after the identity authentication is passed, the alliance node that initiates the data viewing request decrypts the ciphertext set to obtain the aviation material sharing data.
[0013] Based on the above disclosed content, the aviation material data sharing method provided by the present invention is implemented based on the aviation material monitoring center and the alliance chain, wherein the aviation material monitoring center, as a trusted institution, implements the issuance of encrypted public parameters and user attribute sets in the entire data sharing process, and each data sharing terminal and data use terminal constitutes an alliance chain; therefore, in the actual data sharing process, the data sharing terminal first constructs an attribute tree based on the user attribute set issued by the aviation material monitoring center; then, the aviation material shared data is encrypted using the first key to obtain encrypted aviation material shared data; then, the attribute tree, the encrypted public parameters issued by the aviation material monitoring center, and the initial encryption parameters of the aviation material shared data are used to encrypt the label information and the first key of the aviation material shared data, thereby obtaining multiple ciphertexts and multiple encryption verification parameters; then, The present invention uses two ciphertexts among multiple ciphertexts and the encrypted aviation material sharing data as a ciphertext set, and uses the remaining ciphertexts and the aforementioned encryption verification parameters as data sharing credentials, and the data sharing credentials, combined with the ciphertext set and the attribute tree consensus are put into the alliance chain; in this way, the aforementioned operation is equivalent to utilizing the non-tamperable characteristics of data in the blockchain to ensure the authenticity of the data and the credibility between users, and utilizing the data sharing credentials to realize identity authentication between nodes; therefore, when the data user needs to view the shared data, he needs to first authenticate the identity of the alliance chain (that is, the alliance chain completes the identity authentication through the data sharing credentials and the attribute tree), and only after the verification is passed, the alliance chain will send the encrypted data to the data user, and the data user also needs to use a specific key to decrypt the encrypted data in order to finally restore the aviation material sharing data.
[0014] Through the above design, the present invention applies the technology of alliance chain + trusted institution to realize the establishment of a trust sharing relationship between airlines, and uses blockchain to give data the characteristic of being tamper-proof, and in the process of data sharing, the aviation material sharing data is encrypted multiple times, wherein the first encryption is the encryption of the data itself, and the second encryption is the encryption using the key and the data tag; then, the ciphertext obtained by the second encryption and the encrypted aviation material data are combined into a ciphertext set, and the encryption verification parameters obtained by the second encryption are used as data sharing credentials, and are jointly agreed upon in the alliance chain with the attribute tree; in this way, the aforementioned multiple encryption technology is used to ensure data security in the sharing process; based on this, the present invention uses alliance chain, trusted institutions and cryptography technology to provide technical support for user authenticity, data security and authenticity for the aviation material data sharing process, and can build a new aviation material data sharing ecosystem based on truth, objectivity, security and mutual trust, and is therefore very suitable for large-scale application and promotion.
[0015] In a possible design, based on the user attribute set, an attribute tree for data encryption is constructed, including:
[0016] Obtain an initial attribute tree, wherein the initial attribute tree includes a root node, a plurality of leaf nodes, and a plurality of non-leaf nodes, the initial attribute tree is a tree data structure, the starting point of the initial attribute tree is the root node, and the nodes on any layer in the initial attribute tree serve as child nodes of nodes on the previous layer and / or parent nodes of nodes on the next layer;
[0017] Randomly assigning each user attribute in the user attribute set to each leaf node in the initial attribute tree, so as to obtain a first assigned attribute tree after the assignment is completed, wherein one user attribute corresponds to one leaf node;
[0018] Generate a corresponding first attribute value and a second attribute value for each user attribute, and add the first attribute value and the second attribute value of each user attribute to a leaf node corresponding to each user attribute, so as to obtain a second allocation attribute tree after the addition is completed;
[0019] Using the initial encryption parameter as the initial encryption value of the root node in the second distribution attribute tree;
[0020] Based on the initial encryption value of the root node and in a tree data structure, encryption values are added to each leaf node in the second distribution attribute tree from top to bottom, so as to obtain an attribute tree for data encryption after the addition.
[0021] In a possible design, generating a corresponding first attribute value and a second attribute value for each user attribute includes:
[0022] Generate a number of positive integers that meet a first preset condition, wherein the first preset condition is that any two of the generated positive integers are prime to each other;
[0023] Using a number of positive integers to form a positive integer sequence, wherein the number of positive integers in the positive integer sequence is the same as the number of user attributes in the user attribute set, and the sorting order is the generation order of the positive integers;
[0024] For the kth user attribute in the user attribute set, taking the kth positive integer in the positive integer sequence as the first attribute value of the kth user attribute;
[0025] Obtain a large prime number library, and randomly select a large prime number that meets a second preset condition from the large prime number library as the second attribute value of the k-th user attribute, wherein the second preset condition is that the selected large prime number is greater than the initial encryption value;
[0026] Increment k by 1, and re-set the kth positive integer in the positive integer sequence as the first attribute value of the kth user attribute, until k equals n, to obtain the first attribute value and the second attribute value of each user attribute, wherein the initial value of k is 1, and n is the total number of user attributes.
[0027] In one possible design, based on the initial encrypted value of the root node and in a tree data structure, encryption values are added to each leaf node in the second distribution attribute tree from top to bottom, so that after the addition, an attribute tree for data encryption is obtained, including:
[0028] For any node in the second allocation attribute tree, determine whether the any node is a leaf node;
[0029] If not, then determining a random number endpoint value based on the second attribute value corresponding to any of the nodes, and determining a random number value interval using the random number endpoint value;
[0030] Selecting a first random number from the random number value interval;
[0031] Obtaining an encrypted value sent by the parent node of any node, and using the first random number, the second attribute value, and the encrypted value sent by the parent node of any node to generate a preprocessed encrypted value, wherein when the parent node of any node is a root node, the encrypted value sent by the parent node of any node is the initial encrypted value, and when the parent node of any node is a non-leaf node, the encrypted value sent by the parent node of any node is an encryption parameter of the parent node of the any node;
[0032] The preprocessed encrypted value is encrypted using the first attribute value of any node to obtain an encryption parameter corresponding to any node, and the encryption parameter is sent to a child node corresponding to any node, so that after receiving the encryption parameter, the child node corresponding to any node calculates the corresponding encryption value for addition or calculates the corresponding encryption parameter for sending, until all nodes in the second allocation attribute tree are polled to obtain an attribute tree for data encryption.
[0033] In one possible design, determining a random number endpoint value based on the second attribute value corresponding to any one of the nodes includes:
[0034] Acquire a threshold structure parameter of any of the nodes, wherein the threshold structure parameter includes the number of child nodes corresponding to any of the nodes and a node threshold value of any of the nodes;
[0035] Generate a number of positive integers that meet a first preset condition, and use the number of positive integers to form a positive integer sequence, wherein the first preset condition is that any two of the generated number of positive integers are prime numbers to each other, the number of positive integers in the positive integer sequence is the same as the number of user attributes in the user attribute set, and the sorting order is the generation order of the positive integers;
[0036] Based on the second attribute value, the threshold structure parameter and the positive integer sequence, and according to the following formula (1), an intermediate parameter is calculated;
[0037] (1)
[0038] In the above formula (1), represents the intermediate parameter, represents the second attribute value, Indicates the number of child nodes corresponding to any node, represents the node threshold value, represents the first positive integers;
[0039] Using the intermediate parameters and according to the following formula (2), the random number endpoint value is calculated;
[0040] (2)
[0041] In the above formula (2), represents the random number endpoint value;
[0042] Correspondingly, using the random number endpoint value to determine the random number value interval includes:
[0043] The random number endpoint value is used as the left endpoint and 0 is used as the right endpoint, so as to determine the random number value interval based on the left endpoint and the right endpoint.
[0044] In one possible design, obtaining an encrypted value sent by a parent node of any node, and using the first random number, the second attribute value, and the encrypted value sent by the parent node of any node to generate a preprocessed encrypted value includes:
[0045] Generate the preprocessed encrypted value according to the following formula (3);
[0046] (3)
[0047] In the above formula (3), represents the preprocessed encrypted value, represents the first random number, Indicates the encrypted value sent by the parent node of any node. represents the second attribute value;
[0048] Correspondingly, using the first attribute value of any node to encrypt the preprocessed encrypted value to obtain the encryption parameter corresponding to any node includes:
[0049] According to the following formula (4), the encryption parameter corresponding to any node is calculated;
[0050] (4)
[0051] In the above formula (4), represents the encryption parameter corresponding to any node, represents the first attribute value corresponding to any node, Represents the remainder operation.
[0052] In a possible design, the tag information and the first key are encrypted using the initial encryption parameter, the encryption public parameter, and the first attribute value, the second attribute value, and the encrypted value stored in each leaf node in the attribute tree to obtain a first ciphertext, a second ciphertext, a third ciphertext, a first encryption verification parameter, and a second encryption verification parameter, including:
[0053] Based on the first attribute value, the second attribute value and the encrypted value stored in each leaf node in the attribute tree, an encryption matrix is constructed, wherein each row vector in the encryption matrix corresponds to a leaf node, and each row vector contains the first attribute value, the second attribute value and the encrypted value in the corresponding leaf node;
[0054] Constructing an encryption vector according to the initial encryption parameter and the encryption matrix;
[0055] Using the encryption public parameter and the initial encryption parameter, encrypt the first key to obtain a first ciphertext;
[0056] Based on the initial encryption parameter and the encryption public parameter, generate a second ciphertext, and generate a third ciphertext using the second ciphertext;
[0057] Generate the first encryption verification parameter according to the encryption public parameter, the encryption vector and the encryption matrix;
[0058] The tag information is encrypted using the encryption public parameter, the encryption vector, and the encryption matrix, so as to obtain a second encryption verification parameter after the encryption process, and complete the encryption process of the tag information and the first key.
[0059] In a possible design, the encryption public parameters include: a second random number, a third random number, a fourth random number, a mapping function between two multiplication cyclic groups G1 and G2, and a generator of the multiplication cyclic group G1;
[0060] The method of encrypting the first key by using the encryption public parameter and the initial encryption parameter to obtain the first ciphertext includes:
[0061] According to the following formula (5), the first key is encrypted to obtain a first ciphertext;
[0062] (5)
[0063] In the above formula (5), represents the first ciphertext, represents the mapping function, represents the generator, represents the second random number, represents the initial encryption parameter, represents the first key;
[0064] Based on the initial encryption parameters and the encryption public parameters, a second ciphertext is generated, including:
[0065] According to the following formula (6), the second ciphertext is generated;
[0066] (6)
[0067] In the above formula (6), represents the second ciphertext, represents the fourth random number, represents a third random number;
[0068] Correspondingly, using the second ciphertext to generate the third ciphertext includes:
[0069] According to the following formula (7), the third ciphertext is generated;
[0070] (7)
[0071] In the above formula (7), Represents the third ciphertext.
[0072] In one possible design, the encryption public parameters include: a fourth random number, a first one-way hash function, a second one-way hash function, and a generator of the multiplication cyclic group G1 in the two multiplication cyclic groups G1 and G2;
[0073] Constructing an encryption vector according to the initial encryption parameter and the encryption matrix, including:
[0074] Randomly selecting a column vector from the encryption matrix as an initial encryption vector;
[0075] Adding the initial encryption parameter to the initial encryption vector to obtain the encryption vector after the addition, wherein the first element in the encryption vector is the initial encryption parameter;
[0076] The step of generating the first encryption verification parameter according to the encryption public parameter, the encryption vector and the encryption matrix includes:
[0077] Calculate the product between each row vector in the encryption matrix and the encryption vector to obtain a number of encrypted intermediate vectors;
[0078] Calculate a first encryption verification sub-parameter corresponding to each encryption intermediate vector based on a plurality of encryption intermediate vectors, the generator and the fourth random number;
[0079] Using the first encryption verification sub-parameter corresponding to each encryption intermediate vector to form the first encryption verification parameter;
[0080] Correspondingly, the tag information is encrypted using the encryption public parameter, the encryption vector, and the encryption matrix to obtain a second encryption verification parameter after encryption, which includes:
[0081] Obtaining the attribute mapping function corresponding to each leaf node in the attribute tree;
[0082] Based on the attribute mapping function, the first one-way hash function, the second one-way hash function, and a plurality of encrypted intermediate vectors, calculating a second encrypted verification sub-parameter corresponding to each encrypted intermediate vector;
[0083] The second encryption verification parameter is composed by using the second encryption verification sub-parameter corresponding to each encryption intermediate vector.
[0084] In the second aspect, an aviation material data sharing system based on the Internet of Things is provided, taking the system as a data sharing end as an example, including:
[0085] A sending unit, used for sending a data sharing request to an aviation material supervision center, so that the aviation material supervision center generates a user attribute set and encrypted public parameters for the data sharing terminal after receiving the data sharing request;
[0086] An attribute tree construction unit, used for receiving the user attribute set sent by the aviation material supervision center, and constructing an attribute tree for data encryption based on the user attribute set, wherein the attribute tree includes a plurality of leaf nodes, the number of leaf nodes in the attribute tree is the same as the number of user attributes in the user attribute set, and any leaf node stores a first attribute value, a second attribute value and an encrypted value corresponding to a user attribute in the user attribute set;
[0087] An encryption unit, used to encrypt the aviation material sharing data using a first key to obtain encrypted aviation material sharing data;
[0088] Used to obtain the tag information and initial encryption parameters of the aviation material sharing data, and encrypt the tag information and the first key by using the initial encryption parameters, the encryption public parameters, and the first attribute value, the second attribute value, and the encryption value stored in each leaf node in the attribute tree to obtain a first ciphertext, a second ciphertext, a third ciphertext, a first encryption verification parameter, and a second encryption verification parameter; and
[0089] Used to construct a data sharing credential using the third ciphertext, the first encryption verification parameter and the second encryption verification parameter, and to construct a ciphertext set using the first ciphertext, the second ciphertext and the encrypted aviation material sharing data;
[0090] The data sharing unit is used to consensus the data sharing credential, the attribute tree and the ciphertext set in the alliance chain, so as to complete the data sharing of the aviation material sharing data in the alliance chain after consensus, wherein the alliance chain includes a plurality of alliance nodes, and any alliance node corresponds to a data user end or a data sharing end. The data sharing credential and the attribute tree are used to authenticate the alliance node that initiates the data viewing request in the alliance chain, and after the identity authentication is passed, the alliance node that initiates the data viewing request decrypts the ciphertext set to obtain the aviation material sharing data.
[0091] In the third aspect, an aviation material data sharing device based on the Internet of Things is provided. Taking the device as an electronic device as an example, the device includes a memory, a processor and a transceiver which are communicatively connected in sequence, wherein the memory is used to store computer programs, the transceiver is used to send and receive messages, and the processor is used to read the computer program to execute the aviation material data sharing method based on the Internet of Things as in the first aspect or any possible design of the first aspect.
[0092] In a fourth aspect, a storage medium is provided, on which instructions are stored. When the instructions are executed on a computer, the aviation material data sharing method based on the Internet of Things as in the first aspect or any possible design of the first aspect is executed.
[0093] In a fifth aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute the aviation material data sharing method based on the Internet of Things as described in the first aspect or any possible design of the first aspect.
[0094] Beneficial effects:
[0095] (1) The present invention uses the alliance chain + trusted institution technology to establish a trust sharing relationship between airlines, and uses blockchain to give data the characteristic of being tamper-proof. In the process of data sharing, the aviation material sharing data is encrypted multiple times, wherein the first encryption is the encryption of the data itself, and the second encryption is the encryption using the key and data tag; then, the ciphertext obtained by the second encryption and the encrypted aviation material data are combined into a ciphertext set, and the encryption verification parameters obtained by the second encryption are used as data sharing credentials, and are jointly agreed upon in the alliance chain with the attribute tree; in this way, the aforementioned multiple encryption technology is used to ensure data security in the sharing process; based on this, the present invention uses the alliance chain, trusted institutions and cryptography technology to provide technical support for user authenticity, data security and authenticity for the aviation material data sharing process, and can build a new aviation material data sharing ecosystem based on authenticity, objectivity, security and mutual trust. Therefore, it is very suitable for large-scale application and promotion. BRIEF DESCRIPTION OF THE DRAWINGS
[0096] Figure 1 A schematic diagram of the architecture of an aviation material data sharing system based on the Internet of Things provided by an embodiment of the present invention;
[0097] Figure 2 A schematic diagram of the steps of the aviation material data sharing method based on the Internet of Things provided by an embodiment of the present invention;
[0098] Figure 3 A schematic diagram of the structure of a data sharing terminal provided by an embodiment of the present invention;
[0099] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0100] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the present invention will be briefly introduced below in combination with the drawings and the description of the embodiments or the prior art. Obviously, the following description of the structure of the drawings is only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. It should be noted that the description of these embodiments is used to help understand the present invention, but does not constitute a limitation of the present invention.
[0101] It should be understood that although the terms first, second, etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are only used to distinguish one unit from another unit. For example, a first unit can be referred to as a second unit, and similarly, a second unit can be referred to as a first unit without departing from the scope of the exemplary embodiments of the present invention.
[0102] It should be understood that the term "and / or" that may appear in this article is merely a description of the association relationship between associated objects, indicating that three relationships may exist. For example, A and / or B can represent three situations: A exists alone, B exists alone, and A and B exist at the same time. The term " / and" that may appear in this article describes another type of association object relationship, indicating that two relationships may exist. For example, A / and B can represent two situations: A exists alone, and A and B exist alone. In addition, the character " / " that may appear in this article generally indicates that the previous and next associated objects are in an "or" relationship.
[0103] Example:
[0104] See also Figure 1 As shown, before describing the aviation material data sharing method provided by this embodiment, a system architecture is first provided, which may include but is not limited to: an aviation material supervision center and an alliance chain, wherein the alliance chain includes a shared node (which may be a management node in the alliance chain) and a plurality of alliance nodes (which may be set to N), and any alliance node corresponds to a data user end or a data sharing end (the two may be each airline company or aviation staff). In this way, the alliance chain can be used to establish a trusted relationship between each node and store encrypted data (in this embodiment, stored in a distributed ledger in the alliance chain); at the same time, this embodiment also uses the aviation material supervision center as a trusted institution of the entire system (which may be created for supervision by national departments such as the Aviation Administration Bureau) to issue user attribute sets, encrypted public parameters used for shared data, and private keys of each alliance node to each data sharing end; therefore, the entire aviation material data sharing process is linked to the aviation material supervision center and the alliance chain.
[0105] Specifically, the data sharing end first uses the user attribute set and encryption public parameters issued by the aviation material supervision center to encrypt the aviation material sharing data multiple times, and obtains the encrypted aviation material sharing data, multiple ciphertexts and multiple encryption verification parameters; then, the encrypted aviation material sharing data and two ciphertexts among the multiple ciphertexts are used as the ciphertext set, and the remaining data is used as the data sharing credential; finally, the aforementioned data and the attribute tree of the data sharing end are consensus-concluded in the alliance chain to complete the sharing of aviation material data; in this way, the aforementioned data is consensus-concluded in the distributed ledger of the alliance chain, and the characteristics of the blockchain can be used to ensure that the data is immutable. Tampering; in this way, when viewing data sharing, the alliance chain can authenticate the user who initiates the viewing request based on the attribute tree and data sharing credentials, and after the identity authentication is passed, use its own private key (the second key mentioned below) to decrypt the ciphertext set, and then send the decrypted ciphertext to the user who initiated the viewing request; and the user can use the private key issued by the aviation material supervision center (the third key mentioned below) to decrypt the decrypted ciphertext for the second time to obtain the first key (which is a symmetric key); finally, use the first key to decrypt the encrypted aviation material sharing data to obtain the aviation material sharing data.
[0106] Based on this, this system uses alliance chain + trusted institutions, combined with cryptographic technology, to achieve the establishment of a trust sharing relationship between airlines, and to ensure the security and authenticity of the data sharing process; based on this, only users who have been authenticated by the alliance chain in the system can join the data sharing process, thereby providing technical support for user authenticity, data security and authenticity for the aviation material data sharing process, so that a new aviation material data sharing ecosystem can be built based on truth, objectivity, security and mutual trust. Therefore, it is very suitable for large-scale application and promotion.
[0107] See also Figure 2 As shown, the aviation material data sharing method based on the Internet of Things provided in this embodiment can be but is not limited to being run in the aviation material supervision center, the data sharing terminal and the alliance chain side. Among them, this embodiment takes the data sharing terminal as an example for explanation, and the example data sharing terminal can be but is not limited to a personal computer (personal computer, PC), a tablet computer or a smart phone. It can be understood that the aforementioned execution subject does not constitute a limitation on the embodiments of the present application. Accordingly, the operation steps of this method can be but are not limited to the following steps S1 to S6.
[0108] S1. Send a data sharing request to the aviation material supervision center, so that the aviation material supervision center generates a user attribute set and encrypted public parameters for the data sharing end after receiving the data sharing request; in this embodiment, the data sharing request may include but is not limited to the identity information of the data sharing end (such as equipment identification, corresponding user information, etc.), so after receiving the data sharing request, the aviation material supervision center can generate a number of user attributes for the data sharing request according to the internal identity information, thereby forming a user attribute set; specifically, one type of information in the identity information can serve as a user attribute, such as the equipment identification as a user attribute, and the user name in the user information as a user attribute, and the social unified credit code of the user's company as a user attribute; in this way, based on the identity information in the data sharing request, a user attribute set can be constructed.
[0109] Further, the example encrypted public parameters may include but are not limited to: a second random number, a third random number, a fourth random number, a first one-way hash function, a second one-way hash function, a mapping function between two multiplication cyclic groups G1 and G2, and a generator of the multiplication cyclic group G1; wherein, the following is one specific process of generating encrypted public parameters by the public aviation material supervision center:
[0110] In this embodiment, the aviation material supervision center first selects two orders as large prime numbers. The multiplicative cyclic groups G1 and G2 of , where is a generator of G1, and the two multiplication cyclic groups mentioned above are both bilinear groups, so the two conform to the bilinear mapping (i.e., the mapping function between the two), that is :G1×G1 G2; then, the aviation material supervision center selects two one-way hash functions, and then randomly generates three random numbers that are integers (i.e., the aforementioned second random number, the third random number, and the fourth random number); finally, the aforementioned parameters can be used to form encrypted public parameters; optionally, all alliance nodes in the entire system use the aforementioned encrypted public parameters together.
[0111] At the same time, the Aviation Material Supervision Center will also use the aforementioned public encryption parameters to generate private keys for the shared nodes in the alliance chain and the alliance nodes that initiate the data viewing request, so as to decrypt the shared data based on the private keys later; Optionally, for the shared nodes, the generation process of the corresponding second key (i.e., the corresponding private key) is as follows: the Aviation Material Supervision Center first generates the fifth random number and the sixth random number, wherein the second random number, the fifth random number and the sixth random number satisfy: , in which, The second random number, the fifth random number and the sixth random number are represented in sequence; then, the fifth random number, the generator of the encryption public parameter, the second random number and the third random number are used to calculate the second key according to the following formula (8).
[0112] (8)
[0113] In the above formula (8), Represents the second key.
[0114] Similarly, the aviation material supervision center can also use the following formula (9) to construct a third key, where the third key is the private key of the alliance node that initiates the data viewing request.
[0115] (9)
[0116] In the above formula (9), represents the third key, Represents the third random number.
[0117] Thus, through the above explanation, the aviation material supervision center can generate a user attribute set and encrypted public parameters for the data sharing end, generate a second key for the shared node, and generate a third key for the alliance node that sends a data viewing request; then, the data sharing end can use the user attribute set and encrypted public parameters issued by the aviation material supervision center to share data, that is, to encrypt the aviation material shared data and generate corresponding data sharing credentials, so that when each alliance node subsequently views the aviation material shared data, the alliance chain can perform identity authentication based on the data sharing credentials, thereby ensuring the authenticity of users during the data sharing process.
[0118] Optionally, the aforementioned data sharing process may be performed as shown in the following steps S2 to S6.
[0119] S2. Receive the user attribute set sent by the aviation material supervision center, and construct an attribute tree for data encryption based on the user attribute set, wherein the attribute tree includes a plurality of leaf nodes, the number of leaf nodes in the attribute tree is the same as the number of user attributes in the user attribute set, and any leaf node stores a first attribute value, a second attribute value and an encrypted value corresponding to a user attribute in the user attribute set; in specific applications, the attribute tree is used to hide the initial encryption parameters used in the subsequent encryption process on the one hand, and on the other hand, is used as the initial identity authentication of the alliance node that initiates the data viewing request; its principle is: it is a tree data structure, and each internal The leaf node stores the attributes, attribute values, and encrypted values set by the data owner (the encrypted value is transmitted by the parent node and encrypted at this node, and the initial encrypted value is the initial encryption parameter on the root node); therefore, only the alliance node with the corresponding attribute can decrypt the encrypted value of this node; at the same time, the attribute tree also includes non-leaf nodes. For non-leaf nodes, they are threshold nodes with threshold values. Therefore, the alliance node that initiates the data viewing request needs to meet the threshold value to decrypt the encrypted value of the node; in this way, by constructing the aforementioned attribute tree, the encrypted values and attribute values in each leaf node in the attribute tree can be used to complete the secondary encryption in the data sharing process.
[0120] Optionally, the following discloses a method for constructing the aforementioned attribute tree, the process of which may be but is not limited to the following steps S21 to S25.
[0121] S21. Obtain an initial attribute tree, wherein the initial attribute tree includes a root node, a plurality of leaf nodes and a plurality of non-leaf nodes, and the initial attribute tree is a tree data structure, the starting point of the initial attribute tree is the root node, and the nodes on any layer in the initial attribute tree serve as child nodes of the nodes on the previous layer and / or parent nodes of the nodes on the next layer; in this embodiment, the starting point of the initial attribute tree is the root node, and the root node is connected to leaf nodes and / or non-leaf nodes, and each node serves as a parent node, and is sequentially connected to leaf nodes and / or non-leaf nodes downward (of course, it may not be connected to any nodes), based on this, the initial attribute tree can be constructed according to the aforementioned principle; and after the initial attribute tree is obtained, user attributes can be allocated, and the process is shown in the following step S22.
[0122] S22. Randomly assign each user attribute in the user attribute set to each leaf node in the initial attribute tree, so as to obtain a first assigned attribute tree after the assignment is completed, wherein one user attribute corresponds to one leaf node.
[0123] After the allocation of each user attribute in the user attribute set is completed, the first attribute value and the second attribute value of each user attribute can be determined, and the process is shown in the following step S23.
[0124] S23. Generate a corresponding first attribute value and a second attribute value for each user attribute, and add the first attribute value and the second attribute value of each user attribute to the leaf node corresponding to each user attribute, so as to obtain a second allocation attribute tree after the addition is completed; in this embodiment, for example, but not limited to, the following steps S23a to S23e can be used to generate a corresponding first attribute value and a second attribute value for each user attribute.
[0125] S23a. Generate a number of positive integers that meet a first preset condition, wherein the first preset condition is that any two of the generated positive integers are prime to each other. In a specific application, this embodiment first generates a number of positive integers that are the same as the number of user attributes, and the generated positive integers satisfy the condition that any two of them are prime to each other. Then, the generated positive integers can be used to construct a positive integer sequence. Finally, the first attribute value of each user attribute can be determined based on the positive integer sequence. Optionally, the construction process of the positive integer sequence can be, but is not limited to, as shown in the following steps S23b and S23c.
[0126] S23b. Use a number of positive integers to form a positive integer sequence, wherein the number of positive integers in the positive integer sequence is the same as the number of user attributes in the user attribute set, and the sorting order is the generation order of the positive integers; after the positive integer sequence is obtained based on this step, the first attribute value of the kth user attribute can be determined, and the process is shown in the following step S23c.
[0127] S23c. For the kth user attribute in the user attribute set, the kth positive integer in the positive integer sequence is used as the first attribute value of the kth user attribute; in this embodiment, assuming that k is 1, then the first positive integer in the positive integer sequence is the first attribute value of the first user attribute; of course, when k is any other value, the corresponding first attribute value determination process is the same as the above example, which is not repeated here.
[0128] After obtaining the first attribute value of the k-th user attribute, the corresponding second attribute value may be determined, and the process may be but is not limited to that shown in the following step S23d.
[0129] S23d. Obtain a large prime number library, and randomly select a large prime number that meets a second preset condition from the large prime number library as the second attribute value of the k-th user attribute, wherein the second preset condition is that the selected large prime number is greater than the initial encryption value; in this embodiment, a large prime number greater than the initial encryption value (i.e., the initial encryption parameter) is randomly obtained, and then used as the second attribute value of the k-th user attribute; then, the same principle can be used to determine the first attribute value and the second attribute value corresponding to each of the remaining user attributes; optionally, the cyclic determination process is shown in the following step S23e.
[0130] S23e. Add 1 to k and re-set the kth positive integer in the positive integer sequence as the first attribute value of the kth user attribute until k equals n, thereby obtaining the first attribute value and the second attribute value of each user attribute, wherein the initial value of k is 1 and n is the total number of user attributes.
[0131] Therefore, through the aforementioned steps S23a to S23e, the first attribute value and the second attribute value can be generated for each user attribute, and then, the two attribute values corresponding to each user attribute can be added to the corresponding leaf node, thereby completing the allocation of attribute values; and after completing the allocation of attribute values, the encrypted values of each leaf node can be issued, and the process can be but is not limited to as shown in the following steps S24 and S25.
[0132] S24. Using the initial encryption parameter as the initial encryption value of the root node in the second distribution attribute tree; in this embodiment, the initial encryption parameter is set by the data sharing end and is not specifically limited here.
[0133] S25. Based on the initial encryption value of the root node, and in accordance with the tree data structure, encryption values are added to each leaf node in the second allocation attribute tree from top to bottom, so that after the addition, an attribute tree for data encryption is obtained; in this embodiment, the initial encryption value is essentially used as the initial parameter, and then encryption processing is performed at each node (the encryption process for leaf nodes and non-leaf nodes is different), and propagated downward until it reaches the last leaf node; in this way, the initial encryption value can be sent down, thereby generating a corresponding encryption value for each leaf node.
[0134] In specific implementation, this embodiment takes any node in the second allocation attribute tree as an example to illustrate the propagation process of the aforementioned initial encrypted value (i.e., the process of adding the encrypted value of each leaf node), and the process is shown in the following steps S25a to S25e.
[0135] S25a. For any node in the second allocation attribute tree, determine whether the node is a leaf node; in the present embodiment, if any node is a leaf node, then the first attribute value or the second attribute value corresponding to the node can be directly used to encrypt the encrypted value transmitted by the parent node of the node, thereby obtaining the encrypted value of the node; then, the corresponding encrypted value is transmitted to the child node of the node; of course, the process of adding the encrypted value of the child node of the node is the same as that of the node, that is, first determine whether it is a leaf node, and then encrypt it in a different way.
[0136] At the same time, if any node is not a leaf node (that is, it is a non-leaf node), then it is necessary to use the method shown in the following steps S25b to S25e to calculate the encryption parameters and propagate them to its corresponding child nodes; that is to say, if any node is a non-leaf node, the encryption value is not added, but the following encryption algorithm is used to encrypt the encryption value transmitted by its parent node, and then the encryption result is propagated to its corresponding child node. The process is shown in the following steps S25b to S25e.
[0137] S25b. If not, then based on the second attribute value corresponding to any one of the nodes, determine the endpoint value of the random number, and use the endpoint value of the random number to determine the range of random number values; in this embodiment, it has been explained above that the non-leaf node is a threshold node, which has a corresponding threshold value, therefore, this embodiment first obtains the threshold structure parameter of any one of the nodes (the threshold structure parameter includes the number of child nodes corresponding to any one of the nodes, and the node threshold value of any one of the nodes); then, generate a number of positive integers that meet the first preset condition, and use the positive integers to form a positive integer sequence (in this embodiment, the positive integer sequence is the same as the positive integer sequence in the aforementioned step S23b, which will not be repeated here); then, this embodiment calculates the intermediate parameters based on the second attribute value, the threshold structure parameter and the positive integer sequence; finally, use the intermediate parameters to calculate the endpoint value of the random number.
[0138] Optionally, the intermediate parameters may be calculated according to, but not limited to, the following formula (1).
[0139] (1)
[0140] In the above formula (1), represents the intermediate parameter, represents the second attribute value, Indicates the number of child nodes corresponding to any node, represents the node threshold value, represents the first positive integers; in specific applications, Represents the cumulative multiplication symbol; assuming that the number of child nodes is 5 and the node threshold value is 3, then starting from the 4th positive integer in the positive integer sequence, the multiplication continues to the fifth positive integer, and then the cumulative multiplication result is multiplied by the second attribute value to obtain the intermediate parameter; of course, when the node threshold value and the number of child nodes are other values, the calculation process of the intermediate parameter is the same as the above example, which will not be repeated here.
[0141] Similarly, the random number endpoint value can be calculated by, but not limited to, the following (2).
[0142] (2)
[0143] In the above formula (2), Represents the random number endpoint value.
[0144] Thus, based on the above formulas (1) and (2), after calculating the random number endpoint value, the random number endpoint value can be used as the left endpoint, and 0 can be used as the right endpoint. Then, based on the left endpoint and the right endpoint, the random number value interval can be determined. Based on this, the random number value interval in this embodiment is .
[0145] After the random number value range is determined through the aforementioned step S25b, the first random number can be selected so as to subsequently generate a preprocessed encryption value based on the first random number and the encryption value issued by the parent node of any node; wherein the aforementioned processing process is shown in the following steps S25c and S25d.
[0146] S25c. Select a first random number from the random number value interval.
[0147] S25d. Obtain the encryption value sent by the parent node of any node, and use the first random number, the second attribute value and the encryption value sent by the parent node of any node to generate a preprocessed encryption value, wherein when the parent node of any node is a root node, the encryption value sent by the parent node of any node is the initial encryption value, and when the parent node of any node is a non-leaf node, the encryption value sent by the parent node of any node is the encryption parameter of the parent node of the any node; in specific implementation, the preprocessed encryption value can be generated by, for example but not limited to, the following formula (3).
[0148] (3)
[0149] In the above formula (3), represents the preprocessed encrypted value, represents the first random number, Indicates the encrypted value sent by the parent node of any node. Indicates the second attribute value.
[0150] In this way, after obtaining the preprocessed encrypted value through the aforementioned step S25d, the first attribute value of any node can be used to encrypt the preprocessed encrypted value to obtain the encryption parameter of any node; wherein the aforementioned process is shown in the following step S25e.
[0151] S25e. Using the first attribute value of any node, encrypt the preprocessed encrypted value to obtain the encryption parameter corresponding to any node, and send the encryption parameter to the child node corresponding to any node, so that the child node corresponding to any node can calculate the corresponding encryption value to add or calculate the corresponding encryption parameter to send after receiving the encryption parameter, until all nodes in the second allocation attribute tree are polled to obtain the attribute tree for data encryption; in specific implementation, the encryption parameter corresponding to any node can be calculated according to the following formula (4) for example but not limited to.
[0152] (4)
[0153] In the above formula (4), represents the encryption parameter corresponding to any node, represents the first attribute value corresponding to any node, Represents the remainder operation.
[0154] Optionally, the aforementioned steps S25a to S25d are described below using an example.
[0155] First, assume that the structure of the second allocation attribute tree is: a root node, the root node is connected to the first leaf node, the second leaf node and the first non-leaf node, the first leaf node is connected to the third leaf node, the second leaf node is connected to the second non-leaf node, the first non-leaf node is connected to the fourth leaf node, and the second non-leaf node is connected to the fifth leaf node.
[0156] Then, the root node first transmits the initial encrypted value to the first leaf node, the second leaf node and the first non-leaf node, wherein the first leaf node and the second leaf node directly use the corresponding first attribute value or the second attribute value to encrypt the received initial encrypted value to obtain their respective corresponding encrypted values (the encryption method can be the first attribute value or the second attribute value, and the modulus operation of the initial encrypted value), and then, the first leaf node and the second leaf node store their respective encrypted values and transmit them to their respective child nodes (that is, the first leaf node transmits its corresponding encrypted value to the third leaf node, and the second leaf node transmits its corresponding encrypted value to the second non-leaf node); and for the first non-leaf node, based on the initial encrypted value, and using the method provided in the aforementioned steps S25a~S25d, to generate the corresponding encryption parameters, and then transmit the encryption parameters to the fourth leaf node.
[0157] Then, after the third leaf node receives the encrypted value transmitted by the first leaf node, it continues to use its corresponding first attribute value or second attribute value to directly encrypt the encrypted value transmitted by the first leaf node, thereby obtaining its own encrypted value; similarly, after the fourth leaf node receives the encrypted value (i.e., encryption parameter) transmitted by the first non-leaf node, it also directly uses its corresponding first attribute value or second attribute value to encrypt the encrypted value, thereby obtaining the encryption value corresponding to the fourth leaf node; and the second non-leaf node continues to use the method provided by S25a~S25d above to generate the corresponding encryption parameter, and transmits it to the fifth leaf node; finally, the fifth leaf node directly uses its corresponding first attribute value or second attribute value to encrypt the encryption parameter transmitted by the second non-leaf node, thereby obtaining the corresponding encryption value; in this way, the encryption values of each leaf node can be added, thereby generating an attribute tree for user data encryption.
[0158] After constructing the attribute tree based on the aforementioned steps S21 to S25 and their sub-steps, the data sharing process can be entered, which includes a data encryption process and a data upload process; in the specific implementation, data encryption is divided into primary encryption and secondary encryption, wherein the primary encryption is the encryption of the aviation material sharing data itself; and the secondary encryption is the encryption of the key used in the primary encryption process and the label information of the aviation material sharing data; optionally, the primary encryption process can be but is not limited to as shown in the following step S3.
[0159] S3. The first key is used to encrypt the aviation material sharing data to obtain encrypted aviation material sharing data. In this embodiment, the first key is taken as a symmetric key, that is, the parties sending and receiving data must use the same key to encrypt and decrypt the plain text. In this embodiment, the DES, 3DES, IDEA, RC5 or RC6 encryption algorithms can be used, but are not limited to, to encrypt the aviation material sharing data, thereby obtaining encrypted aviation material sharing data. Of course, the aforementioned encryption algorithms are commonly used encryption algorithms, and their principles and processes will not be repeated here.
[0160] After the encryption of the aviation material sharing data is completed, secondary encryption may be performed, and the process is shown in the following step S4.
[0161] S4. Obtain the tag information and initial encryption parameters of the aviation material sharing data, and use the initial encryption parameters, the encryption public parameters, and the first attribute value, the second attribute value, and the encryption value stored in each leaf node in the attribute tree to encrypt the tag information and the first key to obtain a first ciphertext, a second ciphertext, a third ciphertext, a first encryption verification parameter, and a second encryption verification parameter; in a specific implementation, the tag information of the aviation material sharing data may be, but not limited to, a data summary of the aviation material sharing data, and the following steps S41 to S46 may be used, but not limited to, to complete the encryption of the tag information and the initial encryption parameters.
[0162] S41. An encryption matrix is constructed based on the first attribute value, the second attribute value and the encrypted value stored in each leaf node in the attribute tree, wherein each row vector in the encryption matrix corresponds to a leaf node, and each row vector contains the first attribute value, the second attribute value and the encrypted value in the corresponding leaf node; in this embodiment, for example, but not limited to, the Lewko-Waters algorithm (an algorithm for converting tree structured data into a linear secret sharing scheme matrix) or the Liu-Cao-Wong algorithm (also an algorithm for converting tree structured data into a linear secret sharing scheme matrix) can be used to construct the encryption matrix, and an attribute mapping function is generated to map each row vector in the encryption matrix to the corresponding user attribute in the attribute tree.
[0163] After the encryption matrix is constructed based on the attribute tree, an encryption vector can be constructed based on the encryption matrix, and the process is shown in the following step S42.
[0164] S42. Construct an encryption vector according to the initial encryption parameters and the encryption matrix. In a specific implementation, it can be, but is not limited to, first randomly selecting a column vector from the encryption matrix as the initial encryption vector. Then, the initial encryption parameters are added to the initial encryption vector to obtain the encryption vector after adding. In this embodiment, the first element in the encryption vector is the initial encryption parameter. Thus, after constructing the encryption vector based on the aforementioned step S42, the subsequent secondary encryption processing flow can be performed, and the process is shown in the following steps S43 to S46.
[0165] S43. Using the encryption public parameter and the initial encryption parameter, encrypt the first key to obtain a first ciphertext; in specific implementation, examples may include but are not limited to using the mapping function in the encryption public parameter, the generator of the multiplication cyclic group G1 , a second random number, combined with the initial encryption parameter, to encrypt the first key; wherein the first ciphertext can be obtained by using, but not limited to, the following formula (5).
[0166] (5)
[0167] In the above formula (5), represents the first ciphertext, represents the mapping function, represents the generator, represents the second random number, represents the initial encryption parameter, Represents the first key.
[0168] After the encryption of the first key is completed based on the above formula (5), the initial encryption parameter and the encryption public parameter can be used to generate the second ciphertext, and the third ciphertext can be obtained based on the second ciphertext. The process is shown in the following step S44.
[0169] S44. Generate a second ciphertext based on the initial encryption parameters and the encryption public parameters, and use the second ciphertext to generate a third ciphertext. In this embodiment, the second ciphertext may be generated based on, but not limited to, the third random number and the fourth random number in the initial encryption parameters and the initial encryption parameters according to the following formula (6).
[0170] (6)
[0171] In the above formula (6), represents the second ciphertext, represents the fourth random number, Represents the third random number.
[0172] Similarly, the third ciphertext may be generated by, for example but not limited to, using the following formula (7).
[0173] (7)
[0174] In the above formula (7), Represents the third ciphertext.
[0175] Thus, the second ciphertext and the third ciphertext can be obtained by the aforementioned formula (6) and formula (7); then, the corresponding first encryption verification parameter can be generated based on the encryption vector, the encryption matrix and the aforementioned encryption public parameter, and the tag information can be encrypted at the same time to obtain the second encryption verification parameter; wherein the aforementioned process is shown in the following steps S45 and S46.
[0176] S45. Generate the first encryption verification parameter according to the encryption public parameter, the encryption vector and the encryption matrix; in specific implementation, it can be but not limited to first calculating the product between each row vector in the encryption matrix and the encryption vector to obtain a number of encryption intermediate vectors; then, based on the several encryption intermediate vectors, the generator and the fourth random number, calculate the first encryption verification sub-parameter corresponding to each encryption intermediate vector; finally, the first encryption verification sub-parameter corresponding to each encryption intermediate vector can be used to form the first encryption verification parameter.
[0177] Specifically, for example but not limited to, the following formula (10) may be used to calculate the first encryption verification sub-parameter corresponding to each encryption intermediate vector.
[0178] (10)
[0179] In the above formula (10), Represents the first of several encrypted intermediate vectors The first encrypted verification sub-parameter corresponding to the encrypted intermediate vector, represents the fourth random number, represents the generator, Indicates encrypted intermediate vectors, , Indicates the total number of encrypted intermediate vectors.
[0180] After obtaining the first encryption verification parameter, the tag information may be encrypted, and the process is shown in the following step S46.
[0181] S46. Use the encryption public parameters, the encryption vector and the encryption matrix to encrypt the label information, so as to obtain the second encryption verification parameter after the encryption process, and complete the encryption process of the label information and the first key; in specific applications, it can be but not limited to first obtaining the attribute mapping function corresponding to each leaf node in the attribute tree (that is, in the aforementioned step S41, the attribute mapping function obtained when the encryption matrix is constructed using the Lewko-Waters algorithm or the Liu-Cao-Wong algorithm); then, based on the attribute mapping function, the first one-way hash function, the second one-way hash function and a number of encryption intermediate vectors, calculate the second encryption verification sub-parameter corresponding to each encryption intermediate vector; finally, the second encryption verification sub-parameter corresponding to each encryption intermediate vector can be used to form the second encryption verification parameter.
[0182] Similarly, the second encryption verification sub-parameter corresponding to each encryption intermediate vector can be calculated by, for example but not limited to, using the following formula (11).
[0183] (11)
[0184] In the above formula (11), Indicates The second encrypted verification sub-parameter corresponding to the encrypted intermediate vector, represents the first one-way hash function, represents the second one-way hash function, Indicates the tag information, Describe the attribute mapping function, Indicates the first Row vector.
[0185] Thus, based on the aforementioned formula (11), the second encryption verification sub-parameter corresponding to each encryption intermediate vector can be calculated; and then, the second encryption verification parameter can be composed using each second encryption verification sub-parameter.
[0186] Thus, through the aforementioned steps S41 to S46, the encryption of the first key and the label information can be completed, and then, the data can be uploaded in combination with the aforementioned encrypted aviation material sharing data, and the process is shown in the following steps S5 and S6.
[0187] S5. Using the third ciphertext, the first encryption verification parameter and the second encryption verification parameter, construct a data sharing credential, and using the first ciphertext, the second ciphertext and the encrypted aviation material sharing data, construct a ciphertext set.
[0188] S6. The data sharing credential, the attribute tree and the ciphertext set are consensus-concluded in the alliance chain, so as to complete the data sharing of the aviation material sharing data in the alliance chain after consensus, wherein the alliance chain includes a number of alliance nodes, and any alliance node corresponds to a data user end or a data sharing end. The data sharing credential and the attribute tree are used to authenticate the alliance node that initiates the data viewing request in the alliance chain, and after the identity authentication is passed, the alliance node that initiates the data viewing request decrypts the ciphertext set to obtain the aviation material sharing data; in this embodiment, a practical Byzantine fault-tolerant consensus algorithm can be used as an example to reach a consensus on the aforementioned data in the alliance chain; of course, the aforementioned consensus algorithm is a commonly used technology of blockchain, and its principle will not be repeated.
[0189] In this embodiment, it is equivalent to utilizing the tamper-proof property of data in the blockchain to ensure data authenticity and credibility between users, and utilizing data sharing credentials to realize identity authentication between nodes; therefore, when a data user needs to view shared data, he needs to first authenticate the identity of the alliance chain (that is, the shared node in the alliance chain completes identity authentication through data sharing credentials and attribute trees), and after passing the verification, the shared node uses the second key issued by the aforementioned aviation material supervision center to decrypt the third ciphertext to obtain the decrypted ciphertext, and sends the decrypted ciphertext and the ciphertext set to the alliance node that initiates the data viewing request, so that the alliance node that initiates the data viewing request uses the third key issued by the aviation material supervision center to decrypt the decrypted ciphertext and the ciphertext set, thereby obtaining the aviation material shared data.
[0190] Therefore, through the aviation material data sharing method based on the Internet of Things described in detail in the aforementioned steps S1 to S6, the present invention uses alliance chain + trusted organization, and combines cryptographic technology to achieve the establishment of a trust sharing relationship between airlines, as well as the security and authenticity of the data sharing process. Based on this, only users who have passed the alliance chain authentication can join the data sharing process, thereby providing technical support for user authenticity, data security and authenticity for the aviation material data sharing process, so that a new aviation material data sharing ecosystem can be constructed based on truth, objectivity, security and mutual trust, and therefore, it is very suitable for large-scale application and promotion.
[0191] In one possible design, the second aspect of this embodiment provides a data viewing process based on the method described in the first aspect of the embodiment, and the process is as follows.
[0192] In this embodiment, the data viewing request initiated by the alliance node (hereinafter referred to as the access node) that initiates the data viewing request has access tag information and its corresponding user attribute set (hereinafter referred to as the access attribute set); at this time, the shared node in the alliance chain (that is, the verification node as the data accessor) first uses the attribute tree to verify whether the user attribute set meets the access requirements, that is, whether it conforms to the access structure in the attribute tree (which is a commonly used verification technology for access control policies, and its principle is not repeated); if the access structure of the attribute tree is satisfied, the initial encryption parameter will be decrypted, that is, the leaf node will be decrypted, and the process is: find the attribute with the same attribute value as this node from the access attribute set, and use the attribute to decrypt the encrypted value of this node; then, decrypt the non-leaf node; wherein, after decrypting the leaf node, multiple pairs of values (that is, each attribute value and encrypted value) can be obtained, and then, the secret value of the parent node can be decrypted according to the value of the leaf node, and then it can be recursively pushed upward in sequence until the initial encrypted value of the root node is decrypted; therefore, if any encrypted value generated during the distribution of encrypted values is known, Group data (i.e. The remainder theorem can be used to calculate the remaining encrypted value, and then recursively work upward to obtain the initial encryption parameters on the root node. Of course, the aforementioned attribute tree decryption process will not be described in detail here.
[0193] At the same time, the shared node will also calculate the access parameters corresponding to each access user attribute in the access user attribute set, so as to subsequently perform identity authentication of the access node based on the access parameters and the aforementioned data sharing credentials; specifically, the access parameters may include but are not limited to the first access parameter and the second access parameter, and may be calculated using the following formulas (12) and (13).
[0194] (12)
[0195] (13)
[0196] In the above formula (12), Represents the first access parameter, Indicates access to tag information. Indicates access to the first Access user attributes, Indicates The seventh random number used to access user attributes.
[0197] In the above formula (13), represents the second access parameter, and , is the total number of accessed user attributes. Of course, the accessed user attributes are the same as the number of user attributes at the aforementioned data sharing end, and are also the same as the number of encrypted intermediate vectors.
[0198] After obtaining the aforementioned first access parameter and second access parameter, the shared node can perform identity authentication, and its verification formula is shown in the following formula (14).
[0199] (14)
[0200] The above formula (14) means that if we can find a constant set (given by , ), so that the above equation (14) holds true, then it is determined that the identity authentication of the access node is passed.
[0201] After the verification is passed, the shared node decrypts the third ciphertext based on the second key to obtain the decrypted ciphertext; the decryption formula is shown in the following formula (15).
[0202] (15)
[0203] In the above formula (15), Represents the decrypted ciphertext. Of course, the other parameters in formula (15) have been explained above and will not be repeated here.
[0204] Then, the sharing node sends the decrypted ciphertext and encrypted aviation material sharing data to the access node, and the access node first decrypts the decrypted ciphertext according to the third key issued by the aviation material supervision center. The decryption formula is: (16), thus, based on formula (16), the first key can be obtained, and then the encrypted aviation material sharing data can be decrypted using the first key to obtain the aviation material sharing data.
[0205] Therefore, through the above steps, you can complete the viewing of aviation material sharing data.
[0206] like Figure 3 As shown, the third aspect of this embodiment provides a hardware system for implementing the aviation material data sharing method based on the Internet of Things described in the first aspect of the embodiment, taking the system as a data sharing end as an example, including:
[0207] The sending unit is used to send a data sharing request to the aviation material supervision center, so that the aviation material supervision center generates a user attribute set and encrypted public parameters for the data sharing terminal after receiving the data sharing request.
[0208] An attribute tree construction unit is used to receive a user attribute set sent by the aviation material supervision center, and based on the user attribute set, construct an attribute tree for data encryption, wherein the attribute tree includes a plurality of leaf nodes, the number of leaf nodes in the attribute tree is the same as the number of user attributes in the user attribute set, and any leaf node stores a first attribute value, a second attribute value and an encrypted value corresponding to a user attribute in the user attribute set.
[0209] An encryption unit, used to encrypt the aviation material sharing data using a first key to obtain encrypted aviation material sharing data;
[0210] Used to obtain the tag information and initial encryption parameters of the aviation material sharing data, and encrypt the tag information and the first key by using the initial encryption parameters, the encryption public parameters, and the first attribute value, the second attribute value, and the encryption value stored in each leaf node in the attribute tree to obtain a first ciphertext, a second ciphertext, a third ciphertext, a first encryption verification parameter, and a second encryption verification parameter; and
[0211] Used to construct a data sharing credential using the third ciphertext, the first encryption verification parameter and the second encryption verification parameter, and to construct a ciphertext set using the first ciphertext, the second ciphertext and the encrypted aviation material sharing data.
[0212] The data sharing unit is used to consensus the data sharing credential, the attribute tree and the ciphertext set in the alliance chain, so as to complete the data sharing of the aviation material sharing data in the alliance chain after consensus, wherein the alliance chain includes a plurality of alliance nodes, and any alliance node corresponds to a data user end or a data sharing end. The data sharing credential and the attribute tree are used to authenticate the alliance node that initiates the data viewing request in the alliance chain, and after the identity authentication is passed, the alliance node that initiates the data viewing request decrypts the ciphertext set to obtain the aviation material sharing data.
[0213] The working process, working details and technical effects of the device provided in this embodiment can be found in the first aspect of the embodiment and will not be described in detail here.
[0214] like Figure 4 As shown, the fourth aspect of this embodiment provides an aviation material data sharing device based on the Internet of Things. Taking the device as an electronic device as an example, it includes: a memory, a processor and a transceiver that are communicatively connected in sequence, wherein the memory is used to store computer programs, the transceiver is used to send and receive messages, and the processor is used to read the computer program to execute the aviation material data sharing method based on the Internet of Things as described in the first and second aspects of the embodiments.
[0215] For example, the memory may include, but is not limited to, random access memory (RAM), read only memory (ROM), flash memory, first input first output (FIFO) and / or first in last out (FILO), etc. Specifically, the processor may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). At the same time, the processor may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state.
[0216] In some embodiments, the processor may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. For example, the processor may not be limited to a microprocessor of the STM32F105 series, a reduced instruction set computer (RISC) microprocessor, an X86 architecture processor, or a processor with an integrated embedded neural network processing unit (NPU); the transceiver may be, but is not limited to, a wireless fidelity (WIFI) wireless transceiver, a Bluetooth wireless transceiver, a General Packet Radio Service (GPRS) wireless transceiver, a ZigBee protocol (a low-power LAN protocol based on the IEEE802.15.4 standard, ZigBee) wireless transceiver, a 3G transceiver, a 4G transceiver, and / or a 5G transceiver. In addition, the device may also include, but is not limited to, a power module, a display screen, and other necessary components.
[0217] The working process, working details and technical effects of the electronic device provided in this embodiment can be found in the first and second aspects of the embodiments, and will not be described in detail here.
[0218] The fifth aspect of this embodiment provides a storage medium storing instructions for the aviation material data sharing method based on the Internet of Things as described in the first and second aspects of the embodiment, that is, the storage medium stores instructions, and when the instructions are run on a computer, the aviation material data sharing method based on the Internet of Things as described in the first and second aspects of the embodiment is executed.
[0219] The storage medium refers to a carrier for storing data, which may include but is not limited to a floppy disk, a CD, a hard disk, a flash memory, a USB flash drive and / or a memory stick, and the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
[0220] The working process, working details and technical effects of the storage medium provided in this embodiment can be found in the first and second aspects of the embodiments, and will not be described in detail here.
[0221] The sixth aspect of this embodiment provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the aviation material data sharing method based on the Internet of Things as described in the first and second aspects of the embodiment, wherein the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
[0222] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An aviation material data sharing method based on the Internet of Things, characterized in that: include: Sending a data sharing request to an aviation material supervision center, so that the aviation material supervision center generates a user attribute set and encrypted public parameters for the data sharing terminal after receiving the data sharing request; Receive the user attribute set sent by the aviation material supervision center, and construct an attribute tree for data encryption based on the user attribute set, wherein the attribute tree includes a plurality of leaf nodes, the number of leaf nodes in the attribute tree is the same as the number of user attributes in the user attribute set, and any leaf node stores a first attribute value, a second attribute value, and an encrypted value corresponding to a user attribute in the user attribute set; The aviation material sharing data is encrypted using the first key to obtain encrypted aviation material sharing data; Acquire the tag information and initial encryption parameters of the aviation material sharing data, and use the initial encryption parameters, the encryption public parameters, and the first attribute value, the second attribute value, and the encryption value stored in each leaf node in the attribute tree to encrypt the tag information and the first key to obtain a first ciphertext, a second ciphertext, a third ciphertext, a first encryption verification parameter, and a second encryption verification parameter; Using the third ciphertext, the first encryption verification parameter and the second encryption verification parameter, construct a data sharing credential, and using the first ciphertext, the second ciphertext and the encrypted aviation material sharing data, construct a ciphertext set; The data sharing credential, the attribute tree and the ciphertext set are consensus-concluded in the alliance chain, so as to complete the data sharing of the aviation material sharing data in the alliance chain after consensus, wherein the alliance chain includes a plurality of alliance nodes, and any alliance node corresponds to a data user end or a data sharing end. The data sharing credential and the attribute tree are used to authenticate the alliance node that initiates the data viewing request in the alliance chain, and after the identity authentication is passed, the alliance node that initiates the data viewing request decrypts the ciphertext set to obtain the aviation material sharing data; The tag information and the first key are encrypted using the initial encryption parameter, the encryption public parameter, and the first attribute value, the second attribute value, and the encrypted value stored in each leaf node in the attribute tree to obtain a first ciphertext, a second ciphertext, a third ciphertext, a first encryption verification parameter, and a second encryption verification parameter, including: Based on the first attribute value, the second attribute value and the encrypted value stored in each leaf node in the attribute tree, an encryption matrix is constructed, wherein each row vector in the encryption matrix corresponds to a leaf node, and each row vector contains the first attribute value, the second attribute value and the encrypted value in the corresponding leaf node; Constructing an encryption vector according to the initial encryption parameter and the encryption matrix; Using the encryption public parameter and the initial encryption parameter, encrypt the first key to obtain a first ciphertext; Based on the initial encryption parameter and the encryption public parameter, generate a second ciphertext, and generate a third ciphertext using the second ciphertext; Generate the first encryption verification parameter according to the encryption public parameter, the encryption vector and the encryption matrix; The tag information is encrypted using the encryption public parameter, the encryption vector, and the encryption matrix, so as to obtain a second encryption verification parameter after the encryption process, and complete the encryption process of the tag information and the first key.
2. The method according to claim 1, characterized in that Based on the user attribute set, an attribute tree for data encryption is constructed, including: Obtain an initial attribute tree, wherein the initial attribute tree includes a root node, a plurality of leaf nodes, and a plurality of non-leaf nodes, the initial attribute tree is a tree data structure, the starting point of the initial attribute tree is the root node, and the nodes on any layer in the initial attribute tree serve as child nodes of nodes on the previous layer and / or parent nodes of nodes on the next layer; Randomly assigning each user attribute in the user attribute set to each leaf node in the initial attribute tree, so as to obtain a first assigned attribute tree after the assignment is completed, wherein one user attribute corresponds to one leaf node; Generate a corresponding first attribute value and a second attribute value for each user attribute, and add the first attribute value and the second attribute value of each user attribute to a leaf node corresponding to each user attribute, so as to obtain a second allocation attribute tree after the addition is completed; Using the initial encryption parameter as the initial encryption value of the root node in the second distribution attribute tree; Based on the initial encryption value of the root node and in a tree data structure, encryption values are added to each leaf node in the second distribution attribute tree from top to bottom, so as to obtain an attribute tree for data encryption after the addition.
3. The method according to claim 2, characterized in that Generating a corresponding first attribute value and a second attribute value for each user attribute includes: Generate a number of positive integers that meet a first preset condition, wherein the first preset condition is that any two of the generated positive integers are prime to each other; Using a number of positive integers to form a positive integer sequence, wherein the number of positive integers in the positive integer sequence is the same as the number of user attributes in the user attribute set, and the sorting order is the generation order of the positive integers; For the kth user attribute in the user attribute set, taking the kth positive integer in the positive integer sequence as the first attribute value of the kth user attribute; Obtain a large prime number library, and randomly select a large prime number that meets a second preset condition from the large prime number library as the second attribute value of the k-th user attribute, wherein the second preset condition is that the selected large prime number is greater than the initial encryption value; Increment k by 1, and re-set the kth positive integer in the positive integer sequence as the first attribute value of the kth user attribute, until k equals n, to obtain the first attribute value and the second attribute value of each user attribute, wherein the initial value of k is 1, and n is the total number of user attributes.
4. The method according to claim 2, characterized in that: Based on the initial encrypted value of the root node, and in accordance with the tree data structure, an encrypted value is added to each leaf node in the second distribution attribute tree from top to bottom, so that after the addition, an attribute tree for data encryption is obtained, including: For any node in the second allocation attribute tree, determine whether the any node is a leaf node; If not, determining a random number endpoint value based on the second attribute value corresponding to any of the nodes, and determining a random number value interval using the random number endpoint value; Selecting a first random number from the random number value interval; Obtaining an encrypted value sent by the parent node of any node, and using the first random number, the second attribute value, and the encrypted value sent by the parent node of any node to generate a preprocessed encrypted value, wherein when the parent node of any node is a root node, the encrypted value sent by the parent node of any node is the initial encrypted value, and when the parent node of any node is a non-leaf node, the encrypted value sent by the parent node of any node is an encryption parameter of the parent node of the any node; The preprocessed encrypted value is encrypted using the first attribute value of any node to obtain an encryption parameter corresponding to any node, and the encryption parameter is sent to a child node corresponding to any node, so that after receiving the encryption parameter, the child node corresponding to any node calculates the corresponding encryption value for addition or calculates the corresponding encryption parameter for sending, until all nodes in the second allocation attribute tree are polled to obtain an attribute tree for data encryption.
5. The method according to claim 4, characterized in that Determining a random number endpoint value based on the second attribute value corresponding to any one of the nodes includes: Acquire a threshold structure parameter of any of the nodes, wherein the threshold structure parameter includes the number of child nodes corresponding to any of the nodes and a node threshold value of any of the nodes; Generate a number of positive integers that meet a first preset condition, and use the number of positive integers to form a positive integer sequence, wherein the first preset condition is that any two of the generated number of positive integers are prime numbers to each other, the number of positive integers in the positive integer sequence is the same as the number of user attributes in the user attribute set, and the sorting order is the generation order of the positive integers; Based on the second attribute value, the threshold structure parameter and the positive integer sequence, and according to the following formula (1), an intermediate parameter is calculated; (1) In the above formula (1), represents the intermediate parameter, represents the second attribute value, Indicates the number of child nodes corresponding to any node, represents the node threshold value, represents the first positive integers; Using the intermediate parameters and according to the following formula (2), the random number endpoint value is calculated; (2) In the above formula (2), represents the random number endpoint value; Correspondingly, using the random number endpoint value to determine the random number value interval includes: The random number endpoint value is used as the left endpoint and 0 is used as the right endpoint, so as to determine the random number value interval based on the left endpoint and the right endpoint.
6. The method according to claim 4, characterized in that Obtaining an encrypted value sent by a parent node of any of the nodes, and using the first random number, the second attribute value, and the encrypted value sent by the parent node of any of the nodes to generate a preprocessed encrypted value, including: Generate the preprocessed encrypted value according to the following formula (3); (3) In the above formula (3), represents the preprocessed encrypted value, represents the first random number, Indicates the encrypted value sent by the parent node of any node. represents the second attribute value; Correspondingly, using the first attribute value of any node to encrypt the preprocessed encrypted value to obtain the encryption parameter corresponding to any node includes: According to the following formula (4), the encryption parameter corresponding to any node is calculated; (4) In the above formula (4), represents the encryption parameter corresponding to any node, represents the first attribute value corresponding to any node, Represents the remainder operation.
7. The method according to claim 1, characterized in that The encryption public parameters include: a second random number, a third random number, a fourth random number, a mapping function between two multiplication cyclic groups G1 and G2, and a generator of the multiplication cyclic group G1; The method of encrypting the first key by using the encryption public parameter and the initial encryption parameter to obtain the first ciphertext includes: According to the following formula (5), the first key is encrypted to obtain a first ciphertext; (5) In the above formula (5), represents the first ciphertext, represents the mapping function, represents the generator, represents the second random number, represents the initial encryption parameter, represents the first key; Based on the initial encryption parameters and the encryption public parameters, a second ciphertext is generated, including: According to the following formula (6), the second ciphertext is generated; (6) In the above formula (6), represents the second ciphertext, represents the fourth random number, represents a third random number; Correspondingly, using the second ciphertext to generate the third ciphertext includes: According to the following formula (7), the third ciphertext is generated; (7) In the above formula (7), Represents the third ciphertext.
8. The method according to claim 1, characterized in that The encryption public parameters include: a fourth random number, a first one-way hash function, a second one-way hash function, and a generator of the multiplication cyclic group G1 in the two multiplication cyclic groups G1 and G2; Constructing an encryption vector according to the initial encryption parameter and the encryption matrix, including: Randomly selecting a column vector from the encryption matrix as an initial encryption vector; Adding the initial encryption parameter to the initial encryption vector to obtain the encryption vector after the addition, wherein the first element in the encryption vector is the initial encryption parameter; The step of generating the first encryption verification parameter according to the encryption public parameter, the encryption vector and the encryption matrix includes: Calculate the product between each row vector in the encryption matrix and the encryption vector to obtain a number of encrypted intermediate vectors; Calculate a first encryption verification sub-parameter corresponding to each encryption intermediate vector based on a plurality of encryption intermediate vectors, the generator and the fourth random number; Using the first encryption verification sub-parameter corresponding to each encryption intermediate vector to form the first encryption verification parameter; Correspondingly, the tag information is encrypted using the encryption public parameter, the encryption vector, and the encryption matrix to obtain a second encryption verification parameter after encryption, which includes: Obtaining the attribute mapping function corresponding to each leaf node in the attribute tree; Based on the attribute mapping function, the first one-way hash function, the second one-way hash function, and a plurality of encrypted intermediate vectors, calculating a second encrypted verification sub-parameter corresponding to each encrypted intermediate vector; The second encryption verification parameter is composed by using the second encryption verification sub-parameter corresponding to each encryption intermediate vector.
9. An aviation material data sharing system based on the Internet of Things, characterized in that: include: A sending unit, used for sending a data sharing request to an aviation material supervision center, so that the aviation material supervision center generates a user attribute set and encrypted public parameters for the data sharing terminal after receiving the data sharing request; An attribute tree construction unit, used for receiving the user attribute set sent by the aviation material supervision center, and constructing an attribute tree for data encryption based on the user attribute set, wherein the attribute tree includes a plurality of leaf nodes, the number of leaf nodes in the attribute tree is the same as the number of user attributes in the user attribute set, and any leaf node stores a first attribute value, a second attribute value and an encrypted value corresponding to a user attribute in the user attribute set; An encryption unit, used to encrypt the aviation material sharing data using a first key to obtain encrypted aviation material sharing data; Used to obtain the tag information and initial encryption parameters of the aviation material sharing data, and encrypt the tag information and the first key by using the initial encryption parameters, the encryption public parameters, and the first attribute value, the second attribute value, and the encryption value stored in each leaf node in the attribute tree to obtain a first ciphertext, a second ciphertext, a third ciphertext, a first encryption verification parameter, and a second encryption verification parameter; and Used to construct a data sharing credential using the third ciphertext, the first encryption verification parameter and the second encryption verification parameter, and to construct a ciphertext set using the first ciphertext, the second ciphertext and the encrypted aviation material sharing data; A data sharing unit, used for consensus-making the data sharing credential, the attribute tree and the ciphertext set in the alliance chain, so as to complete the data sharing of the aviation material sharing data in the alliance chain after consensus, wherein the alliance chain includes a plurality of alliance nodes, and any alliance node corresponds to a data user end or a data sharing end, and the data sharing credential and the attribute tree are used for identity verification of the alliance node that initiates the data viewing request in the alliance chain, and after the identity verification is passed, the alliance node that initiates the data viewing request decrypts the ciphertext set to obtain the aviation material sharing data; The tag information and the first key are encrypted using the initial encryption parameter, the encryption public parameter, and the first attribute value, the second attribute value, and the encrypted value stored in each leaf node in the attribute tree to obtain a first ciphertext, a second ciphertext, a third ciphertext, a first encryption verification parameter, and a second encryption verification parameter, including: Based on the first attribute value, the second attribute value and the encrypted value stored in each leaf node in the attribute tree, an encryption matrix is constructed, wherein each row vector in the encryption matrix corresponds to a leaf node, and each row vector contains the first attribute value, the second attribute value and the encrypted value in the corresponding leaf node; Constructing an encryption vector according to the initial encryption parameter and the encryption matrix; Using the encryption public parameter and the initial encryption parameter, encrypt the first key to obtain a first ciphertext; Based on the initial encryption parameter and the encryption public parameter, generate a second ciphertext, and generate a third ciphertext using the second ciphertext; Generate the first encryption verification parameter according to the encryption public parameter, the encryption vector and the encryption matrix; The tag information is encrypted using the encryption public parameter, the encryption vector, and the encryption matrix, so as to obtain a second encryption verification parameter after the encryption process, and complete the encryption process of the tag information and the first key.
