CN109102269A - Transfer account method and device, block chain node and storage medium based on block chain - Google Patents

Transfer account method and device, block chain node and storage medium based on block chain Download PDF

Info

Publication number
CN109102269A
CN109102269A CN201810609312.0A CN201810609312A CN109102269A CN 109102269 A CN109102269 A CN 109102269A CN 201810609312 A CN201810609312 A CN 201810609312A CN 109102269 A CN109102269 A CN 109102269A
Authority
CN
China
Prior art keywords
address
transferred
accounts
transfer
block chain
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
CN201810609312.0A
Other languages
Chinese (zh)
Other versions
CN109102269B (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.)
Hunan Search Cloud Network Polytron Technologies Inc
Original Assignee
Hunan Search Cloud Network Polytron Technologies Inc
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 Hunan Search Cloud Network Polytron Technologies Inc filed Critical Hunan Search Cloud Network Polytron Technologies Inc
Priority to CN201810609312.0A priority Critical patent/CN109102269B/en
Publication of CN109102269A publication Critical patent/CN109102269A/en
Application granted granted Critical
Publication of CN109102269B publication Critical patent/CN109102269B/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/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • G06Q20/102Bill distribution or payments
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Computer Security & Cryptography (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the invention discloses a kind of transfer account method based on block chain and devices, block chain node and storage medium.The transfer account method based on block chain, comprising: receive the transfer request that the side of producing broadcasts, wherein the transfer request carries the side's of the being transferred to mark for the side of being transferred to;Address of transferring accounts is inquired based on the side of being transferred to mark;Based on the transfer request described in address response of transferring accounts.

Description

Transfer account method and device, block chain node and storage medium based on block chain
Technical field
The present invention relates to information technology field more particularly to a kind of transfer account methods and device based on block chain, block chain Node and storage medium.
Background technique
In process of exchange based on block chain, transaction transfers accounts and all generates address of transferring accounts by block chain network every time, and transaction turns Payment accounts are paid to the address of transferring accounts during account.The general address of transferring accounts can be a character string;Character The composition character of string has very complicated, the inconvenient memories such as letter, number and punctuate.Obviously turned based on the address of transferring accounts Account is cumbersome, and promnesia is easy to appear for ordinary user or writes mistake, leads to transfer error.
Summary of the invention
In view of this, an embodiment of the present invention is intended to provide a kind of transfer account method based on block chain and devices, block chain link Point and storage medium.
The technical scheme of the present invention is realized as follows:
In a first aspect, the embodiment of the present invention provides a kind of transfer account method based on block chain, comprising:
Receive the transfer request that the side of producing broadcasts, wherein the transfer request carries the side's of the being transferred to mark for the side of being transferred to;
Address of transferring accounts is inquired based on the side of being transferred to mark;
Based on the transfer request described in address response of transferring accounts.
It is optionally, described that address of transferring accounts is inquired based on the side's of being transferred to mark, comprising:
The side of being transferred to described in inquiry identifies whether to be corresponding with address of transferring accounts to be transferred accounts;
The transfer request described in address response of transferring accounts based on described in, comprising:
If the side of being transferred to mark be corresponding with it is to be transferred accounts described in transfer accounts address, turned described in address response based on described transfer accounts Account request.
Optionally, the method also includes:
If the side's of being transferred to mark is not corresponding with address of transferring accounts to be transferred accounts;
Generate the address of transferring accounts corresponding with the side of being transferred to mark.
Optionally, the method also includes:
It transfers accounts described in reception trigger request;
According to the trigger request of transferring accounts, address of transferring accounts described in generation;
The side's of being transferred to mark and the address of transferring accounts described in corresponding storage.
It is optionally, described that address of transferring accounts is inquired based on the side's of being transferred to mark, comprising:
It is sent to reservations database and carries the inquiry request that the side of being transferred to identifies;
Receive the inquiry response returned based on the inquiry request;
Based on address of transferring accounts described in inquiry response determination.
It is optionally, described based on address of transferring accounts described in inquiry response determination, comprising:
Obtain the contract address carried in the inquiry response;
Contract information is accessed based on the contract address and address of transferring accounts described in reading out in the contract information.
It is optionally, described based on the transfer request described in address response of transferring accounts, comprising:
It is at least signed to the address of transferring accounts using the side of being transferred to mark, forms signing messages;
Transfer information is broadcasted in block chain network based on the signing messages, wherein the signing messages is used for logical It crosses after the signature verification of supervisory node triggering transfer information write-in is transferred accounts block.
Second aspect, the embodiment of the present invention provide a kind of transfer account method based on block chain, comprising:
Detect transfer operation;
Based on the transfer operation, the transfer request that the side of being transferred to identifies is carried to the broadcast of block chain network, wherein described The side's of being transferred to mark is for determining the address of transferring accounts for receiving the side of being transferred to transfer accounts.
Optionally, described to be based on the transfer operation, carry what the transfer operation was directed toward to the broadcast of block chain network The transfer request that the side of being transferred to identifies, comprising:
Address list is shown according to the transfer operation;
Detection acts on the selection operation of the address list;
According to the side's of being transferred to mark that the selection operation executes, the transfer request is broadcasted to the block chain network.
The third aspect, the embodiment of the present invention provide a kind of transfer device of block chain, comprising:
Receiving module, the transfer request broadcasted for receiving the side of producing, wherein the transfer request carries the side of being transferred to The side's of being transferred to mark;
Enquiry module, for inquiring address of transferring accounts based on the side's of being transferred to mark;
It transfers accounts module, for based on the transfer request described in address response of transferring accounts.
Fourth aspect, the embodiment of the present invention provide a kind of transfer device of block chain, comprising:
Detection module, for detecting transfer operation;
Broadcast module, for being based on the transfer operation, carry that the side of being transferred to identifies to the broadcast of block chain network transfers accounts Request, wherein the side's of being transferred to mark is for determining the address of transferring accounts for receiving the side of being transferred to transfer accounts.
5th aspect, the embodiment of the present invention provide a kind of block chain node, comprising:
Transceiver,
Memory,
Processor is connect with the transceiver and memory respectively, for being stored on the memory by executing Computer-executable code controls the information transmit-receive of the transceiver and can be realized first aspect or any technology of second aspect The method that scheme provides.
6th aspect, a kind of computer storage medium, the computer storage medium are stored with computer-executable code, It, being capable of the method that provides of first aspect or any technical solution of second aspect after the computer-executable code is performed.
Transfer account method and device based on block chain, block chain node and storage medium provided in an embodiment of the present invention, When transfer accounts based on the block chain of block chain technology, initiate the transfer request that the side of producing of transfer request is sent and do not have to carry to turn Account address can be directly based upon the side's of being transferred to mark and transfer accounts.In this way, in a first aspect, and the side of being transferred to mark can be and be transferred to Any mark of square user, for example, communication identifier etc. can be with the information of the unique identification side of being transferred to, relative to complicated, uninteresting, random Rule and the very big address of transferring accounts of length, the side of producing user can more preferably remember and the reading side of producing mark, to reduce using turning It is filled in account address and the problem of mistake causes in paste process.Second aspect, in this way, can not have to until generating address of transferring accounts It transfers accounts later in request;The side of producing can directly initiate transfer request, and block chain network can synchronize generation and transfer accounts address, or Person regenerates address of transferring accounts after receiving transfer request, so that decoupled transfer accounts address and transfer request executes sequence, Information exchange and interaction time that the side of producing obtains address of transferring accounts are decreased, to improve efficiency of transferring accounts.
Detailed description of the invention
Fig. 1 is the flow diagram of the first transfer account method based on block chain provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of the second provided in an embodiment of the present invention transfer account method based on block chain;
Fig. 3 is the flow diagram of the third transfer account method based on block chain provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of the 4th kind of transfer account method based on block chain provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of the first transfer device based on block chain provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of the second provided in an embodiment of the present invention transfer device based on block chain;
Fig. 7 is a kind of structural schematic diagram of block chain node provided in an embodiment of the present invention;
Fig. 8 is the flow diagram of the 5th kind of transfer account method based on block chain provided in an embodiment of the present invention;
Fig. 9 is a kind of structural schematic diagram of block chain network provided in an embodiment of the present invention.
Specific embodiment
Technical solution of the present invention is further described in detail with reference to the accompanying drawings and specific embodiments of the specification.
As shown in Figure 1, the present embodiment provides a kind of transfer account methods based on block chain, comprising:
Step S110: the transfer request that the side of producing broadcasts is received, wherein the transfer request carries being transferred to for the side of being transferred to Side's mark;
Step S120: address of transferring accounts is inquired based on the side of being transferred to mark;
Step S130: based on the transfer request described in address response of transferring accounts.
Block chain transfer account method provided in this embodiment is applied in block chain network, for example, being used in block chain wallet In the network that equal blocks chain is transferred accounts.The block chain network includes: the block chain node of multiple distributed settings.The block chain Node, which is divided by function, to be divided into: account book node and supervisory node.The account book node can be used for recording information and generate Block in block chain.The supervisory node can be used for in block chain information and/or block itself etc. carry out information and test Card.It is worth noting that, the transfer account method provided in this embodiment based on block chain can be applied to block link network shown in Fig. 9 It in network, but is not limited in block chain network, for example, it is also possible to which be applied to the same block chain node undertakes service logic simultaneously Execution, implementing result verifying etc. public chain generate public block chain network in, alternatively, privately owned chain generate privately owned block In chain network.
In the present embodiment, the side of producing to transfer accounts can broadcast the transfer request in block chain network, pass through broadcast Form is so that multiple block chain nodes in block chain network can receive transfer request.
The side's of the being transferred to mark carried in the transfer request, address of not directly transferring accounts;The side of being transferred to mark can for The various information of the side of being transferred to described in unique identification in block chain, for example, the generation information of the side of being transferred to described in unique identification, Wei Yibiao The information etc. of the true identity of the side of being transferred to described in knowledge.For example, using the side of being transferred to E-mail address mark described in the side of being transferred to, benefit The marks sides of being transferred to such as the timely communications account such as social account (for example, WeChat ID, microblogging number) with the side of being transferred to.In some embodiments In, the address of transferring accounts can include: the account address that user registers when block chain network is registered.
The transfer request initiated due to the side of the producing and indirect block chain that carries is transferred accounts the address of transferring accounts of middle generation, in this way, On the one hand, even if the side of producing do not receive the side of being transferred to transfer accounts address when can also initiate to transfer accounts;On the other hand, due to the side of producing Without obtaining address of transferring accounts, memory is not had to so for the user for the side of producing or uninteresting be unfavorable for is written in transfer page The address of transferring accounts of memory avoids in address of transferring accounts because of the problems such as input or maloperation caused transfer error;Another side The user in face, the side of producing may simultaneously or the asynchronous user to multiple sides of being transferred to transfers accounts, although for area Address of transferring accounts for block chain network is different, but for a user and the similitude etc. with composed structure, it is easy to User is caused to select mistake etc. that mistake is caused to be transferred accounts, this mistake can include: transfer amounts mistake is transferred to being transferred to for mistake Side.Therefore sending and receiving for transfer request is carried out using the side's of the being transferred to mark for the side of being transferred in the present embodiment, it can be greatly It reduces the requirement to user, promote the convenience of user, while promoting the efficiency transferred accounts.
In some embodiments, the side's of being transferred to mark can be the communication identifier of the side of being transferred to;The communication identifier can It include: mobile communication mark (for example, the device identification of the user equipmenies such as cell-phone number or mobile phone, E-mail address or social account Number etc.).The device identification can include: International Mobile Station Equipment Identification (International Mobile Equipment Identity, IMEI) etc..Certainly, the side's of being transferred to mark is not limited to the communication identifier, can be with the code name of the side of being transferred to Equal unique identification informations, the code name may not the side of being transferred to other with communication function apply used in sequence number or character String.
For example, user A wants to transfer accounts to user B, the address list that user A can be stored up based on mobile phone EMS memory at this time (address list can include: the address list of cell-phone number, the social account of social application address list, may also include E-mail address etc. Mailbox communication record), in this way, the user for the side of producing can be initiated based on cell-phone number or the WeChat ID etc. for storing user B in address list Transfer request, which does not carry the address of transferring accounts for the block chain that user B is applied in block chain, in this way, user A mono- Aspect has to from block chain network or the equipment of user B to address of transferring accounts described in the transmission of the equipment of user A, without non-etc. Transfer accounts address generate after just initiate transfer request;On the other hand, user A avoids operating mistake etc. in transfer procedure and asks Topic, to simplify transfer procedure and reduce the error rate transferred accounts.
After receiving transfer request in the step s 120, after being identified based on the side of being transferred to carried in transfer request, Address of transferring accounts described in inquiry can be identified with the side of being transferred to.
In step s 130, block chain node is transferred accounts based on address progress block chain of transferring accounts, the peace transferred accounts using block chain The safety etc. that full property and reversibility ensure to transfer accounts.
In some embodiments, the step S120 can include:
The side of being transferred to described in inquiry identifies whether to be corresponding with address of transferring accounts to be transferred accounts;
The step S130 can include:
If the side of being transferred to mark be corresponding with it is to be transferred accounts described in transfer accounts address, turned described in address response based on described transfer accounts Account request.
When receiving transfer request, address of transferring accounts may not generated in block chain network also, may need to confirm at this time Whether the address of transferring accounts has generated, and can use current generated address of transferring accounts if having generated and carries out block chain It transfers accounts, if not generating the logic that can transfer accounts according to scheduled block chain carries out subsequent operation.For example, in some embodiments, institute State method further include: if the side of being transferred to mark is not corresponding with address of transferring accounts to be transferred accounts;It generates and the side of being transferred to mark pair The address of transferring accounts answered.
If receiving the transfer request that the side of producing occurs, does not generate corresponding address of transferring accounts currently, then execute block Chain transfer accounts address service logic execution, to transfer accounts address described in generating.Then the address carry out area that transfers accounts based on generation again Block chain is transferred accounts.Herein, it transfers accounts described in generation after address, needs to broadcast the address party toilet of transferring accounts and state address of transferring accounts and supervised Node verification passes through and other account book nodes are recorded, so as to corresponding record of transferring accounts in subsequent block chain of successfully transferring accounts and transfer accounts Generation.
Certainly, in some embodiments, the generation of the address of transferring accounts may include following process:
Address of transferring accounts has not been generated after receiving transfer request, is sent prompting of transferring accounts to the side of being transferred to, can be carried in the prompting There is the side's of being transferred to mark;
After receiving the side of being transferred to and acting on the agreement response of the prompting of transferring accounts, executes block chain and transfer accounts the life of address At.
In further embodiments, since described transfer accounts is related to fund and/or assets security, the side of being transferred to can't arbitrarily be sent out Transfer request is played, the typically user for the side of being transferred to and the user for the side of producing had negotiation, and both sides are Awareness status, In this case, can receive transfer request discovery do not generate transfer accounts address in the case where, directly initiate address of transferring accounts Product process goes on smoothly and reduces the time delay transferred accounts with ensure to transfer accounts, avoids the user for the side of being transferred to that electronics is currently not used Equipment is not attached to the big problem that is delayed of transferring accounts caused by network.
In some embodiments, the transfer request can also carry described be transferred in addition to the side's of being transferred to mark described in carrying Side's mark, facilitates the generation of block in block chain of transferring accounts in subsequent transfer procedure.
In some embodiments, the corresponding target of transferring accounts of the transfer request in the present embodiment, can be fund, can also To be the assets other than fund.Assets herein can be various electronic assets, electronic asset herein can for electronic equipment and/ Or the assets for circulating and/or applying in network.For example, the electronic asset can include: the game item of online game, game Coin, the account assets that may also include that certain one kind application, for example, purchase needs to pay music account, some music of royalties Download permission, the viewing permission of film etc..For another example the electronic asset may also include that the assets card of shopping application, example Such as, the purchase card of a certain electric business platform or accumulated point exchanging card etc..The electronic asset may also include that equity and/or credits etc..
It transfers accounts in short, transferring accounts described in the present embodiment and being not limited to fund, can also be the electronic asset other than fund. What is involved is currency for the fund, for example, RMB, dollar, yen, Hongkong dollar etc..
In some embodiments, the number for target of transferring accounts can also be directly carried in the transfer request, turn herein Account target can be fund above-mentioned and/or electronic asset.The payment account etc. transferred accounts.For example, the payment account can turn to be described Be transferred to address used in the block chain for the side of entering, alternatively, bank card account number or, such as Alipay or wechat payment platform Payment accounts, in this way, can request to pay the target of transferring accounts for corresponding to number based on payment accounts during transferring accounts.
If the transfer request also carries the number and transfer of payment target payment account for target of transferring accounts, in this way, block After chain node receives transfer request, inquire transfer accounts after address can no longer with the equipment for the side of being transferred to or as far as possible Few in the case where progress information exchange, is completed block chain and transferred accounts, transferred accounts really using block chain between the equipment for the side of being transferred to It protects when the safety of money transfer transactions, promotes efficiency of transferring accounts.
In the present embodiment, the side's of being transferred to mark and the address of transferring accounts described in the corresponding storage can include:
The side's of being transferred to mark is corresponding with the address of transferring accounts to be stored in same record, in this way, by inquiring the note Record can know that the side of being transferred to identifies and transfer accounts address simultaneously;And/or the side's of being transferred to mark is stored in the first record;
The storage address is stored in the second record, is stored in first record accessible to second note The relevant information of record, for example, the access address of second record, access verification information, index information etc..
In this way, if transferring accounts address described in inquiry can include:
It is transferred to mark inquiry first record based on described, obtains the relevant information of second record;
Based on relevant information inquiry second record.
In order to ensure the safety of information, record can be isolated in first record and second record, for example, isolation is deposited Storage is in different nodes or isolated storage is in different domains.
In further embodiments, in order to ensure safety, the side of being transferred to described in access identify and transfer accounts address when needs It is verified, the corresponding record that can just access is ensured after being verified, it is ensured that the safety of access.
For example, as shown in Fig. 2, the step S120 can include:
Step S121: it is sent to reservations database and carries the inquiry request that the side of being transferred to identifies;
Step S122: the inquiry response returned based on the inquiry request is received;
Step S123: based on address of transferring accounts described in inquiry response determination.
The side's of being transferred to mark and the address of transferring accounts in the present embodiment, alternatively, the side of being transferred to identifies and transfers accounts ground The corresponding relationship of the relevant information of location.In the present embodiment, the block chain node sends inquiry request, base to reservations database Inquiry response is obtained in the inquiry request.
In some embodiments, the reservations database can be distributed data base, be also possible to integrated data store.
In some embodiments, address of transferring accounts described in inquiry may also include that and be identified as inquiry according to looking into the side of being transferred to Block chain is ask, the address of transferring accounts is inquired from block chain.
In some embodiments, the step S120 can further comprise:
Step S124: the contract address carried in the inquiry response is obtained;
Step S125: contract information is accessed based on the contract address and is transferred accounts described in reading out in the contract information Address.
The contract address can be the address for being able to access that contract information, which can be directed toward in block chain network The address of some block, alternatively, being directed toward the address of some memory space in account book node.
In short, the contract information has been directed toward in the contract address, by the contract address, the block of main installation is participated in Chain node (node of transferring accounts) can inquire contract information, and address of transferring accounts is extracted from contract information.
For example, definition has treaty content in the contract information, which can need as block chain is recorded In the information content.Certainly, the contract information is included at least and is transferred accounts address in the present embodiment, and node of conveniently transferring accounts is from institute It states to extract in contract information and identifies corresponding address of transferring accounts for the side of being transferred to.
The treaty content can include:
The real name information of the side of being transferred to user, the real name information can be applied to the identity information of the user of the mark side of being transferred to, side Just meet transparent the transparent of demand of transferring accounts to transfer accounts, reduce the hair that the money laundering transferred accounts using block chain or black assets etc. are illegally transferred accounts Tracking that is raw and illegally transferring accounts.
The treaty content is not limited to the real name information of the side of the being transferred to user.
It in some embodiments also include contract code in the contract information, which can realize after being performed Corresponding service logic simultaneously provides corresponding service.
For example, the contract code, which may include, limits the constraint condition that the identity information uses, if executing the contract Can be limited when code currently whether meet reading or using the real name information constraint condition, if meet just allow read with/ Or call the real name information.
For another example defining contract function in the contract code, can be read by the calling of these contract functions To corresponding information, for example, configured with specific memory space for storing address of transferring accounts in the contract information.Contract function In transfer accounts the query function of address, if calling the query function that can quickly read the address of transferring accounts.
In further embodiments, the contract function also may include the renewal function of address of transferring accounts, which can Include: the address of transferring accounts generated for the first time to the write-in of the particular space of contract information, further includes with newly-generated address replacement of transferring accounts Old address or the invalid address of transferring accounts of replacement of transferring accounts.
Optionally, the method also includes:
It is at least signed to the address of transferring accounts using the side of being transferred to mark, forms signing messages;
Transfer information is broadcasted in block chain network based on the signing messages, wherein the signing messages is used for logical It crosses after the signature verification of supervisory node triggering transfer information write-in is transferred accounts block.
For example, the mark of the side of being transferred to described in signs to the address of transferring accounts, signing messages is formed, for example, utilizing Rivest, shamir, adelman calculates the address of transferring accounts, the signing messages after being signed.
In this way, after supervisory node receives transfer information the side of being transferred to can be combined based on the address of transferring accounts of itself storage Mark is signed, if another signing messages that signature obtains is consistent with the signing messages in the transfer information of broadcast, can be recognized Errorless currently to transfer accounts, supervisory node can launch the ticket being verified;It is subsequent to be counted based on the poll of voting mechanism Deng, finally will by verify transfer information be written in the block of transferring accounts in block chain of transferring accounts.
Its own described address of transferring accounts known is carried out since supervisory node is identified using the side of being transferred in the present embodiment Signature verification, in this way, the corresponding relationship that the side of being transferred to is identified and transferred accounts between address has been determined again, it is possible to reduce the mistake transferred accounts Occur.
As shown in figure 3, present embodiments providing a kind of transfer account method based on block chain, comprising:
Step S210: detection transfer operation;
Step S220: being based on the transfer operation, carries the transfer request that the side of being transferred to identifies to the broadcast of block chain network, Wherein, the side's of being transferred to mark is for determining the address of transferring accounts for receiving the side of being transferred to transfer accounts.
In some embodiments, the step S210 can include: using man-machine interactive interface (for example, keyboard, touch screen, Speech detection, expression in the eyes signal) etc. interactive interfaces receive the side of producing user transfer instructions.
In further embodiments, the step S210, which may also include that from other equipment, receives the transfer operation, example Such as, the transfer operation is received from remote control equipment.In further embodiments, the transfer operation may also include sets in advance The client for the side of producing is scheduled on (for example, application program (Application, APP), Software Development Tools (Software Development Kit, SDK) or plug-in unit in) or the held electronic equipment in the side of producing in built-in operation, for example, forward purchasing it is a certain A assets just need to carry out transfer of payment when the assets are formally traded.It is set in advance at this point, the transfer operation equally can be It is scheduled in client or electronic equipment, in this way, the transfer operation can also be the transfer operation built in equipment.
It is detecting the rear to block chain network broadcast transfer request of transfer operation, is triggering the reality of block chain transfer process It is existing.It will be appreciated that is carried in the transfer request in embodiments of the present invention is the side's of being transferred to mark rather than transfers accounts Address.In this way, address of transferring accounts do not have to it is pre-generated, the side of producing user without be manually entered or replicate paste have no it is regular uninteresting The address of transferring accounts that difficulty allows user to have memory degree and distinguish, simplifies user's operation, while also reducing transfer error rate.
As shown in figure 4, the step S220 can include:
Step S221: address list is shown according to the transfer operation;
Step S222: detection acts on the selection operation of the address list;
Step S223: the side's of the being transferred to mark executed according to the selection operation turns to block chain network broadcast is described Account request.
The address list can be the sequence table of various communication identifiers, for example, cell-phone number address list, social account address list, The address list of E-mail address.Due to usually there is the conveniently side of the producing user such as the name of the remarks side of being transferred to, pet name in address list Identification.Name, the pet name are relative to by character string (up to 20 words that the one or more in number, letter and symbol is formed Section) address of transferring accounts, for a user memory degree and can identification height it is very more, in this way, facilitate user pass through address list in The content selection side of producing mark send transfer request.
In some embodiments, the side of producing mark can also the side's of producing code name, the side's of producing code name may with it is described The side's of producing mark in address list has unique corresponding relation.For example, the surname of the good friend user B of the user A recorded in address list Name and cell-phone number, the cell-phone number in order to reduce user B is exposed in a network, the method also includes:
According to the corresponding relationship of the cell-phone number of user B and the code name of user B, the code name of selection user B, which is added to transfer accounts, is asked Block chain network is broadcast in asking.
There may be multiple communication identifiers in address list, can also detect and select operation in the present embodiment, the selection operation It can be various types of user's operations such as clicking operation, slide etc., user is facilitated to be selected from address list according to current demand The side's of being transferred to mark is selected out to transfer accounts.
For example, the application interface in application of transferring accounts detects transfer operation, it is described transfer accounts using detect transfer operation it Afterwards, address list is called automatically by with the interface of address list, and shows address list;For example, being cut into address list application, display is logical The application interface of letter record application, shows various communication identifiers in the application interface.After address list application is called, operation system System will record calling event, if the operating system can control or transfer accounts and answers after having selected the corresponding side of being transferred to identify With exiting for the application interface based on the calling event-triggered communication record, the application interface for application of transferring accounts described in return continues Subsequent relevant operation of transferring accounts, for example, returning to the generation page of transfer request, prompt produces user and inputs number of transferring accounts, turns Account target and one or more of information such as message of transferring accounts.
In embodiments of the present invention, when initiation block chain is transferred accounts, corresponding address list can be automatically switched to, for example, if Application of transferring accounts can call address list by the interface between various address lists, for example, transferring accounts application can awarding in user Power is lower to call cell-phone number communication, social account address list or the email address address list of e-mail applications etc., thus open-minded Interface between corresponding application.
As shown in figure 5, the present embodiment provides a kind of transfer devices of block chain, comprising:
Receiving module 110, the transfer request broadcasted for receiving the side of producing, wherein the transfer request, which carries, to be transferred to The side's of being transferred to mark of side;
Enquiry module 120, for inquiring address of transferring accounts based on the side's of being transferred to mark;
Module of transferring accounts 130, for based on the transfer request described in address response of transferring accounts.
The transfer device can be applied in the block chain node of block chain network, transfer accounts for the execution of block chain node, At this point, the block chain node can be referred to as node of transferring accounts.
The receiving module 110, enquiry module 120 and module 130 of transferring accounts are program module, after being executed by processor, The broadcast of transfer request may be implemented, which includes: using broadcast address as the broadcast message of purpose address, which takes The content of band includes at least the transfer request.
The enquiry module 120 is identified using the side of being transferred to as inquiry foundation, is inquired corresponding to this transfer request Address of transferring accounts.It is what corresponding user generated that the address of transferring accounts, which can be block chain network,.
After inquiring and transferring accounts address, it can be transferred accounts based on address response transfer request completion of transferring accounts, generation, which is transferred accounts, to disappear Breath, the message of transferring accounts can be used as record of transferring accounts and remembered in the form of block chain by account book node after being written in block of transferring accounts Record.
In some embodiments, the enquiry module 120, specifically for the side of being transferred to described in inquiry identify whether to be corresponding with to The address of transferring accounts transferred accounts;
The module 130 of transferring accounts, if specifically for the side of being transferred to mark be corresponding with it is to be transferred accounts described in transfer accounts address, base In the transfer request described in address response of transferring accounts.
Due to the reception of the transfer request in embodiments of the present invention, it may be possible to address of transferring accounts is being generated, It is also possible to not generate the address of transferring accounts also, therefore the enquiry module 120 specifically will first determine described turn in the present embodiment The side of entering identifies whether to be corresponding with address of transferring accounts to be transferred accounts, if talented transfer accounts.In another embodiment, if not having Then the method also includes: if the side of being transferred to mark be not corresponding with address of transferring accounts to be transferred accounts;It generates and the side's of being transferred to mark Know the corresponding address of transferring accounts.In this way, receive transfer request do not generate it is to be paid transfer accounts address when, can be with Mr. At address of transferring accounts.The enquiry module 120 can also generate the address of transferring accounts in the present embodiment, and the generation of address of transferring accounts can be with Based on carrying out in the related technology.For example, utilizing a kind of block chain wallet (block chain account of the first preset algorithm processing side of being transferred to Number), obtain the first calculated value;Handled to obtain the second calculated value to the first calculated value based on the second preset algorithm, described The part of two calculated values itself or second calculated value can be used as the address of transferring accounts.First computational algorithm and described Second computational algorithm is different.At least one of first algorithm and second algorithm are with certain randomness.Or Person, two algorithms carry out after first post-processing the block chain wallet for the side of being transferred to, and certain randomness can be generated, in this way, can So that the address of transferring accounts generated is variant.In some embodiments, first algorithm can be elliptic curve encryption algorithm, Second algorithm can be hash algorithm.In specific implementation, first algorithm and second algorithm are not limited to described Elliptic curve encryption algorithm and hash algorithm.
Optionally, described device further include:
Receiving module 110, for receiving the trigger request of transferring accounts;
Generation module, for trigger request of transferring accounts according to, address of transferring accounts described in generation;
Memory module, for the side's of being transferred to mark and the address of transferring accounts described in corresponding storage.
Optionally, the enquiry module 120 carries what the side of being transferred to identified specifically for sending to reservations database Inquiry request;Receive the inquiry response returned based on the inquiry request;Based on address of transferring accounts described in inquiry response determination.
Optionally, the enquiry module 120, specifically for obtaining the contract address carried in the inquiry response;It is based on The contract address accesses contract information and reads out the address of transferring accounts in the contract information.
In some embodiments, the respond module is at least transferred accounts to described also particularly useful for the mark of the side of being transferred to described in utilization Address is signed, and signing messages is formed;Transfer information is broadcasted in block chain network based on the signing messages, wherein institute It states signing messages and block of transferring accounts is written into the transfer information for triggering after the signature verification by supervisory node.
As shown in fig. 6, the present embodiment provides a kind of transfer devices of block chain, comprising:
Detection module 210, for detecting transfer operation;
Broadcast module 220 carries turn that the side of being transferred to identifies to the broadcast of block chain network for being based on the transfer operation Account request, wherein the side's of being transferred to mark is for determining the address of transferring accounts for receiving the side of being transferred to transfer accounts.
Transfer device described in the present embodiment can be for applied to the information processing unit in the equipment for the side of producing.
The detection module 210 and broadcast module 220 can be program module, energy after which is executed by processor Gu Shixian, which initiates the transfer request that the carrying side of being transferred to identifies, can trigger the process that block chain is transferred accounts, and not have to carry uninteresting difficulty Degree and the biggish address of transferring accounts of length.
Described device further include:
Display module, for showing address list according to the transfer operation;
Selection operation detection module 210, for detecting the selection operation for acting on the address list;
The broadcast module 220, specifically for the side's of the being transferred to mark executed according to the selection operation, to the block chain Transfer request described in Web broadcast.
As shown in fig. 7, the present embodiment provides a kind of block chain nodes, comprising:
Transceiver,
Memory,
Processor is connect with the transceiver and memory respectively, for being stored on the memory by executing Computer-executable code, control the transceiver information transmit-receive and being capable of the side that provides of aforementioned first aspect or second aspect Method.
The transceiver can include: various types of communication interfaces, for example, cable interface, optical fiber interface or transmitting-receiving day Line etc..
The memory can include: various types of storage mediums, the storage medium are used to store various information, for example, Computer-executable code above-mentioned, the computer-executable code can be computer source code, be also possible to computer object Code, the instruction that can be performed in a word.
The memory can include: various types of storage mediums, the storage medium are chosen as non-moment storage medium, from And the computer-executable code can be saved in the case where legal power down and illegal power down.
Also other information is written for the processor in the memory, and/or, the processor is read from the memory Take other information.
In the present invention is implemented, the processor can are as follows: central processing unit, digital signal processor, can be compiled microprocessor Journey array or specific integrated circuit etc..The processor by IC bus (IIC) etc. and the transceiver and can be deposited Reservoir is separately connected, so that aforementioned one or more transfer account methods based on block chain are realized, for example, as shown in Figure 1 to Figure 4 and Fig. 8 One or more of shown method.
The block chain node of the present embodiment can be the node of transferring accounts of block chain, be also possible to the participation node of block chain, should The participation node of block chain can include: the node for the transfer request that block chain is transferred accounts is initiated, and/or, receive what block chain was transferred accounts Node.
If block chain node provided in this embodiment is the node of transferring accounts, may be implemented to be applied in block chain network The transfer account method based on block chain, for example, one or more of method shown in Fig. 1, Fig. 2 and Fig. 8.
If block chain node provided in this embodiment is the participation node, may be implemented to be applied in block chain network The transfer account method based on block chain, for example, one or more of method shown in Fig. 3, Fig. 4 and Fig. 8.
The present embodiment also provides a kind of computer storage medium, and it is executable that the computer storage medium is stored with computer Code after the computer-executable code is performed, can be realized aforementioned one or more transfer account methods based on block chain, For example, one or more of method shown in as shown in Figure 1 to Figure 4 and Fig. 8.
In some embodiments, the terminal device further includes man-machine interactive interface, for example, the man-machine interactive interface can Including various input-output equipment, for example, keyboard, touch screen etc..
Computer storage medium provided in this embodiment includes: movable storage device, read-only memory (ROM, Read- Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can be with Store the medium of program code.
Optionally, the computer storage medium can be non-moment storage medium.
Several specific examples are provided below in conjunction with above-mentioned any embodiment:
Example 1:
In registration link, the data record of a digital transaction in assets real name information intelligent contract block is created.The data The real name information of storage user in record.
The real name information may include at least one of: Real Name, perfect instrument information, gender, certification mailbox, registration Cell-phone number, generated block are transferred accounts the information such as address.The identification information that the Real Name can be approved by official, for example, The name that is registered in household register writes on name on identity card or passport etc..
For real name information to be saved by the block forms of broadcasting, obtaining alliance's chain (block chain network) interior supervisory node (should One kind that node can be block chain node being monitored, the monitoring node can be one kind of supervisory node in some cases) ballot is really Recognize by being stored by accounting nodes after verifying.
Real name information is defined as saving using the form of key-value pair in intelligent contract, major key use (E-mail address, The identification informations such as social account), it is worth for the data entity of real name information.
Real name information in intelligent contract is stored on each block chain node of block chain, is referred to by contract address To the contract informations such as the real name information of its user and address of transferring accounts.
Specific transferring step can include:
It initiates transfer request and identifies the addressing for the address that transfer accounts based on the side of being transferred in transfer request
When transaction, after the side of producing selects the side of being transferred to, a transfer request can be initiated (with directly filling in other side E-mail address Location, alternatively, if being unwilling to directly display E-mail address in transaction, by the E-mail address and generation information Mapped, formed mapping relations), then at this time transfer request carry be the code name for having mapping relations with E-mail address Information.
Transfer accounts address generation but generate one by one, for example, an address of transferring accounts is currently generated, if transferring accounts address not yet It receives and transfers accounts, then the address of transferring accounts maintains effectively or within a specified time to maintain effectively always, while shielding other and transferring accounts ground The generation of location, in this way, the side of being transferred to is made only to be corresponding with an address of effectively transferring accounts.Herein effective can are as follows: Ke Yijie Receive the address transferred accounts.Therefore the address if the existing block of user is transferred accounts, a new address will not be created again.Pass through The functional query of real name information intelligent contract goes out the real name information of target user and its address of transferring accounts of carrying.
Block is generated to transfer accounts address, it may include:
According to the private key of the block wallet of target user, counted using elliptic curve encryption algorithm (ECDSA-secp256k1) Calculate public key corresponding to the private key.
The cryptographic Hash of public key is calculated, for example, calculating the Keccak-256 cryptographic Hash of public key;
Take rear 20 bytes that cryptographic Hash is calculated.
It transfers accounts the digital signature of address, comprising:
Using symmetric encipherment algorithm (AES), to transfer accounts, address is signed, and encrypted result is encoded using base64, Key is the E-mail address of user.It is signed simultaneously using same principle to promoter account address.
It is transmitted together with other Transaction Informations by block after digital signature.Block herein is packaged can include: will be counted Word signature and Transaction Information (transfer information corresponding to front) are written in the block of block chain.
Verifying before block packing can include:
The address of transferring accounts for the both sides that transfer accounts is verified, using the E-mail address of target user (side of producing) to address of transferring accounts It is encrypted.
If the ciphertext after encryption is consistent with signature ciphertext, it is verified.Otherwise Fail Transaction, affairs of transferring accounts are returned Rolling.
Transfer result confirmation, it may include:
This link is improving performance, the mode of portion centers can be taken in alliance's chain, each side specifies supervisory node.Example Such as, the both sides that transfer accounts are verified, the E-mail address of target user is used to encrypt as key pair address of transferring accounts;And/or If the ciphertext after encryption is consistent with signature ciphertext, it is verified.Otherwise Fail Transaction, transaction rollback of transferring accounts.
The side of producing is no longer needed in digital asset process of exchange using this exemplary automatic addressing scheme of transferring accounts Complicated block address is remembered, without worrying that mistake is filled in address.For the side of being transferred to, then it is not necessarily to as each side of producing user It goes to generate an address of transferring accounts, equally without the Problem-Error for worrying address, promotes transactions velocity, ensure that the accurate of transaction Property.
The core key point of automatic addressing of transferring accounts is, stores real name information using block chain, usurps real name information not Change;It is digitally signed in block transfer procedure using real name information, guarantee address of transferring accounts is authentic and valid;Block is packaged and hands over Easily confirmation link carries out sign test to digital signature, verifies the authenticity of transaction.
This example is based on all the problems above, and a kind of block of proposition is transferred accounts the solution of automatic addressing.It solves In public chain transaction because during complicated block address circulate between user, it is easy to appear various wrong and generates dispute The problem of, while providing the transparent just trading environment that private chain cannot provide.And trading efficiency is improved, ensure that state Execution of the laws and regulations of the system of real name of family in digital asset process of exchange.
Example 2:
Step 1: saving real name information, specifically can include:
An intelligent contract is created, intelligent contract will generate after being created to be stored in the block chain of block chain generation Contract information.
Construct the data structure of a real name information set (key-value pair, major key be registration email, value is data knot Structure body), which defines including but not limited to properties: address name, the birthday, perfect instrument type, has gender Effect passport NO., perfect instrument photo, registion time, block are transferred accounts, and (a key-value pair set, different types of number provide for address The contract address of production corresponds to different addresses of transferring accounts), certification mailbox, registration phone number.
When registration, real name information, which will store, to be stored within a block by intelligent contract.
Step 2: generating address of transferring accounts can include:
Address Hash (hash) of generation, such as:
" 0x5127f78B7f22405c4248ad08865b553A0d053bBD ", wherein " 0x " is Fixed CP, instruction The address can be Hash Round Robin data partition corresponding to address of walking around.
Step 3: the digital signature for address of transferring accounts, the account book node of block chain network is broadcasted and is stored in after digital signature In.
Step 4: the addressing for address of transferring accounts, specifically can include:
The real name information of user is stored in the memory space of contract address direction in the form of key-value pair.
" 0x254247d6735fa73036ef9e3b3a2bf1a18377a2e2 " is the contract address of certain digital asset.
It may be defined in this way in this real name information intelligent contract, program passes through functional query address:
Map realNameInfo;// real name information
function queryAddrss(string email,address contractAddress){
Return realNameInfo [emial] [contractAddress] } // it is passed to the E-mail address authenticated With contract address.
For example, function queryAddrss is the E-mail address of incoming certification and the letter for exporting contract address Number.In above-mentioned function, " contractAddress " represents the contract address;" email " represents aforementioned electronic email address.
The operation of digital signature can be as follows:
It is signed using symmetric cryptography (AES) mode, such as using the address hash above, key is test@ 163.com.So encrypted result are as follows:
“2y1SFEYvDipKOx4Ybe707R64v5D0U6xhzkwEfu1QrzWA6XIXn9vGgWNjENK0Lm6k”
Step 5: the verifying of digital signature, it may include: address is encrypted in the way of previous step digital signature in plain text After compare.
Example 3:
As shown in figure 8, this example provides a kind of transfer account method based on block chain, comprising:
It transfers accounts beginning:
The target user for selecting transaction, can correspond to the aforementioned selection side of producing mark;
Judge whether to have generated the address of transferring accounts of block chain, if it is not, enter generate block chain transfer accounts address the step of, If so, the address of transferring accounts to both sides is digitally signed;
Block chain miner's node verifies digital signature;
If being proved to be successful, block chain miner handles Transaction Information (corresponding to transfer information above-mentioned) packing;
If authentication failed, terminates this and transfer accounts.In some cases, the method also includes requests to transfer request Side (the i.e. aforementioned side of producing) sends failure prompt of walking around, and failure cause is gone back in the failure prompt of transferring accounts described in some embodiments, with Promote user experience.
Other block chain miner nodes carry out verifying digital signature to address of transferring accounts, if being verified, success of transferring accounts, and note It records in block of transferring accounts.
Example 4:
As shown in figure 9, the block chain network includes the following three types block chain link the present embodiment provides a kind of block chain network Point:
Supervisory node, at least for being verified, the verifying includes: addition verifying, the implementing result of block chain node Verifying and inquire block chain client identity information verifying;In some embodiments, the supervisory node is also used to area The supervision of block chain;Implementing result herein can include: the implementing result of various businesses logic in aforementioned transfer procedure;
Miner's node forms the implementing result that can be added in block chain for participating in various calculating;
Account book node generates simultaneously memory block chain, is also used to area for recording the implementing result verified by supervisory node The inquiry of block chain.
In this example, the function of block chain node is separated, block chain node is responsible for different in each Function;So, on the one hand, to avoid single block chain node needs while can undertake caused by various rolls to block chain node Performance requirement it is high, to the problem more than the software and hardware resources demand of block chain node, to solve the selection of block chain node Difficulty is high and block chain network builds difficult problem.On the other hand, due to block chain network to the role of block chain node into Row separation realizes the function separation of block chain node, so that the job category completed required for single block chain node is few, To reduce the load factor of single block chain node, so that the entire block chain network speed of response has obtained greatly mentioning It rises, in this way, user can timely be responded when inquiring data and storing data, thus the spy high with the speed of response Point.
This example, the supervisory node, miner's node and the account book node are relatively independent node;For example, Any two in the supervisory node, miner's node and the account book node are all disposed on different physical equipments, Alternatively, corresponding on the virtual unit of setting cloud platform;So, it can be ensured that the function of each node has enough separating degrees, To reduce the performance requirement to single equipment, to simplify building for block chain network, while single equipment being avoided to add up excessively Load, leads to the problem that the speed of response is slow.
This example, the storage logic and data operation logic of the account book node are separation, are independent from each other.Such as This, by storing the decoupling of logic and data operation logic, account book node can voluntarily layout data be stored, data can be deposited It stores up in off-line device or the network equipment, is not limited to this node, while some long-term unused blocks can also be deleted, with section Save the consumption of storage resource;Alternatively, some data that do not inquire for a long time of compression, can equally save the consumption of storage resource.
In this example, the block chain network can be alliance's block chain network, and the block chain can be alliance's block chain, Alliance's chain that alliance's block chain network generates.Alliance's chain is different from the public chain towards all public and is only oriented in a certain group The privately owned chain in portion;On the one hand alliance's chain realizes the transparence of data supervision towards multiple groups relative to privately owned chain, it is ensured that The safety of data;On the other hand relative to public chain, the supervision of alliance's chain is easier.
It is described to store the block chain independently of the storage logic of the data manipulation logic, including it is following at least it One:
Deletion meets the block data for meeting the first preset condition in the block chain;
The block for meeting the second preset condition in the block chain is stored into predetermined storage equipment, wherein described pre- Surely storage equipment is the off-line device or the network equipment independently of the account book node.
The block data for meeting the first preset condition may include at least one of:
Duration apart from current time has reached the block data of the first preset duration, although when an account book knot removal Partial data, other account book nodes can save complete data;
Delete the block data for the digital asset currently destroyed or recalled.
Pass through the deletion of block data, it is possible to reduce storage resource needed for memory block chain.
In some embodiments, delete block data can using block data as granularity, can also using block as granularity, if with Block is that granularity can simplify deletion.
For example, some blocks are dumped in off-line device or the network equipment, to reduce the account book node itself The storage resource of required offer.
The block for meeting the second preset condition may include at least one of:
Duration apart from current time has reached the block of the second preset duration;Optionally, second preset duration Less than first preset duration;
The block for the digital asset that transfer has currently been destroyed or recalled.
Optionally, which is characterized in that the method also includes:
Receive the block chain query request that client is sent;
Receive the verification result of the identity information of the client of supervisory node broadcast;
If the identity information of the client responds the block chain query request by verifying.
The authentication of the request of block chain query in this example is executed by supervisory node, in this way, the account book section Point can reduce work load, to retain more resource response block chain queries and the generation of block chain and storage.
Block data herein may include the data of aforementioned middle generation of transferring accounts.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can combine, or It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion Mutual coupling or direct-coupling or communication connection is divided to can be through some interfaces, the INDIRECT COUPLING of equipment or unit Or communication connection, it can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit The component shown can be or may not be physical unit, it can and it is in one place, it may be distributed over multiple network lists In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, can be fully integrated into a processing module in each functional unit in each embodiment of this example, it can also To be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentioned Integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed.
The above, only this exemplary specific embodiment, but this exemplary protection scope is not limited thereto, it is any Those familiar with the art can easily think of the change or the replacement in the technical scope that this example discloses, and should all contain It covers within this exemplary protection scope.Therefore, this exemplary protection scope should be based on the protection scope of the described claims.

Claims (13)

1. a kind of transfer account method based on block chain characterized by comprising
Receive the transfer request that the side of producing broadcasts, wherein the transfer request carries the side's of the being transferred to mark for the side of being transferred to;
Address of transferring accounts is inquired based on the side of being transferred to mark;
Based on the transfer request described in address response of transferring accounts.
2. the address the method according to claim 1, wherein the mark of the side of being transferred to based on described in the inquiry is transferred accounts, Include:
The side of being transferred to described in inquiry identifies whether to be corresponding with address of transferring accounts to be transferred accounts;
The transfer request described in address response of transferring accounts based on described in, comprising:
If the side of being transferred to mark be corresponding with it is to be transferred accounts described in transfer accounts address, based on it is described transfer accounts to transfer accounts described in address response ask It asks.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
If the side's of being transferred to mark is not corresponding with address of transferring accounts to be transferred accounts;
Generate the address of transferring accounts corresponding with the side of being transferred to mark.
4. method according to any one of claims 1 to 3, which is characterized in that the method also includes:
It transfers accounts described in reception trigger request;
According to the trigger request of transferring accounts, address of transferring accounts described in generation;
The side's of being transferred to mark and the address of transferring accounts described in corresponding storage.
5. method according to any one of claims 1 to 3, which is characterized in that
It is described that address of transferring accounts is inquired based on the side's of being transferred to mark, comprising:
It is sent to reservations database and carries the inquiry request that the side of being transferred to identifies;
Receive the inquiry response returned based on the inquiry request;
Based on address of transferring accounts described in inquiry response determination.
6. according to the method described in claim 5, it is characterized in that,
It is described based on the inquiry response determine described in transfer accounts address, comprising:
Obtain the contract address carried in the inquiry response;
Contract information is accessed based on the contract address and address of transferring accounts described in reading out in the contract information.
7. method according to any one of claims 1 to 3, which is characterized in that
The transfer request described in address response of transferring accounts based on described in, comprising:
It is at least signed to the address of transferring accounts using the side of being transferred to mark, forms signing messages;
Transfer information is broadcasted in block chain network based on the signing messages, wherein the signing messages is used to pass through prison Block of transferring accounts is written in the transfer information by triggering after the signature verification of pipe node.
8. a kind of transfer account method based on block chain characterized by comprising
Detect transfer operation;
Based on the transfer operation, the transfer request that the side of being transferred to identifies is carried to the broadcast of block chain network, wherein described to be transferred to Side's mark is for determining the address of transferring accounts for receiving the side of being transferred to transfer accounts.
9. according to the method described in claim 8, it is characterized in that, it is described be based on the transfer operation, it is wide to block chain network It broadcasts and carries the transfer request that the side of being transferred to that the transfer operation is directed toward identifies, comprising:
Address list is shown according to the transfer operation;
Detection acts on the selection operation of the address list;
According to the side's of being transferred to mark that the selection operation executes, the transfer request is broadcasted to the block chain network.
10. a kind of transfer device of block chain characterized by comprising
Receiving module, the transfer request broadcasted for receiving the side of producing, wherein the transfer request carries being transferred to for the side of being transferred to Side's mark;
Enquiry module, for inquiring address of transferring accounts based on the side's of being transferred to mark;
It transfers accounts module, for based on the transfer request described in address response of transferring accounts.
11. a kind of transfer device of block chain characterized by comprising
Detection module, for detecting transfer operation;
Broadcast module carries the transfer request that the side of being transferred to identifies to the broadcast of block chain network for being based on the transfer operation, Wherein, the side's of being transferred to mark is for determining the address of transferring accounts for receiving the side of being transferred to transfer accounts.
12. a kind of block chain node, comprising:
Transceiver,
Memory,
Processor is connect with the transceiver and memory respectively, for by executing the calculating being stored on the memory Machine executable code controls the information transmit-receive of the transceiver and can be realized claim 1 to 7 or any one of 8 to 9 provide Method.
13. a kind of computer storage medium, the computer storage medium is stored with computer-executable code, the computer After executable code is performed, the method that any one of claim 1 to 7 or 8 to 9 provide can be realized.
CN201810609312.0A 2018-06-13 2018-06-13 Transfer method and device based on block chain, block chain node and storage medium Active CN109102269B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810609312.0A CN109102269B (en) 2018-06-13 2018-06-13 Transfer method and device based on block chain, block chain node and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810609312.0A CN109102269B (en) 2018-06-13 2018-06-13 Transfer method and device based on block chain, block chain node and storage medium

Publications (2)

Publication Number Publication Date
CN109102269A true CN109102269A (en) 2018-12-28
CN109102269B CN109102269B (en) 2022-03-22

Family

ID=64796920

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810609312.0A Active CN109102269B (en) 2018-06-13 2018-06-13 Transfer method and device based on block chain, block chain node and storage medium

Country Status (1)

Country Link
CN (1) CN109102269B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110098979A (en) * 2019-04-16 2019-08-06 深圳前海微众银行股份有限公司 A kind of short link message monitor method and device based on block chain
CN110135964A (en) * 2019-05-21 2019-08-16 山东浪潮通软信息科技有限公司 A kind of financial accounting method based on block chain technology
CN110443615A (en) * 2019-08-13 2019-11-12 中国联合网络通信集团有限公司 Account management method and system based on block chain
CN111091429A (en) * 2019-03-06 2020-05-01 深圳市智税链科技有限公司 Electronic bill identification distribution method and device and electronic bill generation system
CN111126988A (en) * 2019-12-24 2020-05-08 深圳前海微众银行股份有限公司 Block chain-based transfer method, device, equipment and computer medium
CN111274324A (en) * 2020-02-12 2020-06-12 北京元链科技有限公司 Admissibility digital asset transfer method
CN111598554A (en) * 2020-04-30 2020-08-28 海南新软软件有限公司 Method and system for verifying accuracy of digital asset address
WO2020192272A1 (en) * 2019-03-27 2020-10-01 阿里巴巴集团控股有限公司 Blockchain-based transfer method and system, computing device and storage medium
CN111861456A (en) * 2020-08-06 2020-10-30 中国银行股份有限公司 5G message transfer transaction verification method, system and device based on block chain
CN112016926A (en) * 2019-05-30 2020-12-01 网银国际股份有限公司 User identity verification method for secure transaction environment
CN112417032A (en) * 2020-07-22 2021-02-26 贵州鼎西众讯科技有限公司 Block chain-based dynamic share right distribution method, system and device
CN112581287A (en) * 2020-12-01 2021-03-30 中国联合网络通信集团有限公司 Block chain-based online decision reminding method, computer equipment and storage medium
CN113763180A (en) * 2021-11-09 2021-12-07 环球数科集团有限公司 Transaction system based on centralized settlement and block chain deposit
CN114020253A (en) * 2021-10-28 2022-02-08 四川启睿克科技有限公司 Method for detecting validity of EOS block chain address
CN114331402A (en) * 2022-03-01 2022-04-12 飞狐信息技术(天津)有限公司 Cash withdrawal method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170132630A1 (en) * 2015-11-11 2017-05-11 Bank Of America Corporation Block chain alias for person-to-person payments
CN106796685A (en) * 2016-12-30 2017-05-31 深圳前海达闼云端智能科技有限公司 Block chain authority control method and device and node equipment
CN106779704A (en) * 2016-12-06 2017-05-31 杭州趣链科技有限公司 A kind of block chain anonymous deal method based on ring signatures
CN107408253A (en) * 2015-01-19 2017-11-28 加拿大皇家银行 The safe handling of e-payment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107408253A (en) * 2015-01-19 2017-11-28 加拿大皇家银行 The safe handling of e-payment
US20170132630A1 (en) * 2015-11-11 2017-05-11 Bank Of America Corporation Block chain alias for person-to-person payments
CN106779704A (en) * 2016-12-06 2017-05-31 杭州趣链科技有限公司 A kind of block chain anonymous deal method based on ring signatures
CN106796685A (en) * 2016-12-30 2017-05-31 深圳前海达闼云端智能科技有限公司 Block chain authority control method and device and node equipment

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111091429B (en) * 2019-03-06 2024-03-22 深圳市智税链科技有限公司 Electronic bill identification distribution method and device and electronic bill generation system
CN111091429A (en) * 2019-03-06 2020-05-01 深圳市智税链科技有限公司 Electronic bill identification distribution method and device and electronic bill generation system
WO2020192272A1 (en) * 2019-03-27 2020-10-01 阿里巴巴集团控股有限公司 Blockchain-based transfer method and system, computing device and storage medium
CN110098979A (en) * 2019-04-16 2019-08-06 深圳前海微众银行股份有限公司 A kind of short link message monitor method and device based on block chain
CN110135964A (en) * 2019-05-21 2019-08-16 山东浪潮通软信息科技有限公司 A kind of financial accounting method based on block chain technology
CN112016926A (en) * 2019-05-30 2020-12-01 网银国际股份有限公司 User identity verification method for secure transaction environment
CN110443615A (en) * 2019-08-13 2019-11-12 中国联合网络通信集团有限公司 Account management method and system based on block chain
CN110443615B (en) * 2019-08-13 2021-10-22 中国联合网络通信集团有限公司 Block chain-based account management method and system
CN111126988B (en) * 2019-12-24 2024-04-19 深圳前海微众银行股份有限公司 Block chain-based transfer method, device, equipment and computer medium
CN111126988A (en) * 2019-12-24 2020-05-08 深圳前海微众银行股份有限公司 Block chain-based transfer method, device, equipment and computer medium
CN111274324A (en) * 2020-02-12 2020-06-12 北京元链科技有限公司 Admissibility digital asset transfer method
CN111598554A (en) * 2020-04-30 2020-08-28 海南新软软件有限公司 Method and system for verifying accuracy of digital asset address
CN111598554B (en) * 2020-04-30 2023-07-07 北京庚金科技有限公司 Digital asset address accuracy verification method and system
CN112417032A (en) * 2020-07-22 2021-02-26 贵州鼎西众讯科技有限公司 Block chain-based dynamic share right distribution method, system and device
CN112417032B (en) * 2020-07-22 2023-11-14 贵州鼎西众讯科技有限公司 Dynamic equity distribution method, system and device based on block chain
CN111861456B (en) * 2020-08-06 2023-08-22 中国银行股份有限公司 Block chain-based 5G message transfer transaction verification method, system and device
CN111861456A (en) * 2020-08-06 2020-10-30 中国银行股份有限公司 5G message transfer transaction verification method, system and device based on block chain
CN112581287B (en) * 2020-12-01 2023-06-27 中国联合网络通信集团有限公司 Block chain-based online decision reminding method, computer equipment and storage medium
CN112581287A (en) * 2020-12-01 2021-03-30 中国联合网络通信集团有限公司 Block chain-based online decision reminding method, computer equipment and storage medium
CN114020253A (en) * 2021-10-28 2022-02-08 四川启睿克科技有限公司 Method for detecting validity of EOS block chain address
CN113763180A (en) * 2021-11-09 2021-12-07 环球数科集团有限公司 Transaction system based on centralized settlement and block chain deposit
CN114331402A (en) * 2022-03-01 2022-04-12 飞狐信息技术(天津)有限公司 Cash withdrawal method and device

Also Published As

Publication number Publication date
CN109102269B (en) 2022-03-22

Similar Documents

Publication Publication Date Title
CN109102269A (en) Transfer account method and device, block chain node and storage medium based on block chain
CN109360100B (en) Transaction rapid confirmation method and device based on block chain technology
CN109544160B (en) Transaction authenticity verification method and system based on block chain and intelligent contract
CN109544331B (en) Supply chain financial application method and device based on block chain, terminal equipment and storage medium
KR102573433B1 (en) Platform for trading energy using block chain and method thereof
CN110032865A (en) A kind of right management method, device and storage medium
CN108898389A (en) Based on the content verification method and device of block chain, electronic equipment
CN110557403B (en) Resource allocation method and device based on block chain, storage medium and node equipment
CN108876365A (en) A kind of intelligent contract generating block issue mechanism
CN108960825A (en) Electric endorsement method and device, electronic equipment based on block chain
CN109598504A (en) Transaction processing method and device, electronic equipment based on block chain
CN111967860B (en) Transaction system, method and node in transaction system
CN108830711A (en) A kind of energy internet business account book management method and system based on block chain
US20210110384A1 (en) Ad Hoc Neural Network for Proof of Wallet
CN110826043A (en) Digital identity application system and method, identity authentication system and method
CN111160998B (en) Comment data processing method and device based on block chain and comment system
CN110084604A (en) Transaction processing method and device, electronic equipment based on block chain
CN108876669A (en) Course notarization system and method applied to multi-platform shared education resources
CN109447605A (en) A kind of chain currency conversion method, apparatus, equipment and medium based on block chain
CN105871923A (en) Information processing method, information recording nodes and participation nodes
CN110599342A (en) Block chain-based identity information authorization method and device
CN111416709A (en) Voting method, device, equipment and storage medium based on block chain system
CN107465728A (en) Information processing method, central server and storage medium on identification code
WO2022267787A1 (en) Method, apparatus, and system for determining computation resource in privacy computation
CN109872223B (en) Virtual article transaction method, device, equipment and storage medium

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