CN110796449B - Transaction processing method, system, medium and computing device - Google Patents

Transaction processing method, system, medium and computing device Download PDF

Info

Publication number
CN110796449B
CN110796449B CN201911034098.1A CN201911034098A CN110796449B CN 110796449 B CN110796449 B CN 110796449B CN 201911034098 A CN201911034098 A CN 201911034098A CN 110796449 B CN110796449 B CN 110796449B
Authority
CN
China
Prior art keywords
transaction
request
blockchain
block chain
intelligent contract
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
CN201911034098.1A
Other languages
Chinese (zh)
Other versions
CN110796449A (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201911034098.1A priority Critical patent/CN110796449B/en
Publication of CN110796449A publication Critical patent/CN110796449A/en
Application granted granted Critical
Publication of CN110796449B publication Critical patent/CN110796449B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • 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
    • 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/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • 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/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The embodiment of the invention provides a transaction processing method, which is applied to a block chain node in a block chain network and comprises the following steps: acquiring a transaction request which is sent by a client and used for requesting a transaction target object, wherein the transaction request carries a digital asset transaction amount; and responding to the transaction request, allocating the digital asset transaction amount carried by the transaction request to at least two block chain account numbers according to a target intelligent contract corresponding to the target object, and generating a transaction record, wherein the target intelligent contract is agreed with the asset allocation proportion of the at least two block chain account numbers. The method of the invention ensures that the transaction can be fair, fair and transparent, the transaction record can be completely disclosed for the user with specific authority, and the tampered data can not be embezzled at will. Further, embodiments of the present invention provide a transaction processing system, a medium, and a computing device.

Description

Transaction processing method, system, medium and computing device
Technical Field
Embodiments of the present invention relate to the field of blockchain technologies, and in particular, embodiments of the present invention relate to a transaction processing method, a transaction processing system, a medium, and a computing device.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
In the related art, after a project developer develops a certain project, the project developer generally needs to issue the project by means of a platform function of an issuer. For example, existing crowd funding models utilize an internet platform to allow project developers (e.g., small businesses, artists, or individuals) to present their creatives or products to the public, to gain public attention and support, and to obtain needed financial assistance. For another example, in the conventional game download payment sharing mode, mainly because a game developer does not have the distribution scale, game distribution needs to be performed by means of the platform function of a game distributor, and the sales amount of the game completely depends on the platform data recorded by the game distribution platform. The traditional platform payment mode is that direct purchase is carried out on a platform, all sales data come from the platform, a project developer is in a disadvantage position of asymmetric information, market data of developed projects cannot be timely and accurately acquired, and whether fair treatment is carried out or not cannot be determined in the process of dividing project profits. Therefore, how to solve the trust problem between the project developer and the issuer becomes a pain point for the trading industry.
Disclosure of Invention
However, the prior art has not been able to better address the trust between the project developer and the issuer for technical impediments.
For this reason, there is a high necessity for an improved transaction processing method, a transaction processing system, a medium, and a computing device, so that transactions can be fair, transparent, transaction records are completely disclosed for a specific authorized user, and tampering with data cannot be arbitrarily done.
In this context, embodiments of the present invention are intended to provide a transaction processing method, a transaction processing system, a medium, and a computing device.
In a first aspect of embodiments of the present invention, there is provided a transaction processing method applied to a blockchain node in a blockchain network, the method including: acquiring a transaction request which is sent by a client and used for requesting a transaction target object, wherein the transaction request carries a digital asset transaction amount; and responding to the transaction request, allocating the digital asset transaction amount carried by the transaction request to at least two block chain account numbers according to a target intelligent contract corresponding to the target object, and generating a transaction record, wherein the target intelligent contract is agreed with the asset allocation proportion of the at least two block chain account numbers.
In one embodiment of the present invention, the method further comprises: acquiring a deployment request which is sent by a development end and used for requesting to deploy an intelligent contract, wherein the deployment request carries the content of the intelligent contract requested to be deployed, and the intelligent contract requested to be deployed is signed by the development end in advance; and performing consensus verification on the intelligent contract requested to be deployed in response to the deployment request.
In another embodiment of the present invention, the method further comprises: after all the block chain link points in the block chain network reach the consensus, sending the intelligent contract requested to be deployed to a release end; and receiving the signed intelligent contract requested to be deployed from the issuer.
In another embodiment of the present invention, the at least two blockchain account numbers include the blockchain account number of the issuing end and the blockchain account number of the issuing end.
In a further embodiment of the present invention, the method further comprises: acquiring an account generation request sent by the block chain account of the issuing terminal, wherein the account generation request is used for requesting generation of a new block chain account, and the new block chain account belongs to a newly added development terminal; generating the new blockchain account in response to the account generation request; and sending the new blockchain account number to the issuer.
In one embodiment of the present invention, the method further comprises: and sending the transaction record to the client so that the client can activate the target object based on the content in the transaction record, wherein the transaction record comprises a transaction hash value displayed in a plaintext mode, a non-homogeneous unique permit corresponding to the unique identifier of the target object and a ciphertext encrypted by the non-homogeneous unique permit and a private key.
In yet another embodiment of the present invention, the activating, by the client, the target object based on the transaction hash value comprises: performing identity verification on the client based on a private key input by a user at the client and the transaction hash value; and after the identity authentication is passed, continuously encrypting the ciphertext through a private key input by the user at the client, and broadcasting the ciphertext to each block chain node in the block chain network, so that each block chain node in the block chain network performs public key authentication through a user public key in the transaction record and a public key corresponding to the target object, and allowing the client to activate the target object after the authentication is passed.
In yet another embodiment of the present invention, the method further comprises: settling the digital asset balances belonging to the at least two blockchain accounts based on a multi-party signature mode; and destroying the digital asset balances belonging to the at least two blockchain accounts after the settlement is completed.
In yet another embodiment of the present invention, the method further comprises: acquiring a downloading request for requesting downloading of a blockchain, wherein the blockchain comprises transaction records of different users; and responding to the downloading request, and sending the block chain to a request end so that the request end can disclose the information in the block chain.
In another embodiment of the present invention, sending the block chain to the requesting end in response to the download request includes: responding to the downloading request, and determining whether the requesting terminal has the downloading authority; under the condition that the request end has the downloading authority, analyzing transaction modes and transaction information of different transaction records from the block chain, wherein the different transaction modes correspond to different public authorities; and sending the transaction mode and the transaction information of the transaction record in the block chain to the request end so that the request end can disclose the transaction information under the corresponding disclosure authority according to the transaction mode of the transaction record.
In a second aspect of embodiments of the present invention, there is provided a transaction processing system for use at a block link point in a block chain network, the system comprising: the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a transaction request which is sent by a client and used for requesting a transaction target object, and the transaction request carries a digital asset transaction amount; and the response module is used for responding to the transaction request, distributing the digital asset transaction amount carried by the transaction request to at least two block chain account numbers according to a target intelligent contract corresponding to the target object, and generating a transaction record, wherein the target intelligent contract is agreed with the asset distribution proportion of the at least two block chain account numbers.
In one embodiment of the invention, the system further comprises: the second obtaining module is used for obtaining a deployment request which is sent by a development end and used for requesting to deploy the intelligent contract, wherein the deployment request carries the content of the intelligent contract which is requested to be deployed, and the intelligent contract which is requested to be deployed is signed by the development end in advance; and the verification module is used for responding to the deployment request and carrying out consensus verification on the intelligent contract requested to be deployed.
In another embodiment of the present invention, the system further comprises: a first sending module, configured to send the intelligent contract requested to be deployed to an issuer after all the blockchain nodes in the blockchain network achieve consensus; and the receiving module is used for receiving the intelligent contract which is requested to be deployed and signed by the issuing end.
In another embodiment of the present invention, the at least two blockchain account numbers include the blockchain account number of the issuing end and the blockchain account number of the issuing end.
In yet another embodiment of the present invention, the system further comprises: a third obtaining module, configured to obtain an account generation request sent based on the blockchain account of the issuing end, where the account generation request is used to request generation of a new blockchain account, where the new blockchain account belongs to a newly added development end; the generating module is used for responding to the account generating request and generating the new block chain account; and the second sending module is used for sending the new block chain account to the issuer.
In yet another embodiment of the present invention, the system further comprises: and the third sending module is used for sending the transaction record to the client so that the client can activate the target object based on the content in the transaction record, wherein the transaction record comprises a transaction hash value displayed in a plaintext mode, a non-homogeneous unique permit corresponding to the unique identifier of the target object and a ciphertext encrypted by the non-homogeneous unique permit and a private key.
In yet another embodiment of the present invention, the activating, by the client, the target object based on the transaction hash value comprises: performing identity verification on the client based on a private key input by a user at the client and the transaction hash value; and after the identity authentication is passed, continuously encrypting the ciphertext through a private key input by the user at the client, and broadcasting the ciphertext to each block chain node in the block chain network, so that each block chain node in the block chain network performs public key authentication through a user public key in the transaction record and a public key corresponding to the target object, and allowing the client to activate the target object after the authentication is passed.
In a further embodiment of the present invention, the system further comprises a settlement module for settling the digital asset balances belonging to the at least two blockchain accounts based on a multi-party signature; and the destroying module is used for destroying the balance of the digital assets belonging to the at least two block chain accounts after the settlement is finished.
In yet another embodiment of the present invention, the system further comprises: a fourth obtaining module, configured to obtain a download request for requesting to download a blockchain, where the blockchain includes transaction records of different users; and the fourth sending module is used for responding to the downloading request and sending the block chain to a request end so that the request end can disclose the information in the block chain.
In still another embodiment of the present invention, the fourth sending module includes: the determining unit is used for responding to the downloading request and determining whether the requesting terminal has the downloading authority; the analysis unit is used for analyzing the transaction modes and the transaction information of different transaction records from the block chain under the condition that the request end has the download authority, wherein the different transaction modes correspond to different public authorities; and the sending unit is used for sending the transaction mode and the transaction information of the transaction record in the block chain to the request end so that the request end can disclose the transaction information under the corresponding disclosure authority according to the transaction mode of the transaction record.
In a third aspect of embodiments of the present invention, there is provided a medium comprising stored computer-executable instructions for implementing a method as described above when executed by a processing unit.
In a fourth aspect of embodiments of the present invention, there is provided a computing device comprising a processing unit; and a storage unit storing computer executable instructions for implementing the method as described above when executed by the processing unit.
According to the transaction processing method, the transaction processing system, the medium and the computing equipment, the transaction records are managed in a decentralized mode through the block chain network, the asset allocation proportion of at least two block chain account numbers is agreed in the target intelligent contract, and the transaction amount of each time is allocated to different block chain account numbers.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
fig. 1 schematically shows an application scenario of a transaction processing method and a system thereof according to an embodiment of the present invention;
FIG. 2 schematically shows a flow diagram of a transaction processing method according to an embodiment of the invention;
FIG. 3 schematically illustrates a flow diagram for deploying a smart contract, according to an embodiment of the invention;
fig. 4 schematically illustrates a flow diagram for generating a new blockchain account number according to an embodiment of the present invention;
FIG. 5 schematically shows a flow diagram of a transaction processing method according to another embodiment of the invention;
FIG. 6 schematically shows a flow diagram of a transaction processing method according to another embodiment of the invention;
fig. 7 schematically shows a flow chart for sending a blockchain to a requesting end in response to a download request according to an embodiment of the present invention;
FIG. 8 schematically shows a block diagram of a transaction processing system according to an embodiment of the invention;
FIG. 9 schematically illustrates a program product diagram for implementing a transaction processing method according to an embodiment of the invention; and
fig. 10 schematically illustrates a block diagram of a computing device for implementing a transaction processing method according to an embodiment of the present invention.
In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Detailed Description
The principles and spirit of the present invention will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the invention, and are not intended to limit the scope of the invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
According to embodiments of the present invention, a transaction processing method, a transaction processing system, a medium, and a computing device are provided.
In this context, it is to be understood that the terms involved include the following.
Intelligent contract: is a computer protocol intended to propagate, validate or execute contracts in an informational manner. Smart contracts allow trusted transactions to be conducted without third parties, which transactions are traceable and irreversible. The intelligent contracts can be realized in the identity language in the Etherns.
Public chains: the method refers to a block chain which is open in the whole network and has no user authorization mechanism, such as EtherFang and EOS.
Federation chain: the method refers to allowing authorized nodes to join a blockchain network, can view information according to authority, and is often used for blockchains among organizations, such as FISCO and superridger/fabric.
Block chains: refers to a distributed database of blocks linked in chronological order by hash pointers.
Block chain account number: the system comprises a block chain address and a block chain private key, wherein the private key is uniquely held by a user and is stored by the user. The user block chain address can be deduced according to the private key, the private key cannot be deduced according to the user block chain address, and the private key can be generated by adopting an elliptic curve encryption algorithm, such as a secp256k1 library.
Multi-party signature: the short term multi-signature means that a plurality of users digitally sign the same transaction, and can be simply understood as multi-party common signature on one digital asset.
Furthermore, the number of any elements in the drawings is intended to be illustrative and not restrictive, and any nomenclature is used for distinction only and not for any restrictive meaning.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments of the invention.
Summary of The Invention
The inventor finds that the game developer does not have the distribution scale or capacity, the conventional payment is divided into matters needing to be distributed by the distributor, the information of the sales quantity of the game is completely mastered by the distributor through the platform of the distributor, and the game developer cannot accurately acquire the information in time. The existing crowd funding mode utilizes the characteristics of internet propagation to enable small enterprises, artists or individuals to display creatives of the small enterprises, artists or individuals to the public, strives for attention and support of people and further obtains needed fund assistance. These are crowd funded through personal accounts or third party platforms.
The traditional platform payment mode generally needs to be directly purchased on a platform, sales data generally comes from the platform, project developers are in a disadvantage position of asymmetric information, market data of developed projects cannot be accurately acquired in time, and whether the developed projects are treated fairly or not cannot be determined in the process of dividing project profits. The traditional crowd funding mode cannot confirm the authenticity of the project, the qualification of an issuer cannot be confirmed, and default cost of an initiator of crowd funding is too low. The crowd funded participants do not know own fund share, own reddening coefficient and the like, and the information and the data are not transparent.
Accordingly, in the related art, trust issues between project developers and issuers have become a pain point in the trading industry.
Based on the analysis, the inventor thinks that the transaction records are managed through block chain network decentralization, the asset allocation proportion of at least two block chain account numbers is agreed in a target intelligent contract, and the transaction amount of each time is allocated to different block chain account numbers.
The method can solve the problem that transaction records such as game issuing or crowd funding are not transparent, can enhance the transparency and the credibility of crowd funding party participation and share after crowd funding and the income condition of subsequent crowd funding projects, enables each investor to benefit rightly and fairly, eliminates trust barriers in a transaction cooperation process, and further promotes efficient circulation of business elements.
Having described the general principles of the invention, various non-limiting embodiments of the invention are described in detail below.
Application scene overview
First, referring to fig. 1, a transaction processing method and an application scenario of the transaction processing system according to an embodiment of the present invention are described in detail.
Fig. 1 schematically shows an application scenario of a transaction processing method and a system thereof according to an embodiment of the present invention. It should be noted that fig. 1 is only an example of a scenario in which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, but does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1, the application scenario illustrates a system architecture 100, which may include a client 110, a blockchain network 120, a developer 130, and a publisher 140 in the system architecture 100. The blockchain network 120 may include a plurality of blockchain nodes 121 to 124, where the blockchain nodes 121 to 124 maintain a blockchain together, and the blocks in the blockchain may be added in a time sequence.
According to the embodiment of the present invention, the types of the client 110, the developer 130 and the issuer 140 are not limited, and may be, for example, a personal computer, a mobile phone, a tablet computer, or the like. The client 110, developer 130, and publisher 140 may issue requests to the blockchain network 120 as requestors.
According to the embodiment of the present invention, the blockchain nodes 121 to 124 may be various computing nodes having the same or different computing capabilities, such as a personal computer, a network server, a database server, and the like, which are not limited herein. Point-to-point communication may be conducted between any two of blockchain nodes 121-124.
According to an embodiment of the present invention, each block link point in the block chain network 120 allows the current block link point to create a block and add the block to the block chain, the added block being the current newest block on the block chain.
According to the embodiments of the present invention, it should be noted that the transaction processing method provided by the embodiments of the present disclosure can be generally executed by any block link point. Accordingly, the transaction processing system provided by the embodiments of the present disclosure may be generally disposed in any blockchain node.
It should be understood that the client, originating end, issuing end, configuration and type of blockchain network, number of blockchain nodes in blockchain network, etc. in fig. 1 are merely illustrative. In an actual application scenario, according to actual needs, the system can have any configuration and type of blockchain network, any number of clients, development ends, issuing ends, blockchain nodes, and the like.
Exemplary method
In connection with the application scenario of fig. 1, a transaction processing method according to an exemplary embodiment of the present invention is described with reference to fig. 2. It should be noted that the above application scenarios are only presented to facilitate understanding of the spirit and principle of the present invention, and the embodiments of the present invention are not limited in this respect. Rather, embodiments of the present invention may be applied to any scenario where applicable.
Fig. 2 schematically shows a flow diagram of a transaction processing method according to an embodiment of the invention.
According to an embodiment of the present disclosure, the transaction processing method may be applied to a blockchain node in a blockchain network, as shown in fig. 2, the transaction processing method according to an embodiment of the present invention includes operations S210 to S220.
In operation S210, a transaction request for requesting a transaction target object sent by a client is obtained, where the transaction request carries a digital asset transaction amount.
According to the embodiment of the invention, a user can purchase the encrypted currency of the block chain platform in advance through a client, for example, the legal currency is converted into the encrypted currency of the block chain platform through an off-chain recharging system and an off-chain exchange system, and the encrypted currency owned by the user is the digital asset of the user. When the user purchases the target object, the user needs to pay the corresponding encryption currency of the blockchain platform to complete the purchase transaction.
In operation S220, in response to the transaction request, according to a target intelligent contract corresponding to the target object, the digital asset transaction amount carried in the transaction request is allocated to the at least two block chain account numbers, and a transaction record is generated, where the target intelligent contract is agreed with an asset allocation proportion of the at least two block chain account numbers.
According to an embodiment of the present invention, the at least two blockchain account numbers may include a blockchain account number of an issuing side of the target object and a blockchain account number of an initiating side of the target object. Of course. The blockchain account agreed in the smart contract according to the present disclosure is not limited thereto, and may also include a public utility account, for example, and assets in the public utility account may be used for a utility.
According to the embodiment of the invention, the asset allocation proportion of at least two block chain account numbers agreed in the target intelligent contract is predetermined, and the asset allocation proportion of each block chain account number can be set according to the agreement between parties capable of participating in asset allocation, such as an initiating party and a issuing party.
According to the embodiment of the invention, taking the game a with the target object as the new development as an example, the issuing end of the game can be a game issuer, the developing end of the game can be a game developer, and the blockchain network can be used as a blockchain game platform. The block link points in the block chain network may be deployed as a federation chain. The alliance chain can provide corresponding web plug-ins or application programs for game developers to conduct contract management, provide corresponding web plug-ins for user clients to conduct currency transaction, and provide a blockchain browser to conduct data export and show detailed accounts.
Specifically, for example, a user Tony purchases game A via a client and downloads the game A, resulting in a transaction for game A. The blockchain links in the blockchain network will automatically enter the blockchain account of the game developer assigned by game a according to the intelligent contract created by game a, for example, 70% of the digital asset transaction amount and 30% of the digital asset transaction amount will automatically enter the blockchain account of the game issuer assigned by game a according to the asset allocation proportion. And, the block link point generates a Transaction record Transaction a, and the Transaction Hash (i.e. Hash value) is the Transaction a Hash. The user tony may obtain a non-homogenous unique pass A1 unique to his own game a.
According to the embodiment of the invention, the transaction records are managed by decentralized management of the block chain network, the asset allocation proportion of at least two block chain account numbers is agreed in the target intelligent contract, and the transaction amount of each time is allocated to different block chain account numbers.
According to embodiments of the invention, deploying intelligent contracts to blockchain networks eliminates centrally generated sales shares and management costs for crowd funding situations. Meanwhile, the centralized management and sales and crowd funding records are removed, and the fairness, the justness and the transparency of the product can be ensured. The fairness of all information may facilitate more developers to participate in the distribution of the distribution platform according to embodiments of the present invention. For crowd funding projects, more users can be promoted to participate in development and funding of the projects, and investments of the projects interested by the users can be relieved.
The method shown in fig. 2 is further described with reference to fig. 3-8 in conjunction with specific embodiments.
FIG. 3 schematically shows a flow diagram for deploying an intelligent contract, according to an embodiment of the invention.
As shown in FIG. 3, deploying a smart contract includes operations S310-S320.
In operation S310, a deployment request sent by a development end for requesting to deploy an intelligent contract is obtained, where the deployment request carries contents of the intelligent contract requested to be deployed, and the intelligent contract requested to be deployed is signed by the development end in advance.
In operation S320, in response to the deployment request, consensus verification is performed on the smart contract requested to be deployed.
According to an embodiment of the present invention, specifically, for example, the content of the game smart contract may include the following content. // issuing intelligent contracts for games:
the game publisher distributes proportional playfacecent; game developers distribute proportion gamePercent; game developer blockchain address identity gameSignAddress;
uint signResult=publish(platPercent,gamePercent,gameSignAddress);
and obtaining respective related information according to the sign result, wherein the sign result can also comprise a unique ID of the gameId game, a playardress game issuer account address, a playuplic game issuer public key, a playrivate game issuer private key, a gameAdress game developer account address, a gamePublic game developer public key and a gamePrivate game issuer private key. Wherein, different private keys can be obtained by using the private keys of respective multi-account to decrypt.
According to the embodiment of the invention, in the intelligent contract, when each game developer issues a new game, the intelligent contract can be called in a multi-sign mode to generate a latest exclusive game blockchain information set of the game. The exclusive game block chain information set comprises a game publisher and a public and private key corresponding to a corresponding transfer block chain account number of the game developer and a block chain account number of the game developer in the game, the private key is stored by the game developer, and the public key is visible to the whole network through inquiring account information.
According to an embodiment of the invention, the blockchain account number includes a private key and a blockchain address, and is generated by a third party or a user based on an elliptic curve cryptography algorithm. The private key of the user blockchain must be kept by the user. The private key can derive a blockchain address, which cannot. When a user transaction initiates a verification transaction, a private key is required to be used for signature verification, signature verification parameters cannot deduce a user private key, but a user block chain address can be deduced, and other private keys cannot deduce the user block chain address. The blockchain address is to conform to a blockchain etherhouse address format.
According to an embodiment of the present invention, for example, the user block chain address may be: 0x4f935600dcb7c4c7de17d4611113e3a5b8a718ea, the private key for the block chain address may be 2fb7fd4eb832bbb06ca3d04201d4c06a243aea eec8214dbbe7626b6d5607f90.
According to the embodiment of the invention, after all the block chain nodes in the block chain network agree on the intelligent contract requested to be deployed, the intelligent contract requested to be deployed can be sent to the issuing end, the issuing end signs the intelligent contract requested to be deployed, and then the block chain nodes receive the intelligent contract requested to be deployed after signing from the issuing end. Therefore, the intelligent contract needs to be verified by multiple tags to be finally effective. Therefore, multiple parties determine the intelligent contract together, and the fairness, the justness and the transparency of the product can be ensured.
According to the embodiment of the present invention, it should be noted that only a specific blockchain account may be added with a plurality of blockchain accounts corresponding to a game developer, and the plurality of blockchain accounts may be at least the blockchain accounts signed by a blockchain network and the game developer.
Fig. 4 schematically shows a flowchart for generating a new blockchain account number according to an embodiment of the present invention.
As shown in fig. 4, generating a new blockchain account number includes operations S410 to S430.
In operation S410, an account generation request sent based on a blockchain account of an issuing end is obtained, where the account generation request is used to request generation of a new blockchain account, where the new blockchain account belongs to a newly added development end.
According to the embodiment of the invention, when a new development end needs to issue a new game through an issuing end, a new blockchain account can be generated based on the blockchain account request of the issuing end. The block chain account number of the issuing end has administrator authority and can control the addition of the issuing end.
In operation S420, a new blockchain account is generated in response to the account generation request.
In operation S430, a new blockchain account number is transmitted to the issuer.
According to the embodiment of the present invention, for example, the issuing platform block chain account number of the issuing end is: 0x9942e0dca0604579598e1c3b1cc338983ba8221e, block chain account number assigned by game a of the newly added game developer "airline" at the start: 0x0042e0dca0604579598e1c3b1cc338983ba8221c. According to an embodiment of the invention, while generating a new blockchain account number, a unique ID of game a may also be generated, such as 0x7642e0dca0604579598e1c3b1cc338983ba8221d.
Fig. 5 schematically shows a flow chart of a transaction processing method according to another embodiment of the invention.
As shown in FIG. 5, a user can purchase the equivalent cryptocurrency, which is a virtual currency issued by the project issuer, using the legal currency. The user can use the existing virtual currency to purchase a certain designated game or participate in crowd funding projects through an open entrance of an intelligent contract, a block chain address and a private key of the user are used for initiating a transaction, and during purchase, a non-homogeneous unique pass certificate of a unique ID of the game or the crowd funding projects and a ciphertext encrypted by the non-homogeneous unique pass certificate and the private key are acquired. The purchasing behavior generates a corresponding transaction record transaction on the blockchain, the transaction record transaction displays a unique transaction hash value, the hash value can be displayed to the user in a clear text at the client, for example, the client can be a blockchain browser, and the hash value can be used for user identity confirmation, project activation and the like.
According to the embodiment of the invention, the project development end or the project issuing end can generate a batch of non-homogeneous unique certificates which are enough to be sold for the issued project through an intelligent contract based on the blockchain nodes in the blockchain network, wherein the non-homogeneous unique certificates have the same attribute, and the same attribute can be the unique ID of the project belonging to a certain blockchain.
According to the embodiment of the disclosure, the blockchain node sends a transaction record to the client so that the client activates the target object based on the content in the transaction record, wherein the transaction record comprises a transaction hash value (namely, a transaction hash value) displayed in a plaintext manner, a non-homogeneous unique pass certificate corresponding to the unique identifier of the target object, and a ciphertext encrypted by the non-homogeneous unique pass certificate and a private key.
According to an embodiment of the present disclosure, activating, by the client, the target object based on the transaction hash value includes: and after the identity verification is passed, the ciphertext is continuously encrypted through the private key input by the user at the client and is broadcast to each blockchain node in the blockchain network, so that each blockchain node in the blockchain network can carry out public key verification through the user public key in the transaction record and the public key corresponding to the target object, and the client is allowed to activate the target object after the verification is passed.
According to the embodiment of the invention, for example, the user can use the unique characteristic of the transaction hash value to invoke a plug-in (such as a blockchain wallet) at the client by using the own blockchain account to initiate identity confirmation, and the identity is confirmed to be owned by the account by verifying the signature sign. After the identity is confirmed, the public key corresponding to the non-homogeneous unique pass certificate purchased in the transaction is used for carrying out public key encryption on the ciphertext of the unique pass certificate, so that the corresponding information is not completely exposed to the development end of all projects, and is broadcasted to all block chain nodes for consensus.
And the whole network of the blockchain network verifies the public key by using the public key of the transaction From and the game public key of the appointed transaction, and the client activation request is agreed after the verification is passed. In the process of determining whether the identity is owned by the account, if the device environment related information in the current inputInfo (namely, the hardware information corresponding to the user terminal device, such as the mac address) is found not to conform to the device information of the original initiated transaction, the current device cannot use the game, and the problem of one number with multiple purposes is solved.
According to the embodiment of the invention, for example, the user Tony carries out identity authorization verification according to the Transaction From user address corresponding to the Transaction A Hash and initiating the Transaction, after the identity authorization verification is passed, the game ID of the game and the ciphertext of the unique pass-through A1 are broadcasted to the whole network to carry out public key verification, and if the Transaction verification is passed, the downloaded game can be used through game activation.
Fig. 6 schematically shows a flow chart of a transaction processing method according to another embodiment of the invention.
As shown in fig. 6, the transaction processing method includes operations S610 to S620.
In operation S610, the digital asset balances belonging to at least two blockchain accounts are settled based on a multi-party signature.
In operation S620, after the settlement is completed, the balance of the digital asset belonging to at least two blockchain accounts is destroyed.
According to the embodiment of the invention, for example, if the issuing end and the developing end settle the assets according to the balance of the respective accounts, the part which is finished by settlement can be destroyed in a plurality of ways. For example, an off-site transaction may be initiated, corresponding to the act of destroying transaction data on a transaction chain.
According to the embodiment of the invention, the destruction of the balance of the digital asset by the multi-party signature mode can be realized by respectively signing the destruction behavior by the issuing end and the developing end after the assets are settled by the issuing end and the developing end. Only after many parties sign the destruction behavior can the destruction be really realized on the balance of the digital assets.
According to an embodiment of the present disclosure, a blockchain link point may obtain a download request for requesting to download a blockchain, where the blockchain includes transaction records of different users; and responding to the downloading request, and sending the block chain to the request terminal so that the request terminal can disclose the information in the block chain.
According to embodiments of the invention, the requesting end may be an issuing end or a developing end of the target object. And analyzing the activation transaction in the block by downloading all blocks of the block chain network, and storing the acquisition transaction of the activation code and the parameters and results for verifying the activation transaction in a database. The analysis block transaction can be carried out through the function of the first block chain, and all data can be disclosed through a browser UI (user interface) interface and the like.
For example, the public data includes blockchain information of related transactions of each user, such as a player address, an amount of the related transactions, a transaction type, a crowd funding party participation share after crowd funding and a subsequent crowd funding project income condition, and the like. According to the embodiment of the invention, the user identity can be verified before the browser is viewed, and the corresponding viewing permission is obtained through the block chain account of the user.
Fig. 7 schematically shows a flowchart for transmitting a block chain to a requester in response to a download request according to an embodiment of the present invention.
As shown in fig. 7, sending a block chain to a requester in response to a download request includes operations S710 to S730.
In operation S710, it is determined whether the requester has a download right in response to the download request.
In operation S720, in the case that the request end has the download authority, the transaction modes and the transaction information of different transaction records are analyzed from the blockchain, where the different transaction modes correspond to different disclosure authorities.
In operation S730, the transaction mode and the transaction information of the transaction record in the blockchain are sent to the request terminal, so that the request terminal discloses the transaction information under the corresponding disclosure authority according to the transaction mode of the transaction record.
According to the embodiment of the invention, the transaction data in the transaction record can have different public requirements in the crowd funding mode and the non-crowd funding mode, and the download permission of the request end is different in different modes. For example, crowd funding generally requires transparent sales shares and transaction party identification, while non-crowd funding generally requires transparent transaction party identification.
According to an embodiment of the present invention, the pattern may be distinguished by extra data information attached to a transaction record transaction, the extra data information being a series of 16-ary encoded numbers, such as: 0x84da01d90000000000000000000000000000000000000000000000000000000001341477, is defined as a crowd funding mode by a prefix distinct mode, such as that beginning at 0x84 d.
Taking the example that the request end sends a request through the blockchain browser, the blockchain browser can import the data on the blockchain into the database of the server where the blockchain is located, and under the alliance chain, the blockchain browser can directly display the relevant result to the user by analyzing the extra data information. Of course, the corresponding result can also be obtained by directly analyzing the block chain link points, and the result obtained by analyzing is fed back to the block chain browser through the network, and then displayed to the user.
According to the embodiment of the invention, for the crowd funding mode and the non-crowd funding mode, if the sales is carried out based on a platform, a set of browser environment for internal viewing can be set up independently, only relevant parties such as an issuing end or a developing end can view the browser environment, and meanwhile, transaction records and balance information of respective accounts on a block chain can be directly viewed through commands. All sales are completely disclosed for a specific authority user, no one can steal the tampering, and the information is transparent.
Exemplary System
Having described the method of an exemplary embodiment of the present invention, a transaction processing system of an exemplary embodiment of the present invention is next described with reference to FIG. 8.
FIG. 8 schematically shows a block diagram of a transaction processing system according to an embodiment of the invention.
The transaction processing system is applied to a blockchain node in a blockchain network, as shown in fig. 8, the transaction processing system 800 includes a first obtaining module 810 and a response module 820.
The first obtaining module 810 is configured to obtain a transaction request sent by a client for requesting a transaction target object, where the transaction request carries a digital asset transaction amount; and
the response module 820 is configured to respond to the transaction request, allocate the digital asset transaction amount carried in the transaction request to at least two block chain account numbers according to a target intelligent contract corresponding to the target object, and generate a transaction record, where the target intelligent contract is agreed with an asset allocation proportion of the at least two block chain account numbers.
The transaction processing system 800 also includes a second acquisition module and a verification module according to embodiments of the present invention.
The second obtaining module is used for obtaining a deployment request which is sent by the development end and used for requesting to deploy the intelligent contract, wherein the deployment request carries the content of the intelligent contract which is requested to be deployed, and the intelligent contract which is requested to be deployed is signed by the development end in advance.
And the verification module is used for responding to the deployment request and carrying out consensus verification on the intelligent contract requested to be deployed.
The transaction processing system 800 further includes a first sending module and a receiving module according to an embodiment of the present invention.
The first sending module is used for sending the intelligent contract requested to be deployed to the issuing end after the consensus is achieved among all the block chain nodes in the block chain network.
The receiving module is used for receiving the intelligent contract which is requested to be deployed and signed from the issuing end.
According to an embodiment of the present invention, the at least two blockchain account numbers include a blockchain account number of the issuing end and a blockchain account number of the initiating end.
The transaction processing system 800 further includes a third acquisition module, a generation module, and a second sending module according to an embodiment of the present invention.
The third obtaining module is used for obtaining an account generating request sent by a block chain account based on a sending terminal, wherein the account generating request is used for requesting generation of a new block chain account, and the new block chain account belongs to a newly added development terminal.
The generation module is used for responding to the account generation request and generating a new block chain account.
And the second sending module is used for sending a new block chain account number to the issuing end.
According to an embodiment of the present invention, the transaction processing system 800 further includes a third sending module, configured to send a transaction record to the client, so that the client activates the target object based on the content in the transaction record, where the transaction record includes a transaction hash value displayed in a plaintext manner, a non-homogeneous unique pass corresponding to the unique identifier of the target object, and a ciphertext encrypted by the non-homogeneous unique pass and the private key.
According to an embodiment of the present invention, the activating, by the client, the target object based on the transaction hash value includes: the client is subjected to identity verification based on a private key and a transaction hash value input by a user at the client; and after the identity authentication is passed, continuously encrypting the ciphertext through a private key input by the user at the client, and broadcasting the ciphertext to each blockchain node in the blockchain network, so that each blockchain node in the blockchain network performs public key authentication through a user public key in the transaction record and a public key corresponding to the target object, and allowing the client to activate the target object after the authentication is passed.
The transaction processing system 800 also includes a settlement module and a destruction module according to embodiments of the present invention.
And the settlement module is used for settling the digital asset balance belonging to at least two block chain accounts in a multi-party signature mode.
And the destroying module is used for destroying the balance of the digital assets belonging to at least two block chain accounts after the settlement is finished.
According to an embodiment of the invention, the transaction processing system 800 further comprises a fourth obtaining module and a fourth sending module.
The fourth obtaining module is used for obtaining a downloading request for requesting to download the blockchain, wherein the blockchain comprises transaction records of different users.
The fourth sending module is used for responding to the downloading request and sending the block chain to the request terminal so that the request terminal can disclose the information in the block chain.
According to an embodiment of the present invention, the fourth transmission module includes a determination unit, a parsing unit, and a transmission unit
The determining unit is used for responding to the downloading request and determining whether the requesting terminal has the downloading authority.
The analysis unit is used for analyzing the transaction modes and the transaction information of different transaction records from the block chain under the condition that the request end has the download authority, wherein the different transaction modes correspond to different public authorities.
The sending unit is used for sending the transaction mode and the transaction information of the transaction records in the block chain to the request end so that the request end can disclose the transaction information under the corresponding disclosure authority according to the transaction mode of the transaction records.
Exemplary Medium
Having described the system of an exemplary embodiment of the present invention, reference is next made to fig. 9 in describing a medium of an exemplary embodiment of the present invention for storing computer-executable instructions that, when executed by a processing unit, implement the transaction processing method of fig. 2-7.
In some possible embodiments, the various aspects of the present invention may also be implemented in a form of a program product including program code for causing a computing device to perform the steps in the transaction processing method according to various exemplary embodiments of the present invention described in the above section of "exemplary method" of this specification when the program product is run on the computing device, for example, the computing device may perform operation S210 shown in fig. 2 to obtain a transaction request sent by a client for requesting a transaction target object, where the transaction request carries a digital asset transaction amount. In operation S220, in response to the transaction request, according to a target intelligent contract corresponding to the target object, the digital asset transaction amount carried in the transaction request is allocated to the at least two block chain account numbers, and a transaction record is generated, where the target intelligent contract is agreed with the asset allocation proportion of the at least two block chain account numbers.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Fig. 9 schematically shows a program product for implementing a transaction processing method according to an embodiment of the present invention.
As shown in fig. 9, a program product 90 of a transaction processing method and system according to embodiments of the present invention is depicted, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be executed on a computing device, such as a personal computer. However, the program product of the present invention is not limited in this respect, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may be any computer-readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device over any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., over the internet using an internet service provider).
Exemplary computing device
Having described the methods, media, and systems of exemplary embodiments of the present invention, a computing device of an exemplary embodiment of the present invention is next described with reference to fig. 10, and includes a processing unit and a memory unit, the memory unit storing computer-executable instructions that, when executed by the processing unit, are used to implement the transaction processing methods of fig. 2-7.
The embodiment of the invention also provides the computing equipment. As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
In some possible embodiments, a computing device according to the present invention may include at least one processing unit, and at least one memory unit. Wherein the memory unit stores program code that, when executed by the processing unit, causes the processing unit to perform the steps of the transaction processing methods according to various exemplary embodiments of the present invention described in the "exemplary methods" section above in this specification. For example, the processing unit may execute operation S210 shown in fig. 2 to obtain a transaction request sent by the client for requesting a transaction target object, where the transaction request carries a digital asset transaction amount. In operation S220, in response to the transaction request, according to a target intelligent contract corresponding to the target object, the digital asset transaction amount carried in the transaction request is allocated to the at least two block chain account numbers, and a transaction record is generated, where the target intelligent contract is agreed with the asset allocation proportion of the at least two block chain account numbers.
FIG. 10 schematically shows a block diagram of a computing device for implementing a transaction processing method according to an embodiment of the present invention.
A computing device 1000 for a transaction processing method according to this embodiment of the invention is described below with reference to fig. 10. The computing device 1000 as shown in FIG. 10 is only one example and should not be taken as limiting the scope of use and functionality of embodiments of the invention.
As shown in fig. 10, computing device 1000 is embodied in the form of a general purpose computing device. Components of computing device 1000 may include, but are not limited to: the at least one processing unit 1001, the at least one storage unit 1002, and a bus 1003 connecting different system components (including the storage unit 1002 and the processing unit 1001).
Bus 1003 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures.
The storage unit 1002 can include readable media in the form of volatile memory, such as Random Access Memory (RAM) 10021 and/or cache memory 10022, which can further include Read Only Memory (ROM) 10023.
The storage unit 1002 may also include a program/utility 10025 having a set (at least one) of program modules 10024, such program modules 10024 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Computing device 1000 may also communicate with one or more external devices 1004 (e.g., keyboard, pointing device, bluetooth device, etc.), and may also communicate with one or more devices that enable a user to interact with computing device 1000, and/or any devices (e.g., router, modem, etc.) that enable computing device 100 to communicate with one or more other computing devices. Such communication may occur through input/output (I/0) interface 1005. Moreover, computing device 1000 may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) through network adapter 1006. As shown, the network adapter 1006 communicates with the other modules of the computing device 1000 over a bus 1003. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with computing device 1000, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
It should be noted that although in the above detailed description several units/modules or sub-units/modules of the system are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module according to embodiments of the invention. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Further, while operations of the methods of the invention are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
While the spirit and principles of the invention have been described with reference to several particular embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, nor is the division of aspects, which is for convenience only as the features in such aspects may not be combined to benefit. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (18)

1. A transaction processing method applied to a blockchain node in a blockchain network, the method comprising:
acquiring a transaction request which is sent by a client and used for requesting a transaction target object, wherein the transaction request carries a digital asset transaction amount; and
responding to the transaction request, distributing the digital asset transaction amount carried by the transaction request to at least two block chain account numbers according to a target intelligent contract corresponding to the target object, and generating a transaction record, wherein the target intelligent contract is agreed with the asset distribution proportion of the at least two block chain account numbers; the target intelligent contract is determined by a developer and an issuer common signature after consensus is reached for all blockchain nodes in the blockchain network; the transaction record fully opens the authority for the corresponding blockchain account number;
the method further comprises the following steps:
sending the transaction record to the client so that the client can activate the target object based on the content in the transaction record, wherein the transaction record comprises a transaction hash value displayed in a plaintext mode, a non-homogeneous unique permit corresponding to the unique identifier of the target object and a ciphertext encrypted by the non-homogeneous unique permit and a private key;
the client activating the target object based on the transaction hash value comprises:
performing identity verification on the client based on a private key input by a user at the client and the transaction hash value; and
after the identity authentication is passed, continuously encrypting the ciphertext through a private key input by the user at the client, and broadcasting the ciphertext to each blockchain node in the blockchain network, so that each blockchain node in the blockchain network performs public key authentication through a user public key in the transaction record and a public key corresponding to the target object, and allowing the client to activate the target object after the authentication is passed.
2. The method of claim 1, further comprising:
acquiring a deployment request which is sent by a development end and used for requesting the deployment of an intelligent contract, wherein the deployment request carries the content of the intelligent contract requested to be deployed, and the intelligent contract requested to be deployed is signed by the development end in advance; and
and responding to the deployment request, and performing consensus verification on the intelligent contract requested to be deployed.
3. The method of claim 2, further comprising:
after all the block chain link points in the block chain network reach the consensus, sending the intelligent contract requested to be deployed to a release end; and
receiving the signed intelligent contract requested to be deployed from the issuer.
4. The method of claim 3, wherein the at least two blockchain account numbers comprise the originator blockchain account number and the originator blockchain account number.
5. The method of claim 3 or 4, further comprising:
acquiring an account generation request sent by the block chain account of the issuing terminal, wherein the account generation request is used for requesting generation of a new block chain account, and the new block chain account belongs to a newly added development terminal;
generating the new blockchain account in response to the account generation request; and
and sending the new block chain account number to the issuing end.
6. The method of claim 1, further comprising:
settling the digital asset balances belonging to the at least two blockchain accounts based on a multi-party signature mode; and
and destroying the balance of the digital assets belonging to the at least two block chain accounts after the settlement is finished.
7. The method of claim 1, further comprising:
acquiring a downloading request for requesting downloading of a blockchain, wherein the blockchain comprises transaction records of different users; and
and responding to the downloading request, and sending the block chain to a request end so that the request end can disclose the information in the block chain.
8. The method of claim 7, wherein transmitting the blockchain to a requesting end in response to the download request comprises:
responding to the downloading request, and determining whether the requesting terminal has the downloading authority;
under the condition that the request end has the downloading authority, analyzing transaction modes and transaction information of different transaction records from the block chain, wherein the different transaction modes correspond to different public authorities; and
and sending the transaction mode and the transaction information of the transaction record in the block chain to the request end so that the request end can disclose the transaction information under the corresponding disclosure authority according to the transaction mode of the transaction record.
9. A transaction processing system for use with a blockchain link point in a blockchain network, the system comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a transaction request which is sent by a client and used for requesting a transaction target object, and the transaction request carries a digital asset transaction amount; and
the response module is used for responding to the transaction request, distributing the digital asset transaction amount carried by the transaction request to at least two block chain account numbers according to a target intelligent contract corresponding to the target object, and generating a transaction record, wherein the target intelligent contract is agreed with the asset distribution proportion of the at least two block chain account numbers; the target intelligent contract is determined by a developer side and an issuer side common signature after consensus is achieved for all blockchain nodes in the blockchain network; the transaction record fully opens the authority for the corresponding blockchain account number;
the system, still include:
a third sending module, configured to send the transaction record to the client, so that the client activates the target object based on the content in the transaction record, where the transaction record includes a transaction hash value displayed in a plaintext manner, a non-homogeneous unique pass corresponding to a unique identifier of the target object, and a ciphertext encrypted by the non-homogeneous unique pass and a private key;
the client activating the target object based on the transaction hash value comprises:
performing identity verification on the client based on a private key input by a user at the client and the transaction hash value; and
after the identity authentication is passed, continuously encrypting the ciphertext through a private key input by the user at the client, and broadcasting the ciphertext to each blockchain node in the blockchain network, so that each blockchain node in the blockchain network performs public key authentication through a user public key in the transaction record and a public key corresponding to the target object, and allowing the client to activate the target object after the authentication is passed.
10. The system of claim 9, further comprising:
the second obtaining module is used for obtaining a deployment request which is sent by a development end and used for requesting to deploy the intelligent contract, wherein the deployment request carries the content of the intelligent contract which is requested to be deployed, and the intelligent contract which is requested to be deployed is signed by the development end in advance; and
and the verification module is used for responding to the deployment request and carrying out consensus verification on the intelligent contract requested to be deployed.
11. The system of claim 10, further comprising:
a first sending module, configured to send the intelligent contract requested to be deployed to an issuer after all the blockchain nodes in the blockchain network achieve consensus; and
and the receiving module is used for receiving the signed intelligent contract requested to be deployed from the issuing end.
12. The system of claim 11, wherein the at least two blockchain account numbers comprise the originator blockchain account number and the originator blockchain account number.
13. The system of claim 11 or 12, further comprising:
a third obtaining module, configured to obtain an account generation request sent based on the blockchain account of the issuing end, where the account generation request is used to request generation of a new blockchain account, where the new blockchain account belongs to a newly added development end;
the generating module is used for responding to the account generating request and generating the new block chain account; and
and the second sending module is used for sending the new block chain account to the issuer.
14. The system of claim 9, further comprising:
the settlement module is used for settling the digital asset balances belonging to the at least two block chain accounts in a multi-party signature mode; and
and the destroying module is used for destroying the balance of the digital assets belonging to the at least two block chain accounts after the settlement is finished.
15. The system of claim 9, further comprising:
a fourth obtaining module, configured to obtain a download request for requesting to download a blockchain, where the blockchain includes transaction records of different users; and
and the fourth sending module is used for responding to the downloading request and sending the block chain to a request end so that the request end can disclose the information in the block chain.
16. The system of claim 15, wherein the fourth transmitting module comprises:
the determining unit is used for responding to the downloading request and determining whether the requesting terminal has the downloading authority;
the analysis unit is used for analyzing the transaction modes and the transaction information of different transaction records from the block chain under the condition that the request end has the download authority, wherein the different transaction modes correspond to different public authorities; and
and the sending unit is used for sending the transaction mode and the transaction information of the transaction records in the block chain to the request end so that the request end can disclose the transaction information under the corresponding disclosure authority according to the transaction mode of the transaction records.
17. A medium storing computer executable instructions for implementing the method of any one of claims 1 to 8 when executed by a processing unit.
18. A computing device, comprising:
a processing unit; and
a storage unit storing computer-executable instructions for implementing the method of any one of claims 1 to 8 when executed by the processing unit.
CN201911034098.1A 2019-10-28 2019-10-28 Transaction processing method, system, medium and computing device Active CN110796449B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911034098.1A CN110796449B (en) 2019-10-28 2019-10-28 Transaction processing method, system, medium and computing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911034098.1A CN110796449B (en) 2019-10-28 2019-10-28 Transaction processing method, system, medium and computing device

Publications (2)

Publication Number Publication Date
CN110796449A CN110796449A (en) 2020-02-14
CN110796449B true CN110796449B (en) 2023-01-20

Family

ID=69441696

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911034098.1A Active CN110796449B (en) 2019-10-28 2019-10-28 Transaction processing method, system, medium and computing device

Country Status (1)

Country Link
CN (1) CN110796449B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111310239B (en) * 2020-03-23 2023-03-24 杭州溪塔科技有限公司 Digital information batch distribution method and device and electronic equipment
CN111738860A (en) * 2020-07-30 2020-10-02 北京共识数信科技有限公司 Multi-object transaction method based on block chain and digital currency or digital credit
CN112199446B (en) * 2020-12-01 2021-05-28 支付宝(杭州)信息技术有限公司 Method, device, equipment and storage medium for storing article circulation records
CN112615933B (en) * 2020-12-25 2023-07-18 航天信息股份有限公司 Transaction control method and device for target object based on blockchain
CN112529709A (en) * 2020-12-30 2021-03-19 四川新华万云科技有限公司 Ether house intelligent contract implementation method based on multi-sign technology
CN112967041A (en) * 2021-02-26 2021-06-15 成都质数斯达克科技有限公司 Asset exchange method, electronic device and readable storage medium
CN113379525A (en) * 2021-06-11 2021-09-10 恒安嘉新(北京)科技股份公司 Financial supervision method and device, electronic equipment and storage medium
CN114095214B (en) * 2021-10-29 2023-12-12 上海热线信息网络有限公司 Encryption and decryption method, device, equipment and medium based on block chain NFT technology

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108765240A (en) * 2018-07-16 2018-11-06 阿里巴巴集团控股有限公司 Inter-agency customer authentication method, transaction monitoring and managing method based on block chain and device
CN109074565A (en) * 2016-04-11 2018-12-21 区块链控股有限公司 Computer-implemented method and system for verifying a pass-through for blockchain based cryptocurrency
CN109513207A (en) * 2018-11-12 2019-03-26 网易(杭州)网络有限公司 Processing method, device, storage medium, processor and the server of game asset
CN109523382A (en) * 2018-10-30 2019-03-26 长威信息科技发展股份有限公司 The method of independent common recognition block chain
CN109636596A (en) * 2018-10-26 2019-04-16 平安科技(深圳)有限公司 Digital asset method of commerce, device and electronic equipment based on block chain
CN110163483A (en) * 2019-04-22 2019-08-23 阿里巴巴集团控股有限公司 Virtual resource allocation method and apparatus based on block chain

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10693658B2 (en) * 2016-02-12 2020-06-23 Visa International Service Association Methods and systems for using digital signatures to create trusted digital asset transfers
US20180123779A1 (en) * 2016-11-01 2018-05-03 Jiangang Zhang Flexible Blockchain Smart-Contract Deployment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109074565A (en) * 2016-04-11 2018-12-21 区块链控股有限公司 Computer-implemented method and system for verifying a pass-through for blockchain based cryptocurrency
CN108765240A (en) * 2018-07-16 2018-11-06 阿里巴巴集团控股有限公司 Inter-agency customer authentication method, transaction monitoring and managing method based on block chain and device
CN109636596A (en) * 2018-10-26 2019-04-16 平安科技(深圳)有限公司 Digital asset method of commerce, device and electronic equipment based on block chain
CN109523382A (en) * 2018-10-30 2019-03-26 长威信息科技发展股份有限公司 The method of independent common recognition block chain
CN109513207A (en) * 2018-11-12 2019-03-26 网易(杭州)网络有限公司 Processing method, device, storage medium, processor and the server of game asset
CN110163483A (en) * 2019-04-22 2019-08-23 阿里巴巴集团控股有限公司 Virtual resource allocation method and apparatus based on block chain

Also Published As

Publication number Publication date
CN110796449A (en) 2020-02-14

Similar Documents

Publication Publication Date Title
CN110796449B (en) Transaction processing method, system, medium and computing device
JP6873270B2 (en) Handling of transaction activities based on smart contracts in the blockchain Caution Methods and devices for protecting data
CN109635585B (en) Method, proxy node and medium for querying transaction information in blockchain network
CN107180350B (en) Method, device and system for multi-party sharing transaction metadata based on block chain
WO2021184826A1 (en) Blockchain-based resource transfer method and apparatus, and node device and storage medium
CN107770115B (en) Method and system for distributing digital content in a peer-to-peer network
CN110766406B (en) Resource transfer method, resource transfer device, storage medium and electronic equipment
US11270299B2 (en) Methods and systems of using a cryptocurrency system to manage payments and payment alternatives
JP2022003536A (en) Method implemented by block chain for digital content control and distribution
US11423498B2 (en) Multimedia content player with digital rights management while maintaining privacy of users
CN110851496A (en) Method, apparatus, accounting node and medium for querying transaction information in blockchain network
US20120130900A1 (en) System and Method for Trading Unused Digital Rights
US20200177579A1 (en) Encrypted Blockchain Object Transfers Using Smart Contracts
JP7067043B2 (en) Electronic trading equipment, electronic trading methods and programs
CN110599348B (en) Method, device, equipment and storage medium for stock right incentive
CN112163954B (en) Transaction method and device based on block chain
CN112001713B (en) Block chain system and request processing method and device
US20230360042A1 (en) Method, system, and computer-readable medium for secured multi-lateral data exchange over a computer network
CN111429134A (en) Data transaction method and device based on block chain
CN111049806B (en) Joint authority control method and device, electronic equipment and storage medium
CN115705571A (en) Protecting privacy of auditable accounts
CN115705601A (en) Data processing method and device, computer equipment and storage medium
Mansoor et al. A Review of Blockchain Approaches for KYC
TWI675336B (en) System of smart ticket, method for issuing ticket and computer-readable storage device
KR102332503B1 (en) Apparatus and method for creating a virtual currency account using a telephone number

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