CN109493019A - A kind of account method of commerce and device based on block chain - Google Patents
A kind of account method of commerce and device based on block chain Download PDFInfo
- Publication number
- CN109493019A CN109493019A CN201811322125.0A CN201811322125A CN109493019A CN 109493019 A CN109493019 A CN 109493019A CN 201811322125 A CN201811322125 A CN 201811322125A CN 109493019 A CN109493019 A CN 109493019A
- Authority
- CN
- China
- Prior art keywords
- account
- transaction
- assets
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/04—Payment circuits
- G06Q20/06—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
- G06Q20/065—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Theoretical Computer Science (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of account method of commerce and device based on block chain of the invention, block chain node device receives the account transaction request that account purchaser sends, the account transaction request includes the first transaction ID, according to first transaction ID, the intelligent contract for handling account transaction is read from block chain network, run the intelligent contract, obtain account transaction results, according to the account transaction request, the intelligent contract and account transaction results, account transaction record is generated, account transaction record is stored into block chain network.By block chain technology, account transaction is realized, the intelligent contract by being suitable for account trading processing realizes the game account of platform account relating/quickly cash using account/corresponding fictitious assets of assets account.
Description
Technical field
The present invention relates to fictitious assets transaction field more particularly to a kind of account method of commerce and dress based on block chain
It sets.
Background technique
With universal and OAuth authentication techniques the development of internet and mobile Internet, user gets used to by flat
Account number (the opening authorization or pass through common phone number, postal that such as social account of wechat account, QQ account provides
Case address) log in third party's game/application.User is during experiencing third party's game/application, by directly buying or
Tripartite's game/application interior offer approach obtains rare virtual item/fictitious assets and virtual honorary title.User institute as a result,
Third party's game of the experience/corresponding account of application (game account of platform account relating/apply account/assets account) has
Certain values.
But after user experience crosses third party's game/application, it is desirable to sell the third party's game/application experienced
When account, since platform account, common cell-phone number and common mailbox will not be substantially frequently changed, the big portion of user is carried
The interpersonal relationship divided, after weighing the advantages and disadvantages, being substantially all can select to abandon to go out by way of transaction platform account user
Sell third party's game/corresponding fictitious assets of the corresponding account of application.Finally, user is difficult to realize the game of platform account relating
Account/apply the realization of account/assets account corresponding fictitious assets.
In view of the above-mentioned problems, the present invention proposes a kind of to retain the platform account of user and cross user experience
Third party's game/corresponding the game account of application/using the solution of the corresponding fictitious assets realization of account/assets account.
Summary of the invention
The present invention provides a kind of account method of commerce and device based on block chain, it is intended to solve the of platform account relating
Tripartite's game/corresponding the game account of application/using the corresponding difficult problem of fictitious assets realization of account/assets account.The present invention
Through the following technical solutions to achieve the above objectives:
A kind of account method of commerce based on block chain, comprising:
Block chain node device receives the account transaction request that account purchaser sends, and the account transaction request includes the
One transaction ID;With,
According to first transaction ID, the intelligent contract for handling account transaction, institute are read from block chain network
Stating intelligent contract includes: target transaction type, the first platform account, the first assets account, the first fictitious assets information, the first money
Produce the marked price of account, in the second desired asset information Arbitrary Term combination, wherein first platform account relating the first assets account
Number, first assets account relating the first fictitious assets information;
The intelligent contract is run, account transaction results are obtained;
According to the account transaction request, the intelligent contract and account transaction results, account transaction record is generated;
Account transaction record is stored into block chain network.
Further scheme is:
The account transaction request further include: type of transaction, the second platform account, the second assets account, the second virtual money
Produce the combination of Arbitrary Term in information.
Further scheme is:
According to first transaction ID, the intelligent contract for handling account transaction is read from block chain network, also
Include:
According to first transaction ID, address of the intelligent contract in block chain network is determined;
Based on the address, the intelligent contract for handling account transaction is read from block chain network.
Further scheme is:
The intelligent contract is run, account transaction results are obtained, further includes:
Judge whether the account transaction request meets the trigger condition of the intelligent contract;
The contract for compliance inspection for calling the intelligent contract to include operates.
Further scheme is:
The target transaction type that the intelligence contract includes is assets account transfering type, then runs the intelligent contract,
Obtain account transaction results, further includes:
Call the contract operation for fund transfer that the intelligent contract includes;
Call the contract operation for the transfer of assets account that the intelligent contract includes.
Further scheme is:
The contract operation for the transfer of assets account, comprising:
Release being associated with for the first platform account and the first assets account;
It is associated with the second platform account and the first assets account.
Further scheme is:
The type of transaction that the intelligence contract includes is assets account displacement type, then runs the intelligent contract, obtain
Account transaction results, further includes:
Call the contract operation for the displacement of assets account that the intelligent contract includes.
Further scheme is:
The contract operation for the displacement of assets account, comprising:
Being associated with for the first platform account and the first assets account is released, the second platform account and the second assets account are released
Association;
It is associated with the first platform account and the second assets account, the second platform account of association and the first assets account.
The present invention also provides a kind of account the transaction devices based on block chain, comprising:
Receiving module, receives the account transaction request that account purchaser sends, and the account transaction request includes the first friendship
Easily mark;
Read module reads the intelligence for handling account transaction according to first transaction ID from block chain network
Energy contract, wherein the intelligence contract includes: target transaction type, the first platform account, the first assets account, the first virtual money
Produce information, the marked price of the first assets account, in the second desired asset information Arbitrary Term combination, wherein the first platform account is closed
Join the first assets account, first assets account relating the first fictitious assets information;
Processing module runs the intelligent contract, obtains account transaction results;
Generation module generates account according to the account transaction request, the intelligent contract and account information transaction results
Transaction record;
Memory module stores account transaction record into block chain network.
Further scheme is:
The account transaction request further include: type of transaction, the second platform account, the second assets account, the second virtual money
Produce the combination of Arbitrary Term in information.
Further scheme is:
The read module is read from block chain network according to first transaction ID for handling account transaction
Intelligent contract, further includes:
According to first transaction ID, address of the intelligent contract in block chain network is determined;
Based on the address, the intelligent contract for handling account transaction is read from block chain network.
Further scheme is:
The execution module runs the intelligent contract, obtains account transaction results, further includes:
Judge whether the account transaction request meets the trigger condition of the intelligent contract;
The contract for compliance inspection for calling the intelligent contract to include operates.
Further scheme is:
If the target transaction type that the intelligence contract includes is assets account transfering type, the execution module operation
The intelligence contract, obtains account transaction results, further includes:
Call the contract operation for fund transfer that the intelligent contract includes;
Call the contract operation for the transfer of assets account that the intelligent contract includes.
Further scheme is:
The contract operation for the transfer of assets account, comprising:
Release being associated with for the first platform account and the first assets account;
It is associated with the second platform account and the first assets account.
Further scheme is:
If the type of transaction that the intelligence contract includes is assets account displacement type, then, the execution module is described
The intelligent contract is run, account transaction results are obtained, further includes:
Call the contract operation for the displacement of assets account that the intelligent contract includes.
Further scheme is:
The contract operation for the displacement of assets account, comprising:
Being associated with for the first platform account and the first assets account is released, the second platform account and the second assets account are released
Association;
It is associated with the first platform account and the second assets account, the second platform account of association and the first assets account.
The beneficial effects of the present invention are:
A kind of account method of commerce and device based on block chain of the invention, block chain node device receive account purchase
The account transaction request just sent, the account transaction request includes the first transaction ID, according to first transaction ID, from
The intelligent contract for handling account transaction is read in block chain network, is run the intelligent contract, is obtained account transaction results,
According to the account transaction request, the intelligent contract and account transaction results, account transaction record is generated, account is traded and is remembered
Address book stored is into block chain network.By block chain technology, account transaction is realized, by the intelligence for being suitable for account trading processing
The game account of contract realization platform account relating/quickly cashed using account/corresponding fictitious assets of assets account.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
In required practical attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only the one of the present embodiment
A little embodiments for those of ordinary skill in the art without creative efforts, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is a kind of flow chart of account method of commerce based on block chain of the invention;
Fig. 2 is a kind of block diagram of account the transaction device based on block chain of the invention;
Fig. 3 is the basic structure of involved intelligent contract in the account method of commerce and device of the invention based on block chain
Figure.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, technical solution of the present invention will be carried out below
Detailed description.Obviously, described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base
Embodiment in the present invention, those of ordinary skill in the art are obtained all without making creative work
Other embodiment belongs to the range that the present invention is protected.
The present invention proposes a kind of platform account that can retain user and third party's game that user experience is crossed/answer
With the technical solution for corresponding game account/cashed using the corresponding fictitious assets of account/assets account.
In specific implementation, the type of block chain can be privately owned chain, publicly-owned chain, alliance's chain, be also possible to other types
Block chain, the present invention is without being particularly limited to.
Block chain specifically can be by fictitious assets transaction platform, using/game provider, platform account service provider
And alliance's chain of intelligent contract platform operation side composition.Fictitious assets transaction platform takes using/game provider, platform account
The block chain node being engaged in provider and intelligent contract platform composition block chain network.User (the account seller) can be by virtual
Account transaction registration request is initiated in application/game that transaction in assets platform or application/game provider provide;User's (account
Buyer) by fictitious assets transaction platform or other means check that the account transaction of account corresponding to registration request of trading is stepped on
Remember information, and initiates account transaction request.
Fig. 1 provides a kind of flow chart of account method of commerce based on block chain for the present invention.As shown in Figure 1, this method
Include the following steps:
Step S102: block chain node device receives the account transaction request that account purchaser sends, the account transaction
Request includes the first transaction ID.
Wherein, account purchaser checks that account transaction registration request is concurrent by fictitious assets transaction platform or other means
Account transaction request is played, the account transaction request includes the first transaction ID, and the first transaction ID being capable of unique identification account
Transaction registration request and the intelligent contract for being used to handle account trading processing generated according to account transaction registration request, area
Block chain node is traded the first platform account for including in registration request, the first assets account, the according to account according to set algorithm
One fictitious assets information generates the first transaction ID;Wherein, set algorithm can be known hash algorithm, such as SHA1, SHA2,
SHA256, SHA512, SM3 etc. are also possible to any customized algorithm.
Other than comprising first transaction ID, the account transaction request further include: type of transaction, the second platform account
Number, in the second assets account, the second fictitious assets information Arbitrary Term combination;The value of type of transaction can be the transfer of assets account
Type is also possible to the type of transaction of assets account displacement type or any other form.For example, if according to by virtually providing
It produces transaction platform and checks that the type of transaction of account transaction registration request is assets account displacement type, then corresponding account is traded
The type of transaction for including in request is assets account transfering type, then, the account transaction request includes the second fictitious assets
Information.
Block chain node device may verify that account is bought after the account transaction request for receiving account purchaser transmission
The identity of side and the legitimacy of account transaction request;Block chain node device may take to application/game provider, platform account
The identity information legitimacy of the requests verifications account purchasers such as business provider.
Step S104: according to first transaction ID, the intelligence for handling account transaction is read from block chain network
Energy contract, wherein the intelligence contract includes: target transaction type, the first platform account, the first assets account, the first virtual money
Produce information, the marked price of the first assets account, in the second desired asset information Arbitrary Term combination;Wherein, the first platform account is closed
Join the first assets account, first assets account relating the first fictitious assets information.
Wherein, the intelligent contract is account transaction registration request according to account seller publication and raw by block chain node
At and be published in block chain network.The intelligence contract has different content and contract to grasp according to the difference of target transaction type
Make, target transaction type includes assets account transfering type and assets account displacement type.
First platform account/platform account can be any account with high value of user (the account seller), such as
The common cell-phone number of user, common email address, common social account (such as wechat account, QQ account, Alipay account
Deng) or provide OAuth authentication function other accounts.
The application or game that application/game provider provides are logged in when user is registered or authorized for the first time by platform account
When, using/application or game that game provider provides can be generated for user/, distributing can uniquely be marked in this application or game
Know the mark of user.In the present embodiment, the first assets account refers to the mark (number for capableing of unique identification user in application or game
Word or character string), the first assets account alternatively referred to as applies account or game account.When user passes through authorization using social account
When mode logs in application/game, the first assets account can be the OpenID obtained from social account service provider, alternatively, being to answer
With or game in the user identifier associated with the OpenID of acquisition that is arranged;When user is logged in using cell-phone number or email address
When using/game, the first assets account can be cell-phone number or email address, alternatively, be apply or game in setting and hand
Machine number or the associated user identifier of email address;As a result, platform account relating assets account/apply account.
User is directly registered or is authorized the application or game for logging in that application/game provider provides by platform account;With
Family is during game/application that experience application/game provider provides, by directly buying or the interior offer of game/application
Approach obtain rare virtual item/virtual objects and virtual honorary title, finally, user has in interior formed of game/application
The fictitious assets of certain values.Fictitious assets include user all virtual items of the interior acquisition of game/application, virtual objects,
Virtual honorary title/achievement etc..Fictitious assets information includes every kind in application/game identification information itself and application/game
The static datas such as quantity, the state of fictitious assets.Fictitious assets information does not include personal identification number of the user in game/application
According to or case history behavioral data.Fictitious assets information belongs to assets account/application of the user in application/game as a result,
Under account, assets account relating fictitious assets information.
Block chain node device determines address of the intelligent contract in block chain network according to the first transaction ID,
Based on the address, intelligent contract is read from the block chain network;Specifically, public and private key is obtained according to the first transaction ID
It is right, based on the public key that public private key pair includes, an address is calculated, this address is as the intelligent contract in block chain network
Address.
As shown in figure 3,302 to show type of transaction be to sell the basic structure of the intelligent contract of type in Fig. 3, if described
The type of transaction that account transaction registration request includes is to sell type, and intelligent contract is traded in addition to register information except comprising account, also
Comprising for triggering the intelligent contract operation trigger condition, shift for the contract operation of compliance inspection, for fund
Contract operation, for fictitious assets transfer contract operation and other information and contract operation.
And in Fig. 3 304 show type of transaction be displacement type intelligent contract basic structure, if the account trade
The type of transaction that registration request includes is displacement type, then, intelligent contract is traded in addition to register information except comprising account, also includes
For triggering the trigger condition of the intelligent contract operation, being replaced for the contract operation of compliance inspection, for fictitious assets
Contract operation and other information and contract operation.
As shown in Figure 1, step S106: the operation intelligent contract obtains account transaction results.
In a specific embodiment, run the intelligent contract includes: to judge whether the account transaction request is full
The trigger condition of the foot intelligent contract;Specifically, whether the type of transaction for judging that the account transaction request includes matches institute
State the target transaction type that intelligent contract includes;If type of transaction is assets account transfering type, judge that the account transaction is asked
Ask whether the bid for the first assets account for including matches the marked price for the first assets account that the intelligent contract includes;Alternatively,
If type of transaction is assets account displacement type, judge the second fictitious assets information that the account transaction request includes whether
The second fictitious assets letter that the second desired asset information and the account transaction request for including with the intelligent contract include
Whether breath matches the value etc. for the first assets information that the intelligent contract includes.
In a specific embodiment, running the intelligent contract includes: being used for of calling the intelligent contract to include
The contract of compliance inspection operates;The compliance inspection specifically includes: (the first/bis- is flat for the information that inspection account buyer provides
The information such as account number, the first/bis- assets account, the first/bis- fictitious assets information) authenticity, specifically can be to application/game
Authenticity, the legitimacy of the account open server query-related information of provider, platform account provider.
In a specific embodiment, if the target transaction type that the intelligence contract includes is that assets account shifts class
Type, then, the operation intelligent contract, further includes: the contract for fund transfer for calling the intelligent contract to include
Operation;And the contract operation for the transfer of assets account for calling the intelligent contract to include;It is described to be used for what fund shifted
Contract operation specifically includes: is realized between ideal money in the payment accounts that account buyer and the account seller provide, real money
Between or between ideal money and real money fund transfer, as to how realize fund transfer do not repeating in the present specification.
In a specific embodiment, if the target transaction type that the intelligence contract includes is that assets account shifts class
Type, then, the operation intelligent contract, further includes: the assets account that is used for for calling the intelligent contract to include shifts
Contract operation, the contract operation for the transfer of assets account specifically include: releasing the first platform account and the first assets account
Number association;It is associated with the second platform account and the first assets account simultaneously;The contract operation for the transfer of assets account relates to
And Xiang Yingyong/game provider initiates assets account transfer request;Using/game provider according to assets account transfer request solution
Except being associated with for the first platform account and the first assets account, while being associated with the second platform account and the first assets account;Release the
One platform account and the association of the first assets account include: application/game provider release the corresponding application of the first assets account/
The incidence relation of game and the first platform account;The first platform account corresponding with the first assets account is deleted in application/game
The user behavior data and privacy of user data generated during experience is associated with the mode of the second platform account and the first assets account
It may include: the private mark that application/game provider is the corresponding application/game of account buyer the first assets account of generation, private mark
Or the public key encryption of account buyer offer is provided and is sent to account buyer by other participants, alternatively, passing through account buyer
The phone number or email address of offer are sent to account buyer;Account buyer logged in using the second platform account/experience phase
When should be using/game, respective application/game be bound using the private mark of acquisition, to obtain the first assets account corresponding first
Fictitious assets, the private mark can be arbitrary string;The mode for being associated with the second platform account and the first assets account can also be with
It realizes in other ways, the application is not particularly limited.
In a specific embodiment, if the type of transaction that the intelligence contract includes is assets account displacement type,
So, the operation intelligent contract further include: the contract for the displacement of assets account for calling the intelligent contract to include
It operates, the contract operation for the displacement of assets account specifically includes: releasing the first platform account and the first assets account
Association, the second platform account of releasing are associated with the second assets account;It is associated with the first platform account and the second assets account, is associated with
Second platform account and the first assets account.
Block chain node device obtain the operation intelligent contract as a result, if the result of the operation intelligent contract is
Failure, then stop process, and feedback result gives account buyer.
Step S108: according to the account transaction request, the intelligent contract and account transaction results, account transaction is generated
Record.
Account transaction record include: the first transaction ID, the first platform account, the second platform account, the first assets account,
When the second assets account, the first fictitious assets information, transaction value/second fictitious assets information, account transaction results and transaction
Between etc. information.
Step S110: account transaction record is stored into block chain network.
In a specific embodiment, the storage address of account transaction record is according to the first transaction ID, the first platform
Account, the second platform account, the first assets account, the second assets account are obtained according to corresponding algorithm.
Fig. 2 provides a kind of flow chart of account the transaction device based on block chain for the present invention.As shown in Fig. 2, the device
Include:
Receiving module 202: block chain node device receives the account transaction request that account purchaser sends.The account is handed over
Easily request includes the first transaction ID.
Wherein, account purchaser checks that account transaction registration request is concurrent by fictitious assets transaction platform or other means
Account transaction request is played, the account transaction request includes the first transaction ID, and the first transaction ID being capable of unique identification account
Transaction registration request and the intelligent contract for being used to handle account trading processing generated according to account transaction registration request, area
Block chain node is traded the first platform account for including in registration request, the first assets account, the according to account according to set algorithm
One fictitious assets information generates the first transaction ID;Wherein, set algorithm can be known hash algorithm, such as SHA1, SHA2,
SHA256, SHA512, SM3 etc. are also possible to any customized algorithm.
Other than comprising first transaction ID, the account transaction request further include: type of transaction, the second platform account
Number, in the second assets account, the second fictitious assets information Arbitrary Term combination, the value of type of transaction can be the transfer of assets account
Type is also possible to the type of transaction of assets account displacement type or any other form, for example, if according to by virtually providing
It produces transaction platform and checks that the type of transaction of account transaction registration request is assets account displacement type, then corresponding account is traded
The type of transaction for including in request is assets account transfering type, then, the account transaction request includes the second fictitious assets
Information.
Block chain node device may verify that account is bought after the account transaction request for receiving account purchaser transmission
The identity of side and the legitimacy of account transaction request.
Intelligent contract obtains module 204: according to first transaction ID, reading from block chain network for handling account
Number transaction intelligent contract, wherein it is described intelligence contract include: target transaction type, the first platform account, the first assets account,
First fictitious assets information, the marked price of the first assets account, in the second desired asset information Arbitrary Term combination, wherein first
Platform account relating the first assets account, first assets account relating the first fictitious assets information.
Wherein, the intelligent contract is account transaction registration request according to account seller publication and raw by block chain node
At and be published in block chain network.The intelligence contract has different content and contract to grasp according to the difference of target transaction type
Make, target transaction type includes assets account transfering type and assets account displacement type.
First platform account/platform account can be any account with high value of user (the account seller), such as
The common cell-phone number of user, common email address, common social account (such as wechat account, QQ account, Alipay account
Deng) or provide OAuth authentication function other accounts.
The application or game that application/game provider provides are logged in when user is registered or authorized for the first time by platform account
When, using/application or game that game provider provides can be generated for user/, distributing can uniquely be marked in this application or game
Know the mark of user.In embodiments of the present invention, the first assets account refers to the mark for capableing of unique identification user in application or game
Know (number or character string), the first assets account alternatively referred to as applies account or game account, when user is logical using social account
When crossing authorization login application/game, the first assets account can be the OpenID obtained from social account service provider, or
Person, be apply or game in be arranged user identifier associated with the OpenID of acquisition.When user uses cell-phone number or mailbox
When address registration application/game, the first assets account can be cell-phone number or email address, alternatively, be apply or game in set
The user identifier associated with cell-phone number or email address set, as a result, platform account relating assets account/apply account.
User is directly registered or is authorized the application or game for logging in that application/game provider provides by platform account, is used
Family is during game/application that experience application/game provider provides, by directly buying or the interior offer of game/application
Approach obtain rare virtual item/virtual objects and virtual honorary title, finally, user has in interior formed of game/application
The fictitious assets of certain values, fictitious assets include user all virtual items of the interior acquisition of game/application, virtual objects,
Virtual honorary title/achievement etc..Fictitious assets information includes every kind in application/game identification information itself and application/game
The static datas such as quantity, the state of fictitious assets.Fictitious assets information does not include personal identification number of the user in game/application
According to or case history behavioral data, fictitious assets information belongs to assets account/application of the user in application/game as a result,
Under account, assets account relating fictitious assets information.
Block chain node device determines address of the intelligent contract in block chain network according to the first transaction ID,
Based on the address, intelligent contract is read from the block chain network, public and private key is specifically obtained according to the first transaction ID
It is right, based on the public key that public private key pair includes, an address is calculated, this address is as the intelligent contract in block chain network
Address.
As shown in figure 3,302 to show type of transaction be to sell the basic structure of the intelligent contract of type in Fig. 3, if described
The type of transaction that account transaction registration request includes is to sell type, and intelligent contract is traded in addition to register information except comprising account, also
Comprising for triggering the intelligent contract operation trigger condition, shift for the contract operation of compliance inspection, for fund
Contract operation, for fictitious assets transfer contract operation and other information and contract operation.
And in Fig. 3 304 show type of transaction be displacement type intelligent contract basic structure, if the account trade
The type of transaction that registration request includes is displacement type, then, intelligent contract is traded in addition to register information except comprising account, also includes
For triggering the trigger condition of the intelligent contract operation, being replaced for the contract operation of compliance inspection, for fictitious assets
Contract operation and other information and contract operation.
As shown in Fig. 2, processing module 206: the operation intelligent contract obtains account transaction results.
In a specific embodiment, run the intelligent contract includes: to judge whether the account transaction request is full
The trigger condition of the foot intelligent contract, specifically, whether the type of transaction for judging that the account transaction request includes matches institute
The target transaction type that intelligent contract includes is stated, if type of transaction is assets account transfering type, judges that the account transaction is asked
Ask whether the bid for the first assets account for including matches the marked price for the first assets account that the intelligent contract includes;Alternatively,
If type of transaction is assets account displacement type, judge the second fictitious assets information that the account transaction request includes whether
The second fictitious assets letter that the second desired asset information and the account transaction request for including with the intelligent contract include
Whether breath matches the value etc. for the first assets information that the intelligent contract includes.
In a specific embodiment, running the intelligent contract includes: being used for of calling the intelligent contract to include
The contract of compliance inspection operates, and the compliance inspection specifically includes: (the first/bis- is flat for the information that inspection account buyer provides
The information such as account number, the first/bis- assets account, the first/bis- fictitious assets information) authenticity, specifically can be to application/game
Authenticity, the legitimacy of the account open server query-related information of provider, platform account provider.
In a specific embodiment, if the target transaction type that the intelligence contract includes is that assets account shifts class
Type, then, the operation intelligent contract, further includes: the contract for fund transfer for calling the intelligent contract to include
Operation;And the contract operation for the transfer of assets account for calling the intelligent contract to include;It is described to be used for what fund shifted
Contract operation specifically includes: is realized between ideal money in the payment accounts that account buyer and the account seller provide, real money
Between or between ideal money and real money fund transfer.As to how the fund transfer of realization is not repeating in the present specification.
In a specific embodiment, if the target transaction type that the intelligence contract includes is that assets account shifts class
Type, then, the operation intelligent contract, further includes: the assets account that is used for for calling the intelligent contract to include shifts
Contract operation, the contract operation for the transfer of assets account specifically include: releasing the first platform account and the first assets account
Number association;It is associated with the second platform account and the first assets account simultaneously, the contract operation for the transfer of assets account relates to
And Xiang Yingyong/game provider initiates assets account transfer request, using/game provider according to assets account transfer request solution
Except being associated with for the first platform account and the first assets account;It is associated with the second platform account and the first assets account simultaneously, releases the
One platform account and the association of the first assets account refer to that application/game provider releases the corresponding application/trip of the first assets account
The mode of the incidence relation of play and the first platform account, the second platform account of association and the first assets account includes: application/game
Provider is the private mark that account buyer generates the corresponding application/game of the first assets account, and private mark or process account buyer provide
Public key encryption and be sent to account buyer by other participants, alternatively, the phone number provided by account buyer or postal
Case address is sent to account buyer.Account buyer uses acquisition when logging in respective application/game using the second platform account
Private mark binds respective application/game, to obtain the corresponding fictitious assets of the first assets account.
In a specific embodiment, if the type of transaction that the intelligence contract includes is assets account displacement type,
So, the operation intelligent contract further include: the contract for the displacement of assets account for calling the intelligent contract to include
Operation.The contract operation for the displacement of assets account specifically includes: releasing the first platform account and the first assets account
Association, the second platform account of releasing are associated with the second assets account;It is associated with the first platform account and the second assets account, is associated with
Second platform account and the first assets account.
Block chain node device obtain the operation intelligent contract as a result, if the result of the operation intelligent contract is
Failure, then stop process, and feedback result gives account buyer.
Generation module 208: according to the account transaction request, the intelligent contract and account transaction results, account is generated
Transaction record.
Account transaction record include: the first transaction ID, the first platform account, the second platform account, the first assets account,
When the second assets account, the first fictitious assets information, transaction value/second fictitious assets information, account transaction results and transaction
Between etc. information.
Memory module 210: account transaction record is stored into block chain network.
In a specific embodiment, the storage address of account transaction record is according to the first transaction ID, the first platform
Account, the second platform account, the first assets account, the second assets account are obtained according to corresponding algorithm.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
It is further to note that specific technical features described in the above specific embodiments, in reconcilable situation
Under, it can be combined in any appropriate way, in order to avoid unnecessary repetition, the present invention is to various possible combinations
No further explanation will be given for mode.In addition, various embodiments of the present invention can be combined randomly, as long as its
Without prejudice to thought of the invention, it should also be regarded as the disclosure of the present invention.
Claims (16)
1. a kind of account method of commerce based on block chain characterized by comprising
Block chain node device receives the account transaction request that account purchaser sends, and the account transaction request includes the first friendship
Easily mark;With,
According to first transaction ID, the intelligent contract for handling account transaction, the intelligence are read from block chain network
Energy contract includes: target transaction type, the first platform account, the first assets account, the first fictitious assets information, the first assets account
Number marked price, in the second desired asset information Arbitrary Term combination, wherein first platform account relating the first assets account,
One assets account relating the first fictitious assets information;
The intelligent contract is run, account transaction results are obtained;
According to the account transaction request, the intelligent contract and account transaction results, account transaction record is generated;
Account transaction record is stored into block chain network.
2. the account method of commerce according to claim 1 based on block chain, which is characterized in that the account transaction request
Further include: type of transaction, the second platform account, the second assets account, in the second fictitious assets information Arbitrary Term combination.
3. the account method of commerce according to claim 1 based on block chain, which is characterized in that according to first transaction
Mark reads the intelligent contract for handling account transaction from block chain network, further includes:
According to first transaction ID, address of the intelligent contract in block chain network is determined;
Based on the address, the intelligent contract for handling account transaction is read from block chain network.
4. the account method of commerce according to claim 1 based on block chain, which is characterized in that the operation intelligence is closed
About, account transaction results are obtained, further includes:
Judge whether the account transaction request meets the trigger condition of the intelligent contract;
The contract for compliance inspection for calling the intelligent contract to include operates.
5. the account method of commerce according to claim 1 based on block chain, which is characterized in that it is described intelligence contract include
Target transaction type be assets account transfering type, then run the intelligent contract, obtain account transaction results, further includes:
Call the contract operation for fund transfer that the intelligent contract includes;
Call the contract operation for the transfer of assets account that the intelligent contract includes.
6. the account method of commerce according to claim 5 based on block chain, which is characterized in that described to be used for assets account
The contract of transfer operates, comprising:
Release being associated with for the first platform account and the first assets account;
It is associated with the second platform account and the first assets account.
7. the account method of commerce according to claim 1 based on block chain, which is characterized in that it is described intelligence contract include
Type of transaction be assets account displacement type, then run the intelligent contract, obtain account transaction results, further includes:
Call the contract operation for the displacement of assets account that the intelligent contract includes.
8. the account method of commerce according to claim 7 based on block chain, which is characterized in that described to be used for assets account
Displaced contract operation, comprising:
Being associated with for the first platform account and the first assets account is released, the pass of the second platform account and the second assets account is released
Connection;
It is associated with the first platform account and the second assets account, the second platform account of association and the first assets account.
9. a kind of account the transaction device based on block chain characterized by comprising
Receiving module, receives the account transaction request that account purchaser sends, and the account transaction request includes the first trading standard
Know;
Read module reads the intelligence for handling account transaction from block chain network and closes according to first transaction ID
About, wherein the intelligence contract includes: target transaction type, the first platform account, the first assets account, the first fictitious assets letter
Breath, the marked price of the first assets account, in the second desired asset information Arbitrary Term combination, wherein the first platform account relating
One assets account, first assets account relating the first fictitious assets information;
Processing module runs the intelligent contract, obtains account transaction results;
Generation module generates account transaction according to the account transaction request, the intelligent contract and account information transaction results
Record;
Memory module stores account transaction record into block chain network.
10. the account the transaction device according to claim 9 based on block chain, which is characterized in that the account transaction is asked
Ask further include: type of transaction, the second platform account, the second assets account, in the second fictitious assets information Arbitrary Term combination.
11. the account the transaction device according to claim 9 based on block chain, which is characterized in that the read module, root
According to first transaction ID, the intelligent contract for handling account transaction is read from block chain network, further includes:
According to first transaction ID, address of the intelligent contract in block chain network is determined;
Based on the address, the intelligent contract for handling account transaction is read from block chain network.
12. the account the transaction device according to claim 9 based on block chain, which is characterized in that the execution module, fortune
The row intelligent contract, obtains account transaction results, further includes:
Judge whether the account transaction request meets the trigger condition of the intelligent contract;
The contract for compliance inspection for calling the intelligent contract to include operates.
13. the account the transaction device according to claim 9 based on block chain, which is characterized in that if the intelligence contract
The target transaction type for including is assets account transfering type, then the execution module operation intelligent contract, obtains account
Transaction results, further includes:
Call the contract operation for fund transfer that the intelligent contract includes;
Call the contract operation for the transfer of assets account that the intelligent contract includes.
14. the account the transaction device according to claim 13 based on block chain, which is characterized in that described to be used for assets account
Number transfer contract operation, comprising:
Release being associated with for the first platform account and the first assets account;
It is associated with the second platform account and the first assets account.
15. the account the transaction device according to claim 9 based on block chain, which is characterized in that if the intelligence contract
The type of transaction for including is assets account displacement type, then, the execution module, the operation intelligent contract obtains
Account transaction results, further includes:
Call the contract operation for the displacement of assets account that the intelligent contract includes.
16. the account the transaction device according to claim 15 based on block chain, which is characterized in that described to be used for assets account
Number displacement contract operation, comprising:
Being associated with for the first platform account and the first assets account is released, the pass of the second platform account and the second assets account is released
Connection;
It is associated with the first platform account and the second assets account, the second platform account of association and the first assets account.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811322125.0A CN109493019A (en) | 2018-11-07 | 2018-11-07 | A kind of account method of commerce and device based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811322125.0A CN109493019A (en) | 2018-11-07 | 2018-11-07 | A kind of account method of commerce and device based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109493019A true CN109493019A (en) | 2019-03-19 |
Family
ID=65695247
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811322125.0A Pending CN109493019A (en) | 2018-11-07 | 2018-11-07 | A kind of account method of commerce and device based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109493019A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110163608A (en) * | 2019-05-27 | 2019-08-23 | 北京亿生生网络科技有限公司 | A kind of organization number registration management method, system and storage medium based on block chain |
CN110517047A (en) * | 2019-09-04 | 2019-11-29 | 腾讯科技(深圳)有限公司 | Virtual objects calling processing method, device and equipment and medium based on block chain |
CN110599184A (en) * | 2019-09-30 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Method and device for network service account transaction, server and storage medium |
CN110992033A (en) * | 2019-12-10 | 2020-04-10 | 苏宁金融科技(南京)有限公司 | Block chain-based article monitoring method, device, medium and computer equipment |
CN111339567A (en) * | 2020-02-25 | 2020-06-26 | 四川长虹电器股份有限公司 | Accounting method and accounting system based on block chain |
CN112926963A (en) * | 2021-02-26 | 2021-06-08 | 成都质数斯达克科技有限公司 | Asset transaction method and device, electronic equipment and readable storage medium |
CN116055047A (en) * | 2023-03-31 | 2023-05-02 | 中国科学技术大学 | Trusted anonymous management method for primary account number association records |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160342978A1 (en) * | 2015-05-21 | 2016-11-24 | Mastercard International Incorporated | Method and system for integration of market exchange and issuer processing for blockchain-based transactions |
CN106302357A (en) * | 2015-06-07 | 2017-01-04 | 盛趣信息技术(上海)有限公司 | The ownership altering system of GID and application process thereof |
CN107220820A (en) * | 2017-05-16 | 2017-09-29 | 腾讯科技(深圳)有限公司 | Resource transfers method, device and storage medium |
CN108479071A (en) * | 2018-03-16 | 2018-09-04 | 厦门快商通信息技术有限公司 | A kind of game transaction platform implementation method based on block chain |
-
2018
- 2018-11-07 CN CN201811322125.0A patent/CN109493019A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160342978A1 (en) * | 2015-05-21 | 2016-11-24 | Mastercard International Incorporated | Method and system for integration of market exchange and issuer processing for blockchain-based transactions |
CN106302357A (en) * | 2015-06-07 | 2017-01-04 | 盛趣信息技术(上海)有限公司 | The ownership altering system of GID and application process thereof |
CN107220820A (en) * | 2017-05-16 | 2017-09-29 | 腾讯科技(深圳)有限公司 | Resource transfers method, device and storage medium |
CN108479071A (en) * | 2018-03-16 | 2018-09-04 | 厦门快商通信息技术有限公司 | A kind of game transaction platform implementation method based on block chain |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110163608A (en) * | 2019-05-27 | 2019-08-23 | 北京亿生生网络科技有限公司 | A kind of organization number registration management method, system and storage medium based on block chain |
CN110517047A (en) * | 2019-09-04 | 2019-11-29 | 腾讯科技(深圳)有限公司 | Virtual objects calling processing method, device and equipment and medium based on block chain |
CN110599184A (en) * | 2019-09-30 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Method and device for network service account transaction, server and storage medium |
CN110992033A (en) * | 2019-12-10 | 2020-04-10 | 苏宁金融科技(南京)有限公司 | Block chain-based article monitoring method, device, medium and computer equipment |
CN111339567A (en) * | 2020-02-25 | 2020-06-26 | 四川长虹电器股份有限公司 | Accounting method and accounting system based on block chain |
CN112926963A (en) * | 2021-02-26 | 2021-06-08 | 成都质数斯达克科技有限公司 | Asset transaction method and device, electronic equipment and readable storage medium |
CN116055047A (en) * | 2023-03-31 | 2023-05-02 | 中国科学技术大学 | Trusted anonymous management method for primary account number association records |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109493019A (en) | A kind of account method of commerce and device based on block chain | |
Zaghloul et al. | Bitcoin and blockchain: Security and privacy | |
Asgaonkar et al. | Solving the buyer and seller’s dilemma: A dual-deposit escrow smart contract for provably cheat-proof delivery and payment for a digital good without a trusted mediator | |
CN109432784A (en) | A kind of account transaction processing method and device based on block chain | |
Kalodner et al. | An Empirical Study of Namecoin and Lessons for Decentralized Namespace Design. | |
Ba et al. | Building trust in the electronic market through an economic incentive mechanism | |
US8515847B2 (en) | System and method for password-free access for validated users | |
US8229859B2 (en) | Bit currency: transactional trust tools | |
US6092053A (en) | System and method for merchant invoked electronic commerce | |
US6119229A (en) | Virtual property system | |
US6341353B1 (en) | Smart electronic receipt system | |
McCorry et al. | Refund attacks on Bitcoin’s payment protocol | |
Banerjee et al. | Blockchain enabled data marketplace--design and challenges | |
US20010037290A1 (en) | Method and system for secured web-based escrowed transactions | |
CN112116475B (en) | Distributed data transaction method and system based on blockchain | |
JP2004511028A (en) | Method and system for securely collecting, storing and transmitting information | |
WO2009128850A1 (en) | System and method for password-free access for validated users | |
CN109583891A (en) | A kind of information processing method, device and storage medium | |
JP5084746B2 (en) | Method and apparatus for establishing peer-to-peer karma and trust | |
Chen et al. | Toward achieving anonymous nft trading | |
WO2023107210A1 (en) | Multi-party computation in a computer sharding environment | |
JP2022523959A (en) | Playing cards with electronic authentication means | |
Kuntze et al. | Employing trusted computing for the forward pricing of pseudonyms in reputation systems | |
Swanson | Watermarked tokens and pseudonymity on public blockchains | |
Schneider et al. | Secure brokered delegation through delegaTEE |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190319 |
|
RJ01 | Rejection of invention patent application after publication |