CN111709053B - 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
CN111709053B
CN111709053B CN202010527652.6A CN202010527652A CN111709053B CN 111709053 B CN111709053 B CN 111709053B CN 202010527652 A CN202010527652 A CN 202010527652A CN 111709053 B CN111709053 B CN 111709053B
Authority
CN
China
Prior art keywords
transaction
network
loosely coupled
authentication center
blockchain network
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.)
Active
Application number
CN202010527652.6A
Other languages
Chinese (zh)
Other versions
CN111709053A (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

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 loose coupling transaction network based on a blockchain network; wherein the loosely coupled transaction network includes: a consensus accounting node in the blockchain network, an authentication center in the blockchain network, and each participant; and carrying out attribute encryption processing on 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 the multi-party operation based on the loosely coupled blockchain, thereby improving the privacy and safety of the operation data and 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 blockchains, in particular to an operation method and an operation device based on a loose coupling transaction network.
Background
Along with the crossing of the Internet from information interconnection to value interconnection to order interconnection, the blockchain technology is generated, is a decentralization consensus accounting technology, and has the characteristics of decentralization, non-falsification, disclosure transparency and the like. In order to avoid the core node control network, the blockchain network adopts a group consensus method to ensure the consistency of transactions. Specifically, the blockchain network is provided with a plurality of nodes for consensus accounting, each node participates in the consensus accounting, the full-quantity account is stored, and the modification of the full-quantity account by a single node cannot influence the decision of group consensus in the blockchain network, so that the non-falsification of a transaction result is ensured, and the method is safe and reliable.
Blockchain networks include a large number of nodes that participate in consensus accounting, but in most cases transactions occur only between limited transaction parties, such as: 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 disclosure is increased, and the concurrent efficiency of the transaction is reduced. At present, in order to solve the above problems, a loose coupling transaction circle mode is adopted, namely, a temporary consensus transaction circle is formed by independently selecting partners. The loose coupling transaction ring has the characteristics of temporary property, uncertainty and consistency, a transaction party can autonomously select the joining or exiting time, uncertainty exists in scale, life cycle, transaction type and the like, and consistency of group consensus is required to be ensured in a limited range.
With the establishment of a loosely coupled transaction loop, the participant's transaction data has privacy and confidentiality, and the transaction data owner allows access to authorized persons, but there is also a risk of information disclosure and external attacks.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides an operation method and an operation device based on a loose coupling transaction network, which can reduce the risks of information leakage and external attack in the multi-party operation based on the loose coupling blockchain, thereby improving the privacy and the safety of operation data and 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 of operation based on a loosely coupled transaction network, comprising:
establishing a loose coupling transaction network based on a blockchain network; wherein the loosely coupled transaction network includes: a consensus accounting node in the blockchain network, an authentication center in the blockchain network, and each participant;
and carrying out attribute encryption processing on 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 participant by the common 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 passes the verification, the common accounting node returns 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 comprises:
a transaction certificate for a loosely coupled transaction network is generated based on a consensus billing node in the blockchain network and an authentication center in the blockchain network and sent to each of the participants.
Wherein the generating a transaction certificate for a loosely coupled transaction network based on a consensus billing node in the blockchain network and an authentication center in the blockchain network comprises:
an authentication center in the blockchain network 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 participant and the attribute of the consensus accounting node;
the public key is broadcast and released to the loosely coupled transaction network, and the private key is stored locally in an authentication center in the blockchain network.
In a second aspect, the present invention provides a working device based on a loosely coupled transaction network, comprising:
a network element for establishing a loosely coupled transaction network based on a blockchain network; wherein the loosely coupled transaction network includes: a consensus accounting node in the blockchain network, an authentication center in the blockchain network, and each participant;
and the encryption unit is used for carrying out attribute encryption processing on transaction information corresponding to each participant through the common accounting node and the authentication center.
Further, the method further 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 common accounting node after the access request passes the verification, 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 further comprises the following steps:
and a certificate unit for generating a transaction certificate of a loosely coupled transaction network based on a consensus accounting node in the blockchain network and an authentication center in the blockchain network, and transmitting the transaction certificate to each of the participants.
Wherein the certificate unit includes:
a certificate generation subunit, configured to generate a public key and a private key by using an authentication center in the blockchain network, and generate a transaction certificate according to the public key, the private key, the attribute of the participant, and the attribute of the common accounting node;
the public key is broadcast and released to the loosely coupled transaction network, and the private key is stored locally in an authentication center in the blockchain 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, the processor implementing the steps of the loose coupling transaction network based job method when the program is executed.
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, implements the steps of the loosely coupled transaction network-based job method.
According to the technical scheme, the invention provides an operation method and device based on a loose coupling transaction network, wherein the loose coupling transaction network based on a blockchain network is established; wherein the loosely coupled transaction network includes: a consensus accounting node in the blockchain network, an authentication center in the blockchain network, and each participant; the attribute encryption processing is carried out on the transaction information corresponding to each participant by the consensus accounting node and the authentication center, so that risks of information leakage and external attack in the loose-coupling block chain-based multiparty operation can be reduced, and the privacy and safety of operation data and the operation efficiency are improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a working method based on a loose coupling transaction network according to an embodiment of the invention.
Fig. 2 is a schematic diagram of a loose-coupling transaction network according to an embodiment of the present invention.
Fig. 3 is a second flow chart of a method of operation based on a loosely coupled transaction network in accordance with an embodiment of the invention.
Fig. 4 is a third flow chart of a method of operation based on a loosely coupled transaction network in accordance with an embodiment of the invention.
Fig. 5 is a flow chart of an example of a working method based on a loose coupling transaction network in an embodiment of the invention.
Fig. 6 is a schematic structural diagram of a working device based on a loosely coupled transaction network in an embodiment of the invention.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
According to the operation method and the operation device for the loose coupling transaction ring, the Multi-authority encryption method (Multi-authority ABE) of the ciphertext policy attribute of the Multi-authority is introduced, so that information protection of multiple transaction parties in the loose coupling transaction ring is achieved, collusion attack is effectively prevented, and security protection of transactions in the transaction ring is improved.
The block chain multiparty transaction based on loose coupling refers to a series of transaction clusters executed in a loose coupling transaction circle, and all transaction parties reach a final transaction state after a series of transactions. Formally, blockchain transactions are represented by T, states are 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 traditional blockchain transactions, a version number v, i.e., γ, is introduced in the state transfer function v And v.epsilon.N, v.gtoreq.0, when v=0, γ v Representing a traditional blockchain transaction; when v > 0, gamma v Indicating that a loose coupling transaction is being performed. It should be noted that the version number v is unique across the network, and the version number v used is stored in the network-wide consensus billing node for distinguishing the intelligent contract state transfer functions of different loosely coupled transaction circles. The method comprises the following steps:
σ t+1 =γ vt ,T)
the above relationship formalized is expressed as:
executing a loosely coupled smart contract state transfer function gamma v And then, the transaction information is only stored in the node to which the transaction party belongs.
Let the loose coupling transaction ring have n accounting nodes Pb (i) (i.epsilon.n), participant C i (j) (j.epsilon.m) accessing the loose coupling transaction loop through accounting node Pb (i), and PCA (i) represents an attribute authorization center of the loose coupling transaction loop.
The following describes in detail the operation method and the operation device of the loose coupling transaction ring provided by the embodiment of the invention.
The invention provides an embodiment of an operation method based on a loose coupling transaction network, referring to fig. 1, the operation method based on the loose coupling transaction network specifically comprises the following contents:
s101: establishing a loose coupling transaction network based on a blockchain network; wherein the loosely coupled transaction network includes: a consensus accounting node in the blockchain network, an authentication center in the blockchain network, and each participant;
in this step, referring to fig. 2, the blockchain network includes: a blockchain infrastructure cloud (BaaS), a blockchain consensus billing node 22 (attribute authority) and a blockchain authentication center 21.
Wherein the blockchain infrastructure cloud (BaaS): and providing distributed network resources, computing resources and storage resources according to the networking resource request of the user, creating a blockchain networking service, supporting the selection of a blockchain product mirror image according to the blockchain product standard of the user, and creating a virtual node.
Blockchain consensus billing node 22: in the blockchain infrastructure cloud (BaaS), blockchain consensus billing node 22 is also an attribute authority, all virtual computing nodes. The blockchain network has a number of blockchain consensus accounting nodes 22, as blockchain computing nodes, primarily responsible for blockchain transaction access and processing, providing intelligent contract execution, transaction consensus, and transaction accounting. As a node of the loosely coupled transaction circles, attribute encryption and decryption services are provided for the accessed transaction participants 23.
The blockchain authentication center 21: is responsible for providing secure authentication of the blockchain network blockchain consensus billing node and providing network level public keys for transaction information. The blockchain authentication center 21 executes setup (), createUser (), createauthorization () algorithms, respectively, that represent initialization, create users, create attribute rights center operations.
The setup () algorithm is used to generate the public key M of the blockchain authentication center 21 CA And key S CA
CreateUser () algorithm is used to create public and secret keys Mu and Su for the participant user u
The createauthorization () algorithm is used to provide a standard random hash function for the attribute authority whose hash value is the key Sa of the attribute authority.
In this step, the blockchain network-based loosely coupled transaction network 24 includes: a blockchain infrastructure cloud (BaaS), a blockchain consensus billing 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 loop. Loosely coupled transaction participants 23: the transaction participants 23 executing the blockchain consensus transaction provide attribute access policies Γ for the owned transaction information, and the participants access the loosely coupled transaction circles through the blockchain consensus accounting node 22 to execute the transaction, encrypt and authorize the transaction information.
Loose coupling transaction loop: in the blockchain infrastructure cloud, a trading circle is temporarily composed of trading parties. The transaction party selects the temporary transaction circle established by other transaction parties according to the service requirement, and executes the local consensus protocol to achieve the transaction, wherein the transaction data is only stored in the node of the transaction party and is not diffused to the whole network node like the traditional blockchain network.
S102: and carrying out attribute encryption processing on 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 participant. Specifically, attribute encryption is performed on the transaction information T based on the public key of the authentication center.
As can be seen from the above description, the operation method based on the loosely coupled transaction network provided by the embodiment of the invention is implemented by establishing a loosely coupled transaction network based on a blockchain network; wherein the loosely coupled transaction network includes: a consensus accounting node in the blockchain network, an authentication center in the blockchain network, and each participant; the attribute encryption processing is carried out on the transaction information corresponding to each participant by the consensus accounting node and the authentication center, so that risks of information leakage and external attack in the loose-coupling block chain-based multiparty operation can be reduced, and the privacy and safety of operation data and the operation efficiency are improved.
In an embodiment of the present invention, referring to fig. 3, in an embodiment of the operation method based on the loose coupling transaction network, the method further includes:
s103: verifying an access request sent by a transaction information access party;
s104: and after the access request passes the verification, the common accounting node returns 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 application for accessing the transaction information T to the affiliated blockchain node b (also the 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 together.
The consensus accounting node verifies whether the transaction information requester has access rights through a RequestAttribute () algorithm. If the detection fails, a Null value is returned, and the fact that the access user does not have the transaction information access right is indicated, so that the process is ended. Otherwise, generating attribute keys of the transaction information access users. 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 the plaintext information T.
In an embodiment of the present invention, referring to fig. 4, in an embodiment of the operation method based on the loose coupling transaction network, the method further includes:
s105: a transaction certificate for a loosely coupled transaction network is generated based on a consensus billing node in the blockchain network and an authentication center in the blockchain network and sent to each of the participants.
In this embodiment, when the blockchain authentication center is initialized, an initialization setting program setup () is started to generate a public key and a private key. The public key is issued to the whole network through broadcasting, and the private key is stored locally.
The attribute authorization center applies for certificates, the attribute authorization center sends the attributes of the participants to the authentication center, the authentication center generates a public key and a private key, and transaction certificates are generated according to the public key, the private key, the attributes of the participants and the attributes of the consensus accounting nodes.
To further illustrate the present solution, the present invention provides a specific implementation of an operation method based on a loosely coupled transaction network, referring to fig. 5, which specifically includes the following contents:
step S700: obtaining a unique version number G of the whole network ver
Step S701: transmitting a 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 party a sends a local consensus request to the transaction party B, C through the verification node where the transaction party a is located, and the verification node where the transaction party a is located does not send a loose coupling request to the transaction party D because the transaction party D is not loosely coupled to the transaction circle; the request broadcast message contains address information of the target transaction party, in this example the transaction party comprising transaction party B, C. Let P be T A loosely coupled transaction message representing a transaction T, formally:
P T =(v,n,(ρ 12 ,...,ρ n ),...,chksum)
where v is the version number, n is the number of transaction parties, ρ 12 ,...,ρ n The id numbers and IP addresses representing 1 to n transaction parties, chksum is a check bit.
Step S702: receiving a local transaction consensus request sent by a participant A;
in the step, a verification node where a transaction party A is located listens and receives a local transaction consensus request from the transaction party A, and performs message security verification;
step S703: analyzing the request message, sending a local consensus request to the participants A, B and C, and carrying out transaction consensus by adopting PBFT (Bayesian fault tolerance);
in the step, a verification node where a transaction party A is located analyzes and extracts a message of a local transaction consensus request of local consensus transaction to obtain transaction parties of a loose coupling transaction circle, namely a party A, a party B and a party C; and adopting a PBFT (Bayesian fault tolerance) algorithm to carry out transaction consensus in the verification node where A, B, C is located.
Step S704: receiving a local transaction consensus request sent by a participant A;
in the step, a verification node where a transaction party B is located listens and receives a local transaction consensus request from a transaction party A, and performs message security verification;
step S705: analyzing the request message, sending a local consensus request to the participants A, B and C, and carrying out transaction consensus by adopting PBFT (Bayesian fault tolerance);
in the step, a verification node where a transaction party B is located analyzes and extracts a message of a local transaction consensus request of local consensus transaction to obtain transaction parties of a loose coupling transaction circle, namely a party A, a party B and a party C; and adopting a PBFT (Bayesian fault tolerance) algorithm to carry out transaction consensus in the verification node where A, B, C is located.
Step S706: receiving a local transaction consensus request sent by a participant A;
in the step, a verification node where a transaction party C is located listens and receives a local transaction consensus request from a transaction party A, and performs message security verification;
step S707: analyzing the request message, sending a local consensus request to the participants A, B and C, and carrying out transaction consensus by adopting PBFT (Bayesian fault tolerance);
in this step, the verification node where the transaction party C is located parses and extracts the message of the local transaction consensus request of the local consensus transaction, and obtains the transaction parties of the loose coupling transaction circle, in this example, the party a, the party B and the party C; and adopting a PBFT (Bayesian fault tolerance) algorithm to carry out transaction consensus in the verification node where A, B, C is located.
Step S708: receiving transaction information according to version number G ver Verifying the stored transaction;
in this step, at the verification node where the transaction party A is located, transaction information from other nodes is received and rootedAccording to version number G ver And checking the stored transaction. In order to verify the correctness of the transaction, the following relationship must be satisfied:
H v =TRIE(L S (Π(σ,β)))
let T be p Representing application level smart contract transactions, T s Representing a system level smart contract transaction, the extension results in the following equation:
σ t+1 =Π(σ t ,B)
wherein,
B=(...,(T p,1 ,T s,1 ),(T p,0 ,T s,0 ),...)
∏(σ,B)≡Ω(B,γ(γ(σ,(T p,0 ,T s,0 )),(T p,1 ,T s,1 ))...)
omega represents the final state, B represents the transaction sequence, T p,0 ,T p,1 Respectively representing 0 th and 1 st application level intelligent contract transaction sequences, T s,0 ,T s,1 Respectively representing 0,1 th system level intelligent contract transaction sequence, (T) p,0 ,T s,0 ) Representing a combination of application-level and system-level smart contract transactions.
Step S709: the stock transaction checks successfully and sends a notification broadcast.
In this step, if the smart contract authentication is successful, a notification broadcast is transmitted.
Step S710: receiving transaction information according to version number G ver Verifying the stored transaction;
in this step, at the verification node where the transaction party B is located, transaction information from other nodes is received, and according to version number G ver And checking the stored transaction. Specifically referring to step S708.
Step S711: the stock transaction checks successfully and sends a notification broadcast.
In this step, if the smart contract authentication is successful, a notification broadcast is transmitted.
Step S712: receiving transaction information according to version number G ver Verifying the stored transaction;
in this step, at the verification node where the transaction party C is located, transaction information from other nodes is received, and according to version number G ver And checking the stored transaction. Specifically referring to step S708.
Step S713: the stock transaction is checked successfully, and notification broadcast is sent;
in this step, if the smart contract authentication is successful, a notification broadcast is transmitted.
Step S714: executing an intelligent contract, forming a Hash by jointly providing a public key, a front block Hash and a current transaction Hash by a user, and checking a local consensus message at the same time;
in the step, intelligent contract transaction is executed, a public key provided by a user, a front block Hash and a current transaction Hash are formed together to form a Hash, meanwhile, a local consensus message is checked, and transaction information is stored locally. Formally expressed as:
H V =kec(PH V ,TH V ,O u )
wherein H is V Expressed as the Hash value of the current transaction, kec represents the Hash function calculated using the keccak-256 algorithm, PH V Representing the preamble block Hash, TH V Current transaction group Hash, O u Representing the user public key (u=b1).
Step S715: executing an intelligent contract, forming a Hash by jointly providing a public key, a front block Hash and a current transaction Hash by a user, and checking a local consensus message at the same time;
in the step, intelligent contract transaction is executed, a public key provided by a user, a front block Hash and a current transaction Hash are formed together to form a Hash, meanwhile, a local consensus message is checked, and transaction information is stored locally. Specifically, step S714 is referred to.
Step S716: executing an intelligent contract, forming a Hash by jointly providing a public key, a front block Hash and a current transaction Hash by a user, and checking a local consensus message at the same time;
in the step, intelligent contract transaction is executed, a public key provided by a user, a front block Hash and a current transaction Hash are formed together to form a Hash, meanwhile, a local consensus message is checked, and transaction information is stored locally. Specifically, step S714 is referred to.
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, the participant a attribute public keys Mu1, mu2, mu, mun, generate ciphertext access policies a (PK, M, a, mu1, mu2, …, mun), the participant nodes combine a, generate ciphertext CTA, and store 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, the participant B attribute public keys Mu1, mu2, mu, mun, generate ciphertext access policies a (PK, M, a, mu1, mu2, …, mun), the participant nodes combine a, generate ciphertext CTA, and store 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 party C attribute public keys Mu1, mu2, mu, mun, generate ciphertext access policies a (PK, M, a, mu1, mu2, …, mun), the party nodes combine a, generate ciphertext CTA, and store transaction information locally.
As can be seen from the above description, the participants of the loose-coupling transaction circle can be used as data providers, and serve as authorized subjects to encrypt transaction information according to a set ciphertext policy, namely, attribute encryption is performed by providing an attribute policy based on the ciphertext policy, so that users meeting attribute conditions can be ensured to have access rights.
The embodiment of the invention provides a specific implementation manner of a working device based on a loose coupling transaction network, which can realize the whole content in the working method based on the loose coupling transaction network, and referring to fig. 6, the working device based on the loose coupling transaction network specifically comprises the following contents:
a network element 10 for establishing a loosely coupled transaction network based on a blockchain network; wherein the loosely coupled transaction network includes: a consensus accounting node in the blockchain network, an authentication center in the blockchain network, and each participant;
and the encryption unit 20 is used for carrying out attribute encryption processing on the transaction information corresponding to each participant through the common accounting node and the authentication center.
Further, the method further 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 common accounting node after the access request passes the verification, 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 further comprises the following steps:
and a certificate unit for generating a transaction certificate of a loosely coupled transaction network based on a consensus accounting node in the blockchain network and an authentication center in the blockchain network, and transmitting the transaction certificate to each of the participants.
Wherein the certificate unit includes:
a certificate generation subunit, configured to generate a public key and a private key by using an authentication center in the blockchain network, and generate a transaction certificate according to the public key, the private key, the attribute of the participant, and the attribute of the common accounting node;
the public key is broadcast and released to the loosely coupled transaction network, and the private key is stored locally in an authentication center in the blockchain network.
The embodiment of the operation device based on the loose coupling transaction network provided by the invention can be particularly used for executing the processing flow of the embodiment of the operation method based on the loose coupling transaction network in the embodiment, and the functions of the embodiment of the operation device based on the loose coupling transaction network are not repeated herein, and can be referred to in the detailed description of the embodiment of the method.
As can be seen from the above description, the working device based on the loose coupling transaction network according to the embodiments of the present invention establishes a loose coupling transaction network based on a blockchain network; wherein the loosely coupled transaction network includes: a consensus accounting node in the blockchain network, an authentication center in the blockchain network, and each participant; the attribute encryption processing is carried out on the transaction information corresponding to each participant by the consensus accounting node and the authentication center, so that risks of information leakage and external attack in the loose-coupling block chain-based multiparty operation can be reduced, and the privacy and safety of operation data and the operation efficiency are improved.
The application provides an embodiment of an electronic device for implementing all or part of contents in an operation method based on a loose coupling transaction network, wherein the electronic device specifically comprises 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 communication with each other 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, etc., and the embodiment is not limited thereto. In this embodiment, the electronic device may be implemented with reference to an embodiment of the method for implementing the operation method based on the loose-coupling transaction network and an embodiment of the apparatus for implementing the operation device based on the loose-coupling transaction network, and the contents thereof are incorporated herein and are not repeated here.
Fig. 7 is a schematic block diagram of a system configuration of an electronic device 9600 of an embodiment of the present application. As shown in fig. 7, the electronic device 9600 may 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 structures to implement telecommunications functions or other functions.
In one embodiment, the job functions based on the loosely coupled transaction network may be integrated into the central processor 9100. The central processor 9100 may be configured to perform the following control:
establishing a loose coupling transaction network based on a blockchain network; wherein the loosely coupled transaction network includes: a consensus accounting node in the blockchain network, an authentication center in the blockchain network, and each participant; and carrying out attribute encryption processing on transaction information corresponding to each participant through the consensus accounting node and the authentication center.
In another embodiment, the operation device based on the loose coupling transaction network may be configured separately from the central processor 9100, for example, the operation based on the loose coupling transaction network may be configured as a chip connected to the central processor 9100, and the operation function based on the loose coupling transaction network is 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 need not include all of the components shown in fig. 7; in addition, the electronic device 9600 may further include components not shown in fig. 7, and reference may be made to the related art.
As shown in fig. 7, the central processor 9100, sometimes referred to as a controller or operational control, may include a microprocessor or other processor device and/or logic device, which central processor 9100 receives inputs and controls the operation of the various components of the electronic device 9600.
The memory 9140 may 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 about failure may be stored, and a program for executing the information may be stored. And the central processor 9100 can execute the program stored in the memory 9140 to realize information storage or processing, and 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. The power supply 9170 is used to provide power to the electronic device 9600. The display 9160 is used for displaying display objects such as images and characters. The display may be, for example, but not limited to, an LCD display.
The memory 9140 may be a solid state memory such as Read Only Memory (ROM), random Access Memory (RAM), SIM card, etc. But also a memory which holds information even when powered down, can be selectively erased and provided with further data, an example of which is sometimes referred to as EPROM or the like. The memory 9140 may also be some other type of device. The 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 storing application programs and function programs or a flow for executing operations of the electronic device 9600 by the central processor 9100.
The memory 9140 may also include a data store 9143, the data store 9143 for storing 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 of the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging applications, address book applications, etc.).
The communication module 9110 is a transmitter/receiver 9110 that transmits and receives signals via an antenna 9111. A communication module (transmitter/receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, as in the case of conventional mobile communication terminals.
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, etc., 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 to receive audio input from the microphone 9132 to implement usual telecommunications functions. The audio processor 9130 can include any suitable buffers, decoders, amplifiers and so forth. In addition, the audio processor 9130 is also coupled to the central processor 9100 so that sound can be recorded locally through the microphone 9132 and sound stored locally can be played through the speaker 9131.
The embodiment of the present invention also provides a computer-readable storage medium capable of implementing all the steps in the loose-coupling transaction network-based operation method in the above embodiment, the computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements all the steps in the loose-coupling transaction network-based operation method in the above embodiment, for example, the processor implements the following steps when executing the computer program:
establishing a loose coupling transaction network based on a blockchain network; wherein the loosely coupled transaction network includes: a consensus accounting node in the blockchain network, an authentication center in the blockchain network, and each participant; and carrying out attribute encryption processing on transaction information corresponding to each participant through the consensus accounting node and the authentication center.
Although the invention provides method operational steps as described in the examples or flowcharts, more or fewer operational steps may be included based on conventional or non-inventive labor. The order of steps recited in the embodiments is merely one way of performing the order of steps and does not represent a unique order of execution. When implemented by an actual device or client product, the instructions may be executed sequentially or in parallel (e.g., in a parallel processor or multi-threaded processing environment) as shown in the embodiments or figures.
It will be appreciated by those skilled in the art that embodiments of the present description may be provided as a method, apparatus (system) or computer program product. Accordingly, the present specification embodiments 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments. 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. Moreover, 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 meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances. It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other. The present invention is not limited to any single aspect, nor to any single embodiment, nor to any combination and/or permutation of these aspects and/or embodiments. Moreover, each aspect and/or embodiment of the invention may be used alone or in combination with one or more other aspects and/or embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention, and are intended to be included within the scope of the appended claims and description.

Claims (8)

1. A method of operation based on a loosely coupled transaction network, comprising:
establishing a loose coupling transaction network based on a blockchain network; wherein the loosely coupled transaction network includes: a consensus accounting node in the blockchain network, an authentication center in the blockchain network, and each participant;
performing attribute encryption processing on transaction information corresponding to each participant through the consensus accounting node and the authentication center;
wherein, the attribute encryption processing for the transaction information corresponding to each participant by the consensus accounting node and the authentication center comprises the following steps:
performing attribute encryption on transaction information corresponding to each participant on the basis of a public key of the authentication center through the consensus accounting node;
verifying an access request sent by a transaction information access party;
and after the access request passes the verification, the common accounting node returns 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.
2. The loosely coupled transaction network-based job method of claim 1, further comprising, after the establishing the loosely coupled transaction network based on the blockchain network:
a transaction certificate for a loosely coupled transaction network is generated based on a consensus billing node in the blockchain network and an authentication center in the blockchain network and sent to each of the participants.
3. The loosely coupled transaction network-based job method of claim 2, wherein the generating a transaction certificate for the loosely coupled transaction network based on the consensus accounting node in the blockchain network and an authentication center in the blockchain network includes:
an authentication center in the blockchain network 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 participant and the attribute of the consensus accounting node;
the public key is broadcast and released to the loosely coupled transaction network, and the private key is stored locally in an authentication center in the blockchain network.
4. A loosely coupled transaction network-based working device, comprising:
a network element for establishing a loosely coupled transaction network based on a blockchain network; wherein the loosely coupled transaction network includes: a consensus accounting node in the blockchain network, an authentication center in the blockchain network, and each participant;
the encryption unit is used for carrying out attribute encryption processing on transaction information corresponding to each participant through the consensus accounting node and the authentication center;
wherein the encryption unit comprises an attribute encryption sub-module;
the attribute encryption sub-module is used for carrying out attribute encryption on transaction information corresponding to each participant on the basis of the public key of the authentication center through the consensus accounting node;
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 common accounting node after the access request passes the verification, so that the transaction information access party decrypts the encrypted transaction information according to the attribute key of the transaction information access party.
5. The loosely coupled transaction network-based working apparatus of claim 4, further comprising:
and a certificate unit for generating a transaction certificate of a loosely coupled transaction network based on a consensus accounting node in the blockchain network and an authentication center in the blockchain network, and transmitting the transaction certificate to each of the participants.
6. The loosely coupled transaction network-based job device of claim 5, wherein the certificate unit includes:
a certificate generation subunit, configured to generate a public key and a private key by using an authentication center in the blockchain network, and generate a transaction certificate according to the public key, the private key, the attribute of the participant, and the attribute of the common accounting node;
the public key is broadcast and released to the loosely coupled transaction network, and the private key is stored locally in an authentication center in the blockchain network.
7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the loose coupling transaction network based job method of any one of claims 1 to 3 when the program is executed.
8. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the loose-coupling transaction network-based job method of any one of claims 1 to 3.
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 CN111709053A (en) 2020-09-25
CN111709053B true 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)

Families Citing this family (2)

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

Citations (8)

* 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
CN109767220A (en) * 2019-01-15 2019-05-17 中国联合网络通信集团有限公司 Method of commerce based on block chain and the transaction system based on block chain

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2569278A (en) * 2017-10-23 2019-06-19 Cygnetise Ltd Methods and apparatus for verifying a user transaction

Patent Citations (8)

* 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
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

Also Published As

Publication number Publication date
CN111709053A (en) 2020-09-25

Similar Documents

Publication Publication Date Title
US11038682B2 (en) Communication method, apparatus and system, electronic device, and computer readable storage medium
JP7272960B2 (en) Method, storage medium and electronic device for secure dynamic threshold signature schemes utilizing trusted hardware
CN110581854B (en) Intelligent terminal safety communication method based on block chain
CN113194469B (en) 5G unmanned aerial vehicle cross-domain identity authentication method, system and terminal based on block chain
JP5944501B2 (en) Facilitating group access control for data objects in peer-to-peer overlay networks
CN102577230B (en) Low-latency peer session establishment
CN108234443B (en) Subscription method, system and computer readable storage medium
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
CN113541970B (en) Method and system for using distributed identifier
CN111767569A (en) Access authorization method and node of block chain
EP3479540A1 (en) Multi-hop secure content routing based on cryptographic partial blind signatures and embedded terms
CN111723384B (en) Data processing method, system and equipment
CN111429138A (en) Block link point data safety interaction method and first interaction node
CN113393225B (en) Digital currency encryption payment method and system
EP3808025A1 (en) Decentralised authentication
CN111709053B (en) Operation method and operation device based on loose coupling transaction network
CN111654481A (en) Identity authentication method, identity authentication device and storage medium
CN111865917B (en) Block chain-based safe delivery method, system and medium for Internet of things equipment
CN116204914A (en) Trusted privacy computing method, device, equipment and storage medium
US20230188330A1 (en) System and method for identity-based key agreement for secure communication
CN114417309A (en) Bidirectional identity authentication method, device, equipment and storage medium
KR102209988B1 (en) Apparatus and method for certificate status management by multiple certificate authorities
CN116743377B (en) Data processing method, device, equipment and storage medium based on blockchain key
Hamid et al. A Scalable Key and Trust Management Solution for IoT Sensors Using SDN and Blockchain Technology

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