CN111709053A - Operation method and operation device based on loose coupling transaction network - Google Patents

Operation method and operation device based on loose coupling transaction network Download PDF

Info

Publication number
CN111709053A
CN111709053A CN202010527652.6A CN202010527652A CN111709053A CN 111709053 A CN111709053 A CN 111709053A CN 202010527652 A CN202010527652 A CN 202010527652A CN 111709053 A CN111709053 A CN 111709053A
Authority
CN
China
Prior art keywords
transaction
network
block chain
transaction information
accounting node
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.)
Granted
Application number
CN202010527652.6A
Other languages
Chinese (zh)
Other versions
CN111709053B (en
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202010527652.6A priority Critical patent/CN111709053B/en
Publication of CN111709053A publication Critical patent/CN111709053A/en
Application granted granted Critical
Publication of CN111709053B publication Critical patent/CN111709053B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services

Abstract

The invention provides an operation method and an operation device based on a loose coupling transaction network, wherein the method comprises the following steps: establishing a loosely coupled transaction network based on a blockchain network; wherein the loosely coupled transaction network comprises: a consensus accounting node in the block chain network, an authentication center and each participant in the block chain network; and performing attribute encryption processing on the transaction information corresponding to each participant through the consensus accounting node and the authentication center. The invention can reduce the risks of information leakage and external attack in multi-party operation based on the loosely coupled block chain, thereby improving the privacy and the safety of operation data and improving the operation efficiency.

Description

Operation method and operation device based on loose coupling transaction network
Technical Field
The invention relates to the technical field of block chains, in particular to an operation method and an operation device based on a loose coupling transaction network.
Background
With the spanning of the internet from information interconnection to value interconnection and then to order interconnection, the block chain technology comes up, is a decentralized consensus accounting technology, and has the characteristics of decentralization, no falsification, openness and transparency and the like. In order to avoid the core node from controlling the network, the blockchain network adopts a group consensus method to ensure the consistency of the transaction. Specifically, the blockchain network is provided with a plurality of nodes for consensus accounting, each node participates in the consensus accounting and stores the full-amount account book, and the modification of the single node on the full-amount account book cannot influence the decision of group consensus in the blockchain network, so that the non-falsification, safety and reliability of a transaction result are ensured.
Blockchain networks include a large number of nodes participating in consensus billing, but in most cases transactions occur between only a limited number of parties, for example: private article transaction, information sharing, data transfer and the like all occur in a limited range, and transaction information generated by limited transaction parties is transmitted to the whole network, so that the risk of privacy data leakage is increased, and the efficiency of transaction concurrency is reduced. At present, in order to solve the above problems, a loose coupling trading circle mode is adopted, namely a temporary consensus trading circle is formed by autonomously selecting partners. The loosely coupled trading circle has the characteristics of temporality, uncertainty and consistency, a trading party can independently select joining or quitting time, uncertainty exists in scale, life cycle, trading type and the like, and the consistency of group consensus needs to be guaranteed in a limited range.
With the establishment of the loosely coupled transaction circle, the transaction data of the participants has privacy and confidentiality, and the transaction data owner allows authorized persons to access, but the risk of information leakage and external attack exists.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides an operation method and an operation device based on a loosely coupled transaction network, which can reduce the risks of information leakage and external attack in block chain multi-party operation based on loose coupling, thereby improving the privacy and the safety of operation data and improving the operation efficiency.
In order to solve the technical problems, the invention provides the following technical scheme:
in a first aspect, the present invention provides a method for operating based on a loosely coupled transaction network, including:
establishing a loosely coupled transaction network based on a blockchain network; wherein the loosely coupled transaction network comprises: a consensus accounting node in the block chain network, an authentication center and each participant in the block chain network;
and performing attribute encryption processing on the transaction information corresponding to each participant through the consensus accounting node and the authentication center.
Further, after the attribute encryption processing is performed on the transaction information corresponding to each of the participants through the common identification accounting node and the authentication center, the method further includes:
verifying an access request sent by a transaction information access party;
and after the access request is verified, the consensus accounting node returns the encrypted transaction information to the transaction information access party so that the transaction information access party decrypts the encrypted transaction information according to the attribute key of the transaction information access party.
Further, after the establishing the loosely coupled transaction network based on the blockchain network, the method further includes:
and generating a transaction certificate of the loosely coupled transaction network based on the common identification accounting node in the blockchain network and the authentication center in the blockchain network, and sending the transaction certificate to each participant.
Wherein the generating of the transaction certificate of the loosely coupled transaction network based on the consensus accounting node in the blockchain network and the authentication center in the blockchain network comprises:
a public key and a private key are generated by an authentication center in the block chain network, and a transaction certificate is generated according to the public key, the private key, the attribute of the participant and the attribute of the consensus accounting node;
the public key is broadcast and issued to the loose coupling transaction network, and the private key is stored in the authentication center in the block chain network.
In a second aspect, the present invention provides a work device based on a loosely coupled transaction network, comprising:
the network unit is used for establishing a loosely coupled transaction network based on a block chain network; wherein the loosely coupled transaction network comprises: a consensus accounting node in the block chain network, an authentication center and each participant in the block chain network;
and the encryption unit is used for performing attribute encryption processing on the transaction information corresponding to each participant through the consensus accounting node and the authentication center.
Further, the method also comprises the following steps:
the verification unit is used for verifying the access request sent by the transaction information access party;
and the feedback unit is used for returning the encrypted transaction information to the transaction information access party by the consensus accounting node after the access request is verified, so that the transaction information access party decrypts the encrypted transaction information according to the attribute key of the transaction information access party.
Further, the method also comprises the following steps:
and the certificate unit is used for generating a transaction certificate of the loosely coupled transaction network based on the consensus accounting node in the blockchain network and the authentication center in the blockchain network, and sending the transaction certificate to each participant.
Wherein the certificate unit includes:
the certificate generation subunit is used for generating a public key and a private key by a certificate authority in the blockchain network, and generating a transaction certificate according to the public key, the private key, the attribute of the participant and the attribute of the consensus accounting node;
the public key is broadcast and issued to the loose coupling transaction network, and the private key is stored in the authentication center in the block chain network.
In a third aspect, the present invention provides an electronic device, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the loose coupled transaction network based operation method when executing the program.
In a fourth aspect, the present invention provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of operation based on a loosely coupled transaction network.
According to the technical scheme, the invention provides the operation method and the device based on the loose coupling transaction network, which are characterized in that the loose coupling transaction network based on the block chain network is established; wherein the loosely coupled transaction network comprises: a consensus accounting node in the block chain network, an authentication center and each participant in the block chain network; the attribute encryption processing is carried out on the transaction information corresponding to each participant through the common identification accounting node and the authentication center, so that the risks of information leakage and external attack in block chain multi-party operation based on loose coupling can be reduced, the privacy and the safety of operation data are improved, and the operation efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a first flowchart of a method for operating a transaction network based on a loose coupling in an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a transaction network based on loose coupling in an embodiment of the present invention.
Fig. 3 is a second flowchart of a method for operating a transaction network based on loose coupling according to an embodiment of the present invention.
Fig. 4 is a third flowchart of a loosely-coupled transaction network-based operation method according to an embodiment of the present invention.
Fig. 5 is a flowchart illustrating an example of a method for operating a transaction network based on loose coupling according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of an operating device based on a loosely coupled transaction network according to an embodiment of the present invention.
Fig. 7 is a schematic structural diagram of an electronic device in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
According to the operation method and the operation device for the loose coupling transaction circle, provided by the embodiment of the invention, the information protection of multiple transaction parties in the loose coupling transaction circle is realized by introducing a Multi-authority ABE (ciphertext policy attribute encryption method), thus collusion attack is effectively prevented, and the security protection of transactions in the transaction circle is improved.
The block chain multi-party transaction based on loose coupling refers to a series of transaction clusters executed in a loose coupling transaction circle, and each transaction party achieves a final transaction state through a series of transactions. Formally, the blockchain transaction is represented by T, the state is represented by sigma, and the states before and after the transaction satisfy:
σt+1=γ(σt,T)
where γ represents the state transfer function. To distinguish from conventional blockchain transactions, a version number v, i.e. γ, is introduced in the state transfer functionvAnd v ∈ N, v ≧ 0, when v is 0, γvRepresenting a traditional blockchain transaction; when v > 0, γvIndicating that a loosely coupled transaction is to be performed. It should be noted that the version number v is unique in the whole network, and the used version number v is stored in the whole network common identification accounting node for distinguishing intelligent contract state transfer functions of different loose coupling transaction circles. In particular toThe following were used:
σt+1=γvt,T)
the above relationship formalizes as:
Figure BDA0002534211890000051
executing a loosely coupled intelligent contract state transfer function gammavAnd then, the transaction information is only stored in the node to which the transaction party belongs.
Let the loose coupling trade circle have n accounting nodes Pb (i) (i ∈ n), and the participant Ci(j) (j ∈ m) accessing the loosely coupled trading circle through accounting section Pb (i), PCA (i) representing the attribute authority of the loosely coupled trading circle.
The following describes the operation method and the operation device of the loosely coupled transaction circle according to the embodiment of the present invention in detail.
The invention provides an embodiment of an operation method based on a loose coupling transaction network, which specifically comprises the following contents in reference to fig. 1:
s101: establishing a loosely coupled transaction network based on a blockchain network; wherein the loosely coupled transaction network comprises: a consensus accounting node in the block chain network, an authentication center and each participant in the block chain network;
in this step, referring to fig. 2, the blockchain network includes: a blockchain infrastructure cloud (BaaS), a blockchain consensus accounting node 22 (attribute authority), and a blockchain authentication center 21.
Wherein, block chain infrastructure cloud (BaaS): the virtual node is responsible for providing and distributing network resources, computing resources and storage resources according to a networking resource request of a user, creating a block chain networking service, and supporting the selection of a block chain product mirror image and the creation of a virtual node according to a block chain product standard of the user.
Block chain consensus accounting node 22: in the blockchain infrastructure cloud (BaaS), the blockchain consensus accounting node 22 is also an attribute authority, and is a virtual computing node. The block chain network is provided with a plurality of block chain consensus accounting nodes 22 which are used as block chain computing nodes and mainly responsible for block chain transaction access and processing and intelligent contract execution, transaction consensus and transaction accounting. As a node of the loose coupling transaction circle, the attribute encryption and decryption service is provided for the accessed transaction participants 23.
Block chain authentication center 21: and the system is responsible for providing the safety certification of the block chain network block chain common identification accounting node and providing a network-level public key for transaction information. The block chain authentication center 21 executes setup (), CreateUser (), and CreateAuthority () algorithms, which respectively represent operations of initializing, creating a user, and creating an attribute authority center.
setup () algorithm is used to generate public key M of blockchain certificate authority 21CAAnd a secret key SCA
The CreateUser () algorithm is used to create public and secret keys Mu and Su for the participating user u
The CreateAuthority () algorithm is used to provide a standard random hash function for the property authority whose hash value serves as the key Sa for the property authority.
In this step, the block chain network based loosely coupled transaction network 24 includes: a blockchain infrastructure cloud (BaaS), a blockchain consensus accounting node 22 (attribute authority), a blockchain authentication center 21, and a loosely coupled transaction participant 23. The loosely coupled transaction participants 23 are in a loosely coupled transaction circle. Loosely coupled transaction participants 23: the transaction participant 23 executing the blockchain consensus transaction provides an attribute access policy for the owned transaction information, and accesses the loosely coupled transaction circle through the blockchain consensus accounting node 22 to execute the transaction, encrypt and authorize the transaction information.
Loose coupling circle of transaction: in the blockchain infrastructure cloud, a transaction circle is temporarily composed of transaction parties. The transaction party randomly selects a temporary transaction circle established by other transaction parties according to business requirements, a local consensus protocol is executed for achieving transaction, and transaction data are only stored in a node where the transaction party is located and are not diffused to nodes of the whole network like a traditional block chain network.
S102: and performing attribute encryption processing on the transaction information corresponding to each participant through the consensus accounting node and the authentication center.
In this step, the consensus accounting node encrypts the transaction information of the participating party. Specifically, attribute encryption is performed on the transaction information T based on a public key of the certificate authority.
As can be seen from the above description, the operation method based on the loosely coupled transaction network provided in the embodiment of the present invention is implemented by establishing a loosely coupled transaction network based on a block chain network; wherein the loosely coupled transaction network comprises: a consensus accounting node in the block chain network, an authentication center and each participant in the block chain network; the attribute encryption processing is carried out on the transaction information corresponding to each participant through the common identification accounting node and the authentication center, so that the risks of information leakage and external attack in block chain multi-party operation based on loose coupling can be reduced, the privacy and the safety of operation data are improved, and the operation efficiency is improved.
In an embodiment of the present invention, referring to fig. 3, in an embodiment of the operation method based on the loosely coupled transaction network, the operation method further includes:
s103: verifying an access request sent by a transaction information access party;
s104: and after the access request is verified, the consensus accounting node returns the encrypted transaction information to the transaction information access party so that the transaction information access party decrypts the encrypted transaction information according to the attribute key of the transaction information access party.
In this embodiment, the transaction information access user submits an access transaction information T application to the belonging blockchain node b (which is also an attribute authorization center of the transaction information access user), and the blockchain node b sends the access request to the consensus accounting node where the transaction information T is located, and simultaneously sends the attribute information of the transaction information access user to the consensus accounting node.
And the consensus accounting node verifies whether the transaction information requester has the access right through a RequestAttribute () algorithm. If the detection fails, returning a Null value, indicating that the access user does not have the transaction information access authority, thereby ending the process. Otherwise, generating the attribute key of the transaction information access user. So that the transaction information access party decrypts the encrypted transaction information according to the attribute key of the transaction information access party. The transaction information access user acquires plaintext information T.
In an embodiment of the present invention, referring to fig. 4, in an embodiment of the operation method based on the loosely coupled transaction network, the operation method further includes:
s105: and generating a transaction certificate of the loosely coupled transaction network based on the common identification accounting node in the blockchain network and the authentication center in the blockchain network, and sending the transaction certificate to each participant.
In this embodiment, when the blockchain certificate authority is initialized, the initialization setup procedure setup () is started to generate the public key and the private key. The public key is released to the whole network through broadcasting, and the private key is stored locally.
The participation direction attribute authorization center applies for a certificate, the attribute authorization center sends the attribute of the participation party to the authentication center, the authentication center generates a public key and a private key, and generates a transaction certificate according to the public key, the private key, the attribute of the participation party and the attribute of the consensus accounting node.
To further illustrate the present invention, the present invention provides an implementation of an operation method based on a loosely coupled transaction network, which is shown in fig. 5 and specifically includes the following contents:
step S700: obtaining the unique version number G of the whole networkver
Step S701: sending local consensus request broadcast to other participant nodes, wherein the local consensus request broadcast comprises transaction consensus requests to a participant B and a participant C;
in this step, the transaction part a sends a local consensus request to the transaction part B, C through the verification node where the transaction part a is located, and the verification node where the transaction part a is located does not send a loose coupling request to the transaction part D any more because the transaction part D is not loosely coupled to the transaction circle; the request broadcast message contains address information for the target counterparty, which in this example includes counterparty B, C. Let PTA loosely coupled transaction message representing transaction T, formally:
PT=(v,n,(ρ12,...,ρn),...,chksum)
where v is the version number, n is the number of parties to the transaction, p12,...,ρnId numbers and IP addresses representing 1 to n transaction parties, chksum being a check bit.
Step S702: receiving a local transaction consensus request sent by a participant A;
in the step, the verification node where the transaction party A is located monitors and receives a local transaction consensus request from the transaction party A, and message security verification is carried out;
step S703: analyzing the request message, sending a local consensus request to the participants A, B and C, and performing transaction consensus by adopting PBFT (Byzantine fault tolerance);
in this step, the verification node where the transaction part a is located analyzes and extracts the message of the local transaction consensus request of the local consensus transaction, and obtains transaction parts of the loosely coupled transaction circle, which are the party a, the party B and the party C in this example; the transaction consensus is performed in the verification node where A, B, C is located, using the PBFT (byzantine fault tolerant) algorithm.
Step S704: receiving a local transaction consensus request sent by a participant A;
in the step, the verification node where the transaction party B is located monitors and receives a local transaction consensus request from the transaction party A, and performs message security check;
step S705: analyzing the request message, sending a local consensus request to the participants A, B and C, and performing transaction consensus by adopting PBFT (Byzantine fault tolerance);
in this step, the verification node where the transaction part B is located analyzes and extracts the message of the local transaction consensus request of the local consensus transaction, and obtains transaction parts of the loosely coupled transaction circle, which are the party a, the party B and the party C in this example; the transaction consensus is performed in the verification node where A, B, C is located, using the PBFT (byzantine fault tolerant) algorithm.
Step S706: receiving a local transaction consensus request sent by a participant A;
in the step, the verification node where the transaction party C is located monitors and receives a local transaction consensus request from the transaction party A, and performs message security check;
step S707: analyzing the request message, sending a local consensus request to the participants A, B and C, and performing transaction consensus by adopting PBFT (Byzantine fault tolerance);
in this step, the verification node where the transaction party C is located analyzes and extracts the message of the local transaction consensus request of the local consensus transaction, and obtains transaction parties of the loosely coupled transaction circle, which are the party a, the party B, and the party C in this example; the transaction consensus is performed in the verification node where A, B, C is located, using the PBFT (byzantine fault tolerant) algorithm.
Step S708: receiving transaction information according to the version number GverChecking the stock transaction;
in this step, at the verification node where the transaction part A is located, the transaction information from other nodes is received and the version number G is usedverAnd verifying the stock transaction. In order to verify the correctness of the transaction, the following relationship must be satisfied:
Hv=TRIE(LS(Π(σ,β)))
let TpRepresenting application-level Smart contract transactions, TsRepresenting the system level intelligent contract transaction, and expanding the following formula:
σt+1=Π(σt,B)
wherein the content of the first and second substances,
B=(...,(Tp,1,Ts,1),(Tp,0,Ts,0),...)
∏(σ,B)≡Ω(B,γ(γ(σ,(Tp,0,Ts,0)),(Tp,1,Ts,1))...)
Ω denotes the final state, B denotes the transaction sequence, Tp,0,Tp,1Respectively represent the 0 th and 1 st application-level intelligent contract transaction sequences, Ts,0,Ts,1Respectively representing the 0 th and 1 st system-level intelligent contract transaction sequences (T)p,0,Ts,0) Representing a combination of application-level and system-level intelligent contract transactions.
Step S709: and (5) the inventory transaction is successfully verified, and a notification broadcast is sent.
In this step, if the intelligent contract is successfully authenticated, a notification broadcast is sent.
Step S710: receiving transaction information according to the version number GverChecking the stock transaction;
in this step, at the verification node where the transaction party B is located, the transaction information from other nodes is received, and the version number G is usedverAnd verifying the stock transaction. Refer specifically to step S708.
Step S711: and (5) the inventory transaction is successfully verified, and a notification broadcast is sent.
In this step, if the intelligent contract is successfully authenticated, a notification broadcast is sent.
Step S712: receiving transaction information according to the version number GverChecking the stock transaction;
in this step, at the verification node where the transaction part C is located, the transaction information from other nodes is received, and the version number G is usedverAnd verifying the stock transaction. Refer specifically to step S708.
Step S713: the stock transaction is successfully verified, and a notification broadcast is sent;
in this step, if the intelligent contract is successfully authenticated, a notification broadcast is sent.
Step S714: executing an intelligent contract, forming a Hash by a public key provided by a user, a previous block Hash and a current transaction Hash, and simultaneously checking a local consensus message;
in the step, intelligent contract transaction is executed, a public key provided by a user, a previous block Hash and a current transaction Hash form Hash together, and meanwhile, local consensus information is checked, and transaction information is stored locally. Formally expressed as:
HV=kec(PHV,THV,Ou)
wherein HVExpressed as the Hash value of the current transaction, kec represents the Hash function calculated using the keccak-256 algorithm, PHVRepresenting the block Hash, TH of the preceding entryVCurrent transaction group Hash, OuIndicating the user public key (u ═ B1).
Step S715: executing an intelligent contract, forming a Hash by a public key provided by a user, a previous block Hash and a current transaction Hash, and simultaneously checking a local consensus message;
in the step, intelligent contract transaction is executed, a public key provided by a user, a previous block Hash and a current transaction Hash form Hash together, and meanwhile, local consensus information is checked, and transaction information is stored locally. Refer to step S714.
Step S716: executing an intelligent contract, forming a Hash by a public key provided by a user, a previous block Hash and a current transaction Hash, and simultaneously checking a local consensus message;
in the step, intelligent contract transaction is executed, a public key provided by a user, a previous block Hash and a current transaction Hash form Hash together, and meanwhile, local consensus information is checked, and transaction information is stored locally. Refer to step S714.
Step S717: the node where the participant is located, namely the attribute authorization center, is responsible for encrypting the transaction information of the participant.
In this step, party a has public keys Mu1, Mu 2.., Mu, generates a ciphertext access policy a (PK, M, a, Mu1, Mu2, …, Mu), and the party node combines a to generate a ciphertext CTA and stores the transaction information locally.
Step S718: the node where the participant is located, namely the attribute authorization center, is responsible for encrypting the transaction information of the participant.
In this step, party B has public keys Mu1, Mu 2.., Mu, generates a ciphertext access policy a (PK, M, a, Mu1, Mu2, …, Mu), and party node combines a to generate a ciphertext CTA and stores transaction information locally.
Step S719: the node where the participant is located, namely the attribute authorization center, is responsible for encrypting the transaction information of the participant.
In this step, the participant C has the public keys Mu1, Mu 2.., Mu, generates a ciphertext access policy a (PK, M, a, Mu1, Mu2, …, Mu), and the participant node combines a to generate a ciphertext CTA and stores the transaction information locally.
From the above description, it can be known that all parties participating in the loose coupling transaction circle can be used as data providers, and used as authorization subjects to encrypt transaction information according to a set ciphertext policy, that is, attribute encryption is performed by providing an attribute policy based on the ciphertext policy, so as to ensure that users meeting attribute conditions have access rights.
An embodiment of the present invention provides a specific implementation manner of an operation device based on a loosely coupled transaction network, which is capable of implementing all contents in the operation method based on a loosely coupled transaction network, and referring to fig. 6, the operation device based on a loosely coupled transaction network specifically includes the following contents:
a network unit 10 for establishing a loosely coupled transaction network based on a blockchain network; wherein the loosely coupled transaction network comprises: a consensus accounting node in the block chain network, an authentication center and each participant in the block chain network;
and the encryption unit 20 is configured to perform attribute encryption processing on the transaction information corresponding to each of the parties through the common identification accounting node and the authentication center.
Further, the method also comprises the following steps: the verification unit is used for verifying the access request sent by the transaction information access party;
and the feedback unit is used for returning the encrypted transaction information to the transaction information access party by the consensus accounting node after the access request is verified, so that the transaction information access party decrypts the encrypted transaction information according to the attribute key of the transaction information access party.
Further, the method also comprises the following steps:
and the certificate unit is used for generating a transaction certificate of the loosely coupled transaction network based on the consensus accounting node in the blockchain network and the authentication center in the blockchain network, and sending the transaction certificate to each participant.
Wherein the certificate unit includes:
the certificate generation subunit is used for generating a public key and a private key by a certificate authority in the blockchain network, and generating a transaction certificate according to the public key, the private key, the attribute of the participant and the attribute of the consensus accounting node;
the public key is broadcast and issued to the loose coupling transaction network, and the private key is stored in the authentication center in the block chain network.
The embodiment of the operation apparatus based on the loosely coupled transaction network provided by the present invention may be specifically used to execute the processing procedure of the embodiment of the operation method based on the loosely coupled transaction network in the above embodiment, and the functions of the embodiment are not described herein again, and reference may be made to the detailed description of the embodiment of the method.
As can be seen from the above description, the operation device based on the loosely coupled transaction network according to the embodiment of the present invention establishes the loosely coupled transaction network based on the blockchain network; wherein the loosely coupled transaction network comprises: a consensus accounting node in the block chain network, an authentication center and each participant in the block chain network; the attribute encryption processing is carried out on the transaction information corresponding to each participant through the common identification accounting node and the authentication center, so that the risks of information leakage and external attack in block chain multi-party operation based on loose coupling can be reduced, the privacy and the safety of operation data are improved, and the operation efficiency is improved.
The application provides an embodiment of an electronic device for implementing all or part of contents in the operation method based on the loose coupling transaction network, where the electronic device specifically includes the following contents:
a processor (processor), a memory (memory), a communication Interface (Communications Interface), and a bus; the processor, the memory and the communication interface complete mutual communication through the bus; the communication interface is used for realizing information transmission between related devices; the electronic device may be a desktop computer, a tablet computer, a mobile terminal, and the like, but the embodiment is not limited thereto. In this embodiment, the electronic device may be implemented with reference to the embodiment of the method for implementing the operation based on the loosely coupled transaction network and the embodiment of the apparatus for implementing the operation based on the loosely coupled transaction network, which are incorporated herein, and repeated details are not repeated herein.
Fig. 7 is a schematic block diagram of a system configuration of an electronic device 9600 according to an embodiment of the present application. As shown in fig. 7, the electronic device 9600 can include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. Notably, this fig. 7 is exemplary; other types of structures may also be used in addition to or in place of the structure to implement telecommunications or other functions.
In one embodiment, the functionality of a loosely coupled transaction network based job may be integrated into the central processor 9100. The central processor 9100 may be configured to control as follows:
establishing a loosely coupled transaction network based on a blockchain network; wherein the loosely coupled transaction network comprises: a consensus accounting node in the block chain network, an authentication center and each participant in the block chain network; and performing attribute encryption processing on the transaction information corresponding to each participant through the consensus accounting node and the authentication center.
In another embodiment, the loosely-coupled transaction network based job device may be configured separately from the central processor 9100, for example, the loosely-coupled transaction network based job may be configured as a chip connected to the central processor 9100, and the function of the loosely-coupled transaction network based job may be implemented by the control of the central processor.
As shown in fig. 7, the electronic device 9600 may further include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is noted that the electronic device 9600 also does not necessarily include all of the components shown in fig. 7; further, the electronic device 9600 may further include components not shown in fig. 7, which may be referred to in the art.
As shown in fig. 7, a central processor 9100, sometimes referred to as a controller or operational control, can include a microprocessor or other processor device and/or logic device, which central processor 9100 receives input and controls the operation of the various components of the electronic device 9600.
The memory 9140 can be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information relating to the failure may be stored, and a program for executing the information may be stored. And the central processing unit 9100 can execute the program stored in the memory 9140 to realize information storage or processing, or the like.
The input unit 9120 provides input to the central processor 9100. The input unit 9120 is, for example, a key or a touch input device. Power supply 9170 is used to provide power to electronic device 9600. The display 9160 is used for displaying display objects such as images and characters. The display may be, for example, an LCD display, but is not limited thereto.
The memory 9140 can be a solid state memory, e.g., Read Only Memory (ROM), Random Access Memory (RAM), a SIM card, or the like. There may also be a memory that holds information even when power is off, can be selectively erased, and is provided with more data, an example of which is sometimes called an EPROM or the like. The memory 9140 could also be some other type of device. Memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application/function storage portion 9142, the application/function storage portion 9142 being used for storing application programs and function programs or for executing a flow of operations of the electronic device 9600 by the central processor 9100.
The memory 9140 can also include a data store 9143, the data store 9143 being used to store data, such as contacts, digital data, pictures, sounds, and/or any other data used by an electronic device. The driver storage portion 9144 of the memory 9140 may include various drivers for the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging applications, contact book applications, etc.).
The communication module 9110 is a transmitter/receiver 9110 that transmits and receives signals via an antenna 9111. The communication module (transmitter/receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, which may be the same as in the case of a conventional mobile communication terminal.
Based on different communication technologies, a plurality of communication modules 9110, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, may be provided in the same electronic device. The communication module (transmitter/receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide audio output via the speaker 9131 and receive audio input from the microphone 9132, thereby implementing ordinary telecommunications functions. The audio processor 9130 may include any suitable buffers, decoders, amplifiers and so forth. In addition, the audio processor 9130 is also coupled to the central processor 9100, thereby enabling recording locally through the microphone 9132 and enabling locally stored sounds to be played through the speaker 9131.
An embodiment of the present invention further provides a computer-readable storage medium capable of implementing all the steps in the operation method based on the loosely-coupled transaction network in the above embodiment, where the computer-readable storage medium stores thereon a computer program, and when the computer program is executed by a processor, the computer program implements all the steps in the operation method based on the loosely-coupled transaction network in the above embodiment, for example, when the processor executes the computer program, the processor implements the following steps:
establishing a loosely coupled transaction network based on a blockchain network; wherein the loosely coupled transaction network comprises: a consensus accounting node in the block chain network, an authentication center and each participant in the block chain network; and performing attribute encryption processing on the transaction information corresponding to each participant through the consensus accounting node and the authentication center.
Although the present invention provides method steps as described in the examples or flowcharts, more or fewer steps may be included based on routine or non-inventive labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. When an actual apparatus or client product executes, it may execute sequentially or in parallel (e.g., in the context of parallel processors or multi-threaded processing) according to the embodiments or methods shown in the figures.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, apparatus (system) or computer program product. Accordingly, embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment. In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations. It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict. The present invention is not limited to any single aspect, nor is it limited to any single embodiment, nor is it limited to any combination and/or permutation of these aspects and/or embodiments. Moreover, each aspect and/or embodiment of the present invention may be utilized alone or in combination with one or more other aspects and/or embodiments thereof.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention, and they should be construed as being included in the following claims and description.

Claims (10)

1. An operation method based on a loose coupling transaction network is characterized by comprising the following steps:
establishing a loosely coupled transaction network based on a blockchain network; wherein the loosely coupled transaction network comprises: a consensus accounting node in the block chain network, an authentication center and each participant in the block chain network;
and performing attribute encryption processing on the transaction information corresponding to each participant through the consensus accounting node and the authentication center.
2. The operation method based on the loosely coupled transaction network of claim 1, wherein after the attribute encryption processing is performed on the transaction information corresponding to each of the participants through the consensus accounting node and the authentication center, the operation method further comprises:
verifying an access request sent by a transaction information access party;
and after the access request is verified, the consensus accounting node returns the encrypted transaction information to the transaction information access party so that the transaction information access party decrypts the encrypted transaction information according to the attribute key of the transaction information access party.
3. The method for operating a loosely-coupled transaction network-based system according to claim 1, wherein after the establishing the loosely-coupled transaction network based on the blockchain network, the method further comprises:
and generating a transaction certificate of the loosely coupled transaction network based on the common identification accounting node in the blockchain network and the authentication center in the blockchain network, and sending the transaction certificate to each participant.
4. The method of claim 3, wherein the generating the transaction certificate of the loosely-coupled transaction network based on the consensus accounting node in the blockchain network and the certificate authority in the blockchain network comprises:
a public key and a private key are generated by an authentication center in the block chain network, and a transaction certificate is generated according to the public key, the private key, the attribute of the participant and the attribute of the consensus accounting node;
the public key is broadcast and issued to the loose coupling transaction network, and the private key is stored in the authentication center in the block chain network.
5. An operation device based on a loose coupling transaction network, comprising:
the network unit is used for establishing a loosely coupled transaction network based on a block chain network; wherein the loosely coupled transaction network comprises: a consensus accounting node in the block chain network, an authentication center and each participant in the block chain network;
and the encryption unit is used for performing attribute encryption processing on the transaction information corresponding to each participant through the consensus accounting node and the authentication center.
6. The loosely-coupled transaction network-based work device of claim 5, further comprising:
the verification unit is used for verifying the access request sent by the transaction information access party;
and the feedback unit is used for returning the encrypted transaction information to the transaction information access party by the consensus accounting node after the access request is verified, so that the transaction information access party decrypts the encrypted transaction information according to the attribute key of the transaction information access party.
7. The loosely-coupled transaction network-based work device of claim 5, further comprising:
and the certificate unit is used for generating a transaction certificate of the loosely coupled transaction network based on the consensus accounting node in the blockchain network and the authentication center in the blockchain network, and sending the transaction certificate to each participant.
8. The loosely coupled transaction network-based work device of claim 7, wherein the certification unit comprises:
the certificate generation subunit is used for generating a public key and a private key by a certificate authority in the blockchain network, and generating a transaction certificate according to the public key, the private key, the attribute of the participant and the attribute of the consensus accounting node;
the public key is broadcast and issued to the loose coupling transaction network, and the private key is stored in the authentication center in the block chain network.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the steps of the method of operation based on a loosely coupled transaction network of any of claims 1 to 4.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of operation based on a loosely coupled transaction network of any one of claims 1 to 4.
CN202010527652.6A 2020-06-11 2020-06-11 Operation method and operation device based on loose coupling transaction network Active CN111709053B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010527652.6A CN111709053B (en) 2020-06-11 2020-06-11 Operation method and operation device based on loose coupling transaction network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010527652.6A CN111709053B (en) 2020-06-11 2020-06-11 Operation method and operation device based on loose coupling transaction network

Publications (2)

Publication Number Publication Date
CN111709053A true CN111709053A (en) 2020-09-25
CN111709053B CN111709053B (en) 2024-04-05

Family

ID=72540142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010527652.6A Active CN111709053B (en) 2020-06-11 2020-06-11 Operation method and operation device based on loose coupling transaction network

Country Status (1)

Country Link
CN (1) CN111709053B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112231731A (en) * 2020-10-23 2021-01-15 中国工商银行股份有限公司 Loosely coupled blockchain transaction method and blockchain link point
CN117640255A (en) * 2024-01-25 2024-03-01 齐鲁工业大学(山东省科学院) Anti-35820 trap searchable data sharing method and system for Internet of things

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106503994A (en) * 2016-11-02 2017-03-15 西安电子科技大学 Block chain private data access control method based on encryption attribute
CN107180350A (en) * 2017-03-31 2017-09-19 唐晓领 A kind of method of the multi-party shared transaction metadata based on block chain, apparatus and system
CN107483198A (en) * 2017-09-25 2017-12-15 中国科学院信息工程研究所 A kind of block catenary system supervised and method
CN107911216A (en) * 2017-10-26 2018-04-13 矩阵元技术(深圳)有限公司 A kind of block chain transaction method for secret protection and system
WO2018076761A1 (en) * 2016-10-27 2018-05-03 上海亿账通区块链科技有限公司 Block chain-based transaction permission control method and system, electronic device, and storage medium
CN109064324A (en) * 2018-06-15 2018-12-21 重庆金融资产交易所有限责任公司 Method of commerce, electronic device and readable storage medium storing program for executing based on alliance's chain
CN109635585A (en) * 2018-12-07 2019-04-16 深圳市智税链科技有限公司 Method, agent node and the medium of Transaction Information are inquired in block chain network
US20190123895A1 (en) * 2017-10-23 2019-04-25 Cygnetise Limited Methods and apparatus for verifying a user transaction
CN109767220A (en) * 2019-01-15 2019-05-17 中国联合网络通信集团有限公司 Method of commerce based on block chain and the transaction system based on block chain

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018076761A1 (en) * 2016-10-27 2018-05-03 上海亿账通区块链科技有限公司 Block chain-based transaction permission control method and system, electronic device, and storage medium
CN106503994A (en) * 2016-11-02 2017-03-15 西安电子科技大学 Block chain private data access control method based on encryption attribute
CN107180350A (en) * 2017-03-31 2017-09-19 唐晓领 A kind of method of the multi-party shared transaction metadata based on block chain, apparatus and system
CN107483198A (en) * 2017-09-25 2017-12-15 中国科学院信息工程研究所 A kind of block catenary system supervised and method
US20190123895A1 (en) * 2017-10-23 2019-04-25 Cygnetise Limited Methods and apparatus for verifying a user transaction
CN107911216A (en) * 2017-10-26 2018-04-13 矩阵元技术(深圳)有限公司 A kind of block chain transaction method for secret protection and system
CN109064324A (en) * 2018-06-15 2018-12-21 重庆金融资产交易所有限责任公司 Method of commerce, electronic device and readable storage medium storing program for executing based on alliance's chain
CN109635585A (en) * 2018-12-07 2019-04-16 深圳市智税链科技有限公司 Method, agent node and the medium of Transaction Information are inquired in block chain network
CN109767220A (en) * 2019-01-15 2019-05-17 中国联合网络通信集团有限公司 Method of commerce based on block chain and the transaction system based on block chain

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112231731A (en) * 2020-10-23 2021-01-15 中国工商银行股份有限公司 Loosely coupled blockchain transaction method and blockchain link point
CN112231731B (en) * 2020-10-23 2023-12-15 中国工商银行股份有限公司 Loosely coupled blockchain transaction method and blockchain link points
CN117640255A (en) * 2024-01-25 2024-03-01 齐鲁工业大学(山东省科学院) Anti-35820 trap searchable data sharing method and system for Internet of things
CN117640255B (en) * 2024-01-25 2024-04-09 齐鲁工业大学(山东省科学院) Anti-35820 trap searchable data sharing method and system for Internet of things

Also Published As

Publication number Publication date
CN111709053B (en) 2024-04-05

Similar Documents

Publication Publication Date Title
EP3619884B1 (en) Secure dynamic threshold signature scheme employing trusted hardware
US11038682B2 (en) Communication method, apparatus and system, electronic device, and computer readable storage medium
CN110581854B (en) Intelligent terminal safety communication method based on block chain
JP5944501B2 (en) Facilitating group access control for data objects in peer-to-peer overlay networks
CN113194469B (en) 5G unmanned aerial vehicle cross-domain identity authentication method, system and terminal based on block chain
CN111404950B (en) Information sharing method and device based on block chain network and related equipment
KR20170057549A (en) Large simultaneous digital signature service system based on hash function and method thereof
CN111767569A (en) Access authorization method and node of block chain
CN113541970B (en) Method and system for using distributed identifier
CN113328997B (en) Alliance chain crossing system and method
CN111723384B (en) Data processing method, system and equipment
CN113255014B (en) Data processing method based on block chain and related equipment
CN111275555A (en) Block chain transaction processing method, transaction node and block chain system
US20090216837A1 (en) Secure reservationless conferencing
CN111709053B (en) Operation method and operation device based on loose coupling transaction network
CN110784318B (en) Group key updating method, device, electronic equipment, storage medium and communication system
CN112235290A (en) Block chain-based Internet of things equipment management method and first Internet of things equipment
CN116204914A (en) Trusted privacy computing method, device, equipment and storage medium
KR20200125279A (en) User Identification Method Using Block Chain and System thereof
CN114417309A (en) Bidirectional identity authentication method, device, equipment and storage medium
CN116743377B (en) Data processing method, device, equipment and storage medium based on blockchain key
CN116962444A (en) Data storage method and device based on state channel
CN117220881A (en) Block chain-based data processing method, equipment and readable storage medium
CN117675216A (en) Data processing method and related equipment
JP2024510461A (en) Multi-factor authentication with connection resilience

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
GR01 Patent grant
GR01 Patent grant