CN109432784B - Account transaction processing method and device based on block chain - Google Patents
Account transaction processing method and device based on block chain Download PDFInfo
- Publication number
- CN109432784B CN109432784B CN201811322190.3A CN201811322190A CN109432784B CN 109432784 B CN109432784 B CN 109432784B CN 201811322190 A CN201811322190 A CN 201811322190A CN 109432784 B CN109432784 B CN 109432784B
- Authority
- CN
- China
- Prior art keywords
- account
- transaction
- transaction registration
- asset
- information
- 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
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/70—Game security or game management aspects
- A63F13/79—Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
- A63F13/792—Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories for payment purposes, e.g. monthly subscriptions
-
- 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/08—Payment architectures
- G06Q20/12—Payment architectures specially adapted for electronic shopping systems
- G06Q20/123—Shopping for digital content
-
- 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)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- General Business, Economics & Management (AREA)
- Finance (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Multimedia (AREA)
- Computer Security & Cryptography (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention discloses an account transaction processing method and device based on a block chain. The distributed storage of the account transaction registration information is realized through a block chain technology, and the rapid appearance of the virtual assets corresponding to the game account/application account/asset account associated with the platform account is realized through an intelligent contract applicable to account transaction processing.
Description
Technical Field
The invention relates to the technical field of virtual asset transaction, in particular to an account transaction processing method and device based on a block chain.
Background
With the popularization of the internet and the mobile internet and the development of OAuth authentication technology, users are accustomed to logging in third-party games/applications through platform accounts (such as open authorization modes provided by social accounts such as WeChat accounts and QQ accounts or through commonly used mobile phone numbers and mailbox addresses). The user obtains the rare virtual items/virtual assets and virtual honor titles through direct purchase or a path provided within the third party game/application during the experience of the third party game/application. Therefore, the account corresponding to the third-party game/application (game account/application account/asset account associated with the platform account) experienced by the user has a certain value.
However, when a user wants to sell an account of an experienced third-party game/application after experiencing a third-party game/application, the platform account, the common mobile phone number and the common mailbox are basically not frequently changed, and bear most of interpersonal relationship of the user, and the user basically chooses to give up selling virtual assets corresponding to the account of the third-party game/application in a mode of trading the platform account after balancing pros and cons. Finally, the user can hardly realize the change of the virtual assets corresponding to the game account/application account/asset account associated with the platform account.
Disclosure of Invention
Aiming at the problems, the invention provides a solution which can not only reserve the platform account number of the user, but also change the virtual assets corresponding to the game account number/application account number/asset account number corresponding to the third-party game/application experienced by the user.
The invention realizes the purpose through the following technical scheme:
an account transaction processing method based on a block chain comprises the following steps:
the block chain link point device receives an account transaction registration request sent by an account seller, wherein the account transaction registration request comprises a first platform account, a first asset account, first virtual asset information and a transaction type, the first platform account is associated with the first asset account, and the first asset account is associated with the first virtual asset information;
the block chain node device generates account transaction registration information according to the account transaction registration request;
creating an intelligent contract containing the account number transaction registration information;
and storing the intelligent contract containing the account number transaction registration information into a block chain network.
The further scheme is as follows: the first platform account includes: any one of a mobile phone number, a mailbox account number or a social platform account number.
The further scheme is as follows: the block chain node generates account transaction registration information according to the account transaction registration request, and the method comprises the following steps:
generating a first transaction identifier according to the first platform account number, the first asset account number and first virtual asset information, wherein the first transaction identifier uniquely identifies the account number transaction registration information;
and determining the information contained in the account transaction registration request and the first transaction identification as account transaction registration information.
The further scheme is as follows:
if the transaction type contained in the account transaction registration request is a selling type, and the account transaction registration request also contains virtual asset price, the block chain node generates account transaction registration information according to the account transaction registration request, and the method comprises the following steps:
determining that the virtual asset price contained in the account transaction registration request is the price corresponding to the first asset account; or the like, or, alternatively,
if the account transaction registration request does not contain the virtual asset price, the block chain node generates account transaction registration information according to the account transaction registration request, and the method comprises the following steps:
evaluating the value of first virtual asset information associated with the first asset account;
and determining the valuation of the first virtual asset information associated with the first asset account as the price corresponding to the first asset account.
The further scheme is as follows:
the creating of the intelligent contract containing the account number transaction registration information comprises:
and creating an intelligent contract containing the account number transaction registration information based on a preset intelligent contract template.
The further scheme is as follows:
the method comprises the following steps of establishing an intelligent contract containing account number transaction registration information based on a preset intelligent contract template, wherein the intelligent contract comprises the following steps:
generating a triggering condition for triggering the intelligent contract to run;
contract operations for compliance checking are generated.
The further scheme is as follows:
if the transaction type included in the account transaction registration request is a selling type, the creating of the intelligent contract including the account transaction registration information further includes:
generating a contract action for the funds transfer;
a contract operation for the virtual asset transfer is generated.
The further scheme is as follows:
if the transaction type contained in the account transaction registration request is a replacement type, the account transaction registration request also contains second virtual asset information; the account transaction registration information also comprises the second virtual asset information;
the creating of the intelligent contract containing the account number transaction registration information further comprises:
generating a contract operation for virtual asset replacement;
the further scheme is as follows: the storing the intelligent contract containing the account number transaction registration information into a blockchain network comprises the following steps:
determining the address of the intelligent contract in the block chain network according to the first transaction identifier;
storing the intelligent contract into the blockchain network based on the address.
The further scheme is as follows: the method further comprises the following steps:
and issuing the account transaction registration information to a virtual asset transaction platform, wherein the virtual asset transaction platform is a block chain node in a block chain network.
According to an aspect of an embodiment of the present invention, there is provided an account transaction processing apparatus based on a blockchain, including:
the block link point receives an account transaction registration request sent by an account seller, wherein the account transaction registration request comprises a first platform account, a first asset account, first virtual asset information and a transaction type, the first platform account is associated with the first asset account, and the first asset account is associated with the first virtual asset information;
the generation module is used for generating account transaction registration information by the block link node according to the account transaction registration request;
the establishing module is used for establishing an intelligent contract containing the account number transaction registration information;
and the storage module is used for storing the intelligent contract containing the account number transaction registration information into the block chain network.
The further scheme is as follows: the first platform account number comprises any one of a mobile phone number, a mailbox account number or a social platform account number.
The further scheme is as follows: the generation module comprises:
the first generation unit is used for generating a first transaction identifier according to the first platform account number, the first asset account number and the first virtual asset information according to a set algorithm, wherein the first transaction identifier uniquely identifies the account number transaction registration information;
and the determining unit is used for determining the information contained in the account transaction registration request and the first transaction identifier as account transaction registration information.
The further scheme is as follows: the creating module is used for creating the intelligent contract containing the account number transaction registration information, and comprises the following steps:
and creating an intelligent contract containing the account number transaction registration information based on a preset intelligent contract template.
The further scheme is as follows: when the transaction type included in the account transaction registration request is a selling type, and the account transaction registration request further includes a virtual asset price, the generating module further includes:
a determining unit, configured to determine that the virtual asset bidding price included in the account transaction registration request is a bidding price corresponding to the first asset account; or the like, or, alternatively,
if the account transaction registration request does not contain the virtual asset price, the generation module comprises:
the evaluation unit is used for evaluating the value of the first virtual asset information associated with the first asset account;
the determining unit is further configured to determine that the valuation of the first virtual asset information associated with the first asset account is the price corresponding to the first asset account.
The further scheme is as follows: the creation module further comprises:
the second generation unit is used for generating a trigger condition for triggering the running of the intelligent contract;
and a third generation unit that generates a contract operation for compliance checking.
The further scheme is as follows: when the transaction type contained in the account transaction registration request is a selling type, the account transaction registration request also contains price information corresponding to the virtual asset, and then the account transaction registration information also contains price information corresponding to the virtual asset;
at this time, the creating module further includes:
a third generating unit, further used for generating a contract operation for fund transfer;
and the third generation unit is also used for generating a contract operation for the virtual asset transfer.
The further scheme is as follows: when the transaction type contained in the account transaction registration request is a replacement type, the account transaction registration request also contains second virtual asset information, and the account transaction registration information also contains the second virtual asset information;
at this time, the creating module further includes:
and the third generation unit is also used for generating a contract operation for the virtual asset replacement.
The further scheme is as follows: the memory module includes:
the determining unit is used for determining the address of the intelligent contract in the block chain network according to the first transaction identifier;
and the storage unit stores the intelligent contract into the block chain network based on the address.
The further scheme is as follows: further comprising:
and the issuing module is used for issuing the account transaction registration information to a virtual asset transaction platform, and the virtual asset transaction platform is a block chain node in a block chain network.
The invention has the beneficial effects that:
according to the account transaction processing method and device based on the block chain, an account transaction registration request sent by an account seller is received through a block chain node, the block chain node generates account transaction registration information according to the account transaction registration request, an intelligent contract containing the account transaction registration information is created, and the intelligent contract containing the account transaction registration information is stored in a block chain network. The distributed storage of the account transaction registration information is realized through a block chain technology, and the rapid appearance of the virtual assets corresponding to the game account/application account/asset account associated with the platform account is realized through an intelligent contract applicable to account transaction processing.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the embodiments or the drawings needed to be practical in the prior art description, and obviously, the drawings in the following description are only some embodiments of the embodiments, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of an account transaction processing method based on a block chain according to the present invention;
fig. 2 is a block diagram of an account transaction processing device based on a block chain according to the present invention;
fig. 3 is a basic structure diagram of an intelligent contract involved in the block chain-based account transaction processing method and apparatus according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without any inventive step, are within the scope of the present invention.
As shown in fig. 1, an account transaction processing method based on a block chain includes the following steps:
step S102: the block chain link point device receives an account transaction registration request sent by an account seller, wherein the account transaction registration request comprises a first platform account, a first asset account, first virtual asset information and a transaction type, the first platform account is associated with the first asset account, and the first asset account is associated with the first virtual asset information.
The first platform account/platform account may be any account of the user with high value, such as a commonly used mobile phone number, a commonly used mailbox address, a commonly used social account (e.g., a wechat account, a QQ account, a paypal account, etc.), or another account providing an OAuth authentication function.
When a user registers or authorizes to log in an application or game provided by an application/game provider for the first time through a platform account, the application or game provided by the application/game provider generates/assigns an identifier capable of uniquely identifying the user in the application or game for the user. In the embodiment of the present invention, the first asset account refers to an identifier (number or character string) capable of uniquely identifying a user in an application or a game, and may also be referred to as an application account or a game account; when a user logs in to an application/game by using a social account in an authorized manner, the first asset account may be an OpenID obtained from a social account facilitator, or a user identifier set in the application or game and associated with the obtained OpenID, and when the user logs in to the application/game by using a mobile phone number or a mailbox address, the first asset account may be a mobile phone number or a mailbox address, or a user identifier set in the application or game and associated with the mobile phone number or the mailbox address, so that the platform account is associated with the asset account/application account.
The user directly registers or authorizes to log in the application or game provided by the application/game provider through the platform account, and in the process of experiencing the game/application provided by the application/game provider, obtaining rare virtual props/virtual articles and virtual honor titles through direct purchase or a way provided in games/applications, and finally forming virtual assets with certain value in the games/applications by users, wherein the virtual assets comprise all the virtual props, virtual articles, virtual honor titles/achievements and the like obtained in the games/applications by the users, the virtual asset information comprises identification information of the applications/games and static data such as the number and the state of each virtual asset in the applications/games, and the virtual asset information does not comprise personal identity data or personal historical behavior data of the users in the games/applications; thus, the virtual asset information is attributed to the user's asset account/application account within the application/game, with the asset account associated with the virtual asset information.
The type of blockchain described in this specification may be a private chain, a public chain, a federation chain, or other types of blockchains, and the present invention is not particularly limited.
In a specific embodiment, the blockchain may be a federation chain consisting of a virtual asset transaction platform, an application/game provider, a platform account service provider, and an intelligent contract platform operator, where the virtual asset transaction platform, the application/game provider, the platform account service provider, and the intelligent contract platform form blockchain nodes in a blockchain network; a user (account seller) may initiate an account transaction registration request through an application/game provided by a virtual asset transaction platform or an application/game provider, and the block link node receives the account transaction registration request sent by the account seller.
In one particular embodiment, the account transaction registration request includes: the first platform account number, the first asset account number, the first virtual asset information, the transaction type, the value of the transaction type may be an account number selling type, an account number replacement type, or any other form of transaction type.
In a specific embodiment, if the transaction type included in the account transaction registration request is an account selling type, the account transaction registration request may further include a bid price corresponding to the first virtual asset information; in another embodiment, if the account transaction registration request includes a transaction type that is an account replacement type, the account transaction registration request also includes second virtual asset information. The second virtual asset information is information of a target virtual asset that a user (account seller) wishes to obtain through an account transaction, and in general (rational economiser), the first virtual asset has the same or similar value as the second virtual asset.
Step S104: and the block chain node device generates account transaction registration information according to the account transaction registration request.
Before the block chain nodes generate account transaction registration information according to the account transaction registration request, the block chain nodes may check the user identity and the validity and authenticity of the account transaction registration request; if a user issues an account transaction registration request through a virtual asset transaction platform (blockchain node), the virtual asset transaction platform (blockchain node) may request the authenticity of the account transaction registration request containing a first platform account number, a first asset account number, and first virtual asset information from an application/game provider (blockchain node); if the application/game provider (blockchain node) determines that the account transaction registration request is invalid, the process is aborted.
And after the user identity and the account number transaction registration request are determined to be real and effective, the block chain nodes generate a first transaction identifier according to the first platform account number, the first asset account number and the first virtual asset information according to a set algorithm. The setting algorithm may be a known hash algorithm, such as SHA1, SHA2, SHA256, SHA512, SM3, or any self-defined algorithm, and only needs to ensure that the generated first transaction identifier can uniquely identify the account transaction registration information.
In a specific embodiment, the first transaction identification may be obtained by:
a hash algorithm (first platform account | said first asset account | first virtual asset information)
The "first platform account | the first asset account | first virtual asset information" indicates that each item is connected in series of characters.
Further, the block link node determines information included in the account transaction registration request and the first transaction identifier as account transaction registration information.
In a specific embodiment, the transaction type included in the account transaction registration request is a selling type, and if the account transaction registration request further includes a virtual asset bid price, the block chain node determines that the virtual asset bid price included in the account transaction registration request is a bid price corresponding to the first asset account; if the account transaction registration request does not contain the virtual asset price, the blockchain node estimates the value of first virtual asset information associated with the first asset account; and determining the valuation of the first virtual asset information associated with the first asset account as the price corresponding to the first asset account. In another embodiment, the blockchain node may request evaluation of the value of the first virtual asset information from other blockchain nodes in the blockchain network, and the blockchain node takes the valuations returned from the other blockchain nodes as the bids corresponding to the first asset account, for example, the virtual asset trading platform requests evaluation of the value of the first virtual asset information from an application/game provider associated with the first virtual asset information.
Step S106: and creating an intelligent contract containing the account number transaction registration information.
In a specific embodiment, the block link node device generates an intelligent contract template for processing account number transaction in advance, processing logic for processing account number transaction is recorded in the intelligent contract template, and the intelligent contract template is different according to different transaction types.
As shown in fig. 3, 302 in fig. 3 is a basic structure of an intelligent contract whose transaction type is a selling type, and if the transaction type included in the account number transaction registration request is a selling type, the intelligent contract includes, in addition to account number transaction registration information, a trigger condition for triggering the operation of the intelligent contract, a contract operation for compliance check, a contract operation for fund transfer, a contract operation for virtual asset transfer, and other information and contract operations.
While 304 in fig. 3 shows the basic structure of a smart contract whose transaction type is a permutation type, if the transaction type included in the account number transaction registration request is a permutation type, the smart contract includes, in addition to the account number transaction registration information, trigger conditions for triggering the operation of the smart contract, contract operations for compliance checking, contract operations for virtual asset permutation, and other information and contract operations.
As shown in fig. 1, step S108: and storing the intelligent contract containing the account number transaction registration information into a block chain network.
In a specific embodiment, the node device of the blockchain determines the address of the intelligent contract in the blockchain network according to the first transaction identifier, and stores the intelligent contract into the blockchain network based on the address.
Optionally, this embodiment further includes the following steps:
step S110: and issuing the account transaction registration information to a virtual asset transaction platform, wherein the virtual asset transaction platform is a block chain node in a block chain network.
As shown in fig. 2, the present invention provides an account transaction processing device based on a block chain, including:
the receiving module 202 receives, by a block link node, an account transaction registration request sent by an account seller, where the account transaction registration request includes a first platform account, a first asset account, first virtual asset information, and a transaction type, where the first platform account is associated with the first asset account, and the first asset account is associated with the first virtual asset information.
The first platform account/platform account may be any account of the user with high value, such as a commonly used mobile phone number, a commonly used mailbox address, a commonly used social account (e.g., a wechat account, a QQ account, a paypal account, etc.), or another account providing an OAuth authentication function.
When a user registers or authorizes to log in an application or game provided by an application/game provider for the first time through a platform account, the application or game provided by the application/game provider generates/assigns an identifier capable of uniquely identifying the user in the application or game for the user. When a user logs in to an application/game in an authorized manner by using a social account, the first asset account may be an OpenID obtained from a social account facilitator, or a user identifier associated with the obtained OpenID and set in the application or game; when a user logs in an application/game by using a mobile phone number or a mailbox address, the first asset account number can be the mobile phone number or the mailbox address, or a user identifier which is set in the application or the game and is associated with the mobile phone number or the mailbox address, and therefore the platform account number is associated with the asset account number/application account number.
The user directly registers or authorizes to log in to an application or game provided by the application/game provider through the platform account. In the process of experiencing the game/application provided by the application/game provider, the user obtains rare virtual props/virtual articles and virtual honor titles through direct purchase or a way provided in the game/application, finally, the user forms virtual assets with certain value in the game/application, the pseudo assets comprise all the virtual props, virtual articles, virtual honor titles/achievements and the like obtained by the user in the game/application, the virtual asset information comprises identification information of the application/game and static data of the quantity, the state and the like of each virtual asset in the application/game, and the virtual asset information does not comprise personal identity data or personal historical behavior data of the user in the game/application. Thus, the virtual asset information is attributed to the user's asset account/application account within the application/game, with the asset account associated with the virtual asset information.
The type of blockchain described in this specification may be a private chain, a public chain, a federation chain, or other types of blockchains, and the present invention is not particularly limited.
In a specific embodiment, the blockchain may be a federation chain consisting of a virtual asset transaction platform, an application/game provider, a platform account service provider, and an intelligent contract platform operator, where the virtual asset transaction platform, the application/game provider, the platform account service provider, and the intelligent contract platform form blockchain link points in a blockchain network, a user (an account seller) may initiate an account transaction registration request through an application/game provided by the virtual asset transaction platform or the application/game provider, and the blockchain link points receive the account transaction registration request sent by the account seller.
In one particular embodiment, the account transaction registration request includes: the first platform account number, the first asset account number, the first virtual asset information, the transaction type, the value of the transaction type may be an account number selling type, an account number replacement type, or any other form of transaction type.
In a specific embodiment, if the transaction type included in the account transaction registration request is an account selling type, the account transaction registration request may further include a bid price corresponding to the first virtual asset information; in another embodiment, if the transaction type included in the account transaction registration request is the account replacement type, the account transaction registration request further includes second virtual asset information, the second virtual asset information is information of a target virtual asset that the user (account seller) wants to obtain through the account transaction, and the value of the first virtual asset and the value of the second virtual asset should be the same or similar.
And the generating module 204 is configured to generate account transaction registration information by the blockchain node according to the account transaction registration request.
Before the block link point generates account number transaction registration information according to the account number transaction registration request, the block link point may check the validity and authenticity of the user identity and the account number transaction registration request, if the user issues the account number transaction registration request through a virtual asset transaction platform (block link node), the virtual asset transaction platform (block link node) may request the application/game provider (block link node) that the account number transaction registration request contains the authenticity of a first platform account number, a first asset account number and first virtual asset information; if the application/game provider (blockchain node) determines that the account transaction registration request is invalid, the process is aborted.
After determining that the user identity and the account transaction registration request are true and valid, the block nodes generate a first transaction identifier according to the first platform account number, the first asset account number, and the first virtual asset information according to a set algorithm, where the set algorithm may be a known hash algorithm, such as SHA1, SHA2, SHA256, SHA512, SM3, or any custom algorithm. Only the generated first transaction identifier is required to be ensured to uniquely identify the account transaction registration information.
In a specific embodiment, the first transaction identification may be obtained by:
a hash algorithm (first platform account | said first asset account | first virtual asset information)
The "first platform account | the first asset account | first virtual asset information" indicates that each item is connected in series of characters.
Further, the block link node determines information included in the account transaction registration request and the first transaction identifier as account transaction registration information.
In a specific embodiment, the transaction type included in the account transaction registration request is a selling type, and if the account transaction registration request further includes a virtual asset bid price, the block chain node determines that the virtual asset bid price included in the account transaction registration request is a bid price corresponding to the first asset account; if the account transaction registration request does not contain the virtual asset price, the blockchain node estimates the value of first virtual asset information associated with the first asset account; determining the valuation of the first virtual asset information associated with the first asset account as the price corresponding to the first asset account; in another embodiment, the blockchain node may request evaluation of the value of the first virtual asset information from other blockchain nodes in the blockchain network, and the blockchain node takes the valuations returned from the other blockchain nodes as the bids corresponding to the first asset account, for example, the virtual asset trading platform requests evaluation of the value of the first virtual asset information from an application/game provider associated with the first virtual asset information.
A creating module 206 for creating an intelligent contract containing the account number transaction registration information.
In a specific embodiment, the block link node device generates an intelligent contract template for processing account number transaction in advance, processing logic for processing account number transaction is recorded in the intelligent contract template, and the intelligent contract template is different according to different transaction types.
As shown in fig. 3, 302 in fig. 3 is a basic structure of an intelligent contract whose transaction type is a selling type, and if the transaction type included in the account number transaction registration request is a selling type, the intelligent contract includes, in addition to account number transaction registration information, a trigger condition for triggering the operation of the intelligent contract, a contract operation for compliance check, a contract operation for fund transfer, a contract operation for virtual asset transfer, and other information and contract operations.
While 304 in fig. 3 shows the basic structure of a smart contract whose transaction type is a permutation type, if the transaction type included in the account number transaction registration request is a permutation type, the smart contract includes, in addition to the account number transaction registration information, trigger conditions for triggering the operation of the smart contract, contract operations for compliance checking, contract operations for virtual asset permutation, and other information and contract operations.
As shown in fig. 2, the storage module 208 is configured to store the intelligent contract containing the account number transaction registration information into the blockchain network.
In a specific embodiment, the node device of the blockchain determines the address of the intelligent contract in the blockchain network according to the first transaction identifier, and stores the intelligent contract into the blockchain network based on the address.
Optionally, the present invention provides an account transaction processing apparatus based on a blockchain, further comprising:
and the issuing module 210 is configured to issue the account transaction registration information to the virtual asset transaction platform. The virtual asset trading platform is a blockchain node in a blockchain network.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims. It should be noted that the various technical features described in the above embodiments can be combined in any suitable manner without contradiction, and the invention is not described in any way for the possible combinations in order to avoid unnecessary repetition. In addition, any combination of the various embodiments of the present invention is also possible, and the same should be considered as the disclosure of the present invention as long as it does not depart from the spirit of the present invention.
Claims (18)
1. An account transaction processing method based on a block chain is characterized by comprising the following steps:
the block chain link point device receives an account transaction registration request sent by an account seller, wherein the account transaction registration request comprises a first platform account, a first asset account, first virtual asset information and a transaction type, the first platform account is associated with the first asset account, and the first asset account is associated with the first virtual asset information;
the block chain node device generates account transaction registration information according to the account transaction registration request;
creating an intelligent contract containing the account number transaction registration information;
storing the intelligent contract containing the account number transaction registration information into a blockchain network;
the block chain node generates account transaction registration information according to the account transaction registration request, and the method comprises the following steps:
generating a first transaction identifier according to the first platform account number, the first asset account number and first virtual asset information, wherein the first transaction identifier uniquely identifies the account number transaction registration information;
and determining the information contained in the account transaction registration request and the first transaction identification as account transaction registration information.
2. The blockchain-based account transaction processing method according to claim 1, wherein the first platform account includes: any one of a mobile phone number, a mailbox account number or a social platform account number.
3. The method for processing account transaction based on blockchain according to claim 1, wherein if the transaction type included in the account transaction registration request is a selling type and the account transaction registration request further includes a virtual asset bid price, the blockchain link point generates account transaction registration information according to the account transaction registration request, including:
determining that the virtual asset price contained in the account transaction registration request is the price corresponding to the first asset account;
or the like, or, alternatively,
if the account transaction registration request does not contain the virtual asset price, the block chain node generates account transaction registration information according to the account transaction registration request, and the method comprises the following steps:
evaluating the value of first virtual asset information associated with the first asset account;
and determining the valuation of the first virtual asset information associated with the first asset account as the price corresponding to the first asset account.
4. The method of processing a blockchain-based account transaction according to claim 1, wherein the creating of the smart contract containing the account transaction registration information includes:
and creating an intelligent contract containing the account number transaction registration information based on a preset intelligent contract template.
5. The method for processing account transaction based on blockchain according to claim 4, wherein the creating of the smart contract containing the account transaction registration information based on the preset smart contract template includes:
generating a triggering condition for triggering the intelligent contract to run;
contract operations for compliance checking are generated.
6. The block chain-based account transaction processing method according to any one of claims 1 to 5, wherein if the transaction type included in the account transaction registration request is a selling type, the creating of the intelligent contract including the account transaction registration information further includes:
generating a contract action for the funds transfer;
a contract operation for the virtual asset transfer is generated.
7. The block chain-based account transaction processing method according to any one of claims 1 to 5, wherein if the transaction type included in the account transaction registration request is a replacement type, the account transaction registration request further includes second virtual asset information; the account transaction registration information also comprises the second virtual asset information;
the creating of the intelligent contract containing the account number transaction registration information further comprises:
contract operations for virtual asset replacement are generated.
8. The method for processing account transactions according to claim 1, wherein said storing the smart contracts containing the account transaction registration information into a blockchain network comprises:
determining the address of the intelligent contract in the block chain network according to the first transaction identifier;
storing the intelligent contract into the blockchain network based on the address.
9. The blockchain-based account transaction processing method according to claim 1, further comprising:
and issuing the account transaction registration information to a virtual asset transaction platform, wherein the virtual asset transaction platform is a block chain node in a block chain network.
10. An account transaction processing device based on a blockchain, comprising:
the block link point receives an account transaction registration request sent by an account seller, wherein the account transaction registration request comprises a first platform account, a first asset account, first virtual asset information and a transaction type, the first platform account is associated with the first asset account, and the first asset account is associated with the first virtual asset information;
the generation module is used for generating account transaction registration information by the block link node according to the account transaction registration request;
the establishing module is used for establishing an intelligent contract containing the account number transaction registration information;
the storage module is used for storing the intelligent contract containing the account number transaction registration information into a blockchain network;
the generation module comprises:
the first generation unit is used for generating a first transaction identifier according to the first platform account number, the first asset account number and the first virtual asset information according to a set algorithm, wherein the first transaction identifier uniquely identifies the account number transaction registration information;
and the determining unit is used for determining the information contained in the account transaction registration request and the first transaction identifier as account transaction registration information.
11. The blockchain-based account transaction processing apparatus according to claim 10, wherein the first platform account number includes any one of a mobile phone number, a mailbox account number, or a social platform account number.
12. The blockchain-based account transaction processing apparatus according to claim 10, wherein the creating module is configured to create a smart contract containing the account transaction registration information, and includes:
and creating an intelligent contract containing the account number transaction registration information based on a preset intelligent contract template.
13. The blockchain-based account transaction processing apparatus according to claim 10, wherein when the transaction type included in the account transaction registration request is a selling type, and the account transaction registration request further includes a virtual asset bid price, the generating module further includes:
a determining unit, configured to determine that the virtual asset bidding price included in the account transaction registration request is a bidding price corresponding to the first asset account;
or the like, or, alternatively,
if the account transaction registration request does not contain the virtual asset price, the generation module comprises:
the evaluation unit is used for evaluating the value of the first virtual asset information associated with the first asset account;
the determining unit is further configured to determine that the valuation of the first virtual asset information associated with the first asset account is the price corresponding to the first asset account.
14. The blockchain based account transaction processing apparatus of claim 10, wherein the creation module further comprises:
the second generation unit is used for generating a trigger condition for triggering the running of the intelligent contract;
and a third generation unit that generates a contract operation for compliance checking.
15. The device according to claim 13, wherein when the transaction type included in the account transaction registration request is a selling type, the account transaction registration request further includes pricing information corresponding to the virtual asset, and the account transaction registration information further includes pricing information corresponding to the virtual asset;
at this time, the creating module further includes:
a third generating unit, further used for generating a contract operation for fund transfer;
and the third generation unit is also used for generating a contract operation for the virtual asset transfer.
16. The blockchain-based account transaction processing apparatus according to claim 10, wherein when a transaction type included in the account transaction registration request is a replacement type, the account transaction registration request further includes second virtual asset information, and the account transaction registration information further includes the second virtual asset information;
at this time, the creating module further includes:
and the third generation unit is also used for generating a contract operation for the virtual asset replacement.
17. The blockchain-based account transaction processing apparatus according to claim 10, wherein the storage module includes:
the determining unit is used for determining the address of the intelligent contract in the block chain network according to the first transaction identifier;
and the storage unit stores the intelligent contract into the block chain network based on the address.
18. The blockchain based account transaction processing apparatus of claim 10, further comprising:
and the issuing module is used for issuing the account transaction registration information to a virtual asset transaction platform, and the virtual asset transaction platform is a block chain node in a block chain network.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811322190.3A CN109432784B (en) | 2018-11-07 | 2018-11-07 | Account transaction processing method and device based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811322190.3A CN109432784B (en) | 2018-11-07 | 2018-11-07 | Account transaction processing method and device based on block chain |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109432784A CN109432784A (en) | 2019-03-08 |
CN109432784B true CN109432784B (en) | 2020-06-30 |
Family
ID=65550698
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811322190.3A Active CN109432784B (en) | 2018-11-07 | 2018-11-07 | Account transaction processing method and device based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109432784B (en) |
Families Citing this family (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110135989A (en) * | 2019-04-26 | 2019-08-16 | 深圳市元征科技股份有限公司 | A kind of virtual resource transfer method and block chain node device |
CN110222529A (en) * | 2019-05-21 | 2019-09-10 | 平安普惠企业管理有限公司 | Assets management method, electronic equipment and computer storage medium based on alliance's chain |
CN111984394A (en) * | 2019-05-22 | 2020-11-24 | 国家计算机网络与信息安全管理中心 | Network asset attribution discrimination formation key attribute extraction system |
SG11202003794UA (en) | 2019-09-11 | 2020-05-28 | Advanced New Technologies Co Ltd | System and method for digital asset transfer |
EP3732644A2 (en) | 2019-09-11 | 2020-11-04 | Advanced New Technologies Co., Ltd. | System and method for digital asset management |
CN111164630A (en) * | 2019-09-11 | 2020-05-15 | 阿里巴巴集团控股有限公司 | System and method for valuing digital assets |
CN110585717B (en) * | 2019-09-26 | 2023-10-20 | 腾讯科技(深圳)有限公司 | Information processing method and device |
CN110585698B (en) * | 2019-09-29 | 2021-10-08 | 腾讯科技(深圳)有限公司 | Virtual asset transaction method and related device |
CN110599184A (en) * | 2019-09-30 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Method and device for network service account transaction, server and storage medium |
CN110585733B (en) * | 2019-09-30 | 2021-10-01 | 腾讯科技(深圳)有限公司 | Virtual asset transaction method and related device |
CN110602255A (en) * | 2019-10-08 | 2019-12-20 | 山东爱城市网信息技术有限公司 | Account information protection method based on block chain, terminal and storage medium |
CN110689412A (en) * | 2019-10-11 | 2020-01-14 | 腾讯科技(深圳)有限公司 | Method, device, server and storage medium for game virtual article transaction based on block chain |
CN111061558B (en) * | 2019-10-30 | 2023-09-01 | 京东科技信息技术有限公司 | Method, apparatus, computer device and storage medium for processing virtual resource data |
JP7485685B2 (en) * | 2019-11-02 | 2024-05-16 | 遊戯橘子数位科技股▲ふん▼有限公司 | Method and system for evaluating game accounts |
WO2021087905A1 (en) * | 2019-11-07 | 2021-05-14 | 乐点股份有限公司 | Virtual asset transfer method and system therefor |
CN111079161A (en) * | 2019-12-12 | 2020-04-28 | 山西云海智化大数据科技有限公司 | Trusted data exchange method based on block chain technology |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017190175A1 (en) * | 2016-05-06 | 2017-11-09 | Othera Pty Ltd | Methods and systems for blockchain based "segmented risk based securities" |
CN107103537B (en) * | 2017-06-20 | 2021-01-22 | 北京汇通金财信息科技有限公司 | Block chain-based digital asset transaction method and system |
CN107943996B (en) * | 2017-12-04 | 2020-06-30 | 四川长虹电器股份有限公司 | Learning calendar query method and device based on block chain |
CN108346110B (en) * | 2018-01-26 | 2021-04-02 | 广东工业大学 | Information interaction system based on manufacturing block chain |
CN108346100A (en) * | 2018-02-14 | 2018-07-31 | 阿里巴巴集团控股有限公司 | Assets management method and device, electronic equipment |
CN110417775B (en) * | 2018-04-27 | 2021-03-26 | 腾讯科技(深圳)有限公司 | Virtual article transaction method and device based on block chain and server |
-
2018
- 2018-11-07 CN CN201811322190.3A patent/CN109432784B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109432784A (en) | 2019-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109432784B (en) | Account transaction processing method and device based on block chain | |
CN105099688B (en) | A kind of operating method of electronic account, the methods of exhibiting and device for paying the page | |
JP7522807B2 (en) | COMPUTER-IMPLEMENTED METHODS AND SYSTEMS | |
US20180197186A1 (en) | Managing chain-of-ownership for art using cryptocurrency blockchain | |
US20180197159A1 (en) | Managing chain-of-ownership for art using cryptocurrency blockchain | |
CN111047321A (en) | Service processing method and device, electronic equipment and storage medium | |
KR102202192B1 (en) | Service implementation method, payment method and device | |
CN105550869A (en) | Remote payment-for-other method and system based on NFC and intelligent terminal | |
US11226853B2 (en) | Self-executing bot based on cached user data | |
KR20100038536A (en) | System for utilization of client information in the electronic commerce and method thereof | |
KR20190003134U (en) | System and method for generating permanent data records and assets for digital items in a networked video game system | |
KR101220992B1 (en) | System for management of client address imformation in the electronic commerce and method thereof | |
US11972432B2 (en) | Risk determination enabled crypto currency transaction system | |
KR102188504B1 (en) | Method for managing on-line donation with smart contract based on blockchain network, and blockchain node using them | |
CN111178840A (en) | Service processing method, device, system, electronic equipment and storage medium | |
WO2015084874A1 (en) | Federated identity creation | |
US20150178711A1 (en) | Method for creating a payment system | |
CN113506111A (en) | Entity article ownership registration method and device based on block chain | |
WO2020000798A1 (en) | Block chain-based game data processing method and system and computer device | |
US20150012433A1 (en) | Mobile identity | |
CN109598612A (en) | The method and apparatus of resource seller's seven sale | |
CN105469296A (en) | Method, device and system for game item transaction | |
CN103020815A (en) | Method, device and system for processing payment transaction | |
JP2017528805A (en) | Information manipulation | |
JP6721724B2 (en) | Methods and devices that facilitate the expansion of payment entities |
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 |