WO2018076761A1 - 基于区块链交易的权限管制方法、***、电子装置及存储介质 - Google Patents

基于区块链交易的权限管制方法、***、电子装置及存储介质 Download PDF

Info

Publication number
WO2018076761A1
WO2018076761A1 PCT/CN2017/091250 CN2017091250W WO2018076761A1 WO 2018076761 A1 WO2018076761 A1 WO 2018076761A1 CN 2017091250 W CN2017091250 W CN 2017091250W WO 2018076761 A1 WO2018076761 A1 WO 2018076761A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
information
transaction
decryption
publishing
Prior art date
Application number
PCT/CN2017/091250
Other languages
English (en)
French (fr)
Inventor
陆陈一帆
黄宇翔
张宇
Original Assignee
上海亿账通区块链科技有限公司
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 上海亿账通区块链科技有限公司 filed Critical 上海亿账通区块链科技有限公司
Publication of WO2018076761A1 publication Critical patent/WO2018076761A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks

Definitions

  • the present invention relates to the field of blockchain technology, and in particular, to a rights control method, system, electronic device and computer readable storage medium based on blockchain transaction.
  • the blockchain is essentially a distributed database, and the information on the blockchain is shared by all P2P (Peer-to-peer) networks.
  • P2P Peer-to-peer
  • the problem with this information sharing feature of the blockchain is that if Participant A wants to publish a product assigned to Participant B and Participant C, then the other participants on the blockchain are not authorized to know any information about the product. This function is difficult to implement as a blockchain of distributed databases when no improvement is made.
  • a simpler solution in the prior art is to add permission control to the data call on the smart contract, for example, when the participant D wants to read the product information released by the participant A through the API (Application Programming Interface). At the time, the smart contract found that D did not have the specified authority and rejected the application.
  • the problem with this solution is that if the participant D has the relevant node, it can directly read the information in the node database that is not encrypted, so that the participant D Product information released by Participant A can still be read, unless tamper-resistant hardware protection or central management (such as cloud management) is implemented on the node, otherwise it is difficult to implement information protection through authorization. Therefore, how to implement effective permission control of transaction processing in decentralized blockchain network has become a technical problem to be solved.
  • the present invention provides a method for controlling rights based on blockchain transactions, and the method for controlling rights based on blockchain transactions includes:
  • the authority processing system on the issuing node corresponding to the issuer obtains the public encryption and decryption parameters corresponding to each authorized party, and passes the authorized party.
  • Corresponding confidential parameters encrypt the secret key of the to-be-traded information, and use the smart contract to issue the public encryption and decryption parameters and the secret parameters on the blockchain network;
  • the rights processing system of the publishing node issues the to-be-traded information to each node of the blockchain network through a smart contract;
  • the authority processing system of the authorized node uses the decryption parameter corresponding to the secret parameter to the secret key of the to-be-traded information. Decrypting, decrypting the to-be-traded information based on the decrypted secret key and the public encryption and decryption parameter, to decrypt the authorization information to the authorized node.
  • the present invention also provides a rights control system based on a blockchain transaction, and the rights control system based on the blockchain transaction includes:
  • a building module configured to construct a permission processing system for encrypting information distribution and encryption and decryption processing for each node of the blockchain network, and deploying a smart contract for transmitting encryption and decryption information in the blockchain network;
  • a first publishing module configured to: if a publisher has encrypted to-be-traded information to decrypt and authorize at least one authorized party, the authority processing system on the publishing node corresponding to the publisher acquires public encryption and decryption parameters corresponding to each authorized party, And encrypting the secret key of the to-be-traded information by using a secret parameter corresponding to the authorized party, and using the smart contract to issue the public encryption and decryption parameter and the secret parameter on the blockchain network;
  • the authority processing system for the publishing node issues the to-be-traded information to each node of the blockchain network through a smart contract;
  • the authority processing system of the authorization node uses the decryption parameter corresponding to the security parameter to the to-be-traded information
  • the secret key is decrypted
  • the to-be-traded information is decrypted based on the decrypted secret key and the public encryption/decryption parameter to decrypt the authorization information to the authorized node.
  • the present invention also provides an electronic device including a memory and a processor coupled to the memory, wherein the memory stores a blockchain-based transaction operable on the processor
  • the privilege control system when the privilege control system based on the blockchain transaction is executed by the processor, implements the following steps:
  • the authority processing system on the issuing node corresponding to the issuer obtains the public encryption and decryption parameters corresponding to each authorized party, and passes the authorized party.
  • Corresponding confidential parameters encrypt the secret key of the to-be-traded information, and use the smart contract to issue the public encryption and decryption parameters and the secret parameters on the blockchain network;
  • the rights processing system of the publishing node issues the to-be-traded information to each node of the blockchain network through a smart contract;
  • the authority processing system of the authorized node uses the decryption parameter corresponding to the secret parameter to the secret key of the to-be-traded information. Decrypting, decrypting the to-be-traded information based on the decrypted secret key and the public encryption and decryption parameter, to decrypt the authorization information to the authorized node.
  • the present invention also provides a computer readable storage medium having stored thereon a rights control system based on a blockchain transaction, the rights control system based on the blockchain transaction being processed The following steps are implemented when the device executes:
  • the authority processing system on the issuing node corresponding to the issuer obtains the public encryption and decryption parameters corresponding to each authorized party, and passes the authorized party.
  • Corresponding confidential parameters encrypt the secret key of the to-be-traded information, and use the smart contract to issue the public encryption and decryption parameters and the secret parameters on the blockchain network;
  • the rights processing system of the publishing node issues the to-be-traded information to each node of the blockchain network through a smart contract;
  • the authority processing system of the authorized node uses the decryption parameter corresponding to the secret parameter to the secret key of the to-be-traded information. Decrypting, decrypting the to-be-traded information based on the decrypted secret key and the public encryption and decryption parameter, to decrypt the authorization information to the authorized node.
  • the invention has the beneficial effects that the invention constructs a rights processing system and deploys a smart contract in each node of the blockchain network, and the authority processing system of each node processes the authority control and the information sharing by the smart contract, if the publisher has encryption
  • the to-be-dealed information decrypts and authorizes at least one authorized party
  • the publishing node encrypts the key of the to-be-traded information by using the secret parameter corresponding to the authorized party, and then issues the public encryption and decryption parameters and the secret parameters through the smart contract, and authorizes the node to utilize and maintain the confidentiality parameter.
  • the corresponding decryption parameter decrypts the secret key of the transaction information, and finally the decrypted transaction information can be decrypted by the secret key and the co-decryption parameter, so that the information to be traded is decrypted and authorized from the issuing node to the at least one authorized node, and the authorized node can be read.
  • the right to wait for the transaction information and execute the subsequent transaction, other nodes except the authorized node have no relevant permissions, can effectively control the transaction processing authority in the blockchain network, and improve system reliability.
  • FIG. 1 is a schematic diagram of an optional application environment according to various embodiments of the present invention.
  • FIG. 2 is a schematic flow chart of a first embodiment of a method for controlling rights based on blockchain transactions according to the present invention
  • FIG. 3 is a schematic diagram of interaction of the embodiment shown in FIG. 2;
  • FIG. 4 is a schematic flow chart of a second embodiment of a method for controlling rights based on blockchain transactions according to the present invention.
  • FIG. 5 is a schematic flowchart of a third embodiment of a method for controlling rights based on blockchain transactions according to the present invention.
  • FIG. 6 is a schematic structural diagram of a first embodiment of a rights control system based on blockchain transaction according to the present invention.
  • FIG. 7 is a schematic structural diagram of a second embodiment of a rights control system based on blockchain transaction according to the present invention.
  • FIG. 8 is a schematic structural diagram of a third embodiment of a rights control system based on blockchain transaction according to the present invention.
  • FIG. 1 is a schematic diagram of an application environment of a preferred embodiment of a method for controlling a privilege based on a blockchain transaction according to the present invention.
  • the application environment diagram includes an electronic device 1 and a terminal device 2.
  • the electronic device 1 can perform data interaction with the terminal device 2 through a suitable technology such as a network or a near field communication technology.
  • the terminal device 2 includes, but is not limited to, any electronic product that can interact with a user through a keyboard, a mouse, a remote controller, a touch panel, or a voice control device, for example, a personal computer, a tablet computer, or a smart phone.
  • PDA Personal Digital Assistant
  • game consoles Internet Protocol Television (IPTV)
  • IPTV Internet Protocol Television
  • smart wearable devices navigation devices, etc.
  • mobile devices such as digital TVs, desktop computers, Fixed terminal for notebooks, servers, etc.
  • the electronic device 1 is an apparatus capable of automatically performing numerical calculation and/or information processing in accordance with an instruction set or stored in advance.
  • the electronic device 1 may be a computer, a single network server, a server group composed of multiple network servers, or a cloud-based cloud composed of a large number of hosts or network servers, where cloud computing is a type of distributed computing.
  • a super virtual computer consisting of a group of loosely coupled computers.
  • the electronic device 1 may include, but is not limited to, a memory 11 communicably connected to each other through a system bus, a processor 12, and a network interface 13, and the memory 11 stores a blockchain-based chain operable on the processor 12.
  • the authority control system for transactions It should be noted that FIG. 1 only shows the electronic device 1 having the components 11-13, but it should be understood that not all illustrated components are required to be implemented, and more or fewer components may be implemented instead.
  • the storage device 11 includes a memory and at least one type of readable storage medium.
  • the memory provides a cache for the operation of the electronic device 1;
  • the readable storage medium may be, for example, a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM).
  • a non-volatile storage medium such as a read only memory (ROM), an electrically erasable programmable read only memory (EEPROM), a programmable read only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, or the like.
  • the readable storage medium may be an internal storage unit of the electronic device 1, such as a hard disk of the electronic device 1; in other embodiments, the non-volatile storage medium may also be external to the electronic device 1.
  • a storage device such as a plug-in hard disk equipped with an electronic device 1, a smart memory card (SMC), a Secure Digital (SD) card, a flash card, or the like.
  • the readable storage medium of the storage device 11 is generally used to store an operating system installed in the electronic device 1 and various types of application software, such as a program based on a blockchain transaction-based authority control system in an embodiment of the present invention. Code, etc. Further, the storage device 11 can also be used to temporarily store various types of data that have been output or are to be output.
  • the processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments.
  • the processor 12 is typically used to control the overall operation of the electronic device 1, such as performing control and processing related to data interaction or communication with the terminal device 2.
  • the processor 12 is configured to run program code or process data stored in the memory 11, such as running a rights control system based on a blockchain transaction.
  • the network interface 13 may comprise a wireless network interface or a wired network interface, which is typically used to establish a communication connection between the electronic device 1 and other electronic devices.
  • the network interface 13 is mainly used to connect the electronic device 1 with one or more terminal devices 2, and establish a data transmission channel and a communication connection between the electronic device 1 and one or more terminal devices 2.
  • the blockchain transaction based rights control system is stored in the memory 11 and includes at least one computer readable instruction stored in the memory 11, the at least one computer readable instruction being executable by the processor 12 to implement the present invention
  • the method of privilege control based on blockchain transaction of an embodiment; as described later, the at least one computer readable instruction may be classified into different logic modules according to different functions implemented by the various parts thereof.
  • the privilege control system based on the blockchain transaction is implemented by the processor 12: constructing a privilege processing system and deploying a smart contract at each node of the blockchain network, and the privilege processing system of each node processes the privilege control and
  • the smart contract carries out information sharing. If a publisher has encrypted pending transaction information to decrypt and authorize at least one authorized party, the publishing node encrypts the key of the to-be-traded information by using the secret parameter corresponding to the authorized party, and then issues the public plus through the smart contract.
  • the authorization node decrypts the secret key of the transaction information by using the decryption parameter corresponding to the security parameter, and finally decrypts the to-be-traded information by using the secret key and the co-decryption parameter, so as to realize the information to be traded from the issuing node to at least one
  • the authorization node performs decryption authorization, and the authorization node can obtain the right to read the to-be-traded information and perform subsequent transactions, and the other nodes except the authorized node have no relevant authority, and can effectively control the transaction processing authority in the blockchain network. Improve system reliability.
  • FIG. 2 is a schematic flowchart of an embodiment of a method for controlling a rights based on a blockchain transaction according to an embodiment of the present invention.
  • the method for controlling rights based on a blockchain transaction includes the following steps:
  • Step S1 constructing a rights processing system for encrypting information distribution and encryption and decryption processing for each node of the blockchain network, and deploying a smart contract for transmitting encryption and decryption information in the blockchain network;
  • one node corresponds to one or more smart contracts.
  • a transaction parameter is transmitted to the node of the blockchain, the transaction parameter is recorded to the corresponding transaction record of the node and simultaneously transmitted to the node.
  • the smart contract corresponding to the transaction parameter is run, and the smart contract's own data is updated by the code on the smart contract corresponding to the transaction parameter.
  • each node in the blockchain network constructs a rights processing system for encrypting information distribution and encryption and decryption processing, and each authority processing system is correspondingly independent of each node, and is mainly used for processing authorization matters.
  • Smart contracts for transmitting and decrypting information are deployed in the blockchain network, and smart contracts are mainly used to share information on the blockchain network.
  • Step S2 If an issuer has encrypted pending transaction information to decrypt and authorize at least one authorized party, the authority processing system on the issuing node corresponding to the issuer obtains the public encryption and decryption parameters corresponding to each authorized party, and passes the authorization.
  • the secret parameter corresponding to the party encrypts the secret key of the to-be-traded information, and uses the smart contract to issue the public encryption and decryption parameter and the secret parameter on the blockchain network;
  • the to-be-traded information is encrypted information, which requires a corresponding decryption protocol and a secret key for decryption.
  • the user can process the authorization related transaction through the publishing node corresponding to the publisher, and the authorized party has one or more authorized nodes.
  • the authority processing system on the publishing node corresponding to the publisher obtains the public encryption and decryption parameters corresponding to each authorized party.
  • the public encryption and decryption parameters may be stored in a database, and the authority processing system on the publishing node will each public encryption and decryption parameter.
  • each authorized node corresponds to a secret parameter
  • the secret parameter is a pair with the corresponding decryption parameter
  • each node in the blockchain network may have a corresponding secret parameter and a decryption parameter
  • the secret parameter is a public part.
  • the decryption parameter is a non-public part.
  • the secret parameter is, for example, the public key of the authorized node, and the public key and the private key in each node are a key pair, wherein the public key is a public part and the private key is a non-public part.
  • the rights processing system of the publishing node can obtain the security parameters of each authorized node, and then utilize the confidentiality of each authorized node.
  • the parameter encrypts the key required for the transaction information to be decrypted.
  • the public encryption and decryption parameters include a resolution protocol, which may be, for example, a DES decryption protocol, an AES decryption protocol, an RSA decryption protocol, or the like.
  • the decryption parameter in the authorized node of the secret parameter can be decrypted, and other nodes cannot decrypt the encrypted key, so that only the authorization can be guaranteed.
  • the node can get the key.
  • the public encryption and decryption parameters and the security parameters are issued by the smart node of the authorized node to each node of the blockchain network, as shown in step 1 of FIG. 3, that is, all nodes in the blockchain network can
  • the public encryption and decryption parameters and the security parameters are received, but only the authorized nodes can decrypt the obtained secret keys by using the corresponding decryption parameters, and other nodes cannot decrypt because there is no corresponding decryption parameter.
  • the smart node of the authorized node issues the public encryption and decryption parameters and the security parameters through the peer-to-peer network, and then notifies the users of the authorized nodes to read the public encryption and decryption parameters and the security parameters.
  • Step S3 the rights processing system of the publishing node issues the to-be-traded information to each node of the blockchain network through a smart contract;
  • Step S4 after the authorized node corresponding to the authorized party receives the to-be-traded information through the smart contract, the authority processing system of the authorized node uses the decryption parameter corresponding to the security parameter to secret the information to be traded.
  • the key is decrypted, and the to-be-traded information is decrypted based on the decrypted secret key and the public encryption and decryption parameter to decrypt the authorization information to the authorized node.
  • the authority processing system of the publishing node will wait for transaction information.
  • the smart contract is issued to each node of the blockchain network, and each node can receive the encrypted to-be-traded information.
  • the authorized node reads the public encryption and decryption parameters and the security parameters issued by the publishing node, since the authorized node has the decryption parameter corresponding to the security parameter, the authority processing system of the authorized node can decrypt by the secret parameter.
  • the parameter decrypts the secret key.
  • the authorized node's authority processing system can decrypt the read to-be-traded information by using the decrypted secret key and the public encryption and decryption parameters, specifically, using the secret key and public encryption and decryption.
  • the decryption protocol in the parameter decrypts the read to-be-traded information, so that the authorized node can obtain the decrypted pending transaction information, and realizes decryption authorization of the to-be-traded information from the issuing node to the at least one authorized node, that is, only the authorization
  • the node has the right to know the pending transaction information published by the publishing node, and thus can process the transaction related to the transaction information.
  • the embodiment constructs a rights processing system and deploys a smart contract in each node of the blockchain network, and the rights processing system of each node processes the authority control and the information sharing by the smart contract, if one publisher has The encrypted to-be-sent information decrypts and authorizes at least one authorized party, and the publishing node encrypts the key of the to-be-traded information by using the secret parameter corresponding to the authorized party, and then issues the public encryption and decryption parameters and the secret parameters through the smart contract, and authorizes the node to use and keep the secret.
  • the decryption parameter corresponding to the parameter decrypts the secret key of the transaction information, and finally the decrypted transaction information can be decrypted by the secret key and the co-decryption parameter, so that the information to be traded is decrypted and authorized from the issuing node to the at least one authorized node, and the authorized node can be read.
  • the right to take the transaction information and execute the subsequent transaction other nodes other than the authorized node have no relevant authority, can effectively control the transaction processing authority in the blockchain network, and improve system reliability.
  • the public encryption and decryption parameters include an encryption protocol
  • the method further includes:
  • the authorization processing system of the authorization node After the authorization node generates the feedback information corresponding to the decrypted transaction information, the authorization processing system of the authorization node encrypts the feedback information based on the encryption protocol and the secret key, and utilizes the smart contract. Broadcasting the encrypted feedback information to each node of the blockchain network;
  • the publishing node performs a transaction transaction corresponding to the to-be-traded information to the authorized node.
  • the publishing node refuses to execute the transaction transaction corresponding to the transaction information to the authorized node.
  • the authorization node decrypts the to-be-traded information, it indicates that the authorized node has obtained the relevant authority (for example, reading right, etc.) of the to-be-traded information, and determines whether to perform the transaction with respect to the related authority, and then the authorized node generates a corresponding Feedback information.
  • the authority processing system of the authorized node is based on the encryption in the public encryption and decryption parameters.
  • the protocol and the secret key encrypt the feedback information, for example, the DES encryption protocol, the AES encryption protocol, the AES encryption protocol, the RSA encryption protocol, and the like corresponding to the DES decryption protocol, the AES decryption protocol, and the RSA decryption protocol described above. Then use the smart contract to send the encrypted feedback information to the blockchain network.
  • Each node of the network broadcasts for the publishing node and other authorized nodes to read and decrypt the feedback information.
  • the publishing node If the feedback information is the confirmation transaction information corresponding to the to-be-traded information, the publishing node performs a transaction transaction corresponding to the transaction information to be processed by the authorized node; if the feedback information is the rejection transaction information corresponding to the to-be-traded information, the publishing node refuses to execute and authorize the node. Transaction transaction corresponding to the transaction information to be traded.
  • the feedback information is encrypted by using the secret key and the encryption protocol, so that only the publishing node and other authorized nodes can know which nodes have the relevant authority of the information to be traded, and can process the transaction in the blockchain network.
  • the authority is further effectively controlled.
  • the public encryption and decryption parameters include an encryption protocol
  • the method further includes:
  • the authority processing system of the authorization node encrypts the feedback information based on the encryption protocol and the public key of the publishing node, and Using the smart contract to broadcast the encrypted feedback information to each node of the blockchain network;
  • the publishing node performs a transaction transaction corresponding to the to-be-traded information to the authorized node;
  • the publishing node refuses to execute the transaction transaction corresponding to the transaction information to the authorized node.
  • the authorization node after the authorization node decrypts the to-be-traded information, it indicates that the authorized node has obtained the relevant authority (for example, reading right, etc.) of the to-be-traded information, and determines whether to perform the transaction with respect to the related authority, and then the authorized node generates a corresponding Feedback information.
  • the authorization processing system of the authorized node is based on the encryption in the public encryption and decryption parameters.
  • the protocol and the public key of the publishing node encrypt the feedback information, for example, the DES encryption protocol, the AES encryption protocol, the AES encryption protocol, the RSA encryption protocol, and the like corresponding to the DES decryption protocol, the AES decryption protocol, and the RSA decryption protocol described above.
  • the intelligent feedback is used to broadcast the encrypted feedback information to each node of the blockchain network, so that the publishing node reads and decrypts the feedback information by using the private key corresponding to the public key of the publishing node and the decryption protocol.
  • the publishing node If the feedback information is the confirmation transaction information corresponding to the to-be-traded information, the publishing node performs a transaction transaction corresponding to the transaction information to be processed by the authorized node; if the feedback information is the rejection transaction information corresponding to the to-be-traded information, the publishing node refuses to execute and authorize the node. Transaction transaction corresponding to the transaction information to be traded.
  • the public key of the publishing node and the encryption protocol are used to encrypt the feedback information, so that only the publishing node can know which nodes have the relevant authority of the information to be traded, and can perform the transaction processing permission in the blockchain network. Further effective management and control.
  • the method further includes:
  • the rights processing system of the publishing node performs user identity authentication based on the identity authentication information
  • the publishing node refuses to respond to the decryption authorization request
  • the publishing node acquires a processing result of the user for the decryption authorization request
  • the authority processing system of the publishing node encrypts the secret key by using a secret parameter corresponding to the unauthorized node, and passes the encrypted key through the intelligence of the publishing node.
  • a contract is issued to each node of the blockchain network, and the data permission system of the unauthorized node decrypts the to-be-traded information to decrypt the authorized information to the unauthorized node;
  • the publishing node denies decryption authorization for the unauthorized node for the encrypted to-be-traded information.
  • the unlicensed node is a node other than the issuing node and the authorized node, that is, a node without decryption authorization.
  • the smart contract of the unauthorized node is targeted.
  • the encrypted to-be-transformed information generates a decryption authorization request carrying the identity authentication information
  • the publishing node performs identity authentication after obtaining the decryption authorization request
  • the identity authentication information is, for example, a digital certificate
  • the authority processing system of the publishing node is based on the identity authentication information pair.
  • the unauthorized node performs identity authentication, that is, analyzes whether the unauthorized node can read and decrypt the pending transaction information.
  • the privilege processing system of the publishing node may store identity authentication information of other nodes and corresponding users, specifically, if one of the identity authentication information stored by the privilege processing system of the publishing node and the unauthorised node and the corresponding user identity authentication If the information is the same, the identity authentication is successful, and then the issuer processes the decryption authorization request, that is, grants the unauthorized node to read the pending transaction information for decryption authorization or does not permit the unauthorized node to read the pending transaction information for decryption authorization. To get the processing result of the corresponding decryption authorization.
  • the authority processing system of the publishing node encrypts the secret key by using the secret parameter corresponding to the unauthorized node, and issues the encrypted key to each of the blockchain networks through the smart contract of the publishing node.
  • a node the data permission system of the unauthorized node decrypts the to-be-traded information
  • the permission processing system of the publishing node decrypts and authorizes the unauthorized node for the encrypted to-be-traded information; if the processing result is a rejection of the decryption authorization request, the node is released.
  • the privilege processing system refuses to decrypt the unauthorized node for the encrypted pending transaction information.
  • the authorization of the unauthorized node may be decrypted, that is, the authority processing system of the publishing node performs identity authentication based on the identity authentication information of the unauthorized node, and obtains the processing result corresponding to the decryption authorization request by the issuing party when the identity authentication is passed. If the processing result is a decryption authorization request, the publishing node implements decryption authorization for the unauthorized node to read the to-be-traded information, that is, realizes the relief of the decryption authorization of the unauthorized node, and improves the flexibility of the blockchain authority management and control. .
  • FIG. 6 is a schematic structural diagram of an embodiment of a privilege control system based on blockchain transaction according to the present invention.
  • the privilege control system based on blockchain transaction can be divided into multiple functional modules according to different functions thereof. ,include:
  • the building module 101 is configured to construct a rights processing system for encrypting information distribution and encryption and decryption processing for each node of the blockchain network, and deploy a smart contract for transmitting the encryption and decryption information in the blockchain network;
  • one node corresponds to one or more smart contracts.
  • a transaction parameter is transmitted to the node of the blockchain, the transaction parameter is recorded to the corresponding transaction record of the node and simultaneously transmitted to the node.
  • the smart contract corresponding to the transaction parameter is run, and the smart contract's own data is updated by the code on the smart contract corresponding to the transaction parameter.
  • each node in the blockchain network constructs a rights processing system for encrypting information distribution and encryption and decryption processing, and each authority processing system is correspondingly independent of each node, and is mainly used for processing authorization matters.
  • Smart contracts for transmitting and decrypting information are deployed in the blockchain network, and smart contracts are mainly used to share information on the blockchain network.
  • the first issuing module 102 is configured to: if a publisher has encrypted to-be-sent information to decrypt and authorize at least one authorized party, the authority processing system on the publishing node corresponding to the publisher acquires public encryption and decryption parameters corresponding to each authorized party. Encrypting the secret key of the information to be traded by using a secret parameter corresponding to the authorized party, and using the smart contract to issue the public encryption and decryption parameter and the secret parameter on the blockchain network;
  • the to-be-traded information is encrypted information, which requires a corresponding decryption protocol and a secret key for decryption.
  • the user can process the authorization related transaction through the publishing node corresponding to the publisher, and the authorized party has one or more authorized nodes.
  • the authority processing system on the publishing node corresponding to the publisher obtains the public encryption and decryption parameters corresponding to each authorized party.
  • the public encryption and decryption parameters may be stored in a database, and the authority processing system on the publishing node will each public encryption and decryption parameter.
  • each authorized node corresponds to a secret parameter
  • the secret parameter is a pair with the corresponding decryption parameter
  • each node in the blockchain network may have a corresponding secret parameter and a decryption parameter
  • the secret parameter is a public part.
  • the decryption parameter is a non-public part.
  • the secret parameter is, for example, the public key of the authorized node, and the public key and the private key in each node are a key pair, wherein the public key is a public part and the private key is a non-public part.
  • the rights processing system of the publishing node can obtain the security parameters of each authorized node, and then utilize the confidentiality of each authorized node.
  • the parameter encrypts the key required for the transaction information to be decrypted.
  • the public encryption and decryption parameters include a resolution protocol, which may be, for example, a DES decryption protocol, an AES decryption protocol, an RSA decryption protocol, or the like.
  • the decryption parameter in the authorized node of the secret parameter can be decrypted, and other nodes cannot decrypt the encrypted key, so that only the authorization can be guaranteed.
  • the node can get the key.
  • the public encryption and decryption parameters and the security parameters are issued by the smart node of the authorized node to each node of the blockchain network, that is, all nodes in the blockchain network can receive the public encryption and decryption parameters and keep secret. Parameters, but only the authorized nodes can use the corresponding decryption parameters to decrypt the key. Other nodes cannot decrypt because there is no corresponding decryption parameter.
  • the smart node of the authorized node issues the public encryption and decryption parameters and the security parameters through the peer-to-peer network, and then notifies the users of the authorized nodes to read the public encryption and decryption parameters and the security parameters.
  • a second publishing module 103 the authority processing system for the publishing node, the to-be-traded letter Information is distributed to each node of the blockchain network through a smart contract;
  • a decryption module 104 after the authorized node corresponding to the authorized party receives the to-be-traded information through the smart contract, the authority processing system of the authorized node uses the decryption parameter corresponding to the security parameter to the to-be-traded
  • the secret key of the information is decrypted, and the to-be-traded information is decrypted based on the decrypted secret key and the public encryption and decryption parameter to decrypt the authorization information to the authorized node.
  • the authority processing system of the publishing node issues the to-be-traded information to each node of the blockchain network through the smart contract, and each node can receive the encrypted to-be-traded information.
  • the authorized node reads the public encryption and decryption parameters and the security parameters issued by the publishing node, since the authorized node has the decryption parameter corresponding to the security parameter, the authority processing system of the authorized node can decrypt by the secret parameter.
  • the parameter decrypts the secret key.
  • the authorized node's authority processing system can decrypt the read to-be-traded information by using the decrypted secret key and the public encryption and decryption parameters, specifically, using the secret key and public encryption and decryption.
  • the decryption protocol in the parameter decrypts the read to-be-traded information, so that the authorized node can obtain the decrypted pending transaction information, and realizes decryption authorization of the to-be-traded information from the issuing node to the at least one authorized node, that is, only the authorization
  • the node has the right to know the pending transaction information published by the publishing node, and thus can process the transaction related to the transaction information.
  • the above-mentioned block chain transaction-based authority control system further includes:
  • the first encryption module 105 is configured to: after the authorization node generates the feedback information corresponding to the decrypted to-be-sent information, the authorization processing system of the authorization node encrypts the feedback information based on the encryption protocol and the secret key, And using the smart contract to broadcast the encrypted feedback information to each node of the blockchain network;
  • the first transaction module 106 is configured to: the feedback node is the confirmation transaction information corresponding to the to-be-sent information, and the publishing node performs a transaction transaction corresponding to the transaction information to the authorized node;
  • the first rejecting module 107 is configured to: if the feedback information is the reject transaction information corresponding to the to-be-sold information, the publishing node refuses to perform a transaction transaction corresponding to the transaction information to the authorized node.
  • the authorization node decrypts the to-be-traded information, it indicates that the authorized node has obtained the relevant authority (for example, reading right, etc.) of the to-be-traded information, and determines whether to perform the transaction with respect to the related authority, and then the authorized node generates a corresponding Feedback information.
  • the authority processing system of the authorized node is based on the encryption in the public encryption and decryption parameters.
  • the protocol and the secret key encrypt the feedback information, for example, the DES encryption protocol, the AES encryption protocol, the AES encryption protocol, the RSA encryption protocol, and the like corresponding to the DES decryption protocol, the AES decryption protocol, and the RSA decryption protocol described above.
  • the encrypted feedback information is then broadcast to each node of the blockchain network by the smart contract for the publishing node and other authorized nodes to read and decrypt the feedback information.
  • the publishing node executes and The authorization node transactions the transaction transaction corresponding to the transaction information; if the feedback information is the rejection transaction information corresponding to the transaction information, the publishing node refuses to execute the transaction transaction corresponding to the transaction information of the authorized node transaction.
  • the feedback information is encrypted by using the secret key and the encryption protocol, so that only the publishing node and other authorized nodes can know which nodes have the relevant authority of the information to be traded, and can process the transaction in the blockchain network.
  • the authority is further effectively controlled.
  • the above-mentioned block chain transaction-based authority control system further includes:
  • a second encryption module 108 configured to: after the authorization node generates the feedback information corresponding to the decrypted to-be-sent information, the authorization processing system of the authorization node is based on the encryption protocol and the public key pair of the publishing node The feedback information is encrypted, and the encrypted feedback information is broadcast to each node of the blockchain network by using a smart contract;
  • the second transaction module 109 is configured to: if the feedback information is the confirmation transaction information corresponding to the to-be-sent information, the publishing node performs a transaction transaction corresponding to the to-be-traded information to the authorized node;
  • the second rejection module 110 is configured to: if the feedback information is the rejection transaction information corresponding to the to-be-sent information, the publishing node refuses to perform a transaction transaction corresponding to the transaction information to the authorized node.
  • the authorization node after the authorization node decrypts the to-be-traded information, it indicates that the authorized node has obtained the relevant authority (for example, reading right, etc.) of the to-be-traded information, and determines whether to perform the transaction with respect to the related authority, and then the authorized node generates a corresponding Feedback information.
  • the authorization processing system of the authorized node is based on the encryption in the public encryption and decryption parameters.
  • the protocol and the public key of the publishing node encrypt the feedback information, for example, the DES encryption protocol, the AES encryption protocol, the AES encryption protocol, the RSA encryption protocol, and the like corresponding to the DES decryption protocol, the AES decryption protocol, and the RSA decryption protocol described above.
  • the intelligent feedback is used to broadcast the encrypted feedback information to each node of the blockchain network, so that the publishing node reads and decrypts the feedback information by using the private key corresponding to the public key of the publishing node and the decryption protocol.
  • the publishing node If the feedback information is the confirmation transaction information corresponding to the to-be-traded information, the publishing node performs a transaction transaction corresponding to the transaction information to be processed by the authorized node; if the feedback information is the rejection transaction information corresponding to the to-be-traded information, the publishing node refuses to execute and authorize the node. Transaction transaction corresponding to the transaction information to be traded.
  • the public key of the publishing node and the encryption protocol are used to encrypt the feedback information, so that only the publishing node can know which nodes have the relevant authority of the information to be traded, and can perform the transaction processing permission in the blockchain network. Further effective management and control.
  • the foregoing blockchain transaction-based authority control system further includes:
  • An identity authentication module configured to: if the smart contract of the unauthorized node sends a decryption authorization request carrying the identity authentication information to the publishing node, the rights processing system of the publishing node performs the identifier authentication information based on the identity authentication information User identity authentication;
  • a third rejecting module configured to: if the identity authentication fails, the publishing node refuses to respond to the decryption authorization request;
  • An obtaining module configured to obtain, by the publishing node, a processing result of the user for the decryption authorization request, if the identity authentication succeeds;
  • an authorization module configured to: if the processing result is that the decryption authorization request is performed, the authority processing system of the publishing node encrypts the secret key by using a secret parameter corresponding to the unauthorized node, and encrypts the secret key Is issued to each node of the blockchain network by a smart contract of the publishing node, and the data permission system of the unauthorized node decrypts the to-be-traded information to decrypt the to-be-traded information to the unauthorized node. ;
  • the publishing node denies decryption authorization to the unauthorized node for the encrypted to-be-sent information.
  • the unlicensed node is a node other than the issuing node and the authorized node, that is, a node without decryption authorization.
  • the smart contract of the unauthorized node is targeted.
  • the encrypted to-be-transformed information generates a decryption authorization request carrying the identity authentication information
  • the publishing node performs identity authentication after obtaining the decryption authorization request
  • the identity authentication information is, for example, a digital certificate
  • the authority processing system of the publishing node is based on the identity authentication information pair.
  • the unauthorized node performs identity authentication, that is, analyzes whether the unauthorized node can read and decrypt the pending transaction information.
  • the privilege processing system of the publishing node may store identity authentication information of other nodes and corresponding users, specifically, if one of the identity authentication information stored by the privilege processing system of the publishing node and the unauthorised node and the corresponding user identity authentication If the information is the same, the identity authentication is successful, and then the issuer processes the decryption authorization request, that is, grants the unauthorized node to read the pending transaction information for decryption authorization or does not permit the unauthorized node to read the pending transaction information for decryption authorization. To get the processing result of the corresponding decryption authorization.
  • the authority processing system of the publishing node encrypts the secret key by using the secret parameter corresponding to the unauthorized node, and issues the encrypted key to each of the blockchain networks through the smart contract of the publishing node.
  • a node the data permission system of the unauthorized node decrypts the to-be-traded information
  • the permission processing system of the publishing node decrypts and authorizes the unauthorized node for the encrypted to-be-traded information; if the processing result is a rejection of the decryption authorization request, the node is released.
  • the privilege processing system refuses to decrypt the unauthorized node for the encrypted pending transaction information.
  • the authorization of the unauthorized node may be decrypted, that is, the authority processing system of the publishing node performs identity authentication based on the identity authentication information of the unauthorized node, and obtains the processing result corresponding to the decryption authorization request by the issuing party when the identity authentication is passed. If the processing result is a decryption authorization request, the publishing node implements decryption authorization for the unauthorized node to read the to-be-traded information, that is, realizes the relief of the decryption authorization of the unauthorized node, and improves the flexibility of the blockchain authority management and control. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Computer And Data Communications (AREA)
  • Storage Device Security (AREA)

Abstract

本发明涉及一种基于区块链交易的权限管制方法、***、电子装置及计算机可读存储介质,该方法包括:为区块链网络的各个节点构建权限处理***并部署智能合约;若一发布方有加密的待交易信息对至少一个授权方进行解密授权,则发布节点上的权限处理***获取与各授权方对应的公共加解密参数,并通过与授权方对应的保密参数加密待交易信息的秘钥,利用智能合约在区块链网络上发布公共加解密参数及保密参数;发布节点的权限处理***将待交易信息通过智能合约向区块链网络的各个节点发布;授权节点接收到待交易信息后,其权限处理***利用解密参数对待交易信息的秘钥进行解密,基于解密后的秘钥与公共加解密参数解密待交易信息。本发明能够对区块链网络中事务处理的权限进行有效控制。

Description

基于区块链交易的权限管制方法、***、电子装置及存储介质
优先权申明
本申请基于巴黎公约申明享有2016年10月27日递交的申请号为CN201610960002.4、名称为“基于区块链交易的权限管制方法及***”中国专利申请的优先权,该中国专利申请的整体内容以参考的方式结合在本申请中。
技术领域
本发明涉及区块链技术领域,尤其涉及一种基于区块链交易的权限管制方法、***、电子装置及计算机可读存储介质。
背景技术
区块链本质上是一个分布式的数据库,区块链上面的信息就会被P2P(Peer-to-peer,对等)网络分享到所有节点上去。区块链的这种信息分享特性的问题在于:如果参与方A想要发布一个产品指定给参与方B和参与方C,那么区块链上的其他参与方是无权知道这个产品的任何信息,在不做改进时,作为分布式的数据库的区块链难以实现该功能。现有技术中一个较简单的解决方案是在智能合约上对数据调用加上权限控制,比如当参与方D想通过API(Application Programming Interface,应用程序编程接口)读取参与方A发布的产品信息时,智能合约发现D没有指定的权限并驳回申请,然而,这个解决方案存在的问题是:如果参与方D拥有相关节点,可以直接读取节点数据库里处于非加密状态的信息,这样参与方D仍可以读取参与方A发布的产品信息,除非采用防篡改硬件保护或对节点实施中心管理(如云管理),不然很难通过授权方式实施信息保护。因此,如何在去中心化的区块链网络中实现事务处理的有效权限控制已经成为一个亟待解决的技术问题。
发明内容
本发明的目的在于提供一种基于区块链交易的权限管制方法、***、电子装置及计算机可读存储介质,旨在对区块链网络中事务处理的权限进行有效控制。
为实现上述目的,本发明提供一种基于区块链交易的权限管制方法,所述基于区块链交易的权限管制方法包括:
S1,为区块链网络的各个节点构建用于加密信息发布及加解密处理的权限处理***,并在所述区块链网络部署用于传递加解密信息的智能合约;
S2,若一发布方有加密的待交易信息对至少一个授权方进行解密授权,则发布方对应的发布节点上的权限处理***获取与各授权方对应的公共加解密参数,并通过与授权方对应的保密参数加密所述待交易信息的秘钥,利用所述智能合约在所述区块链网络上发布所述公共加解密参数及保密参数;
S3,所述发布节点的权限处理***将所述待交易信息通过智能合约向所述区块链网络的各个节点发布;
S4,所述授权方对应的授权节点在通过智能合约接收到所述待交易信息后,所述授权节点的权限处理***利用与所述保密参数对应的解密参数对所述待交易信息的秘钥进行解密,基于解密后的秘钥与所述公共加解密参数解密所述待交易信息,以将所述待交易信息对所述授权节点进行解密授权。
为实现上述目的,本发明还提供一种基于区块链交易的权限管制***,所述基于区块链交易的权限管制***包括:
构建模块,用于为区块链网络的各个节点构建用于加密信息发布及加解密处理的权限处理***,并在所述区块链网络部署用于传递加解密信息的智能合约;
第一发布模块,用于若一发布方有加密的待交易信息对至少一个授权方进行解密授权,则发布方对应的发布节点上的权限处理***获取与各授权方对应的公共加解密参数,并通过与授权方对应的保密参数加密所述待交易信息的秘钥,利用所述智能合约在所述区块链网络上发布所述公共加解密参数及保密参数;
第二发布模块,用于所述发布节点的权限处理***将所述待交易信息通过智能合约向所述区块链网络的各个节点发布;
解密模块,用于所述授权方对应的授权节点在通过智能合约接收到所述待交易信息后,所述授权节点的权限处理***利用与所述保密参数对应的解密参数对所述待交易信息的秘钥进行解密,基于解密后的秘钥与所述公共加解密参数解密所述待交易信息,以将所述待交易信息对所述授权节点进行解密授权。
为实现上述目的,本发明还提供一种电子装置,所述电子装置包括存储器及与所述存储器连接的处理器,所述存储器中存储有可在所述处理器上运行的基于区块链交易的权限管制***,所述基于区块链交易的权限管制***被所述处理器执行时实现如下步骤:
S1,为区块链网络的各个节点构建用于加密信息发布及加解密处理的权限处理***,并在所述区块链网络部署用于传递加解密信息的智能合约;
S2,若一发布方有加密的待交易信息对至少一个授权方进行解密授权,则发布方对应的发布节点上的权限处理***获取与各授权方对应的公共加解密参数,并通过与授权方对应的保密参数加密所述待交易信息的秘钥,利用所述智能合约在所述区块链网络上发布所述公共加解密参数及保密参数;
S3,所述发布节点的权限处理***将所述待交易信息通过智能合约向所述区块链网络的各个节点发布;
S4,所述授权方对应的授权节点在通过智能合约接收到所述待交易信息后,所述授权节点的权限处理***利用与所述保密参数对应的解密参数对所述待交易信息的秘钥进行解密,基于解密后的秘钥与所述公共加解密参数解密所述待交易信息,以将所述待交易信息对所述授权节点进行解密授权。
为实现上述目的,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有基于区块链交易的权限管制***,所述基于区块链交易的权限管制***被处理器执行时实现以下步骤:
S1,为区块链网络的各个节点构建用于加密信息发布及加解密处理的权限处理***,并在所述区块链网络部署用于传递加解密信息的智能合约;
S2,若一发布方有加密的待交易信息对至少一个授权方进行解密授权,则发布方对应的发布节点上的权限处理***获取与各授权方对应的公共加解密参数,并通过与授权方对应的保密参数加密所述待交易信息的秘钥,利用所述智能合约在所述区块链网络上发布所述公共加解密参数及保密参数;
S3,所述发布节点的权限处理***将所述待交易信息通过智能合约向所述区块链网络的各个节点发布;
S4,所述授权方对应的授权节点在通过智能合约接收到所述待交易信息后,所述授权节点的权限处理***利用与所述保密参数对应的解密参数对所述待交易信息的秘钥进行解密,基于解密后的秘钥与所述公共加解密参数解密所述待交易信息,以将所述待交易信息对所述授权节点进行解密授权。
本发明的有益效果是:本发明在区块链网络的各个节点构建权限处理***及部署智能合约,由各个节点的权限处理***处理权限控制及由智能合约进行信息共享,若一发布方有加密的待交易信息对至少一个授权方进行解密授权,则发布节点利用授权方对应的保密参数加密待交易信息的秘钥,然后通过智能合约发布公共加解密参数及保密参数,授权节点利用与保密参数对应的解密参数对待交易信息的秘钥进行解密,最终可以通过秘钥与共加解密参数解密待交易信息,实现将待交易信息从发布节点向至少一个授权节点进行解密授权,授权节点能够得到读取待交易信息并可执行后续的交易的权限,除授权节点外的其他节点没有相关的权限,能够对区块链网络中事务处理的权限进行有效控制,提高***可靠性。
附图说明
图1为本发明各个实施例一可选的应用环境示意图;
图2为本发明基于区块链交易的权限管制方法第一实施例的流程示意图;
图3为图2所示的实施例的交互示意图;
图4为本发明基于区块链交易的权限管制方法第二实施例的流程示意图;
图5为本发明基于区块链交易的权限管制方法第三实施例的流程示意图;
图6为本发明基于区块链交易的权限管制***第一实施例的结构示意图;
图7为本发明基于区块链交易的权限管制***第二实施例的结构示意图;
图8为本发明基于区块链交易的权限管制***第三实施例的结构示意图。
具体实施方式
以下结合附图对本发明的原理和特征进行描述,所举实例只用于解释本发明,并非用于限定本发明的范围。
参阅图1所示,是本发明基于区块链交易的权限管制方法的较佳实施例的应用环境示意图。该应用环境示意图包括电子装置1及终端设备2。电子装置1可以通过网络、近场通信技术等适合的技术与终端设备2进行数据交互。
所述终端设备2包括,但不限于,任何一种可与用户通过键盘、鼠标、遥控器、触摸板或者声控设备等方式进行人机交互的电子产品,例如,个人计算机、平板电脑、智能手机、个人数字助理(Personal Digital Assistant,PDA)、游戏机、交互式网络电视(Internet Protocol Television,IPTV)、智能式穿戴式设备、导航装置等等的可移动设备,或者诸如数字TV、台式计算机、笔记本、服务器等等的固定终端。
所述电子装置1是一种能够按照事先设定或者存储的指令,自动进行数值计算和/或信息处理的设备。所述电子装置1可以是计算机、也可以是单个网络服务器、多个网络服务器组成的服务器组或者基于云计算的由大量主机或者网络服务器构成的云,其中云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个超级虚拟计算机。
本实施例中,电子装置1可包括,但不仅限于,可通过***总线相互通信连接的存储器11、处理器12,网络接口13,存储器11存储有可在处理器12上运行的基于区块链交易的权限管制***。需要指出的是,图1仅示出了具有组件11-13的电子装置1,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。
其中,存储设备11包括内存及至少一种类型的可读存储介质。内存为电子装置1的运行提供缓存;可读存储介质可为如闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等的非易失性存储介质。在一些实施例中,可读存储介质可以是电子装置1的内部存储单元,例如该电子装置1的硬盘;在另一些实施例中,该非易失性存储介质也可以是电子装置1的外部存储设备,例如电子装置1上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。本实施例中,存储设备11的可读存储介质通常用于存储安装于电子装置1的操作***和各类应用软件,例如本发明一实施例中的基于区块链交易的权限管制***的程序代码等。此外,存储设备11还可以用于暂时地存储已经输出或者将要输出的各类数据。
所述处理器12在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器12通常用于控制所述电子装置1的总体操作,例如执行与所述终端设备2进行数据交互或者通信相关的控制和处理等。本实施例中,所述处理器12用于运行所述存储器11中存储的程序代码或者处理数据,例如运行基于区块链交易的权限管制***等。
所述网络接口13可包括无线网络接口或有线网络接口,该网络接口13通常用于在所述电子装置1与其他电子设备之间建立通信连接。本实施例中,网络接口13主要用于将电子装置1与一个或多个终端设备2相连,在电子装置1与一个或多个终端设备2之间建立数据传输通道和通信连接。
所述基于区块链交易的权限管制***存储在存储器11中,包括至少一个存储在存储器11中的计算机可读指令,该至少一个计算机可读指令可被处理器12执行,以实现本发明各实施例的基于区块链交易的权限管制的方法;如后续所述,该至少一个计算机可读指令依据其各部分所实现的功能不同,可被划为不同的逻辑模块。
所述基于区块链交易的权限管制***被所述处理器12执行时实现:在区块链网络的各个节点构建权限处理***及部署智能合约,由各个节点的权限处理***处理权限控制及由智能合约进行信息共享,若一发布方有加密的待交易信息对至少一个授权方进行解密授权,则发布节点利用授权方对应的保密参数加密待交易信息的秘钥,然后通过智能合约发布公共加解密参数及保密参数,授权节点利用与保密参数对应的解密参数对待交易信息的秘钥进行解密,最终可以通过秘钥与共加解密参数解密待交易信息,实现将待交易信息从发布节点向至少一个授权节点进行解密授权,授权节点能够得到读取待交易信息并可执行后续的交易的权限,除授权节点外的其他节点没有相关的权限,能够对区块链网络中事务处理的权限进行有效控制,提高***可靠性。
如图2所示,图2为本发明基于区块链交易的权限管制方法一实施例的流程示意图,该基于区块链交易的权限管制方法包括以下步骤:
步骤S1,为区块链网络的各个节点构建用于加密信息发布及加解密处理的权限处理***,并在所述区块链网络部署用于传递加解密信息的智能合约;
在区块链网络中,一个节点对应一个或者多个智能合约,当一个交易参数传到区块链的节点上时,这个交易参数会被记录到该节点对应的事务记录上并同时传给与该交易参数对应的智能合约去运行,由该交易参数对应的智能合约上的代码对智能合约的自身数据进行更新。
本实施例中,区块链网络中的每一节点均构建用于加密信息发布及加解密处理的权限处理***,每一权限处理***对应独立于每个节点上,主要用于处理授权事宜,并在区块链网络部署用于传递加解密信息的智能合约,智能合约主要用来在区块链网络上共享信息。
步骤S2,若一发布方有加密的待交易信息对至少一个授权方进行解密授权,则发布方对应的发布节点上的权限处理***获取与各授权方对应的公共加解密参数,并通过与授权方对应的保密参数加密所述待交易信息的秘钥,利用所述智能合约在所述区块链网络上发布所述公共加解密参数及保密参数;
本实施例中,待交易信息为加密的信息,其需要对应的解密协议及秘钥进行解密。用户可通过发布方对应的发布节点处理授权相关事务,授权方对应的授权节点有一个或多个。发布方对应的发布节点上的权限处理***获取与各授权方对应的公共加解密参数,例如,公共加解密参数可以存储在一数据库中,发布节点上的权限处理***将每一公共加解密参数对应一授权方的授权节点。另外,每一授权节点均对应一保密参数,该保密参数与对应的解密参数是一对,区块链网络中的每一节点均可以有相应的保密参数及解密参数,保密参数是公开的部分,解密参数是非公开的部分。该保密参数例如是授权节点的公钥,每一节点中的公钥及私钥为一密钥对,其中,公钥是公开的部分,私钥则是非公开的部分。
如果发布方有加密的待交易信息对至少一个授权方进行解密授权,由于保密参数是公开的部分,因此发布节点的权限处理***可以获取到各个授权节点的保密参数,然后利用各个授权节点的保密参数加密待交易信息在解密时需要的秘钥。公共加解密参数包括解析协议,解密协议例如可以是DES解密协议、AES解密协议、RSA解密协议等等。对于利用授权节点的保密参数加密后的秘钥,其只有该保密参数的授权节点中的解密参数才能进行解密,而其他节点不能对其该加密后的秘钥进行解密,这样,能够保证只有授权节点才能获取到秘钥。
本实施例中,由授权节点的智能合约将公共加解密参数及保密参数向区块链网络的各个节点发布,如图3所示的步骤1,即该区块链网络中的所有节点均能够接收到该公共加解密参数及保密参数,但是只有各授权节点才能利用相应的解密参数来解密得到秘钥,其他的节点由于没有相应的解密参数,因此无法进行解密。
优选地,授权节点的智能合约将公共加解密参数及保密参数通过对等网络发布出去,然后通知各个授权节点的用户读取公共加解密参数及保密参数。
步骤S3,所述发布节点的权限处理***将所述待交易信息通过智能合约向所述区块链网络的各个节点发布;
步骤S4,所述授权方对应的授权节点在通过智能合约接收到所述待交易信息后,所述授权节点的权限处理***利用与所述保密参数对应的解密参数对所述待交易信息的秘钥进行解密,基于解密后的秘钥与所述公共加解密参数解密所述待交易信息,以将所述待交易信息对所述授权节点进行解密授权。
参阅图3所示的步骤2、3及4,发布节点的权限处理***将待交易信息 通过智能合约向区块链网络的各个节点发布,各个节点均能接收到该加密的待交易信息。
本实施例中,如果有授权节点读取了发布节点发布的公共加解密参数及保密参数,由于授权节点有保密参数对应的解密参数,因此授权节点的权限处理***可以通过该保密参数对应的解密参数对秘钥进行解密。此外,授权节点的权限处理***在读取加密的待交易信息后,可以利用解密后的秘钥及公共加解密参数对读取的待交易信息进行解密,具体地,利用秘钥及公共加解密参数中的解密协议对读取的待交易信息进行解密,使得授权节点能够得到解密后的待交易信息,实现将待交易信息从发布节点向至少一个授权节点进行解密授权,也就是说,只有授权节点才有权限获知发布节点发布的待交易信息,进而能够处理待交易信息相关的事务。
与现有技术相比,本实施例在区块链网络的各个节点构建权限处理***及部署智能合约,由各个节点的权限处理***处理权限控制及由智能合约进行信息共享,若一发布方有加密的待交易信息对至少一个授权方进行解密授权,则发布节点利用授权方对应的保密参数加密待交易信息的秘钥,然后通过智能合约发布公共加解密参数及保密参数,授权节点利用与保密参数对应的解密参数对待交易信息的秘钥进行解密,最终可以通过秘钥与共加解密参数解密待交易信息,实现将待交易信息从发布节点向至少一个授权节点进行解密授权,授权节点能够得到读取待交易信息并可执行后续的交易的权限,除授权节点外的其他节点没有相关的权限,能够对区块链网络中事务处理的权限进行有效控制,提高***可靠性。
在一优选的实施例中,如图4所示,在上述图2的实施例的基础上,公共加解密参数包括加密协议,上述步骤S4之后还包括:
S5,在所述授权节点生成解密后的待交易信息对应的回馈信息后,所述授权节点的权限处理***基于所述加密协议及秘钥对所述回馈信息进行加密,并利用所述智能合约将加密后的回馈信息向所述区块链网络的各个节点进行广播;
S6,若所述回馈信息为所述待交易信息对应的确认交易信息,则所述发布节点执行向授权节点交易所述待交易信息对应的交易事务;
S7,若所述回馈信息为所述待交易信息对应的拒绝交易信息,则所述发布节点拒绝执行向授权节点交易所述待交易信息对应的交易事务。
本实施例中,授权节点解密待交易信息后,即表明授权节点已经得到该待交易信息的相关权限(例如读取权等),并且就该相关权限确定是否进行交易,这时授权节点生成对应的回馈信息。为了将该回馈信息仅向发布节点及各个授权节点公开,以便发布节点及其他各个授权节点能够获知哪些节点拥有待交易信息的相关权限,该授权节点的权限处理***基于公共加解密参数中的加密协议及秘钥对回馈信息进行加密,加密协议例如是与上述的DES解密协议、AES解密协议、RSA解密协议对应的DES加密协议、AES加密协议、RSA加密协议等。然后利用智能合约将加密后的回馈信息向区块链网 络的各个节点进行广播,以供发布节点及其他各个授权节点读取并解密回馈信息。如果回馈信息为待交易信息对应的确认交易信息,则发布节点执行与授权节点交易待交易信息对应的交易事务;如果回馈信息为待交易信息对应的拒绝交易信息,则发布节点拒绝执行与授权节点交易待交易信息对应的交易事务。
本实施例在权限的管控中,利用秘钥及加密协议加密回馈信息,使得仅有发布节点及其他各个授权节点能够获知哪些节点拥有待交易信息的相关权限,能够对区块链网络中事务处理的权限进一步进行有效管控。
在一优选的实施例中,如图5所示,在上述图2的实施例的基础上,公共加解密参数包括加密协议,上述步骤S4之后还包括:
S8,在所述授权节点生成解密后的待交易信息对应的回馈信息后,所述授权节点的权限处理***基于所述加密协议及所述发布节点的公钥对所述回馈信息进行加密,并利用智能合约将加密后的回馈信息向区块链网络的各个节点进行广播;
S9,若所述回馈信息为所述待交易信息对应的确认交易信息,则所述发布节点执行向授权节点交易所述待交易信息对应的交易事务;
S10,若所述回馈信息为所述待交易信息对应的拒绝交易信息,则所述发布节点拒绝执行向授权节点交易所述待交易信息对应的交易事务。
本实施例中,授权节点解密待交易信息后,即表明授权节点已经得到该待交易信息的相关权限(例如读取权等),并且就该相关权限确定是否进行交易,这时授权节点生成对应的回馈信息。为了将该回馈信息仅向发布节点公开,而不对授权节点及其他节点公开,以便发布节点能够获知哪些节点拥有待交易信息的相关权限,该授权节点的权限处理***基于公共加解密参数中的加密协议及发布节点的公钥对回馈信息进行加密,加密协议例如是与上述的DES解密协议、AES解密协议、RSA解密协议对应的DES加密协议、AES加密协议、RSA加密协议等。然后利用智能合约将加密后的回馈信息向区块链网络的各个节点进行广播,以供发布节点读取并利用发布节点的公钥对应的私钥及解密协议解密回馈信息。如果回馈信息为待交易信息对应的确认交易信息,则发布节点执行与授权节点交易待交易信息对应的交易事务;如果回馈信息为待交易信息对应的拒绝交易信息,则发布节点拒绝执行与授权节点交易待交易信息对应的交易事务。
本实施例在权限的管控中,利用发布节点的公钥及加密协议加密回馈信息,使得仅有发布节点能够获知哪些节点拥有待交易信息的相关权限,能够对区块链网络中事务处理的权限进一步进行有效管控。
在一优选的实施例中,在上述图2的实施例的基础上,上述步骤S4之后还包括:
若无授权节点的智能合约针对所述加密的待交易信息向发布节点发送携带身份认证信息的解密授权请求,则所述发布节点的权限处理***基于所述身份认证信息进行用户身份认证;
若身份认证失败,则所述发布节点拒绝响应所述解密授权请求;
若身份认证成功,则所述发布节点获取用户针对所述解密授权请求的处理结果;
若所述处理结果为通过所述解密授权请求,则所述发布节点的权限处理***利用所述无授权节点对应的保密参数加密所述秘钥,并将加密后的秘钥通过发布节点的智能合约发布给该区块链网络的各个节点,供所述无授权节点的数据权限***解密所述待交易信息,以将所述待交易信息对所述无授权节点进行解密授权;
若所述处理结果为拒绝所述解密授权请求,则所述发布节点拒绝针对加密的待交易信息对所述无授权节点进行解密授权。
本实施例中,无授权节点为除发布节点及授权节点外的节点,即为无解密授权的节点,为了对无授权节点读取待交易信息进行解密授权救济,无授权节点的智能合约针对所述加密的待交易信息生成携带身份认证信息的解密授权请求,发布节点在获取该解密授权请求后进行身份认证,身份认证信息例如为数字证书等,发布节点的权限处理***基于该身份认证信息对无授权节点进行身份认证,即分析是否能够对该无授权节点读取待交易信息进行解密授权。发布节点的权限处理***可以存储有其他节点及对应的用户的身份认证信息,具体地,如果发布节点的权限处理***存储的身份认证信息的其中之一与该无授权节点及对应的用户身份认证信息相同,则身份认证成功,然后由发布方对解密授权请求进行处理,即准予对该无授权节点读取待交易信息进行解密授权或者不准予对该无授权节点读取待交易信息进行解密授权,以得到对应的解密授权的处理结果。
如果处理结果为通过解密授权请求,则发布节点的权限处理***利用无授权节点对应的保密参数加密秘钥,并将加密后的秘钥通过发布节点的智能合约发布给该区块链网络的各个节点,供无授权节点的数据权限***解密所述待交易信息,实现发布节点的权限处理***针对加密的待交易信息对无授权节点进行解密授权;如果处理结果为拒绝解密授权请求,则发布节点的权限处理***拒绝针对加密的待交易信息对无授权节点进行解密授权。
本实施例可以对无授权节点进行解密授权的救济,即发布节点的权限处理***基于无授权节点的身份认证信息进行身份认证,并在身份认证通过时获取发布方对解密授权请求对应的处理结果,如果该处理结果为通过解密授权请求,则发布节点实现对无授权节点读取该待交易信息的解密授权,即实现对无授权节点的解密授权的救济,提高区块链权限管控的灵活性。
如图6所示,图6为本发明基于区块链交易的权限管制***一实施例的结构示意图,该基于区块链交易的权限管制***根据其不同的功能,可以划分为多个功能模块,包括:
构建模块101,用于为区块链网络的各个节点构建用于加密信息发布及加解密处理的权限处理***,并在所述区块链网络部署用于传递加解密信息的智能合约;
在区块链网络中,一个节点对应一个或者多个智能合约,当一个交易参数传到区块链的节点上时,这个交易参数会被记录到该节点对应的事务记录上并同时传给与该交易参数对应的智能合约去运行,由该交易参数对应的智能合约上的代码对智能合约的自身数据进行更新。
本实施例中,区块链网络中的每一节点均构建用于加密信息发布及加解密处理的权限处理***,每一权限处理***对应独立于每个节点上,主要用于处理授权事宜,并在区块链网络部署用于传递加解密信息的智能合约,智能合约主要用来在区块链网络上共享信息。
第一发布模块102,用于若一发布方有加密的待交易信息对至少一个授权方进行解密授权,则发布方对应的发布节点上的权限处理***获取与各授权方对应的公共加解密参数,并通过与授权方对应的保密参数加密所述待交易信息的秘钥,利用所述智能合约在所述区块链网络上发布所述公共加解密参数及保密参数;
本实施例中,待交易信息为加密的信息,其需要对应的解密协议及秘钥进行解密。用户可通过发布方对应的发布节点处理授权相关事务,授权方对应的授权节点有一个或多个。发布方对应的发布节点上的权限处理***获取与各授权方对应的公共加解密参数,例如,公共加解密参数可以存储在一数据库中,发布节点上的权限处理***将每一公共加解密参数对应一授权方的授权节点。另外,每一授权节点均对应一保密参数,该保密参数与对应的解密参数是一对,区块链网络中的每一节点均可以有相应的保密参数及解密参数,保密参数是公开的部分,解密参数是非公开的部分。该保密参数例如是授权节点的公钥,每一节点中的公钥及私钥为一密钥对,其中,公钥是公开的部分,私钥则是非公开的部分。
如果发布方有加密的待交易信息对至少一个授权方进行解密授权,由于保密参数是公开的部分,因此发布节点的权限处理***可以获取到各个授权节点的保密参数,然后利用各个授权节点的保密参数加密待交易信息在解密时需要的秘钥。公共加解密参数包括解析协议,解密协议例如可以是DES解密协议、AES解密协议、RSA解密协议等等。对于利用授权节点的保密参数加密后的秘钥,其只有该保密参数的授权节点中的解密参数才能进行解密,而其他节点不能对其该加密后的秘钥进行解密,这样,能够保证只有授权节点才能获取到秘钥。
本实施例中,由授权节点的智能合约将公共加解密参数及保密参数向区块链网络的各个节点发布,即该区块链网络中的所有节点均能够接收到该公共加解密参数及保密参数,但是只有各授权节点才能利用相应的解密参数来解密得到秘钥,其他的节点由于没有相应的解密参数,因此无法进行解密。
优选地,授权节点的智能合约将公共加解密参数及保密参数通过对等网络发布出去,然后通知各个授权节点的用户读取公共加解密参数及保密参数。
第二发布模块103,用于所述发布节点的权限处理***将所述待交易信 息通过智能合约向所述区块链网络的各个节点发布;
解密模块104,用于所述授权方对应的授权节点在通过智能合约接收到所述待交易信息后,所述授权节点的权限处理***利用与所述保密参数对应的解密参数对所述待交易信息的秘钥进行解密,基于解密后的秘钥与所述公共加解密参数解密所述待交易信息,以将所述待交易信息对所述授权节点进行解密授权。
本实施例中,发布节点的权限处理***将待交易信息通过智能合约向区块链网络的各个节点发布,各个节点均能接收到该加密的待交易信息。
本实施例中,如果有授权节点读取了发布节点发布的公共加解密参数及保密参数,由于授权节点有保密参数对应的解密参数,因此授权节点的权限处理***可以通过该保密参数对应的解密参数对秘钥进行解密。此外,授权节点的权限处理***在读取加密的待交易信息后,可以利用解密后的秘钥及公共加解密参数对读取的待交易信息进行解密,具体地,利用秘钥及公共加解密参数中的解密协议对读取的待交易信息进行解密,使得授权节点能够得到解密后的待交易信息,实现将待交易信息从发布节点向至少一个授权节点进行解密授权,也就是说,只有授权节点才有权限获知发布节点发布的待交易信息,进而能够处理待交易信息相关的事务。
在一优选的实施例中,如图7所示,在上述图6的实施例的基础上,上述基于区块链交易的权限管制***还包括:
第一加密模块105,用于在所述授权节点生成解密后的待交易信息对应的回馈信息后,所述授权节点的权限处理***基于所述加密协议及秘钥对所述回馈信息进行加密,并利用所述智能合约将加密后的回馈信息向所述区块链网络的各个节点进行广播;
第一交易模块106,用于所述回馈信息为所述待交易信息对应的确认交易信息,则所述发布节点执行向授权节点交易所述待交易信息对应的交易事务;
第一拒绝模块107,用于若所述回馈信息为所述待交易信息对应的拒绝交易信息,则所述发布节点拒绝执行向授权节点交易所述待交易信息对应的交易事务。
本实施例中,授权节点解密待交易信息后,即表明授权节点已经得到该待交易信息的相关权限(例如读取权等),并且就该相关权限确定是否进行交易,这时授权节点生成对应的回馈信息。为了将该回馈信息仅向发布节点及各个授权节点公开,以便发布节点及其他各个授权节点能够获知哪些节点拥有待交易信息的相关权限,该授权节点的权限处理***基于公共加解密参数中的加密协议及秘钥对回馈信息进行加密,加密协议例如是与上述的DES解密协议、AES解密协议、RSA解密协议对应的DES加密协议、AES加密协议、RSA加密协议等。然后利用智能合约将加密后的回馈信息向区块链网络的各个节点进行广播,以供发布节点及其他各个授权节点读取并解密回馈信息。如果回馈信息为待交易信息对应的确认交易信息,则发布节点执行与 授权节点交易待交易信息对应的交易事务;如果回馈信息为待交易信息对应的拒绝交易信息,则发布节点拒绝执行与授权节点交易待交易信息对应的交易事务。
本实施例在权限的管控中,利用秘钥及加密协议加密回馈信息,使得仅有发布节点及其他各个授权节点能够获知哪些节点拥有待交易信息的相关权限,能够对区块链网络中事务处理的权限进一步进行有效管控。
在一优选的实施例中,如图8所示,在上述图6的实施例的基础上,上述基于区块链交易的权限管制***还包括:
第二加密模块108,用于在所述授权节点生成解密后的待交易信息对应的回馈信息后,所述授权节点的权限处理***基于所述加密协议及所述发布节点的公钥对所述回馈信息进行加密,并利用智能合约将加密后的回馈信息向区块链网络的各个节点进行广播;
第二交易模块109,用于若所述回馈信息为所述待交易信息对应的确认交易信息,则所述发布节点执行向授权节点交易所述待交易信息对应的交易事务;
第二拒绝模块110,用于若所述回馈信息为所述待交易信息对应的拒绝交易信息,则所述发布节点拒绝执行向授权节点交易所述待交易信息对应的交易事务。
本实施例中,授权节点解密待交易信息后,即表明授权节点已经得到该待交易信息的相关权限(例如读取权等),并且就该相关权限确定是否进行交易,这时授权节点生成对应的回馈信息。为了将该回馈信息仅向发布节点公开,而不对授权节点及其他节点公开,以便发布节点能够获知哪些节点拥有待交易信息的相关权限,该授权节点的权限处理***基于公共加解密参数中的加密协议及发布节点的公钥对回馈信息进行加密,加密协议例如是与上述的DES解密协议、AES解密协议、RSA解密协议对应的DES加密协议、AES加密协议、RSA加密协议等。然后利用智能合约将加密后的回馈信息向区块链网络的各个节点进行广播,以供发布节点读取并利用发布节点的公钥对应的私钥及解密协议解密回馈信息。如果回馈信息为待交易信息对应的确认交易信息,则发布节点执行与授权节点交易待交易信息对应的交易事务;如果回馈信息为待交易信息对应的拒绝交易信息,则发布节点拒绝执行与授权节点交易待交易信息对应的交易事务。
本实施例在权限的管控中,利用发布节点的公钥及加密协议加密回馈信息,使得仅有发布节点能够获知哪些节点拥有待交易信息的相关权限,能够对区块链网络中事务处理的权限进一步进行有效管控。
在一优选的实施例中,在上述图6的实施例的基础上,上述基于区块链交易的权限管制***还包括:
身份认证模块,用于若无授权节点的智能合约针对所述加密的待交易信息向发布节点发送携带身份认证信息的解密授权请求,则所述发布节点的权限处理***基于所述身份认证信息进行用户身份认证;
第三拒绝模块,用于若身份认证失败,则所述发布节点拒绝响应所述解密授权请求;
获取模块,用于若身份认证成功,则所述发布节点获取用户针对所述解密授权请求的处理结果;
授权模块,用于若所述处理结果为通过所述解密授权请求,则所述发布节点的权限处理***利用所述无授权节点对应的保密参数加密所述秘钥,并将加密后的秘钥通过发布节点的智能合约发布给该区块链网络的各个节点,供所述无授权节点的数据权限***解密所述待交易信息,以将所述待交易信息对所述无授权节点进行解密授权;
拒绝授权模块,用于若所述处理结果为拒绝所述解密授权请求,则所述发布节点拒绝针对加密的待交易信息对所述无授权节点进行解密授权。
本实施例中,无授权节点为除发布节点及授权节点外的节点,即为无解密授权的节点,为了对无授权节点读取待交易信息进行解密授权救济,无授权节点的智能合约针对所述加密的待交易信息生成携带身份认证信息的解密授权请求,发布节点在获取该解密授权请求后进行身份认证,身份认证信息例如为数字证书等,发布节点的权限处理***基于该身份认证信息对无授权节点进行身份认证,即分析是否能够对该无授权节点读取待交易信息进行解密授权。发布节点的权限处理***可以存储有其他节点及对应的用户的身份认证信息,具体地,如果发布节点的权限处理***存储的身份认证信息的其中之一与该无授权节点及对应的用户身份认证信息相同,则身份认证成功,然后由发布方对解密授权请求进行处理,即准予对该无授权节点读取待交易信息进行解密授权或者不准予对该无授权节点读取待交易信息进行解密授权,以得到对应的解密授权的处理结果。
如果处理结果为通过解密授权请求,则发布节点的权限处理***利用无授权节点对应的保密参数加密秘钥,并将加密后的秘钥通过发布节点的智能合约发布给该区块链网络的各个节点,供无授权节点的数据权限***解密所述待交易信息,实现发布节点的权限处理***针对加密的待交易信息对无授权节点进行解密授权;如果处理结果为拒绝解密授权请求,则发布节点的权限处理***拒绝针对加密的待交易信息对无授权节点进行解密授权。
本实施例可以对无授权节点进行解密授权的救济,即发布节点的权限处理***基于无授权节点的身份认证信息进行身份认证,并在身份认证通过时获取发布方对解密授权请求对应的处理结果,如果该处理结果为通过解密授权请求,则发布节点实现对无授权节点读取该待交易信息的解密授权,即实现对无授权节点的解密授权的救济,提高区块链权限管控的灵活性。
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (20)

  1. 一种基于区块链交易的权限管制方法,其特征在于,所述基于区块链交易的权限管制方法包括:
    S1,为区块链网络的各个节点构建用于加密信息发布及加解密处理的权限处理***,并在所述区块链网络部署用于传递加解密信息的智能合约;
    S2,若一发布方有加密的待交易信息对至少一个授权方进行解密授权,则发布方对应的发布节点上的权限处理***获取与各授权方对应的公共加解密参数,并通过与授权方对应的保密参数加密所述待交易信息的秘钥,利用所述智能合约在所述区块链网络上发布所述公共加解密参数及保密参数;
    S3,所述发布节点的权限处理***将所述待交易信息通过智能合约向所述区块链网络的各个节点发布;
    S4,所述授权方对应的授权节点在通过智能合约接收到所述待交易信息后,所述授权节点的权限处理***利用与所述保密参数对应的解密参数对所述待交易信息的秘钥进行解密,基于解密后的秘钥与所述公共加解密参数解密所述待交易信息,以将所述待交易信息对所述授权节点进行解密授权。
  2. 根据权利要求1所述的基于区块链交易的权限管制方法,其特征在于,所述公共加解密参数包括加密协议,所述步骤S4之后还包括:
    S5,在所述授权节点生成解密后的待交易信息对应的回馈信息后,所述授权节点的权限处理***基于所述加密协议及秘钥对所述回馈信息进行加密,并利用所述智能合约将加密后的回馈信息向所述区块链网络的各个节点进行广播;
    S6,若所述回馈信息为所述待交易信息对应的确认交易信息,则所述发布节点执行向授权节点交易所述待交易信息对应的交易事务;
    S7,若所述回馈信息为所述待交易信息对应的拒绝交易信息,则所述发布节点拒绝执行向授权节点交易所述待交易信息对应的交易事务。
  3. 根据权利要求1所述的基于区块链交易的权限管制方法,其特征在于,所述公共加解密参数包括加密协议,所述步骤S4之后还包括:
    S8,在所述授权节点生成解密后的待交易信息对应的回馈信息后,所述授权节点的权限处理***基于所述加密协议及所述发布节点的公钥对所述回馈信息进行加密,并利用智能合约将加密后的回馈信息向区块链网络的各个节点进行广播;
    S9,若所述回馈信息为所述待交易信息对应的确认交易信息,则所述发布节点执行向授权节点交易所述待交易信息对应的交易事务;
    S10,若所述回馈信息为所述待交易信息对应的拒绝交易信息,则所述发布节点拒绝执行向授权节点交易所述待交易信息对应的交易事务。
  4. 根据权利要求1所述的基于区块链交易的权限管制方法,其特征在于,所述步骤S4之后还包括:
    若无授权节点的智能合约针对所述加密的待交易信息向发布节点发送 携带身份认证信息的解密授权请求,则所述发布节点的权限处理***基于所述身份认证信息进行用户身份认证;
    若身份认证失败,则所述发布节点拒绝响应所述解密授权请求;
    若身份认证成功,则所述发布节点获取用户针对所述解密授权请求的处理结果;
    若所述处理结果为通过所述解密授权请求,则所述发布节点的权限处理***利用所述无授权节点对应的保密参数加密所述秘钥,并将加密后的秘钥通过发布节点的智能合约发布给该区块链网络的各个节点,供所述无授权节点的数据权限***解密所述待交易信息,以将所述待交易信息对所述无授权节点进行解密授权;
    若所述处理结果为拒绝所述解密授权请求,则所述发布节点拒绝针对加密的待交易信息对所述无授权节点进行解密授权。
  5. 根据权利要求2或3所述的基于区块链交易的权限管制方法,其特征在于,所述步骤S4之后还包括:
    若无授权节点的智能合约针对所述加密的待交易信息向发布节点发送携带身份认证信息的解密授权请求,则所述发布节点的权限处理***基于所述身份认证信息进行用户身份认证;
    若身份认证失败,则所述发布节点拒绝响应所述解密授权请求;
    若身份认证成功,则所述发布节点获取用户针对所述解密授权请求的处理结果;
    若所述处理结果为通过所述解密授权请求,则所述发布节点的权限处理***利用所述无授权节点对应的保密参数加密所述秘钥,并将加密后的秘钥通过发布节点的智能合约发布给该区块链网络的各个节点,供所述无授权节点的数据权限***解密所述待交易信息,以将所述待交易信息对所述无授权节点进行解密授权;
    若所述处理结果为拒绝所述解密授权请求,则所述发布节点拒绝针对加密的待交易信息对所述无授权节点进行解密授权。
  6. 一种基于区块链交易的权限管制***,其特征在于,所述基于区块链交易的权限管制***包括:
    构建模块,用于为区块链网络的各个节点构建用于加密信息发布及加解密处理的权限处理***,并在所述区块链网络部署用于传递加解密信息的智能合约;
    第一发布模块,用于若一发布方有加密的待交易信息对至少一个授权方进行解密授权,则发布方对应的发布节点上的权限处理***获取与各授权方对应的公共加解密参数,并通过与授权方对应的保密参数加密所述待交易信息的秘钥,利用所述智能合约在所述区块链网络上发布所述公共加解密参数及保密参数;
    第二发布模块,用于所述发布节点的权限处理***将所述待交易信息通过智能合约向所述区块链网络的各个节点发布;
    解密模块,用于所述授权方对应的授权节点在通过智能合约接收到所述待交易信息后,所述授权节点的权限处理***利用与所述保密参数对应的解密参数对所述待交易信息的秘钥进行解密,基于解密后的秘钥与所述公共加解密参数解密所述待交易信息,以将所述待交易信息对所述授权节点进行解密授权。
  7. 根据权利要求6所述的基于区块链交易的权限管制***,其特征在于,所述公共加解密参数包括加密协议,所述基于区块链交易的权限管制***还包括:
    第一加密模块,用于在所述授权节点生成解密后的待交易信息对应的回馈信息后,所述授权节点的权限处理***基于所述加密协议及秘钥对所述回馈信息进行加密,并利用所述智能合约将加密后的回馈信息向所述区块链网络的各个节点进行广播;
    第一交易模块,用于所述回馈信息为所述待交易信息对应的确认交易信息,则所述发布节点执行向授权节点交易所述待交易信息对应的交易事务;
    第一拒绝模块,用于若所述回馈信息为所述待交易信息对应的拒绝交易信息,则所述发布节点拒绝执行向授权节点交易所述待交易信息对应的交易事务。
  8. 根据权利要求6所述的基于区块链交易的权限管制***,其特征在于,所述公共加解密参数包括加密协议,所述基于区块链交易的权限管制***还包括:
    第二加密模块,用于在所述授权节点生成解密后的待交易信息对应的回馈信息后,所述授权节点的权限处理***基于所述加密协议及所述发布节点的公钥对所述回馈信息进行加密,并利用智能合约将加密后的回馈信息向区块链网络的各个节点进行广播;
    第二交易模块,用于若所述回馈信息为所述待交易信息对应的确认交易信息,则所述发布节点执行向授权节点交易所述待交易信息对应的交易事务;
    第二拒绝模块,用于若所述回馈信息为所述待交易信息对应的拒绝交易信息,则所述发布节点拒绝执行向授权节点交易所述待交易信息对应的交易事务。
  9. 根据权利要求6所述的基于区块链交易的权限管制***,其特征在于,所述基于区块链交易的权限管制***还包括:
    身份认证模块,用于若无授权节点的智能合约针对所述加密的待交易信息向发布节点发送携带身份认证信息的解密授权请求,则所述发布节点的权限处理***基于所述身份认证信息进行用户身份认证;
    第三拒绝模块,用于若身份认证失败,则所述发布节点拒绝响应所述解密授权请求;
    获取模块,用于若身份认证成功,则所述发布节点获取用户针对所述解密授权请求的处理结果;
    授权模块,用于若所述处理结果为通过所述解密授权请求,则所述发布节点的权限处理***利用所述无授权节点对应的保密参数加密所述秘钥,并将加密后的秘钥通过发布节点的智能合约发布给该区块链网络的各个节点,供所述无授权节点的数据权限***解密所述待交易信息,以将所述待交易信息对所述无授权节点进行解密授权;
    拒绝授权模块,用于若所述处理结果为拒绝所述解密授权请求,则所述发布节点拒绝针对加密的待交易信息对所述无授权节点进行解密授权。
  10. 根据权利要求7或8所述的基于区块链交易的权限管制***,其特征在于,所述基于区块链交易的权限管制***还包括:
    身份认证模块,用于若无授权节点的智能合约针对所述加密的待交易信息向发布节点发送携带身份认证信息的解密授权请求,则所述发布节点的权限处理***基于所述身份认证信息进行用户身份认证;
    第三拒绝模块,用于若身份认证失败,则所述发布节点拒绝响应所述解密授权请求;
    获取模块,用于若身份认证成功,则所述发布节点获取用户针对所述解密授权请求的处理结果;
    授权模块,用于若所述处理结果为通过所述解密授权请求,则所述发布节点的权限处理***利用所述无授权节点对应的保密参数加密所述秘钥,并将加密后的秘钥通过发布节点的智能合约发布给该区块链网络的各个节点,供所述无授权节点的数据权限***解密所述待交易信息,以将所述待交易信息对所述无授权节点进行解密授权;
    拒绝授权模块,用于若所述处理结果为拒绝所述解密授权请求,则所述发布节点拒绝针对加密的待交易信息对所述无授权节点进行解密授权。
  11. 一种电子装置,其特征在于,所述电子装置包括存储器及与所述存储器连接的处理器,所述存储器中存储有可在所述处理器上运行的基于区块链交易的权限管制***,所述基于区块链交易的权限管制***被所述处理器执行时实现如下步骤:
    S1,为区块链网络的各个节点构建用于加密信息发布及加解密处理的权限处理***,并在所述区块链网络部署用于传递加解密信息的智能合约;
    S2,若一发布方有加密的待交易信息对至少一个授权方进行解密授权,则发布方对应的发布节点上的权限处理***获取与各授权方对应的公共加解密参数,并通过与授权方对应的保密参数加密所述待交易信息的秘钥,利用所述智能合约在所述区块链网络上发布所述公共加解密参数及保密参数;
    S3,所述发布节点的权限处理***将所述待交易信息通过智能合约向所述区块链网络的各个节点发布;
    S4,所述授权方对应的授权节点在通过智能合约接收到所述待交易信息后,所述授权节点的权限处理***利用与所述保密参数对应的解密参数对所述待交易信息的秘钥进行解密,基于解密后的秘钥与所述公共加解密参数解密所述待交易信息,以将所述待交易信息对所述授权节点进行解密授权。
  12. 根据权利要求11所述电子装置,其特征在于,所述公共加解密参数包括加密协议,所述基于区块链交易的权限管制***被所述处理器执行时,还实现以下步骤:
    S5,在所述授权节点生成解密后的待交易信息对应的回馈信息后,所述授权节点的权限处理***基于所述加密协议及秘钥对所述回馈信息进行加密,并利用所述智能合约将加密后的回馈信息向所述区块链网络的各个节点进行广播;
    S6,若所述回馈信息为所述待交易信息对应的确认交易信息,则所述发布节点执行向授权节点交易所述待交易信息对应的交易事务;
    S7,若所述回馈信息为所述待交易信息对应的拒绝交易信息,则所述发布节点拒绝执行向授权节点交易所述待交易信息对应的交易事务。
  13. 根据权利要求11所述电子装置,其特征在于,所述公共加解密参数包括加密协议,所述基于区块链交易的权限管制***被所述处理器执行时,还实现以下步骤:
    S8,在所述授权节点生成解密后的待交易信息对应的回馈信息后,所述授权节点的权限处理***基于所述加密协议及所述发布节点的公钥对所述回馈信息进行加密,并利用智能合约将加密后的回馈信息向区块链网络的各个节点进行广播;
    S9,若所述回馈信息为所述待交易信息对应的确认交易信息,则所述发布节点执行向授权节点交易所述待交易信息对应的交易事务;
    S10,若所述回馈信息为所述待交易信息对应的拒绝交易信息,则所述发布节点拒绝执行向授权节点交易所述待交易信息对应的交易事务。
  14. 根据权利要求11所述电子装置,其特征在于,所述基于区块链交易的权限管制***被所述处理器执行时,还实现以下步骤:
    若无授权节点的智能合约针对所述加密的待交易信息向发布节点发送携带身份认证信息的解密授权请求,则所述发布节点的权限处理***基于所述身份认证信息进行用户身份认证;
    若身份认证失败,则所述发布节点拒绝响应所述解密授权请求;
    若身份认证成功,则所述发布节点获取用户针对所述解密授权请求的处理结果;
    若所述处理结果为通过所述解密授权请求,则所述发布节点的权限处理***利用所述无授权节点对应的保密参数加密所述秘钥,并将加密后的秘钥通过发布节点的智能合约发布给该区块链网络的各个节点,供所述无授权节点的数据权限***解密所述待交易信息,以将所述待交易信息对所述无授权节点进行解密授权;
    若所述处理结果为拒绝所述解密授权请求,则所述发布节点拒绝针对加密的待交易信息对所述无授权节点进行解密授权。
  15. 根据权利要求12或13所述电子装置,其特征在于,所述基于区块链交易的权限管制***被所述处理器执行时,还实现以下步骤:
    若无授权节点的智能合约针对所述加密的待交易信息向发布节点发送携带身份认证信息的解密授权请求,则所述发布节点的权限处理***基于所述身份认证信息进行用户身份认证;
    若身份认证失败,则所述发布节点拒绝响应所述解密授权请求;
    若身份认证成功,则所述发布节点获取用户针对所述解密授权请求的处理结果;
    若所述处理结果为通过所述解密授权请求,则所述发布节点的权限处理***利用所述无授权节点对应的保密参数加密所述秘钥,并将加密后的秘钥通过发布节点的智能合约发布给该区块链网络的各个节点,供所述无授权节点的数据权限***解密所述待交易信息,以将所述待交易信息对所述无授权节点进行解密授权;
    若所述处理结果为拒绝所述解密授权请求,则所述发布节点拒绝针对加密的待交易信息对所述无授权节点进行解密授权。
  16. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有基于区块链交易的权限管制***,所述基于区块链交易的权限管制***被处理器执行时实现以下步骤:
    S1,为区块链网络的各个节点构建用于加密信息发布及加解密处理的权限处理***,并在所述区块链网络部署用于传递加解密信息的智能合约;
    S2,若一发布方有加密的待交易信息对至少一个授权方进行解密授权,则发布方对应的发布节点上的权限处理***获取与各授权方对应的公共加解密参数,并通过与授权方对应的保密参数加密所述待交易信息的秘钥,利用所述智能合约在所述区块链网络上发布所述公共加解密参数及保密参数;
    S3,所述发布节点的权限处理***将所述待交易信息通过智能合约向所述区块链网络的各个节点发布;
    S4,所述授权方对应的授权节点在通过智能合约接收到所述待交易信息后,所述授权节点的权限处理***利用与所述保密参数对应的解密参数对所述待交易信息的秘钥进行解密,基于解密后的秘钥与所述公共加解密参数解密所述待交易信息,以将所述待交易信息对所述授权节点进行解密授权。
  17. 根据权利要求16所述的计算机可读存储介质,其特征在于,所述公共加解密参数包括加密协议,所述基于区块链交易的权限管制***被所述处理器执行时,还实现以下步骤:
    S5,在所述授权节点生成解密后的待交易信息对应的回馈信息后,所述授权节点的权限处理***基于所述加密协议及秘钥对所述回馈信息进行加密,并利用所述智能合约将加密后的回馈信息向所述区块链网络的各个节点进行广播;
    S6,若所述回馈信息为所述待交易信息对应的确认交易信息,则所述发布节点执行向授权节点交易所述待交易信息对应的交易事务;
    S7,若所述回馈信息为所述待交易信息对应的拒绝交易信息,则所述发布节点拒绝执行向授权节点交易所述待交易信息对应的交易事务。
  18. 根据权利要求16所述的计算机可读存储介质,其特征在于,所述公共加解密参数包括加密协议,所述基于区块链交易的权限管制***被所述处理器执行时,还实现以下步骤:
    S8,在所述授权节点生成解密后的待交易信息对应的回馈信息后,所述授权节点的权限处理***基于所述加密协议及所述发布节点的公钥对所述回馈信息进行加密,并利用智能合约将加密后的回馈信息向区块链网络的各个节点进行广播;
    S9,若所述回馈信息为所述待交易信息对应的确认交易信息,则所述发布节点执行向授权节点交易所述待交易信息对应的交易事务;
    S10,若所述回馈信息为所述待交易信息对应的拒绝交易信息,则所述发布节点拒绝执行向授权节点交易所述待交易信息对应的交易事务。
  19. 根据权利要求16所述的计算机可读存储介质,其特征在于,所述公共加解密参数包括加密协议,所述基于区块链交易的权限管制***被所述处理器执行时,还实现以下步骤:
    若无授权节点的智能合约针对所述加密的待交易信息向发布节点发送携带身份认证信息的解密授权请求,则所述发布节点的权限处理***基于所述身份认证信息进行用户身份认证;
    若身份认证失败,则所述发布节点拒绝响应所述解密授权请求;
    若身份认证成功,则所述发布节点获取用户针对所述解密授权请求的处理结果;
    若所述处理结果为通过所述解密授权请求,则所述发布节点的权限处理***利用所述无授权节点对应的保密参数加密所述秘钥,并将加密后的秘钥通过发布节点的智能合约发布给该区块链网络的各个节点,供所述无授权节点的数据权限***解密所述待交易信息,以将所述待交易信息对所述无授权节点进行解密授权;
    若所述处理结果为拒绝所述解密授权请求,则所述发布节点拒绝针对加密的待交易信息对所述无授权节点进行解密授权。
  20. 根据权利要求17或18所述的计算机可读存储介质,其特征在于,所述公共加解密参数包括加密协议,所述基于区块链交易的权限管制***被所述处理器执行时,还实现以下步骤:
    若无授权节点的智能合约针对所述加密的待交易信息向发布节点发送携带身份认证信息的解密授权请求,则所述发布节点的权限处理***基于所述身份认证信息进行用户身份认证;
    若身份认证失败,则所述发布节点拒绝响应所述解密授权请求;
    若身份认证成功,则所述发布节点获取用户针对所述解密授权请求的处理结果;
    若所述处理结果为通过所述解密授权请求,则所述发布节点的权限处理***利用所述无授权节点对应的保密参数加密所述秘钥,并将加密后的秘钥通过发布节点的智能合约发布给该区块链网络的各个节点,供所述无授权节 点的数据权限***解密所述待交易信息,以将所述待交易信息对所述无授权节点进行解密授权;
    若所述处理结果为拒绝所述解密授权请求,则所述发布节点拒绝针对加密的待交易信息对所述无授权节点进行解密授权。
PCT/CN2017/091250 2016-10-27 2017-06-30 基于区块链交易的权限管制方法、***、电子装置及存储介质 WO2018076761A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610960002.4 2016-10-27
CN201610960002.4A CN106534097B (zh) 2016-10-27 2016-10-27 基于区块链交易的权限管制方法及***

Publications (1)

Publication Number Publication Date
WO2018076761A1 true WO2018076761A1 (zh) 2018-05-03

Family

ID=58326894

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/091250 WO2018076761A1 (zh) 2016-10-27 2017-06-30 基于区块链交易的权限管制方法、***、电子装置及存储介质

Country Status (2)

Country Link
CN (1) CN106534097B (zh)
WO (1) WO2018076761A1 (zh)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109544341A (zh) * 2018-11-23 2019-03-29 中链科技有限公司 基于区块链的数字化检测方法及装置
CN109559124A (zh) * 2018-12-17 2019-04-02 重庆大学 一种基于区块链的云数据安全共享方法
CN109636427A (zh) * 2019-01-29 2019-04-16 深圳市智税链科技有限公司 基于区块链***的业务处理方法、装置、介质及电子设备
CN109740320A (zh) * 2018-12-14 2019-05-10 深圳壹账通智能科技有限公司 一种基于区块链的身份认证方法及终端设备
CN109871712A (zh) * 2019-01-24 2019-06-11 平安科技(深圳)有限公司 医疗记录权限管理方法、装置、可读存储介质及服务器
CN109936626A (zh) * 2019-02-19 2019-06-25 阿里巴巴集团控股有限公司 区块链中实现隐私保护的方法、节点和存储介质
CN110414978A (zh) * 2019-06-18 2019-11-05 深圳壹账通智能科技有限公司 自动授权方法、服务器及计算机可读存储介质
CN110838924A (zh) * 2019-11-19 2020-02-25 北京沃东天骏信息技术有限公司 区块传输方法及装置
CN110866261A (zh) * 2019-10-12 2020-03-06 深圳壹账通智能科技有限公司 基于区块链的数据处理方法、装置及存储介质
CN110868292A (zh) * 2019-12-03 2020-03-06 湖南国奥电力设备有限公司 基于区块链的地下电缆数据传输方法和装置
CN111241574A (zh) * 2019-12-19 2020-06-05 广州宏算信息科技有限公司 基于区块链的隐私保护方法、装置及存储介质
CN111357023A (zh) * 2018-10-23 2020-06-30 北京嘀嘀无限科技发展有限公司 用于在区块链***中传递数据的方法和***
CN111523110A (zh) * 2019-11-08 2020-08-11 支付宝(杭州)信息技术有限公司 基于链代码的权限查询配置方法及装置
CN111586065A (zh) * 2020-05-12 2020-08-25 山东浪潮商用***有限公司 一种基于区块链的数据授权方法
CN111581251A (zh) * 2020-04-23 2020-08-25 傲林科技有限公司 一种跨链交易的数字资产查询方法、装置及存储介质
CN111709053A (zh) * 2020-06-11 2020-09-25 中国工商银行股份有限公司 基于松散耦合交易网络的作业方法及作业装置
CN112199694A (zh) * 2020-09-30 2021-01-08 杭州云链趣链数字科技有限公司 标准化票据的处理方法、装置、电子装置和存储介质
CN112884485A (zh) * 2021-02-01 2021-06-01 合肥安时智造科技有限公司 一种基于区块链网络的对称加密溯源交易方法、***及存储介质
US11106812B2 (en) 2019-05-09 2021-08-31 At&T Intellectual Property I, L.P. Controlling access to datasets described in a cryptographically signed record
CN113761493A (zh) * 2021-08-26 2021-12-07 浙商银行股份有限公司 区块链平台智能合约接口调用权限和调用方身份控制方法及***
CN114641788A (zh) * 2019-11-07 2022-06-17 支付宝实验室(新加坡)有限公司 用于防止对区块链***的拒绝服务攻击的方法和设备

Families Citing this family (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534097B (zh) * 2016-10-27 2018-05-18 上海亿账通区块链科技有限公司 基于区块链交易的权限管制方法及***
CN107066561A (zh) * 2017-03-30 2017-08-18 中国联合网络通信集团有限公司 数据管理方法及平台
GB201706132D0 (en) * 2017-04-18 2017-05-31 Nchain Holdings Ltd Computer-implemented system and method
CN107038242B (zh) * 2017-04-24 2020-02-07 杭州趣链科技有限公司 一种面向区块链全局智能合约业务数据解析方法
CN107273759B (zh) * 2017-05-08 2020-07-14 上海点融信息科技有限责任公司 用于保护区块链数据的方法、设备以及计算机可读存储介质
CN108881166B (zh) * 2017-05-16 2021-03-26 江峰 一种带外部固定物理节点式虚拟账号区块链验证***
TWI646487B (zh) * 2017-06-23 2019-01-01 現代財富控股有限公司 具權限分級和避免重複執行的智能合約執行系統及其方法
CN107705203A (zh) * 2017-08-08 2018-02-16 迅鳐成都科技有限公司 一种基于区块链的钢铁交易中金融信息共享方法
CN107911216B (zh) * 2017-10-26 2020-07-14 矩阵元技术(深圳)有限公司 一种区块链交易隐私保护方法及***
WO2019127265A1 (zh) * 2017-12-28 2019-07-04 深圳前海达闼云端智能科技有限公司 基于区块链智能合约的数据写入方法、装置及存储介质
CN108234515B (zh) * 2018-01-25 2020-07-24 中国科学院合肥物质科学研究院 一种基于智能合约的自认证数字身份管理***及其方法
CN108430061A (zh) * 2018-02-11 2018-08-21 深圳市图灵奇点智能科技有限公司 由智能移动电话实现的辅助签订区块链合约的方法和装置
CN108305058B (zh) * 2018-02-11 2021-03-02 深圳市图灵奇点智能科技有限公司 基于物联网的辅助费用结算的方法、装置及终端节点
CN108418690A (zh) * 2018-02-11 2018-08-17 深圳市图灵奇点智能科技有限公司 由车载***实现的辅助签订区块链合约的方法和装置
CN108389042B (zh) * 2018-02-11 2021-06-11 深圳市图灵奇点智能科技有限公司 由智能移动电话实现的辅助费用结算的方法及装置
CN110363523A (zh) * 2018-04-10 2019-10-22 现代财富控股有限公司 基于区块链智能合约的函证***及其方法
WO2019200505A1 (zh) * 2018-04-16 2019-10-24 深圳前海达闼云端智能科技有限公司 基于区块链的信息发布和获取方法、装置及区块链节点
CN108537549A (zh) * 2018-04-18 2018-09-14 四川众之金科技有限公司 一种权限认证方法及装置
CN108681898B (zh) * 2018-05-15 2021-09-17 广东工业大学 一种基于区块链的数据交易方法及***
CN109685511B (zh) * 2018-05-30 2023-06-09 上海分壳信息技术股份有限公司 基于区块链的数据使用权交易方法
CN109034796B (zh) * 2018-06-15 2023-09-22 安达数据技术(深圳)有限公司 基于联盟链的交易监管方法、电子装置及可读存储介质
CN108846755A (zh) * 2018-06-22 2018-11-20 中链科技有限公司 一种基于智能合约的权限管理方法及装置
CN109003185B (zh) * 2018-06-29 2022-03-22 ***股份有限公司 一种智能合约的建立方法、装置、计算设备及存储介质
CN108964903B (zh) * 2018-07-12 2021-12-14 腾讯科技(深圳)有限公司 密码存储方法及装置
CN108921560B (zh) * 2018-07-27 2021-04-30 广州天高软件科技有限公司 基于区块链的交易信息校验及结算方法
CN109271805A (zh) * 2018-08-10 2019-01-25 广东工业大学 一种基于区块链的数据分区储存、查询方法及***
CN109391611B (zh) * 2018-08-17 2021-03-02 深圳壹账通智能科技有限公司 用户个人信息加密授权方法、装置、设备及可读存储介质
CN109286616B (zh) * 2018-09-10 2021-04-16 湖南智慧政务区块链科技有限公司 基于区块链技术的权限校验方法及装置
CN109598616B (zh) * 2018-12-09 2023-08-22 大连飞创信息技术有限公司 一种引入仲裁机制的区块链数据隐私保护的方法
CN109697613B (zh) * 2018-12-29 2020-08-25 链博(成都)科技有限公司 用于区块链中网络交易安全认证方法和***
CN110768897B (zh) * 2019-10-25 2021-07-27 支付宝(杭州)信息技术有限公司 一种基于区块链的数字信息授权方法及装置
CN110580413B (zh) * 2019-11-08 2020-03-24 支付宝(杭州)信息技术有限公司 基于链下授权的隐私数据查询方法及装置
CN112487100A (zh) * 2020-04-02 2021-03-12 支付宝(杭州)信息技术有限公司 一种基于区块链的信息发布方法、装置及计算机设备
CN112967054B (zh) * 2020-10-10 2022-07-29 支付宝(杭州)信息技术有限公司 一种数据管理方法、装置及设备
CN113179311A (zh) * 2021-04-23 2021-07-27 上海和数软件有限公司 一种区块链权限多重控制方法及***
CN114666064A (zh) * 2022-03-25 2022-06-24 广东启链科技有限公司 基于区块链的数字资产管理方法、装置、存储介质及设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150332283A1 (en) * 2014-05-13 2015-11-19 Nant Holdings Ip, Llc Healthcare transaction validation via blockchain proof-of-work, systems and methods
CN105871923A (zh) * 2016-06-15 2016-08-17 腾讯科技(深圳)有限公司 信息处理方法、信息记录节点及参与节点
CN105976231A (zh) * 2016-06-24 2016-09-28 深圳前海微众银行股份有限公司 基于区块链智能合约的资产管理方法及节点
CN106534097A (zh) * 2016-10-27 2017-03-22 上海亿账通区块链科技有限公司 基于区块链交易的权限管制方法及***

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160125403A1 (en) * 2014-04-28 2016-05-05 Chin-hao Hu Offline virtual currency transaction
US20160162897A1 (en) * 2014-12-03 2016-06-09 The Filing Cabinet, LLC System and method for user authentication using crypto-currency transactions as access tokens
CN105701372B (zh) * 2015-12-18 2019-04-09 布比(北京)网络技术有限公司 一种区块链身份构建及验证方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150332283A1 (en) * 2014-05-13 2015-11-19 Nant Holdings Ip, Llc Healthcare transaction validation via blockchain proof-of-work, systems and methods
CN105871923A (zh) * 2016-06-15 2016-08-17 腾讯科技(深圳)有限公司 信息处理方法、信息记录节点及参与节点
CN105976231A (zh) * 2016-06-24 2016-09-28 深圳前海微众银行股份有限公司 基于区块链智能合约的资产管理方法及节点
CN106534097A (zh) * 2016-10-27 2017-03-22 上海亿账通区块链科技有限公司 基于区块链交易的权限管制方法及***

Cited By (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111357023A (zh) * 2018-10-23 2020-06-30 北京嘀嘀无限科技发展有限公司 用于在区块链***中传递数据的方法和***
CN109544341B (zh) * 2018-11-23 2023-07-07 苏州朗润创新知识产权运营有限公司 基于区块链的数字化检测方法及装置
CN109544341A (zh) * 2018-11-23 2019-03-29 中链科技有限公司 基于区块链的数字化检测方法及装置
CN109740320A (zh) * 2018-12-14 2019-05-10 深圳壹账通智能科技有限公司 一种基于区块链的身份认证方法及终端设备
CN109559124A (zh) * 2018-12-17 2019-04-02 重庆大学 一种基于区块链的云数据安全共享方法
CN109559124B (zh) * 2018-12-17 2023-04-18 重庆大学 一种基于区块链的云数据安全共享方法
CN109871712A (zh) * 2019-01-24 2019-06-11 平安科技(深圳)有限公司 医疗记录权限管理方法、装置、可读存储介质及服务器
CN109871712B (zh) * 2019-01-24 2022-10-14 平安科技(深圳)有限公司 医疗记录权限管理方法、装置、可读存储介质及服务器
CN109636427A (zh) * 2019-01-29 2019-04-16 深圳市智税链科技有限公司 基于区块链***的业务处理方法、装置、介质及电子设备
CN109636427B (zh) * 2019-01-29 2024-03-01 深圳市智税链科技有限公司 基于区块链***的业务处理方法、装置、介质及电子设备
CN109936626A (zh) * 2019-02-19 2019-06-25 阿里巴巴集团控股有限公司 区块链中实现隐私保护的方法、节点和存储介质
US11645408B2 (en) 2019-05-09 2023-05-09 At&T Intellectual Property I, L.P. Controlling access to datasets described in a cryptographically signed record
US11106812B2 (en) 2019-05-09 2021-08-31 At&T Intellectual Property I, L.P. Controlling access to datasets described in a cryptographically signed record
CN110414978A (zh) * 2019-06-18 2019-11-05 深圳壹账通智能科技有限公司 自动授权方法、服务器及计算机可读存储介质
CN110866261A (zh) * 2019-10-12 2020-03-06 深圳壹账通智能科技有限公司 基于区块链的数据处理方法、装置及存储介质
CN114641788B (zh) * 2019-11-07 2023-06-30 支付宝实验室(新加坡)有限公司 用于防止对区块链***的拒绝服务攻击的方法和设备
CN114641788A (zh) * 2019-11-07 2022-06-17 支付宝实验室(新加坡)有限公司 用于防止对区块链***的拒绝服务攻击的方法和设备
CN111523110B (zh) * 2019-11-08 2023-05-02 支付宝(杭州)信息技术有限公司 基于链代码的权限查询配置方法及装置
CN111523110A (zh) * 2019-11-08 2020-08-11 支付宝(杭州)信息技术有限公司 基于链代码的权限查询配置方法及装置
CN110838924A (zh) * 2019-11-19 2020-02-25 北京沃东天骏信息技术有限公司 区块传输方法及装置
CN110868292B (zh) * 2019-12-03 2021-12-14 湖南国奥电力设备有限公司 基于区块链的地下电缆数据传输方法和装置
CN110868292A (zh) * 2019-12-03 2020-03-06 湖南国奥电力设备有限公司 基于区块链的地下电缆数据传输方法和装置
CN111241574A (zh) * 2019-12-19 2020-06-05 广州宏算信息科技有限公司 基于区块链的隐私保护方法、装置及存储介质
CN111241574B (zh) * 2019-12-19 2024-04-30 广州宏算信息科技有限公司 基于区块链的隐私保护方法、装置及存储介质
CN111581251A (zh) * 2020-04-23 2020-08-25 傲林科技有限公司 一种跨链交易的数字资产查询方法、装置及存储介质
CN111581251B (zh) * 2020-04-23 2023-07-28 傲林科技有限公司 一种跨链交易的数字资产查询方法、装置及存储介质
CN111586065A (zh) * 2020-05-12 2020-08-25 山东浪潮商用***有限公司 一种基于区块链的数据授权方法
CN111709053A (zh) * 2020-06-11 2020-09-25 中国工商银行股份有限公司 基于松散耦合交易网络的作业方法及作业装置
CN111709053B (zh) * 2020-06-11 2024-04-05 中国工商银行股份有限公司 基于松散耦合交易网络的作业方法及作业装置
CN112199694A (zh) * 2020-09-30 2021-01-08 杭州云链趣链数字科技有限公司 标准化票据的处理方法、装置、电子装置和存储介质
CN112884485A (zh) * 2021-02-01 2021-06-01 合肥安时智造科技有限公司 一种基于区块链网络的对称加密溯源交易方法、***及存储介质
CN112884485B (zh) * 2021-02-01 2024-01-26 合肥壹物易证科技有限公司 一种基于区块链网络的对称加密溯源交易方法、***及存储介质
CN113761493A (zh) * 2021-08-26 2021-12-07 浙商银行股份有限公司 区块链平台智能合约接口调用权限和调用方身份控制方法及***
CN113761493B (zh) * 2021-08-26 2024-04-05 浙商银行股份有限公司 区块链平台智能合约接口调用权限和调用方身份控制方法及***

Also Published As

Publication number Publication date
CN106534097B (zh) 2018-05-18
CN106534097A (zh) 2017-03-22

Similar Documents

Publication Publication Date Title
WO2018076761A1 (zh) 基于区块链交易的权限管制方法、***、电子装置及存储介质
US12010228B2 (en) Systems, methods, and devices for secure blockchain transaction and subnetworks
EP3583740B1 (en) Data owner restricted secure key distribution
CN109492419B (zh) 用于获取区块链中的数据的方法、装置及存储介质
US9954826B2 (en) Scalable and secure key management for cryptographic data processing
US8838961B2 (en) Security credential deployment in cloud environment
US9697371B1 (en) Remote authorization of usage of protected data in trusted execution environments
JP4907895B2 (ja) プライベートデータを露出せずに通信ネットワークを介してパスワードで保護されたプライベートデータを回復する方法およびシステム
US20170163429A1 (en) Cryptographic Proxy Service
US11102191B2 (en) Enabling single sign-on authentication for accessing protected network services
US9846778B1 (en) Encrypted boot volume access in resource-on-demand environments
CN102271037B (zh) 基于在线密钥的密钥保护装置
CN109587101B (zh) 一种数字证书管理方法、装置及存储介质
JP2023502346A (ja) 量子安全ネットワーキング
US8863255B2 (en) Security credential deployment in cloud environment
CN109074449A (zh) 在安全飞地中灵活地供应证明密钥
CN103003822A (zh) 对平台资源的域认证控制
CN103366102A (zh) 用于内容传输和分配的数字版权管理***
US20210377028A1 (en) Method, apparatus, and computer-readable medium for secured data transfer over a decentrlaized computer network
US7266705B2 (en) Secure transmission of data within a distributed computer system
US9083685B2 (en) Method and system for content replication control
CN106992978B (zh) 网络安全管理方法及服务器
US20190044721A1 (en) Device authorization using symmetric key systems and methods
CN102999710A (zh) 一种安全共享数字内容的方法、设备及***
TW200820037A (en) Content control system and method using certificate chains

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17864221

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 08.08.2019) 2ND TIME.

122 Ep: pct application non-entry in european phase

Ref document number: 17864221

Country of ref document: EP

Kind code of ref document: A1