CN110400136A - Account management method, device, server and storage medium based on block chain - Google Patents

Account management method, device, server and storage medium based on block chain Download PDF

Info

Publication number
CN110400136A
CN110400136A CN201910688330.7A CN201910688330A CN110400136A CN 110400136 A CN110400136 A CN 110400136A CN 201910688330 A CN201910688330 A CN 201910688330A CN 110400136 A CN110400136 A CN 110400136A
Authority
CN
China
Prior art keywords
block
account
block chain
account number
transaction record
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.)
Granted
Application number
CN201910688330.7A
Other languages
Chinese (zh)
Other versions
CN110400136B (en
Inventor
李引
周洪飞
岳增书
尚志豪
李佳
庄木沛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd, Tencent Cloud Computing Beijing Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910688330.7A priority Critical patent/CN110400136B/en
Publication of CN110400136A publication Critical patent/CN110400136A/en
Application granted granted Critical
Publication of CN110400136B publication Critical patent/CN110400136B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/22Payment schemes or models
    • G06Q20/28Pre-payment schemes, e.g. "pay before"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/131Protocols for games, networked simulations or virtual reality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks

Landscapes

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

Abstract

The invention discloses a kind of account management method based on block chain, device, server and storage mediums, belong to network technique field.This method comprises: deducting the first numerical value from the account that account number is bound according to account charging request, the first candidate block is generated;Multiple block chain nodes into block catenary system send the first candidate block;When multiple block chain nodes are verified the first candidate block, it is added the first candidate block as third block in the second block chain, increases second value in the corresponding platform seed account of the account number.It can be inquired based on the platform seed account of the account to subsequent, ensure that the trackability of transaction record, to further improve the reliability of transaction.

Description

Account management method, device, server and storage medium based on block chain
The application be the applying date be on April 27th, 2018, application No. is 201810393545.1, entitled " be based on The divisional application of account management method, device, server and the storage medium of block chain "
Technical field
The present invention relates to network technique field, in particular to a kind of account management method based on block chain, device, service Device and storage medium.
Background technique
As block chain technology rapidly develops, block chain technology be can be applied in several scenes at present.Wherein, account pipe Reason is a typical case scene of block chain technology.For example, the account management of gaming platform, in-company account management Deng.During account management, it is major issue urgently to be resolved that how user account, which to create, logs in authentication, supplements consumption with money etc..
In the related technology, by taking the general amusement of game as an example, game businessman can generally buy server or server set cluster, by Server or server cluster manage multiple accounts concentratedly, for example, processing account registration business, each account are stepped on It records, supplement the business such as consumption with money.
Summary of the invention
The embodiment of the invention provides a kind of account management method based on block chain, device, server and storage medium, The technical solution is as follows:
On the one hand, a kind of account management method based on block chain is provided, which comprises
According to account charging request, the first numerical value, the account charging request are deducted from the account that account number is bound Carry the second value of the account number and ideal money to be supplemented with money;
According to the account charging request, the first candidate block is generated, first candidate block is for storing the account Number corresponding transaction record of charging request;
Multiple block chain nodes into block catenary system send first candidate block;
When the multiple block chain node is verified first candidate block, first candidate block is made It is added in the second block chain for third block, increases second value in the corresponding platform seed account of the account number, institute Stating the first numerical value and the second value has transformational relation, and the second block chain is used to store the transaction note of each account Record.
On the one hand, a kind of account management device based on block chain is provided, described device includes:
Module is deducted, it is described for deducting the first numerical value from the account that account number is bound according to account charging request Account charging request carries the second value of the account number and ideal money to be supplemented with money;
Generation module, for generating the first candidate block according to the account charging request, first candidate block is used In the corresponding transaction record of the storage account charging request;
First sending module sends first candidate block for multiple block chain nodes into block catenary system;
First is added module, for inciting somebody to action when the multiple block chain node is verified first candidate block First candidate block is added in the second block chain as third block, in the corresponding platform seed account of the account number Middle increase second value, first numerical value and the second value have transformational relation, and the second block chain is for storing The transaction record of each account.
On the one hand, a kind of server is provided, the server includes processor and memory, is stored in the memory There is at least one instruction, described instruction is loaded by the processor and executed to realize such as the above-mentioned account pipe based on block chain Operation performed by reason method.
On the one hand, a kind of computer readable storage medium is provided, at least one instruction is stored in the storage medium, Described instruction is loaded as processor and is executed to realize the operation as performed by the above-mentioned account management method based on block chain.
Technical solution provided in an embodiment of the present invention has the benefit that
The second value that the account number and ideal money to be supplemented with money are carried based on account charging request, according to the account Charging request generates the first candidate block;Multiple block chain nodes into block catenary system send first candidate block;When When multiple block chain node is verified first candidate block, the is added using first candidate block as third block In two block chains, so that transaction is open and clear, and the second value will be increased in the platform seed account, so that subsequent can be with Platform seed account based on the account is inquired, and ensure that the trackability of transaction record, to further improve friendship Easy reliability.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of schematic diagram of implementation environment provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of account register method based on block chain provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of account recharge method based on block chain provided in an embodiment of the present invention;
Fig. 4 is a kind of account recharge procedure schematic diagram provided in an embodiment of the present invention;
Fig. 5 is a kind of flow chart of virtual article trading method based on block chain provided in an embodiment of the present invention;
Fig. 6 is a kind of flow diagram of virtual article trading provided in an embodiment of the present invention;
Fig. 7 is a kind of schematic diagram of the structure of account management device based on block chain provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Fig. 1 is a kind of schematic diagram of implementation environment provided in an embodiment of the present invention, the implementation environment include: server 101, Multiple user terminals 102.
Wherein, multiple servers 101 can be configured with same block chain, that is to say, multiple server 101 can group At block catenary system, each server 101 is respectively the block chain node in the block catenary system.It may include alliance in system The server of interior each mechanism, for example, multiple server 101 can be game businessman in the corresponding section of block catenary system Point, the private network that multiple user terminal 102 can be bought in block catenary system by game businessman are and multiple Server 101 establishes communication connection.
Multiple server 101 can provide account management service for user, can specifically include account registration service, account Number supplement service and virtual article trading service with money.It wherein,, should when user needs register account number by taking user terminal 102 as an example User terminal 102 can send registration request to multiple server 101, multiple to be based on this number registration request, to the user Verified, and after being verified, to user terminal 102 return account number, in order to user be based on the account number into Row account logs in.When user needs to supplement with money for account, which can send to multiple server 101 and supplement with money Request, target resource numerical value of multiple server 101 based on ideal money to be supplemented with money deduct account number binding account Respective value the amount of money after, increase corresponding target resource numerical value for the platform seed account of the account.When the account of the user When number needing to carry out virtual article trading between other accounts, the user terminal 102 (or user terminal where other users) Virtual article trading request can also be sent to multiple servers 101, multiple servers 101, which are based on the virtual article trading, asks It asks, the transfer of virtual objects ownership, the transfer of ideal money is carried out between two user accounts.
Meanwhile when executing above-mentioned account registration, account being supplemented with money with virtual article trading process, multiple server 101 Account registration, account can also be supplemented with money respectively and be stored with the account information that is related to when virtual article trading, transaction record to area In the block of block chain, subsequent user is also based on the block, carries out the recovering of stolen account, retrospect of transaction record etc., protects Account registration is demonstrate,proved, account supplements reliability and safety with virtual article trading with money.
Separately below to this application involves account registration process, account supplements process and virtual article trading process with money and carries out It introduces.It should be noted that account register method, account recharge method and virtual article trading method can be applied in block chain On the block chain node of system, which can be businessman in the corresponding node of block catenary system, for being user There is provided above-mentioned account registration service, account supplements service and virtual article trading service with money.
Fig. 2 is a kind of flow chart of account registration process based on block chain provided in an embodiment of the present invention.Referring to fig. 2, This method comprises:
201, block chain node receives the registration request of first terminal.
Wherein, which carries client public key and the first encryption information, which is using block chain The system public key of system is encrypted to obtain to the first user identity information.
In the embodiment of the present invention, the block catenary system can on the website of notary organization delivery system public key, Yong Hu Before register account number, first can obtain the system public key from the website of the notary organization, and utilize the system public key, to itself First user identity information is encrypted to obtain first encryption information.Also, the user can first get the use of oneself Family public key and private key for user are established by the first terminal used by a user and the block chain node and are communicated to connect, first end End group sends registration request in the communication connection, to the block chain node, which receives the registration request, and from this The client public key and the first encryption information are obtained in registration request.Wherein, which includes but is not limited to: should The information such as individual mailbox, personal mobile phone number, the identification number of user.
It should be noted that the registration request can ask for the registration of the registration request, social application account of game account It asks.By taking the registration request of game account as an example, game businessman can buy the private network of oneself in block catenary system, and Account registration service is provided for user based on the platform of the private network, account supplements service with money and the service such as virtual article trading. In a kind of possible embodiment, which can log in the private network of game businessman, and the block chain node was by should The registration entrance of private network obtains the registration information needed such as the first encryption information and client public key from first terminal.
The block chain node is based on the registration information needed, by following steps 202-204, provides account note for the user Volume service.
202, block chain node uses the system private key of block catenary system, decrypts the first encryption information, obtains the first user Identification information, and first user identity information is verified.
Wherein, which is decrypted first encryption information using system private key, obtains first user Identification information, and judge whether first user identity information is effective information.When first user identity information is effectively to believe When breath, which is verified, and that is to say that the registration request is effective.When first user identity information is nothing When imitating information, first user identity information verifying does not pass through, and that is to say that the registration request is invalid.
In a kind of possible design, which can be sent to user based on first user identity information and be tested Information is demonstrate,proved, to judge whether first user identity information is effective information.Using first user identity information as individual mailbox For, which can be with are as follows: the block chain node can be sent to the individual mailbox include mailbox active information verifying Mail when the first terminal receives the verifying mail, and returns to activation response to block chain node according to the mailbox active information When, which is determined that first user identity information is effective information, is verified based on the activation response received. When the block chain node does not receive activation response, determine that first user identity information is invalid information, verifying does not pass through. Certainly, when first user identity information includes personal mobile phone, which can also send out to the personal mobile phone number Send verification information to be verified, realization process be with the similarly process verified based on the individual mailbox, it is no longer superfluous herein It states.
Wherein, block chain node can also first verify first user identifier before carrying out subscriber identity information verifying Whether information has been certified, and by identifying code, this registers operation whether as malicious operation, when first encryption information is unauthenticated And registration operation is not when being malicious operation, then carries out the process of above-mentioned verifying first user identity information, to guarantee to use The uniqueness of family identification information, it is therefore prevented that malicious registration further ensures the safety of account.
203, when first user identity information is verified, block chain node obtains the account mark of the first terminal Know, be based on account number, client public key and the first user identity information, generates the first block in the first block chain.
Wherein, which is used for storing user's registered information.It can store multiple accounts on the first block chain Mark and relevant information, such as client public key and user identity information etc..When first user identity information is verified, The block chain node is that the first terminal distributes account number, which is used for the unique identification account.The block chain link Point generates the first block according to the account number, client public key and the first user identity information, and first block is added the In one block chain.It that is to say, the user identifier, client public key and the first user identity information are stored in first block.
In a kind of possible implementation, the certification shape of first user identity information is also stored in first block State, correspondingly, the process for generating the first block can be with are as follows: the block chain node is according to the account number, client public key, first The verified status of user identity information and first user identity information generates first block.Due to store this first The verified status of user identity information, therefore, other accounts are not available first user identity information and carry out new account Registration, so that the malice for limiting user identity information is falsely used, the phenomenon that avoiding malicious registration account.
Certainly, the embodiment of the present invention does not limit block chain node for the verified status of first user identity information Storage mode.The block chain node can store first user identity information to the specific field of first block, should The authentication state that specific field is used to indicate stored user identity information is to have authenticated.Alternatively, the block chain node may be used also Directly to store first user identity information and the corresponding verified status of the first user identity information.
In the embodiment of the present invention, block chain node 201-203 through the above steps is based on the registration request, is successfully this User distributes account number, that is to say that account succeeds in registration.The block chain node also needs to notify the use by following steps 204 Family registering result.
204, block chain node encrypts the account number using the client public key, returns to encrypted account to first terminal Mark.
The block chain node encrypts the account number, and lead to by the client public key carried in the registration request The communication connection between block chain node and first terminal is crossed, which is sent to the first terminal.
The first terminal decrypts the account number, and the associated storage account number and first user by private key for user Identification information.The first terminal is subsequent to be based on the account number and first user identity information, sends to the block chain node Logging request.In the embodiment of the present invention, which can be based on following steps 205, provide account for user and log in clothes Business.
205, block chain node receives the logging request of second terminal, marks when being stored with first user in first block When knowing information and being stored with the verified status of first user identity information, in response to the logging request, allow second end End group is logged in the account number.
Wherein, which carries encrypted account number and first user identity information, the account number and First user identity information is using the information after system public key encryption.The block chain node is according to system private key, to this Information entrained by logging request is decrypted, and obtains the account number and the first user identity information.The block chain node from The corresponding user identity information of the account number is obtained in first block, when the corresponding user identity information of the account number is to be somebody's turn to do When the first user identity information, the authentication state of first user identity information is obtained;When recognizing for first user identity information When card state is verified status, determines that the account number has logon rights, that is to say, block chain node is to the logging request It is verified, returns to login success message to the second terminal;When the corresponding user identity information of the account number and this first When user identity information is not identical or first user identity information is un-authenticated state, determine that the account number does not have Logon rights, do not pass through logging request verifying, return to login failure message to second terminal.
It should be noted that the second terminal and the first terminal can be same terminal, alternatively, can also be different Two terminals.The terminal that the terminal and login process that the embodiment of the present invention uses account registration process use is not made It is specific to limit.
In the embodiment of the present invention, when the account number of user and stolen user identity information, block chain node may be used also Service is recovered with provide stolen account for user, it is process shown in following steps 206-209 that this, which recovers process,.
206, block chain node receives third terminal and recovers request.
When account number and/or stolen the first user identity information, which can send to the block chain node and close Request is recovered in the account.Wherein, this recovers request carrying account number and the second encryption information, second encryption information are Using the private key for user, second user identification information is encrypted.
Wherein, which may be the same or different with first user identity information, different Situation refers to: the user identity information that user can more renew.For example, user has used and cell-phone number different when registering Code, individual mailbox etc..
It should be noted that the third terminal can first encrypt account number with system public key, to block chain link Point sends encrypted account number.In addition, the third terminal and the second terminal, the first terminal can be same terminal, Alternatively, can also be two or three different terminals.The embodiment of the present invention is for account registration process, login process and rope Terminal used in the process of returning is not especially limited.
207, block chain node obtains client public key from the first block, using the client public key, decryption the second encryption letter Breath, and second user identification information is verified.
Wherein, which obtains the corresponding user of the account number according to the account number from the first block Public key, and the client public key is used, which is decrypted, the second user identification information is obtained.Wherein, area The process that block chain node verifies the second user identification information is and verifies the first user identifier in above-mentioned steps 202 The process similarly of information, details are not described herein again.
In a kind of possible design, when the account number is using information after system public key encryption, the block chain Node can also use system private key, be decrypted to the encrypted account number, obtain the account number.
It should be noted that the first user identity information when the block chain node also needs to judge the registration, with above-mentioned rope Whether the second user identification information for the process of returning is identical, if identical, block chain node directly executes following step 209.If When not identical, which is also needed through following steps 208, stored in the first block chain again the account number and Corresponding second user identification information, then execute step 209.
208, when being verified, block chain node is based on the account number, the client public key and the second user mark Know information, generates the second block in the first block chain.
It should be noted that the process of second block of generation be with the similarly process of above-mentioned steps 203, in addition, the block Chain node can also store the verified status of the second user identification information, the process and above-mentioned storage in second block First user indicates that the verified status of information is process similarly, repeats no more herein.
In a kind of possible design, when being verified, block chain node determines that the account is stolen, the block chain node After storing the corresponding information of the account, user can also be notified to recover result by following steps 209 again.
209, block chain node encrypts the second user identification information using the client public key, and returning to the third terminal should Encrypted second user identification information.
The block chain node uses the client public key, encrypts to the second user identification information, and whole to the third End sends encrypted second user identification information.The third terminal receives encrypted second user identification information, and passes through The encrypted second user identification information is decrypted in private key for user.The third terminal, which determines, recovers success, it is subsequent can be with Account login is carried out by the account number and second user identification information.
In the embodiment of the present invention, using UTXO, (Unspent Transaction Output, is not spent in block catenary system Transaction output) mode is managed, be different from the remaining sum mode of traditional account, for stolen account, when user pass through it is upper It states after step recovers account, the equity of the account is also accordingly recovered.
In a kind of possible design, when the account is stolen, which can also inquire the transaction of stolen period Record, to take risk control measure based on the transaction record.The block chain node can also provide stolen account for user Query service.The query process can be with are as follows: block chain node receives the inquiry request of the third terminal, and the inquiry request is for looking into The transaction record in target time section is ask, which is the stolen period of the account number;Block chain node according to The account number obtains the corresponding transaction record of the account number in the target time section from the second block chain, secondth area Block chain is used to store the transaction record of each account;Block chain node by the corresponding transaction record of the account number return to this Three terminals.
It should be noted that the third terminal can also be to the block when loss of user is more serious during stolen The transmission of chain node, which is stolen to lose, handles request, is stolen to lose to handle to request to be used to indicate and recovers stolen period loss for the account Ideal money and/or the virtual objects being stolen, the block chain node can be based on the stolen loss processing requests, for the user Recovering for stolen ideal money or virtual objects is provided, to ensure that the equity of user is not suffered a loss.
In a kind of possible design, which can be identified based on the second user, be sent out to the third terminal It send and recovers successful message.For example, sending the circular mail comprising recovering success message into the individual mailbox of the user.When So, which may include the second user identification information and the account information.
In the embodiment of the present invention, which can be based on the client public key that registration request carries and the first encryption letter Breath, is decrypted the first encryption information, obtains the first user identity information, when the first user identity information is verified, Account number is distributed for user information, and the firstth area is generated based on the account number, client public key and the first user identity information The first block in block chain, to ensure that the safety of account management.Also, the block chain node is added using the client public key The close account number, and the account number of encryption is returned, so that subsequent user can be marked based on the account number and the first user Know that information log in and stolen account is recovered, further improves the safety and reliability of account management.
Fig. 3 is a kind of flow chart of account recharge method based on block chain provided in an embodiment of the present invention.The invention is real Apply example executing subject be block catenary system in either block chain node, referring to Fig. 3, this method comprises:
301, block chain node receives the account charging request of the 4th terminal.
When user needs to supplement account with money, which can send account to block chain node by the 4th terminal and supplement with money Request, account charging request carry the second value of account number and ideal money to be supplemented with money.Wherein, the 4th terminal with should Block chain node establishes communication connection.4th terminal is based on the communication connection, logs in personal account, and to the block chain node Send account charging request.The block chain node receives the account charging request, and obtains from the account charging request wait fill The account number and second value of value.
302, block chain node deducts the first number according to the account charging request from the account that the account number is bound Value, and generate the first candidate block.
In the embodiment of the present invention, after which gets the account charging request, which can be with Batch obtains at least one other account charging request in current slot;The block chain node obtains in the second block chain The cryptographic Hash of previous block, and the previous block is verified by multiple block chain nodes in block catenary system, When multiple block chain node is verified the previous block, the block chain node according to the account charging request, when The cryptographic Hash of at least one other account charging request and the previous block in the preceding period, generates first candidate regions Block.Wherein, which is used to store the transaction record of each account
Wherein, when generating the first candidate block, which includes block head and block body in structure, is somebody's turn to do The cryptographic Hash of multiple account charging requests and the previous block can be stored in the block body of block by block chain node, will Block head is vacated, to promote the operation efficiency of the first candidate block.
It should be noted that the block chain node can obtain multiple accounts in present period every preset period of time batch Charging request, and multiple charging request is bundled in first candidate block, solves that recharging payment is unstable to ask Topic ensure that periodically summarizing account charging request generates a possibility that new district is fast, so that ensure that block catenary system supplements energy with money The real-time and regularity of power.Also, the block chain node can also vacate the head of the block, to reduce calculating Complexity improves the efficiency for generating the first candidate block.
The generating process of above-mentioned first candidate block is actually dig by the block chain link point process of mine, the block When multiple charging request is bundled to first candidate block by chain node, which is also needed through multiple block chains The second block chain could be added in the verifying of node.
303, multiple block chain nodes of the block chain node into block catenary system send first candidate block, when this is more When a block chain node is verified first candidate block, the secondth area is added using first candidate block as third block In block chain, increase second value in the corresponding platform seed account of the account number.
First candidate block can be sent to multiple block chain node, multiple block chain link by the block chain node Point verifies first candidate block, and returns to verification result to the block chain node.When receiving multiple block chain When being verified of node feeding back illustrates that first candidate block is correct block, which determines multiple area Block chain node is verified first candidate block, which is added first candidate block as third block In second block chain;When the verifying for receiving multiple block chain node feeding back does not pass through or do not receive multiple block chain When the feedback of node, illustrate that first candidate block is the block of mistake, which does not handle first candidate block.
It should be noted that the block chain node broadcasts the third block, area in block catenary system when being verified The third block is added in the second block chain for each block chain node in block catenary system, and by the corresponding platform kind of the account Increase the second value in sub- account.
Wherein, platform operation side corresponds to the operator fund pool account in the block catenary system, the platform operation side Each account can correspond to respective platform seed account, which records the ideal money under the account Current value.When platform seed account is supplemented with money, side which can be filled by internal logic Formula, for the ideal money of the platform seed account charging second value.And user uses the ideal money in platform seed account When being consumed, for example, the virtual objects of purchase other users, the block hinged node are needed each platform seed account Ideal money is recovered to the operator fund pool account.Wherein, which can be periodically to each platform seed account Ideal money summarized, fill into ideal money and reclaimer operation so as to more flexible for user, improve transaction Convenience.
In addition, the block chain node can receive other block chain links if first candidate block verifying is obstructed out-of-date Point generate block, when in the block that the second block chain is newly added in each block chain node in block catenary system include the account When charging request, which determines recharging payment success, and returns to successful message of trading to user.When each area When block chain node is newly added in the block of the second block chain not comprising the account charging request, which determines that this is supplemented with money Fail Transaction then executes above-mentioned steps 302-303 again.
In the embodiment of the present invention, which can also provide account transaction note by following steps 304 for user The query service of record.
304, block chain node receives transaction record inquiry request, the account mark carried according to the transaction record inquiry request Know, the corresponding transaction record of the account number is obtained from the second block chain, and return to the corresponding transaction record of the account number.
It should be noted that the account number that the block chain node can be carried based on the transaction record inquiry request, fixed Position stores the third block of the corresponding transaction record of the account number, obtains at least one transaction record from the third block, And at least one transaction record is sent to the 4th terminal.Certainly, the user can also set inquire transaction place, when Between or the querying conditions such as number, which is based on the querying condition and is inquired, to meet user's significantly Query demand.
Expression for clarity is above-mentioned to supplement process with money, supplements process with money to this below with reference to recharge procedure shown in Fig. 4 and carries out It introduces, by taking game account as an example, as shown in figure 4, the block chain node is in block platform chain when user's progress account is supplemented with money Account charging request is initiated, which carries the flat of operator fund pool account and user corresponding to game businessman Platform seed account, and the second value of ideal money to be supplemented with money.The block chain node is based on the account charging request, batch Summarize the transaction record of present period, and obtain the cryptographic Hash of the previous block of the second block chain, which is used for Store the transaction record of each account;When being verified Deng other multiple block chain nodes to previous block, the block chain link Cryptographic Hash of the point based on multiple transaction records and the previous block including account charging request, generates the first candidate block, It that is to say the process for digging mine as shown in Figure 4.The block chain node broadcasts first candidate block, and wait other multiple areas Block chain node verifies first candidate block, that is to say that notice as shown in Figure 4 updates, broadcasts and wait mistake to be verified Journey.When failing the authentication, which needs to re-execute the process for digging mine.When being verified, each block chain link Point is added first candidate block as third block in the second block chain, and determines successful recharging, that is to say as shown in Figure 4 Confirmation transaction, and notify the message of user's successful recharging.
In the embodiment of the present invention, block chain node can carry the account number and to be supplemented with money based on account charging request The second value of ideal money generates the first candidate block according to the account charging request;Multiple areas into block catenary system Block chain node sends first candidate block;When multiple block chain node is verified first candidate block, by this First candidate block is added in the second block chain as third block, so that transaction is open and clear, and by the platform seed account Increase the second value in family, so that subsequent can be inquired based on the platform seed account of the account, ensure that transaction note The trackability of record, to further improve the reliability of transaction.
Fig. 5 is a kind of flow chart of virtual article trading method based on block chain provided in an embodiment of the present invention.The hair The executing subject of bright embodiment is the either block chain node in block catenary system, referring to Fig. 5, this method comprises:
501, block chain node receives virtual article trading request.
Wherein, virtual article trading request, which is carried as the virtual objects side of producing, produces account number and as virtual The mark for being transferred to account number and virtual objects to be transacted of the article side of being transferred to.In the embodiment of the present invention, with above-mentioned registration Process, the account number conduct for supplementing process with money are illustrated for being transferred to account number.In the embodiment of the present invention, when user is the same as it When his user carries out article trading, which can be sent empty based on Transaction Information involved in the transaction to block chain node Quasi- article trading request, the block chain node receive virtual article trading request, and from virtual article trading request, obtain Take the account number, the mark for producing account number and virtual objects to be transacted as the virtual objects side of producing.
It should be noted that the virtual article trading request can by the account number, as the virtual objects side of producing It produces any account in account number to initiate, the present invention is not especially limit this.
502, block chain node is requested according to the virtual article trading, is generated the second candidate block, is locked the virtual objects Use state.
Wherein, which requests corresponding transaction record, the block chain for storing the virtual article trading Node determines the implementation of second candidate block, is the similarly process of above-mentioned steps 302, details are not described herein again.Locking should The use state of virtual objects refers to: the block chain node obtains the use of the virtual objects according to the mark of the virtual objects State, and the use state of the virtual objects is set as being forbidden to use.
Wherein, above-mentioned the second candidate block of generation that is to say that the block chain link point in block catenary system dig the mistake of mine Journey that is to say by other specially it is, of course, also possible to generate second candidate block by other block chain nodes in block catenary system The digging mine node of door executes mine process of digging, which can receive each transaction by the way of collecting transaction fee Service charge is taken, to improve the flexibility of trading processing.
503, when multiple block chain node is verified second candidate block, block chain node second waits this Constituency block is added in the second block chain as the 4th block, and the ownership of the virtual objects is changed to belong to the account number, And discharge the use state of the virtual objects.
Wherein, which is used to store the transaction record of each account, and the 4th block is added block chain node The implementation of second block chain, for the similarly process with above-mentioned steps 303, details are not described herein again.When the 4th block is added When the second block chain, block chain node determination is traded successfully, and accordingly changes the ownership of the virtual objects, discharges the void The use state of quasi- article, which refers to, restores the use state of the virtual objects to available mode.
In the embodiment of the present invention, if the account of user is stolen, alternatively, the transaction may trade for malice, the block chain Node can also trace the transaction record of the account, which can be with are as follows: block chain node receives the inquiry of account transaction record and asks It asks, which carries account number, according to the account number, obtains and hands over involved in the account number Easily, and the account transaction record is returned.
In a kind of possible design, after the transaction record stored in the 4th block can be to be encrypted using transaction record Data.For each transaction involved in the account transaction record, it is corresponding which can also obtain the transaction Transaction public key the transaction record stored in the 4th block is decrypted according to the transaction public key of the transaction, and based on should Ideal money involved in transaction record and corresponding virtual objects judge whether the transaction is that malice is traded.When the transaction is When malice is traded, which can be adopted malice trading object according to the corresponding malice trading object of malice exchange Air control is taken to hit.For example, the account of malice trading object to be added in air control blacklist to, freezed the account of malice trading object Under virtual objects use state etc..
Wherein, the block chain node can numerical value and the virtual objects based on ideal money value it is whether equivalent, into The judgement of row malice transaction, then maliciously to trade, is otherwise arm's length dealing when non-equivalence.
In a kind of possible design, when the either block chain nodes break down in block catenary system, for example, service When device returns shelves, which can also carry out data recovery, which can be with are as follows: when either block in the block catenary system When chain node failure, block chain node is produced this belonging to the ideal money and virtual objects of account number and the account number Before power is restored to failure to occur.Wherein, for the transaction of the ideal money during failure, which can be by failure Period increases or reduces the operation of ideal money, executes inverse operation;It that is to say, for being platform seed account during failure Increase the operation of the ideal money of third value, executes the behaviour for reducing the ideal money of the third value in the platform seed account Make, for being the operation for the ideal money that platform seed account reduces third value during failure, executes and increase the platform seed The operation of the ideal money of third value in account.Transaction for the virtual objects during failure, which can The ownership of virtual objects during failure to be reverted to original affiliated account, to reduce wind brought by equipment fault Danger.
The above-mentioned process of exchange of expression for clarity is introduced the process of exchange below with reference to process shown in fig. 6, By taking game account as an example, as shown in fig. 6, the block chain node is in block chain when two users carry out the transaction of virtual objects Part initiates transaction request in platform, which, which carries, produces account number and as being transferred to as the virtual objects side of producing The account number of side and the mark of virtual objects to be transacted.Such as shown in fig. 6, player's A account, to player's B account branch Ideal money is paid, the virtual objects P of player B account is bought, which is based on the transaction request, is packaged the transaction request Corresponding transaction record, and freeze the use state of virtual objects P, summarize the transaction record of present period in batches, obtains previous A block cryptographic Hash waits other multiple block chain nodes to carry out authentication to the previous block, when being verified, generates Second candidate block that is to say the process for digging mine as shown in Figure 6.The block chain node broadcasts second candidate block, and Other verifyings of multiple block chain nodes to second candidate block are waited, that is to say the process of broadcast as shown in FIG. 6.Other The transaction record is added in the trading pit of oneself block chain node, and verifies to second candidate block, when verifying is logical Out-of-date, determination is traded successfully, and each block chain node is added second candidate block as the 4th block in the second block chain, And the ownership of the virtual objects is changed to player's A account by player's B account, it that is to say confirmation transaction as shown in FIG. 6, and Modify the process of virtual objects ownership.
In the embodiment of the present invention, block chain node can be requested based on virtual article trading, generated virtual article trading and asked Corresponding second candidate block is sought, and locks the use state of virtual objects;When multiple block chain nodes are to second candidate regions When block is verified, then by the second candidate block be added the second block chain in, thus ensure that transaction record storage accuracy And reliability.Also, when trading successfully, block chain node changes the ownership of virtual objects again, and discharges virtual objects Use state ensure that transaction may finally be executed accurately, improve the availability of transaction.
Fig. 7 is a kind of schematic diagram of the structure of account management device based on block chain provided in an embodiment of the present invention.Ginseng See Fig. 7, which includes:
Receiving module 701, for receiving the registration request of first terminal, which carries client public key and first and adds Confidential information, first encryption information are encrypt to the first user identity information using the system public key of block catenary system It arrives;
Deciphering module 702 is decrypted first encryption information, is somebody's turn to do for the system private key using the block catenary system First user identity information;
Module 703 is obtained, for obtaining the account mark of the first terminal when first user identity information is verified Know;
Generation module 704 is generated for being based on the account number, the client public key and first user identity information The first block in first block chain, the first block chain are used for storing user's registered information;
Return module 705 returns encrypted for encrypting the account number using the client public key to the first terminal Account number.
Optionally, the verified status of first user identity information is also stored in first block.
Optionally, the device further include:
Receiving module 701, for receiving the logging request of second terminal, which carries the encrypted account mark Knowledge and first user identity information;
Respond module, for being stored with first user identity information in first block and being stored with first user When the verified status of identification information, in response to the logging request, allows the second terminal to be based on the account number and logged in.
Optionally, which is characterized in that
The receiving module 701, be also used to receive third terminal recovers request, this is recovered request and carries account number and the Two encryption information, second encryption information are encrypted to obtain using the private key for user to second user identification information;
The deciphering module 702 is also used to obtain the client public key from first block, using the client public key, decryption Second encryption information obtains the second user identification information, and verifies to the second user identification information;
The generation module 704, is also used to when being verified, based on the account number, the client public key and this second User identity information generates the second block in the first block chain;
The return module 705 is also used to encrypt the second user identification information using the client public key, to the third terminal Return to the encrypted second user identification information.
Optionally, the device further include:
The receiving module 701, is also used to receive the inquiry request of the third terminal, and the inquiry request is for when inquiring target Between transaction record in section, which is the stolen period of the account number;
The acquisition module 703 is also used to according to the account number, and obtaining from the second block chain should in the target time section The corresponding transaction record of account number, the second block chain are used to store the transaction record of each account;
The return module 705 is also used to the corresponding transaction record of the account number returning to the third terminal.
Optionally, the device further include:
Module is deducted, for deducting the first numerical value from the account that the account number is bound according to account charging request;
The generation module 704 is also used to generate the first candidate block, first candidate regions according to the account charging request Block is for storing the corresponding transaction record of account charging request;
First sending module sends first candidate block for multiple block chain nodes into block catenary system;
First is added module, for when multiple block chain node is verified first candidate block, by this One candidate block is added in the second block chain as third block, increases by the in the corresponding platform seed account of the account number Two numerical value, first numerical value and the second value have transformational relation, which is used to store the transaction of each account Record.
Optionally, the generation module 704 is also used to obtain the cryptographic Hash of previous block in the second block chain;When this When multiple block chain nodes are verified the previous block, according to the corresponding transaction record of account charging request, currently The cryptographic Hash of at least one other account charging request corresponding transaction record and the previous block in period, generating should First candidate block.
Optionally, the device further include:
The receiving module 701 is also used to receive virtual article trading request, from the corresponding platform seed account of the account number Third value is deducted in family, virtual article trading request, which is carried as the virtual objects side of producing, produces account number and the account Number mark and virtual objects to be transacted mark;
The generation module 704 is also used to be requested according to the virtual article trading, generates the second candidate block, lock the void The use state of quasi- article, second candidate block request corresponding transaction record for storing the virtual article trading;
Second sending module sends second candidate block for multiple block chain nodes into block catenary system;
Second is added module, for when multiple block chain node is verified second candidate block, by this Two candidate blocks are added in the second block chain as the 4th block, and the ownership of the virtual objects is changed to belong to the account mark Know, and discharge the use state of the virtual objects, which is used to store the transaction record of each account.
Optionally, the device further include:
Recovery module is used for when device fails in the block catenary system, by producing for the virtual objects side of producing Before the ownership of the ideal money and virtual objects of account number and the account number restores to failure to occur.
In the embodiment of the present invention, which can be based on the client public key that registration request carries and the first encryption letter Breath, is decrypted the first encryption information, obtains the first user identity information, when the first user identity information is verified, Account number is distributed for user information, and the firstth area is generated based on the account number, client public key and the first user identity information The first block in block chain, to ensure that the safety of account management.Also, the block chain node is added using the client public key The close account number, and the account number of encryption is returned, so that subsequent user can be marked based on the account number and the first user Know that information log in and stolen account is recovered, further improves the safety and reliability of account management.
It should be understood that it is provided by the above embodiment based on the account management device of block chain in the account based on block chain Number management when, only the example of the division of the above functional modules, in practical application, can according to need and will be above-mentioned Function distribution is completed by different functional modules, i.e., the internal structure of equipment is divided into different functional modules, with complete with The all or part of function of upper description.In addition, it is provided by the above embodiment based on the account management device of block chain be based on The account management method embodiment of block chain belongs to same design, and specific implementation process is detailed in embodiment of the method, here no longer It repeats.
Fig. 8 is a kind of structural schematic diagram of server provided in an embodiment of the present invention, which can be because of configuration or property Energy is different and generates bigger difference, may include one or more processors (central processing Units, CPU) 801 and one or more memory 802, wherein at least one finger is stored in the memory 802 It enables, at least one instruction is loaded by the processor 801 and executed the base to realize above-mentioned each embodiment of the method offer In the account management method of block chain.Certainly, which can also have wired or wireless network interface, keyboard and input The components such as output interface, to carry out input and output, which can also include other components for realizing functions of the equipments, This will not be repeated here.
In the exemplary embodiment, a kind of computer readable storage medium is additionally provided, the memory for example including instruction, Above-metioned instruction can be executed by the processor in terminal to complete the account management method based on block chain in following embodiments.Example Such as, the computer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and light number According to storage equipment etc..
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (15)

1. a kind of account management method based on block chain, which is characterized in that the described method includes:
According to account charging request, the first numerical value is deducted from the account that account number is bound, the account charging request carries The second value of the account number and ideal money to be supplemented with money;
According to the account charging request, the first candidate block is generated, first candidate block is filled for storing the account Value requests corresponding transaction record;
Multiple block chain nodes into block catenary system send first candidate block;
When the multiple block chain node is verified first candidate block, using first candidate block as Three blocks are added in the second block chain, increase second value in the corresponding platform seed account of the account number, and described the One numerical value and the second value have transformational relation, and the second block chain is used to store the transaction record of each account.
2. generation first is waited the method according to claim 1, wherein described according to the account charging request Constituency block includes:
Obtain the cryptographic Hash of previous block in the second block chain;
It is corresponding according to the account charging request when the multiple block chain node is verified the previous block The corresponding transaction record of at least one other account charging request and the previous block in transaction record, current slot Cryptographic Hash, generate first candidate block.
3. according to the method described in claim 2, it is characterized in that, first candidate block in structure include block head and Block body, generation first candidate block include:
Each preset period of time batch obtains multiple account charging requests in present period;
The cryptographic Hash of the multiple account charging request and the previous block is stored in the area of first candidate block In block, the block head of first candidate block is vacated.
4. the method according to claim 1, wherein multiple block chain nodes hair into block catenary system After sending first candidate block, the method also includes:
When the multiple block chain node to first candidate block verify it is obstructed out-of-date, receive the multiple block chain node The block that middle either block chain node generates;
When in the block that the second block chain is newly added in each block chain node in the block catenary system include the account fill When value request, determines recharging payment success, return to successful message of trading;
When in the block that the second block chain is newly added in each block chain node in the block catenary system do not include the account When charging request, determines that recharging payment fails, repeat the behaviour for generating the first candidate block and being added in the second block chain Make.
5. the method according to claim 1, wherein described in the corresponding platform seed account of the account number After middle increase second value, the method also includes:
Transaction record inquiry request is received, according to the account number that the transaction record inquiry request carries, from secondth area The corresponding transaction record of the account number is obtained on block chain, returns to the corresponding transaction record of the account number.
6. according to the method described in claim 5, it is characterized in that, the account carried according to the transaction record inquiry request Number mark, the corresponding transaction record of the account number is obtained from the second block chain includes:
Based on the account number that the transaction record inquiry request carries, positioning stores the corresponding transaction record of the account number Third block, obtain at least one transaction record from the third block.
7. being bound from account number the method according to claim 1, wherein described according to account charging request Account in deduct the first numerical value before, the method also includes:
The registration request of first terminal is received, the registration request carries client public key and the first encryption information, and described first adds Confidential information is to be encrypted to obtain to the first user identity information using the system public key of block catenary system;
Using the system private key of the block catenary system, first encryption information is decrypted, obtains the first user identifier letter Breath;
When first user identity information is verified, the account number of the first terminal is obtained;
Based on the account number, the client public key and first user identity information, generate in the first block chain First block, the first block chain are used for storing user's registered information;
The account number is encrypted using the client public key, Xiang Suoshu first terminal returns to encrypted account number.
8. the method according to the description of claim 7 is characterized in that being also stored with the first user mark in first block Know the verified status of information.
9. according to the method described in claim 8, it is characterized in that, the method also includes:
The logging request of second terminal is received, the logging request carries encrypted account number and first user identifier Information;
When being stored with first user identity information in first block and be stored with first user identity information When verified status, in response to the logging request, allows the second terminal to be based on the account number and logged in.
10. the method according to the description of claim 7 is characterized in that the method also includes:
The request of recovering of third terminal is received, described to recover request carrying account number and the second encryption information, described second adds Confidential information is encrypted to obtain using private key for user to second user identification information;
The client public key is obtained from first block, using the client public key, second encryption information is decrypted, obtains It is verified to the second user identification information, and to the second user identification information;
When being verified, it is based on the account number, the client public key and the second user identification information, generates institute State the second block in the first block chain;
The second user identification information is encrypted using the client public key, Xiang Suoshu third terminal returns to described encrypted the Two user identity informations.
11. according to the method described in claim 10, it is characterized in that, the method also includes:
The inquiry request of the third terminal is received, the inquiry request is used for the transaction record inquired in target time section, institute State the stolen period that target time section is the account number;
According to the account number, the corresponding transaction of the account number in the target time section is obtained from the second block chain Record, the second block chain are used to store the transaction record of each account;
The corresponding transaction record of the account number is returned into the third terminal.
12. a kind of account management device based on block chain, which is characterized in that described device includes:
Module is deducted, for deducting the first numerical value, the account from the account that account number is bound according to account charging request Charging request carries the second value of the account number and ideal money to be supplemented with money;
Generation module, for generating the first candidate block, first candidate block is for depositing according to the account charging request Store up the corresponding transaction record of the account charging request;
First sending module sends first candidate block for multiple block chain nodes into block catenary system;
First is added module, will be described for when the multiple block chain node is verified first candidate block First candidate block is added in the second block chain as third block, increases in the corresponding platform seed account of the account number Add second value, first numerical value and the second value have transformational relation, and the second block chain is each for storing The transaction record of account.
13. device according to claim 12, which is characterized in that the generation module is also used to:
Obtain the cryptographic Hash of previous block in the second block chain;
It is corresponding according to the account charging request when the multiple block chain node is verified the previous block The corresponding transaction record of at least one other account charging request and the previous block in transaction record, current slot Cryptographic Hash, generate first candidate block.
14. a kind of server, which is characterized in that the server includes processor and memory, is stored in the memory At least one instruction, described instruction are loaded by the processor and are executed to realize as claim 1 is any to claim 11 Operation performed by the account management method based on block chain described in.
15. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, institute in the storage medium Instruction is stated to be loaded by processor and executed to realize such as claim 1 to the described in any item chains based on block of claim 11 Operation performed by account management method.
CN201910688330.7A 2018-04-27 2018-04-27 Account management method, device, server and storage medium based on block chain Active CN110400136B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910688330.7A CN110400136B (en) 2018-04-27 2018-04-27 Account management method, device, server and storage medium based on block chain

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910688330.7A CN110400136B (en) 2018-04-27 2018-04-27 Account management method, device, server and storage medium based on block chain
CN201810393545.1A CN108712395B (en) 2018-04-27 2018-04-27 Account management method, device, server and storage medium based on block chain

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201810393545.1A Division CN108712395B (en) 2018-04-27 2018-04-27 Account management method, device, server and storage medium based on block chain

Publications (2)

Publication Number Publication Date
CN110400136A true CN110400136A (en) 2019-11-01
CN110400136B CN110400136B (en) 2021-05-14

Family

ID=63867556

Family Applications (3)

Application Number Title Priority Date Filing Date
CN201810393545.1A Active CN108712395B (en) 2018-04-27 2018-04-27 Account management method, device, server and storage medium based on block chain
CN201910688336.4A Active CN110417775B (en) 2018-04-27 2018-04-27 Virtual article transaction method and device based on block chain and server
CN201910688330.7A Active CN110400136B (en) 2018-04-27 2018-04-27 Account management method, device, server and storage medium based on block chain

Family Applications Before (2)

Application Number Title Priority Date Filing Date
CN201810393545.1A Active CN108712395B (en) 2018-04-27 2018-04-27 Account management method, device, server and storage medium based on block chain
CN201910688336.4A Active CN110417775B (en) 2018-04-27 2018-04-27 Virtual article transaction method and device based on block chain and server

Country Status (1)

Country Link
CN (3) CN108712395B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111198922A (en) * 2020-01-02 2020-05-26 腾讯科技(深圳)有限公司 Game resource management method and device based on block chain
CN111586038A (en) * 2020-05-06 2020-08-25 青岛大学 Data processing method and device, block chain link point equipment and storage medium
CN111985927A (en) * 2020-08-14 2020-11-24 上海朝夕网络技术有限公司 Block chain address authentication method and block chain transaction method based on social network
CN114095521A (en) * 2020-07-27 2022-02-25 中移(成都)信息通信科技有限公司 Storage method, device, equipment and storage medium of remote sensing data
CN111985927B (en) * 2020-08-14 2024-04-26 上海朝夕网络技术有限公司 Block chain address authentication method and block chain transaction method based on social network

Families Citing this family (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109410007B (en) * 2018-10-30 2021-05-11 杭州复杂美科技有限公司 Jigsaw puzzle game method, system, equipment and storage medium
CN109359994B (en) * 2018-10-31 2020-12-22 巴马平方米区块链有限公司 Service processing method, device and system based on block chain
CN109432784B (en) * 2018-11-07 2020-06-30 四川长虹电器股份有限公司 Account transaction processing method and device based on block chain
CN109173266A (en) * 2018-11-12 2019-01-11 网易(杭州)网络有限公司 Processing method, device, processor and the server of fictitious assets across game
CN109636362A (en) * 2018-11-14 2019-04-16 深圳前海达闼云端智能科技有限公司 Virtual asset transaction method and device and block chain network node
CN109493054B (en) * 2018-11-27 2020-09-08 深圳幂度信息科技有限公司 Multi-chain information management method, device, storage medium and block chain identity analyzer
CN109600374A (en) * 2018-12-12 2019-04-09 四川商通实业有限公司 Secure user data sending method and its system based on block chain
CN113077254A (en) * 2019-03-29 2021-07-06 创新先进技术有限公司 Method and apparatus for resetting blockchain account key based on biometrics
CN110032890B (en) * 2019-04-15 2021-03-05 京东方科技集团股份有限公司 Safety network device and safety access method
CN110135175A (en) * 2019-04-26 2019-08-16 平安科技(深圳)有限公司 Information processing, acquisition methods, device, equipment and medium based on block chain
CN110232569B (en) * 2019-05-07 2021-04-16 北京奇艺世纪科技有限公司 Method and device for reading transaction record and storage medium
CN111865558A (en) * 2019-05-19 2020-10-30 北京骑胜科技有限公司 Service data processing method and device, electronic equipment and storage medium
CN110166460B (en) * 2019-05-24 2021-12-14 北京思源理想控股集团有限公司 Service account registration method and device, storage medium and electronic device
CN110175316B (en) * 2019-05-27 2023-11-28 朱志文 Media number interaction method, system and storage medium based on blockchain
US11501295B2 (en) 2019-07-24 2022-11-15 Advanced New Technologies Co., Ltd. Object distribution processing
CN110490640B (en) * 2019-07-24 2021-08-31 创新先进技术有限公司 Method, device and system for object distribution processing
CN110598434B (en) * 2019-09-12 2023-08-15 腾讯科技(深圳)有限公司 House information processing method and device based on blockchain network, electronic equipment and storage medium
US11656952B2 (en) * 2019-09-20 2023-05-23 Samsung Electronics Co., Ltd. Reliable key-value store with write-ahead-log-less mechanism
CN110598386B (en) * 2019-09-27 2023-05-30 腾讯科技(深圳)有限公司 Block chain-based data processing method, device, equipment and storage medium
CN110602255A (en) * 2019-10-08 2019-12-20 山东爱城市网信息技术有限公司 Account information protection method based on block chain, terminal and storage medium
CN110913275B (en) * 2019-11-19 2021-11-16 腾讯科技(深圳)有限公司 Method, system and storage medium for adding attribute information of target object
CN110910978B (en) * 2019-11-21 2024-04-09 腾讯科技(深圳)有限公司 Information processing method and related device applied to blockchain network
CN111132156B (en) * 2019-12-30 2023-04-14 全链通有限公司 Registration method of 5G user terminal, user terminal equipment and medium
CN111148094B (en) * 2019-12-30 2023-11-21 全链通有限公司 Registration method of 5G user terminal, user terminal equipment and medium
CN111132149B (en) * 2019-12-30 2023-11-21 全链通有限公司 Registration method of 5G user terminal, user terminal equipment and medium
CN111291336A (en) * 2020-01-21 2020-06-16 腾讯科技(深圳)有限公司 Game registration method and device in game platform
CN111556022A (en) * 2020-03-30 2020-08-18 中国平安财产保险股份有限公司 Method and device for registering account, computer equipment and storage medium
CN111444551B (en) * 2020-04-25 2023-06-13 中信银行股份有限公司 Account registration and login method and device, electronic equipment and readable storage medium
CN111770089B (en) * 2020-06-29 2022-04-08 福建福链科技有限公司 Authentication method for blockchain sensor and blockchain network
CN112131542B (en) * 2020-09-23 2024-03-26 北京达佳互联信息技术有限公司 Data processing method, device and server
CN112184229A (en) * 2020-10-14 2021-01-05 深圳壹账通智能科技有限公司 Block chain-based sub-account transaction processing method, system and equipment
CN113052576B (en) * 2020-11-05 2024-02-27 北京跨联元焕网络科技有限公司 Hosting method and system for cross-chain exchange
CN112434020B (en) * 2020-11-26 2021-09-24 腾讯科技(深圳)有限公司 Database account cleaning method and device and electronic equipment
CN112529402A (en) * 2020-12-09 2021-03-19 杭州趣链科技有限公司 Task delegation method, system, device, equipment and storage medium
CN112700246B (en) * 2020-12-31 2023-11-28 iCALC控股有限公司 Block chain-based data processing method, device, equipment and readable storage medium
CN112910663B (en) * 2021-01-14 2022-06-14 网易(杭州)网络有限公司 Method, device, equipment and storage medium for message broadcasting and terminal registration
CN113822974A (en) * 2021-11-24 2021-12-21 支付宝(杭州)信息技术有限公司 Method, apparatus, electronic device, medium, and program for generating avatar
CN114500025B (en) * 2022-01-19 2023-10-27 北京达佳互联信息技术有限公司 Account identifier acquisition method, device, server and storage medium
CN114418578A (en) * 2022-03-30 2022-04-29 北京溪塔科技有限公司 Block chain account risk query method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453271A (en) * 2016-09-21 2017-02-22 江苏通付盾科技有限公司 Identity registration method and system, identity authentication method and system
US20170257358A1 (en) * 2016-03-04 2017-09-07 ShoCard, Inc. Method and System for Authenticated Login Using Static or Dynamic Codes
CN107369046A (en) * 2017-07-25 2017-11-21 深圳市中青合创传媒科技有限公司 Live platform carries out real money purchase, exchange, the method using ideal money
CN107563761A (en) * 2017-08-26 2018-01-09 复旦大学 Game account management method based on block chain
CN107862215A (en) * 2017-09-29 2018-03-30 阿里巴巴集团控股有限公司 A kind of date storage method, data query method and device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866288A (en) * 2005-05-17 2006-11-22 中兴通讯股份有限公司 Virtual pawnshop of network game and transaction method thereof
US20170132630A1 (en) * 2015-11-11 2017-05-11 Bank Of America Corporation Block chain alias for person-to-person payments
WO2018090331A1 (en) * 2016-11-18 2018-05-24 深圳前海达闼云端智能科技有限公司 Blockchain network, article transaction method and apparatus, and node device
CN106533696B (en) * 2016-11-18 2019-10-01 江苏通付盾科技有限公司 Identity identifying method, certificate server and user terminal based on block chain
CN107077674B (en) * 2016-12-29 2021-06-11 达闼机器人有限公司 Transaction verification processing method and device and node equipment
CN107491946A (en) * 2017-07-10 2017-12-19 北京云知科技有限公司 It is a kind of to store virtual objects to the method, apparatus of block chain and electronic equipment
CN107547514A (en) * 2017-07-17 2018-01-05 招商银行股份有限公司 Identity identifying method, system and computer-readable recording medium
CN107451946A (en) * 2017-08-11 2017-12-08 兰州大学 Huckster management method and system
CN107483198B (en) * 2017-09-25 2019-11-12 中国科学院信息工程研究所 A kind of block catenary system supervised and method
CN107786547A (en) * 2017-09-30 2018-03-09 厦门快商通信息技术有限公司 A kind of auth method based on block chain, device and computer-readable recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170257358A1 (en) * 2016-03-04 2017-09-07 ShoCard, Inc. Method and System for Authenticated Login Using Static or Dynamic Codes
CN106453271A (en) * 2016-09-21 2017-02-22 江苏通付盾科技有限公司 Identity registration method and system, identity authentication method and system
CN107369046A (en) * 2017-07-25 2017-11-21 深圳市中青合创传媒科技有限公司 Live platform carries out real money purchase, exchange, the method using ideal money
CN107563761A (en) * 2017-08-26 2018-01-09 复旦大学 Game account management method based on block chain
CN107862215A (en) * 2017-09-29 2018-03-30 阿里巴巴集团控股有限公司 A kind of date storage method, data query method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111198922A (en) * 2020-01-02 2020-05-26 腾讯科技(深圳)有限公司 Game resource management method and device based on block chain
CN111586038A (en) * 2020-05-06 2020-08-25 青岛大学 Data processing method and device, block chain link point equipment and storage medium
CN114095521A (en) * 2020-07-27 2022-02-25 中移(成都)信息通信科技有限公司 Storage method, device, equipment and storage medium of remote sensing data
CN114095521B (en) * 2020-07-27 2023-09-05 中移(成都)信息通信科技有限公司 Remote sensing data storage method, device, equipment and storage medium
CN111985927A (en) * 2020-08-14 2020-11-24 上海朝夕网络技术有限公司 Block chain address authentication method and block chain transaction method based on social network
CN111985927B (en) * 2020-08-14 2024-04-26 上海朝夕网络技术有限公司 Block chain address authentication method and block chain transaction method based on social network

Also Published As

Publication number Publication date
CN110400136B (en) 2021-05-14
CN108712395A (en) 2018-10-26
CN110417775B (en) 2021-03-26
CN108712395B (en) 2022-01-07
CN110417775A (en) 2019-11-05

Similar Documents

Publication Publication Date Title
CN110400136A (en) Account management method, device, server and storage medium based on block chain
CN109075964B (en) Block chaining supporting multiple one-way functions for block verification
JP5166654B2 (en) System and method for authenticating electronic transactions
CN109741039A (en) Bookkeeping methods, terminal device, digs mine node and mine pond at mine pool server
CN103716167B (en) Method and device for safely collecting and distributing transmission keys
CN105243313B (en) For the method whenever confirmed to verifying token
CN108235805A (en) Account unifying method and device and storage medium
CN106600252A (en) Payment method and payment system based on block chain
CN109102269A (en) Transfer account method and device, block chain node and storage medium based on block chain
CN109168139A (en) A kind of WiFi sharing method and server based on block chain
CN110148003A (en) A kind of carbon emissions trading method and system
CN109472576A (en) The processing method and processing device of digital asset, storage medium
CN108323230A (en) A kind of method of transmission key receives terminal and distribution terminal
JP2004013748A (en) Autonomous ic card
KR20190132052A (en) Smart Contract based on Blockchain for Cryptocurrency Trading Platform
Li et al. Toward decentralized fair data trading based on blockchain
CN103179176A (en) Call method, device and system for web application in cloud/cluster environment
CN115801260A (en) Block chain assisted cooperative attack and defense game method under untrusted network environment
CN104601572B (en) A kind of security message transmission method based on trusted infrastructure
CN109885790A (en) The method and apparatus for obtaining satisfaction evaluation data
CN110620668B (en) Block chain based quantum computation resistant public key pool updating method and system
CN110034923B (en) Information processing method and related equipment
CN102611561B (en) A kind of peer-to-peer network charging or the method and system of statistical information checking
CN108924822A (en) It is a kind of that card safety communicating method and mobile terminal are had based on trusted context
KR102293775B1 (en) A mobile payment method for enhancing security of cloud-based payment system and the device therefor

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40015639

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant