CN115828300A - Block chain-based government affair information processing method and system with privacy protection function - Google Patents

Block chain-based government affair information processing method and system with privacy protection function Download PDF

Info

Publication number
CN115828300A
CN115828300A CN202211596233.3A CN202211596233A CN115828300A CN 115828300 A CN115828300 A CN 115828300A CN 202211596233 A CN202211596233 A CN 202211596233A CN 115828300 A CN115828300 A CN 115828300A
Authority
CN
China
Prior art keywords
service
node
key
block chain
encryption
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211596233.3A
Other languages
Chinese (zh)
Inventor
谭林
程林海
米帅军
钟玉洁
钟思琪
刘齐军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hunan Tianhe Guoyun Technology Co Ltd
Original Assignee
Hunan Tianhe Guoyun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hunan Tianhe Guoyun Technology Co Ltd filed Critical Hunan Tianhe Guoyun Technology Co Ltd
Priority to CN202211596233.3A priority Critical patent/CN115828300A/en
Publication of CN115828300A publication Critical patent/CN115828300A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to a block chain-based government affair information processing method and system with privacy protection, comprising the following steps: s1, constructing a key management model and a business material circulation model; s2, registering the node and obtaining a public key and a private key through a key management model; s3, the user node initiates a service to be handled; s4, the user node submits the business materials, obtains the public key of the next process node from the business material circulation model, encrypts the business materials and uploads the public key to the block chain; s5, the government department nodes decrypt the service materials and process the services, and the public key encryption service materials of the next process node are obtained and uploaded to the block chain; s6, when the next flow node in the step S5 is a user node, returning a service handling result to the user node; otherwise, jumping to the step S5; and S7, the user node decrypts the service transaction result by using the private key to obtain plaintext information. The invention does not need to face the complicated authority management and verification process, protects the information safety of the business materials and avoids the risk of leakage of the business materials in circulation.

Description

Block chain-based government affair information processing method and system with privacy protection function
Technical Field
The invention relates to the technical field of government affair information processing, in particular to a block chain-based government affair information processing method and system with privacy protection.
Background
The government provides basic civilian service, public utility service, public welfare basic service, public safety service and the like for external affair service organizations. The government affair information processing usually involves a plurality of departments, and the next link in the transaction flow process needs the related business materials of the front link, which involves the flow of the government affair business materials and the sharing of data. The existing government affair information processing relies on offline to complete business processes such as application, examination and approval, the on-site intervention of an applicant is needed in the whole period of the offline process, the safety of information needs to be considered in the business flow transferring process, the problems related to personnel authority management and business material safety protection exist, the risk of leakage of business materials in the transferring process is avoided, the authority management relates to complex and tedious operations such as document building, authorization, authority modification and authority revocation, and the safe transfer of the business materials is also required to be continuously perfect in the government affair information processing process.
Disclosure of Invention
In order to solve at least one of the technical problems, the invention provides a government affair information processing method and system with privacy protection based on a block chain.
The purpose of the invention is realized by the following technical scheme:
the invention provides a block chain-based government affair information processing method with privacy protection, which comprises the following steps:
s1, constructing a key management model comprising a key function, an encryption function and a decryption function and a business material flow model for initiating flow business to a next flow according to business types and by combining the key management model;
s2, performing online registration on the user nodes and the government department nodes of the block chain, and acquiring encryption keys and decryption keys of the corresponding nodes through key functions;
s3, the user node initiates a service to be handled, and the service material circulation model reminds the user node of the required service material according to the service type initiated by the user node;
s4, when the user node submits the business material, the business material circulation model acquires an encryption key of the next process government department node, encrypts the business material through an encryption function to form an encryption material, and uploads the encryption material to a block chain;
s5, the government department nodes acquire encrypted materials from the block chain, the business material circulation model acquires decryption keys of the government department nodes, the decryption keys decrypt the encrypted materials through decryption functions to form decrypted materials, after corresponding business processing is carried out on the government department nodes, the business material circulation model acquires encryption keys of next process nodes, the processed materials are encrypted again through the encryption functions to form re-encrypted materials, and the re-encrypted materials are uploaded to the block chain;
s6, when the next process node in the step S5 is a user node, indicating that the service transaction is finished, and jumping to the next process; when the next procedure node in the step S5 is a government department node, the next procedure node indicates that the service needs to be continuously circulated in the government department, and the step S5 is skipped;
and S7, the user node acquires the re-encrypted material of the service handling result from the block chain through the service material circulation model, decrypts the re-encrypted material through the decryption key of the user node through the decryption function, and then acquires the service handling result information.
As a further improvement, in the step S1, the key management model generates an encryption public key and a decryption private key according to an asymmetric encryption algorithm through a key function.
As a further improvement, in the step S1, the service material circulation model initiates a circulation service to a next flow according to the circulation logic of the service type by an intelligent contract of the block chain.
As a further improvement, in the step S2, when the user node and the government department node obtain the encryption key and the decryption key of the corresponding node through the key function, the encryption key is stored in the digital certificate of the corresponding request node, and the decryption key is sent to the corresponding request node.
As a further improvement, the digital certificate of each requesting node is stored in a digital certificate library.
As a further improvement, in the step S4, the user node submits the service material, and when the service material is in multiple shares, the intelligent contract of the service material transfer model obtains the encryption key of the next process node, and encrypts each service material separately through the encryption function to form an encrypted material set and upload the encrypted material set to the block chain.
As a further improvement, in the step S4, when there are a plurality of next procedure government department nodes, the intelligent contract of the service material circulation model respectively obtains encryption keys of the plurality of government department nodes, and then encrypts the encryption keys through the encryption function to form encrypted materials to be uploaded to the block chain.
The invention provides a block chain-based government affair information processing method with privacy protection, which comprises the following steps: s1, constructing a key management model comprising a key function, an encryption function and a decryption function and a business material flow model for initiating flow business to a next flow according to business types and by combining the key management model; s2, performing online registration on the user node and the government department node of the block chain, and acquiring an encryption key and a decryption key of the corresponding node through a key function; s3, the user node initiates a service to be handled, and the service material circulation model reminds the user node of the required service material according to the service type initiated by the user node; s4, when the user node submits the business material, the business material circulation model acquires an encryption key of the next process government department node, encrypts the business material through an encryption function to form an encryption material, and uploads the encryption material to a block chain; s5, the government department nodes acquire encrypted materials from the block chain, the business material circulation model acquires decryption keys of the government department nodes, the decryption keys decrypt the encrypted materials through decryption functions to form decrypted materials, after corresponding business processing is carried out on the government department nodes, the business material circulation model acquires encryption keys of next process nodes, the processed materials are encrypted again through the encryption functions to form re-encrypted materials, and the re-encrypted materials are uploaded to the block chain; s6, when the next process node in the step S5 is a user node, indicating that the service transaction is finished, and jumping to the next process; when the next procedure node in the step S5 is a government department node, the service is indicated to be continuously circulated in the government department, and the step S5 is skipped; and S7, the user node acquires the re-encrypted material of the service handling result from the block chain through the service material circulation model, decrypts the re-encrypted material through the decryption key of the user node through the decryption function, and then acquires the service handling result information. The whole process of the invention utilizes the encryption function of the key management model to encrypt the service material of the user node by the encryption key of the next process node, and the next process node with the corresponding decryption key can decrypt and obtain the plaintext information of the service material, thereby replacing the authorization management or the complex authority verification which is commonly adopted in the prior art; the method and the system establish a government affair material circulation model, and only transfer the business material to the government affair department node related to business type handling proposed by the user node.
The invention also provides a block chain-based government affair information processing system with privacy protection, which comprises any improvement of the block chain-based government affair information processing method with privacy protection, wherein the system comprises an application layer, a service layer and a data layer, and the application layer: the system comprises a user or government department using terminal, a data layer and a service layer, wherein the user or government department using terminal is used for displaying information related to the service layer and the data layer; the service layer: the intelligent contract comprises a key function of a key management model and an intelligent contract of a business material circulation model; the data layer: including a digital certificate repository that stores digital certificates for requesting nodes.
According to the government affair information processing system with privacy protection based on the block chain, any improved technical content of the government affair information processing method with privacy protection based on the block chain is adopted, and the system has the same or corresponding technical effects, so that the system is not repeated.
Drawings
FIG. 1 is a schematic flow diagram of the present invention;
FIG. 2 is a schematic diagram of a key management model according to the present invention;
fig. 3 is a schematic structural diagram of a business material flow model according to the present invention.
Detailed Description
With reference to fig. 1, an embodiment of the present invention provides a block chain-based government affair information processing method with privacy protection, including the following steps:
s1, constructing a key management model capable of generating an encryption key and a decryption key and a business material flow model for initiating flow business to a next flow according to business types and the key management model.
As shown in connection with fig. 1, the key management model includes a key function, an encryption function, and a decryption function. The key function generates an encryption key and a decryption key through an asymmetric key algorithm, the encryption key and the decryption key generated by the embodiment are a pair of a public key and a private key, all nodes of the block chain network can acquire the public key to encrypt the service material through the encryption function, and only the private key corresponding to the public key can decrypt the service material when the decryption function decrypts, so that complicated authorization management and verification processes on user nodes and government department nodes during government information processing are avoided, the data security of the user node service material is protected, and meanwhile, the leakage of private data is avoided. The Key management model of this embodiment is implemented by Public Key Infrastructure (PKI), which is an Infrastructure established by using a Public Key mechanism and includes identity and Key management.
With reference to fig. 3, the service material transfer model initiates a transfer service to a next process according to the transfer logic of the service type by an intelligent contract of a block chain, and for the intelligent contract of a user node, obtains an encryption key of a next process node when the service material is submitted, encrypts the service material by an encryption function, obtains re-encryption data from the block chain when a service transaction result is received, and decrypts the re-encryption data by a decryption function according to a decryption key of the user node; and acquiring the encrypted material from the block chain aiming at the intelligent contract of the government department node, decrypting the encrypted material through a decryption function according to a decryption key of the government department node, and acquiring an encryption key of a next process node after the government department node processes corresponding business to encrypt the processed material again through the encryption function.
S2, performing online registration on the user nodes and the government department nodes of the block chain, wherein the user nodes comprise user information such as household register, gender, age and the like, the government department nodes comprise information such as government personnel basic data, work numbers and the like, and the registered user nodes and the government department nodes are added into the block chain network. The encryption key and the decryption key of the corresponding node are obtained through the key management model, the encryption key is stored in the digital certificate of the corresponding request node, the digital certificate of each request node is stored in the digital certificate library, the key management model and the business material flow transfer model are convenient to call the corresponding content of the digital certificate, the safety of the stable and private data of the business materials of the user node is protected, unnecessary leakage is avoided, and the decryption key is sent to the corresponding request node to be used for decrypting the corresponding encrypted business materials.
And S3, the user node initiates the service to be handled, and the service material circulation model reminds the user node of the required service material according to the service type initiated by the user node.
And S4, when the user node submits the business material, the business material circulation model acquires an encryption key of the next process government department node to encrypt the business material to form an encryption material, and the encryption material is uploaded to the block chain. When the service material is in multiple shares, the intelligent contract of the service material flow model obtains the encryption key of the next process node, and encrypts each service material respectively through the key function to form an encryption material set and upload the encryption material set to the block chain, which is specifically as follows:
input traffic material set file = { f) including user nodes 1 ,f 2 ,...,f n F is service material, n is the number of service material;
the output comprises a service handling result set result = { r = { (r) } 1 ,r 2 ,...,r m R represents service results, and m represents the number of the service results;
initializing a set of business transaction results
Figure BDA0003997421840000051
Circulating according to the fraction of the service material, and encrypting each service material and the encryption key of the next flow node as the parameters of an encryption function, wherein the flow encryption algorithm of the service material flow model comprises the following steps:
for i=1 to n do
Encrypt_userfile=Encrypt(f i ,pk t )
wherein Encrypt _ userfile is encrypted material which needs to be uploaded to the block chain after encryption, encrypt is an encryption function, f i For each business material, pk t And i is a positive integer of the public key of the next process node.
When a plurality of next process government department nodes are provided, the intelligent contract of the business material circulation model respectively obtains the encryption keys of the plurality of government department nodes, and then the encryption keys are encrypted through the key function to form encryption materials to be uploaded to the block chain, so that the plurality of government department nodes can conveniently check the relevant information of the previous business, and the specific circulation algorithm of the business material circulation model is as follows:
and circulating according to the number of the nodes of the next procedure government department, and encrypting each service material and the encryption key of the next procedure node as the parameters of the encryption function, wherein the specific codes are as follows:
for i=1 to n do
for j=1 to k do
Encrypt_file=Encrypt(fi,pkj)
wherein j is a positive integer, k is the number of the next procedure government department nodes, and pkj is the public key of the next procedure government department nodes.
S5, the government department nodes acquire the encrypted materials from the block chain, the business material circulation model decrypts the encrypted materials through the decryption keys of the government department nodes to form decrypted materials, after the government department nodes process corresponding businesses, the business material circulation model acquires the encryption keys of the next process node to encrypt the processed materials again to form re-encrypted materials, and the re-encrypted materials are uploaded to the block chain. The specific flow decryption algorithm of the business material flow model is as follows:
and circulating according to the number of encrypted material shares acquired from the block chain, and decrypting by taking each encrypted material share and a decryption key of a government department node as parameters of a decryption function, wherein specific codes are as follows:
for i=1 to n do
Decrypt_userfile=Decrypt(Encrypt_userfile,sk t )
wherein, the decryption _ userfile is the decrypted material, the decryption is the decryption function, sk t Private key of government department node.
S6, when the next procedure node in the step S5 is the user node, judging if pk t =pk user When the service transaction is finished, jumping to the next flow; and when the next procedure node in the step S5 is the user node, which indicates that the service needs to continue to flow in the government department, the process goes to the step S5.
S7, the user node obtains the re-encrypted material result of the service handling result from the blockchain by the service material flow model 1 ,r 2 ,...,r m } Encrypt _ file, decrypting the re-encrypted material by the decryption key of the user node to obtain service transaction result information result = { r = 1 ,r 2 ,...,r m }。
The invention also provides a block chain-based government affair information processing system with privacy protection, which comprises any one of the preferred embodiments of the block chain-based government affair information processing method with privacy protection, and the system has the same or corresponding technical effects as or is not repeated herein, specifically, the system comprises an application layer, a service layer and a data layer,
the application layer: the method comprises the steps that a user or a government department uses a terminal, the terminal comprises but is not limited to a smart phone or a computer, the computer at least comprises a display, a processor and a memory, the terminal is used for displaying data related to a service layer and a data layer, and the terminal is used for assisting in processing logic content of the service layer and temporarily storing data required by the data layer, regardless of the condition that the terminal is used for operating the content of the embodiment for basic hardware of the smart phone or the computer.
The service layer: the intelligent contract comprises a key function of a key management model and an intelligent contract of a business material circulation model, wherein the key management model comprises the key function, an encryption function and a decryption function, the key function generates an encryption key and a decryption key through an asymmetric encryption algorithm, the intelligent contract of the business material circulation model initiates circulation business to a next flow according to circulation logic of business types, aiming at the intelligent contract of a user node, the encryption key of the next flow node is obtained when business materials are submitted, the business materials are encrypted through the encryption function, when a business handling result is received, re-encrypted data are obtained from a block chain, and the re-encrypted data are decrypted through the decryption function according to the decryption key of the user node; and acquiring the encrypted material from the block chain aiming at the intelligent contract of the government department node, decrypting the encrypted material through a decryption function according to a decryption key of the government department node, and acquiring an encryption key of a next process node after the government department node processes corresponding business to encrypt the processed material again through the encryption function.
The data layer: the digital certificate library is used for storing the digital certificate of the request node, so that a key management model and a business material flow transfer model of a business layer can call the corresponding content of the digital certificate conveniently, the safety of stable and private data of business materials of the user node is protected, and unnecessary leakage is avoided.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is specific and detailed, but not to be understood as limiting the scope of the invention. It should be noted that various changes and modifications can be made by those skilled in the art without departing from the spirit of the invention, and these changes and modifications are all within the scope of the invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (8)

1. A block chain-based government affair information processing method with privacy protection is characterized by comprising the following steps:
s1, constructing a key management model comprising a key function, an encryption function and a decryption function and a service material flow model for initiating flow service to a next flow according to the service type by combining the key management model;
s2, performing online registration on the user node and the government department node of the block chain, and acquiring an encryption key and a decryption key of the corresponding node through a key function;
s3, the user node initiates a service to be handled, and the service material circulation model reminds the user node of the required service material according to the service type initiated by the user node;
s4, when the user node submits the business material, the business material circulation model acquires an encryption key of a next process government department node, the encryption key encrypts the business material through an encryption function to form an encryption material, and the encryption material is uploaded to a block chain;
s5, the government department nodes acquire encrypted materials from the block chain, the business material circulation model acquires decryption keys of the government department nodes, the decryption keys decrypt the encrypted materials through decryption functions to form decrypted materials, after corresponding business processing is carried out on the government department nodes, the business material circulation model acquires encryption keys of next process nodes, the processed materials are encrypted again through the encryption functions to form re-encrypted materials, and the re-encrypted materials are uploaded to the block chain;
s6, when the next process node in the step S5 is a user node, indicating that the service transaction is finished, and jumping to the next process; when the next procedure node in the step S5 is a government department node, the service is indicated to be continuously circulated in the government department, and the step S5 is skipped;
and S7, the user node acquires the re-encrypted material of the service handling result from the block chain through the service material circulation model, decrypts the re-encrypted material through the decryption key of the user node through the decryption function, and then acquires the service handling result information.
2. The block chain-based government information processing method with privacy protection according to claim 1, wherein in step S1, the key management model generates an encryption public key and a decryption private key by a key function according to an asymmetric encryption algorithm.
3. The block chain-based government information processing method with privacy protection according to claim 1, wherein in the step S1, the business material circulation model initiates a circulation business to a next flow according to a circulation logic of a business type through an intelligent contract of the block chain.
4. The block chain-based government information processing method with privacy protection according to claim 1, wherein in the step S2, when the user node and the government department node obtain the encryption key and the decryption key of the corresponding node through a key function, the encryption key is stored in the digital certificate of the corresponding requesting node, and the decryption key is sent to the corresponding requesting node.
5. The block chain based government information processing method with privacy protection according to claim 4, wherein the digital certificate of each requesting node is stored in a digital certificate repository.
6. The block chain-based government information processing method with privacy protection according to claim 1, wherein in the step S4, the user node submits the service material, and when the service material is in multiple copies, an intelligent contract of the service material circulation model obtains an encryption key of a next process node, and encrypts each service material through an encryption function to form an encryption material set and uploads the encryption material set to the block chain.
7. The block chain-based government information processing method with privacy protection according to any one of claims 1 to 6, wherein in the step S4, when a plurality of next process government department nodes are provided, the intelligent contract of the business material circulation model respectively obtains encryption keys of the plurality of government department nodes, and then the encryption keys are encrypted by the encryption function to form encryption materials which are uploaded to the block chain.
8. A block chain based government information processing system with privacy protection, which comprises the block chain based government information processing method according to any one of claims 1 to 7, wherein the system comprises an application layer, a service layer and a data layer, the application layer: the system comprises a user or government department using terminal, a service layer and a data layer, wherein the user or government department using terminal is used for displaying information related to the service layer and the data layer; the service layer: the intelligent contract comprises a key function of a key management model and an intelligent contract of a business material circulation model; the data layer is as follows: including a digital certificate repository that stores digital certificates for requesting nodes.
CN202211596233.3A 2022-12-13 2022-12-13 Block chain-based government affair information processing method and system with privacy protection function Pending CN115828300A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211596233.3A CN115828300A (en) 2022-12-13 2022-12-13 Block chain-based government affair information processing method and system with privacy protection function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211596233.3A CN115828300A (en) 2022-12-13 2022-12-13 Block chain-based government affair information processing method and system with privacy protection function

Publications (1)

Publication Number Publication Date
CN115828300A true CN115828300A (en) 2023-03-21

Family

ID=85546831

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211596233.3A Pending CN115828300A (en) 2022-12-13 2022-12-13 Block chain-based government affair information processing method and system with privacy protection function

Country Status (1)

Country Link
CN (1) CN115828300A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116029539A (en) * 2023-03-30 2023-04-28 深圳市奥思网络科技有限公司 Project circulation method based on workflow and related components

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116029539A (en) * 2023-03-30 2023-04-28 深圳市奥思网络科技有限公司 Project circulation method based on workflow and related components
CN116029539B (en) * 2023-03-30 2023-06-09 深圳市奥思网络科技有限公司 Project circulation method based on workflow and related components

Similar Documents

Publication Publication Date Title
US11394561B2 (en) Digital transaction signing for multiple client devices using secured encrypted private keys
WO2020259635A1 (en) Method and apparatus for sharing blockchain data
WO2022247576A1 (en) Data processing method and apparatus, device, and computer-readable storage medium
US20160378949A1 (en) System, method, and apparatus for electronic prescription
US20210357914A1 (en) Constructing a Distributed Ledger Transaction on a Cold Hardware Wallet
JP6363032B2 (en) Key change direction control system and key change direction control method
CN107113314B (en) Method and device for heterogeneous data storage management in cloud computing
CN111523133A (en) Block chain and cloud data collaborative sharing method
CN111294203B (en) Information transmission method
CN109474616B (en) Multi-platform data sharing method and device and computer readable storage medium
WO2020224138A1 (en) Blockchain technology-based multi-party authorization method and device
WO2017061950A1 (en) Data security system and method for operation thereof
CN113162752A (en) Data processing method and device based on hybrid homomorphic encryption
CN113239403A (en) Data sharing method and device
WO2021098152A1 (en) Blockchain-based data processing method, device, and computer apparatus
TW202232913A (en) Generating shared keys
Parthasarathy et al. Secure distributed medical record storage using blockchain and emergency sharing using multi-party computation
CN115828300A (en) Block chain-based government affair information processing method and system with privacy protection function
CN116502732B (en) Federal learning method and system based on trusted execution environment
Roehsner et al. Probabilistic one-time programs using quantum entanglement
US20240097886A1 (en) End to end file-sharing schema using signed merkle tree randomly originated keys
US20220360429A1 (en) Location-key encryption system
JP6939313B2 (en) Distributed authentication system
KR101595056B1 (en) System and method for data sharing of intercloud enviroment
US11870887B2 (en) Managing central secret keys of a plurality of user devices associated with a single public key

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination