CN107220820A - Resource transfers method, device and storage medium - Google Patents
Resource transfers method, device and storage medium Download PDFInfo
- Publication number
- CN107220820A CN107220820A CN201710344407.XA CN201710344407A CN107220820A CN 107220820 A CN107220820 A CN 107220820A CN 201710344407 A CN201710344407 A CN 201710344407A CN 107220820 A CN107220820 A CN 107220820A
- Authority
- CN
- China
- Prior art keywords
- contract
- resource transfers
- account
- block
- resource
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/10—Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3825—Use of electronic signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3829—Payment protocols; Details thereof insuring higher security of transaction involving key management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/42—Confirmation, e.g. check or permission by the legal debtor of payment
Abstract
The invention discloses a kind of resource transfers method, device and storage medium, belong to network technique field.This method includes:The resource transfers request of the first account is received, the resource transfers are asked for asking the resource transfers of first account to target account;The first contract is generated, first contract is used for the resource transfers condition for indicating first account;Block head characteristic value based on the first block in first contract, resource transfers request and block chain, generate the second block, first block is a upper block for second block on the block chain, and second block is used to record this resource transfers request event;When meeting the resource transfers condition that first contract is indicated, resource transfers are carried out based on first contract.The present invention improves the reliability and security of resource transfers.
Description
Technical field
The present invention relates to network technique field, more particularly to a kind of resource transfers method, device and storage medium.
Background technology
With the development of network technology, easily it can be interacted between account based on network, for example, being entered based on network
Row chat, interactive game, resource transfers are such as being delayed and transfer accounts, and the transfer accounts money that refers to transfer accounts of delay is just carried out after recipient's confirmation
Transfer accounts.
By taking the delay transfer procedure in resource transfers as an example, when entering line delay and transferring accounts, it is assumed that account A is sent to account B
One red packet, the red packet amount of money is X members, then server can transfer accounts account A X members to an intermediate account M, if account
B confirms the reception red packet, then server can transfer accounts the X members in intermediate account M to account B, completes account A to account B's
Be delayed transfer procedure.
During the present invention is realized, inventor has found that prior art at least has problems with:
Because server has the potential safety hazard that is invaded by malice account, the transfer information such as collecting account, transfer amounts is very
It may be maliciously tampered, cause the safety and reliability of resource transfers process poor.
The content of the invention
In order to solve problem of the prior art, the embodiments of the invention provide a kind of resource transfers method, device and storage
Medium and server.The technical scheme is as follows:
First aspect includes there is provided a kind of resource transfers method, methods described:
The resource transfers request of the first account is received, the resource transfers are asked for asking the money of first account
Source is transferred to target account;
The first contract is generated, first contract is used for the resource transfers condition for indicating first account;
Based on the block head characteristic value of the first block in first contract, resource transfers request and block chain,
The second block is generated, first block is a upper block for second block on the block chain, second block
For recording this resource transfers request event;
When meeting the resource transfers condition that first contract is indicated, resource transfers are carried out based on first contract.
Second aspect includes there is provided a kind of resource transfers device, described device:
Receiving module, the resource transfers request for receiving the first account, the resource transfers ask to be used to ask institute
The resource transfers of the first account are stated to target account;
Module is synthetically generated, for generating the first contract, first contract is used for the resource for indicating first account
Jump condition;
Block generation module, for based on the firstth area in first contract, resource transfers request and block chain
The block head characteristic value of block, generates the second block, and first block is upper one of second block on the block chain
Block, second block is used to record this resource transfers request event;
Resource transfers module, for when meeting the resource transfers condition that first contract is indicated, based on described first
Contract carries out resource transfers.
The third aspect is there is provided a kind of computer-readable recording medium, and be stored with least one finger in the storage medium
Order, the instruction is loaded as processor and performed to realize the method any one of above-mentioned first aspect.
Fourth aspect is there is provided a kind of server, and the server includes depositing in processor and memory, the memory
Contain at least one instruction, the instruction is loaded as the processor and performed with any one of realizing above-mentioned first aspect
Method.
When the embodiment of the present invention in the resource transfers for receiving the first account by asking, the first contract is generated, and be based on
The block head characteristic value of first block in first contract, resource transfers request and block chain, generates the second block, and when meeting the
During the resource transfers condition that one contract is indicated, resource transfers are carried out based on the first contract, block before and after being based in block chain
Between incidence relation so that the information in block during any resource transfers can be transferred through the detection of next block when being tampered
Arrive, it is to avoid the resource being transferred is distorted or denied to malice account, it is ensured that the safety and reliability of resource transfers process, and
And, because the information of contract is also recorded in block chain so that also can be by the conjunction that has been recorded in block chain when contract is tampered
Information about is detected, and further ensures the security and correctness of contract, improve resource transfers security and can
By property.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is a kind of implementation environment schematic diagram of resource transfers provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of resource transfers method provided in an embodiment of the present invention;
Fig. 3 is a kind of Contract ID product process figure provided in an embodiment of the present invention;
Fig. 4 is a kind of block diagram of resource transfers device provided in an embodiment of the present invention;
Fig. 5 A are a kind of block diagrams of resource transfers device provided in an embodiment of the present invention;
Fig. 5 B are a kind of block diagrams of resource transfers device provided in an embodiment of the present invention;
Fig. 6 is a kind of server architecture schematic diagram provided in an embodiment of the present invention.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
Fig. 1 is a kind of implementation environment schematic diagram of resource management provided in an embodiment of the present invention.Referring to Fig. 1, the implementation ring
Border includes:Resource management system 101 and terminal 102.The resource management system 101 can include multiple nodes, each node
A server can be corresponded to, the plurality of node can store one block chain of identical, and the block chain is made up of multiple blocks, often
Individual block is stored with different information, and the block on a block chain is stored sequentially in time.In present invention implementation
In example, the contract that each block can be generated with storage resource transfer process a interaction message and based on the interaction message
Characteristic value.The terminal 102 refers to terminal where the user that the resource management system is serviced, for being carried out with resource management system
Interaction, so that from the account of the user to other account transferring resources, or the management based on resource management system is in the account
Storage resources etc..The resource management system 101 is used to manage the resource in the account of user, and is generated during resource transfers
Contract, the information of interactive information and contract is stored to the block on block chain.The account of user refers to logging in the terminal 102
User associated by account, e.g., Net silver, wechat change or game account of user etc., can be stored with user in the account
Resource, these resources to carry out workable resource during network trading, for example, currency resource included in the Net silver of user,
Digital ticket in the currency resource, the ideal money in game account or the card bag that are stored in wechat change etc..
In the embodiment of the present invention, the configured identical contract template of each node, the contract template refers to ginseng to be determined
Several codes, resource management system 101 can generate one according to the interaction message and contract template received between account
The contract of hypostazation, that is to say the code that one section of generation may operate on block chain, so as to carry out resource transfers according to contract
Process.The resource of each account is managed for convenience, and resource management system 101 can also be each one contract row of account maintenance
Table.Certainly, in order to ensure the security of contract, resource management system 101 only can be generated in contract list new contract or
Fresh information is added in the contract generated, and forbids the information in the contract generated to be changed.
It should be noted that when any node in resource management system 101 determines to need the defeated of deposit in current block
When entering information or generation contract, other nodes in the resource management system 101 just can obtain the input according to common recognition algorithm
Information or contract, and be also stored in current block the input information, and it is stored in contract list the contract so that resource pipe
The information stored in reason system 101 on whole nodes is consistent.
Fig. 2 is a kind of flow chart of resource transfers method provided in an embodiment of the present invention, referring to Fig. 2, and this method can be answered
The interaction of account on the server and terminal in the resource management system shown in Fig. 1, comprises the following steps:
201st, the first account user orientation server sends resource transfers request, and resource transfers are asked for asking the first account
Resource transfers are to target account.
Wherein, the first account refers to the account for any user that the server is serviced, can the unique mark user.The step
In rapid, the user can in terminal selection target account and resource transfers number so that terminal generates resource transfers request, and
Resource transfers request is sent to server.It should be noted that quantity and resource of the embodiment of the present invention to target account
Transfer number is not specifically limited.
So that the resource is Net silver as an example, when detecting the trigger action to option of transferring accounts, terminal can show the boundary that transfers accounts
Account communication list and transfer amounts input frame can be included in face, the interface of transferring accounts, and then, terminal can obtain user and turn
The transfer amounts inputted in account amount of money input frame obtain user selects in account communication list one as resource transfers number
Individual or multiple target accounts.Certainly, user can also set transfer amounts respectively for each target account.
In the embodiment of the present invention, resource transfers request also carries Contract ID.Contract ID is used for unique mark first
The first resource transfer process that account is initiated so that server can be according to the Contract ID by relating to during the resource transfers
And logout on block chain, it is to avoid the resource shifted is distorted or denied to malice account, improves resource transfers mistakes
The reliability of the non-repudiation of transferring resource and resource transfers in journey.
Under different application scenarios, the Contract ID can using it is different by the way of obtain.For example, in order to ensure public affairs
The security of resource transfers process under the scene of common block chain, referring to Fig. 3, the embodiments of the invention provide a kind of life of Contract ID
Into flow chart, in the product process, terminal can be according to the first account private key, and by elliptic curve, (curve of selection can
Think secp256k1) the first account public key is calculated, and Hash calculation, the hash algorithm of use are carried out to the first account public key
Can be SHA256 (256,256 hash algorithms of Secure Hash Algorithm) and RIPEMD160 (RACE
Integrity Primitives Evaluation Message Digest, 160 raw integrity verification message summaries are calculated
Method) combination, and then, terminal can be encoded obtained cryptographic Hash, obtain the Contract ID, and coded system can be with
BASE58 (58 basic codings).Wherein, the first account private key can be a string of the characters generated at random, and its digit can be
256 bits.In another example, under the scene of privately owned block chain, because privately owned block chain possesses strict access control, and participate in money
The account of source transfer process is the inter-account of a tissue, therefore without considering outside interaction side during resource transfers
The intervention of malice account, also need not just consider the potential safety hazard that Contract ID is forged, then the Contract ID can be any word
Symbol, e.g., terminal obtains a numeral by way of digital self-propagation, is used as the Contract ID.
202nd, when server receives the resource transfers request of the first account, the first contract is generated, the first contract is used for
Indicate the resource transfers condition of the first account.
Wherein, the first contract refers to the code that may operate on block chain.In the step, when server receives the money
, can be based on the every terms of information in configured contract template and resource transfers request, by the items during transfer request of source
Information generates first contract as the parameters in contract template.
Specifically, the contract of each account of server admin for convenience, server is each one contract of account maintenance
List, thus server can be asked according to resource transfers in the first account, is generated in the contract list of the first account
One contract.In first contract can include Contract ID, resource transfers number, target account, the first contract expiration time with
And the information such as contract generation time.The expiration time of first contract can be by server according to current time and default time limit
And be worth to.It should be noted that in order to ensure the number of resources balance during whole resource transfers, server is by first
Resource transfers corresponding with resource transfers number are to first contract in account.
In actual application scenarios, multiple target accounts can be included in resource transfers request, if the first account
Resource transfers number is provided with for each target account, then server can be when generating the first contract by each target account and its
Corresponding resource transfers number correspondence is stored.Or, if the first account is not provided with the corresponding resource transfers of each target account
Number, then the resource transfers number during server can ask resource transfers when generating the first contract, which is randomly assigned, gives target account
Family.
Certainly, server can also be verified to the first account, if the verification passes, then generate the first contract.This hair
Bright embodiment is not limited verification mode.For example, server carries out resource transfers number and the total number resource of first account
Compare, if resource transfers number is less than the total number resource, generates the first contract, otherwise, point out the first account resource transfers
Failure.
203rd, block head feature of the server based on the first block in the first contract, resource transfers request and block chain
Value, generates the second block, and the first block is a upper block for the second block on block chain, and the second block is used to record this money
Source transfer request event.
In the step, server can obtain all information in the block head of the first block from block chain, and be based on
All information in the block head of first block obtain the block head characteristic value of the first block, and to the second block will be stored in
Block main body in the first contract information and resource transfers request carry out characteristic value calculating, obtain the block master of the second block
Body characteristicses value, and then, the block head characteristic value of the first block, the block body feature value of the second block (can also be included into version
This number, difficulty value and timestamp) store to the block head of the second block;By the information of the first contract and resource transfers request storage
To the block main body of the second block, second block is generated so that the block that the second block and the first block pass through the first block
Head characteristic value is related, it is thus achieved that the purpose that the block in block chain is together in series so as to (the bag of any information in block
Include information and the resource transfers request of contract) distort, can be by the upper block that is stored in the block head of block
Block head characteristic value review and detect, so as to ensure that the security of resource transfers process.
In actual application scenarios, it is contemplated that the information format of the first contract may be with each storage format in block chain not
Matching, server can the characteristic value based on the first contract, resource transfers request and the first block block head characteristic value, it is raw
Into the second block.In the implementation, server can carry out Hash calculation to the every terms of information of the first contract, by obtained Kazakhstan
The uncommon characteristic value being worth as the first contract, and the characteristic value of the first contract and resource transfers request are stored to the second block.It is logical
The implementation is crossed, due to being distorted to any information in the first contract, can all make the characteristic value hair of the first contract being tampered
It is raw to change, and the characteristic value for the first contract being stored on block chain can not be changed, therefore any of the first contract is distorted
It can be detected according to the characteristic value of the first contract on block chain, so as to ensure that the security of contract.
204th, server sends resource transfers message to target account.
In the step, server can be based on the first contract, generate resource transfers message, and resource transfers message is sent
Terminal where to target account.The resource transfers message can include the information such as the first account and resource transfers numerical value.Specifically,
Server can be based on the corresponding resource transfers number of each target account in contract, and the resource transfers for generating the target account disappear
Breath, and send it to the target account.
In the embodiment of the present invention, in order to avoid Contract ID is forged, the security of resource transfers process, server are improved
Contract private key can be sent to target account so that target account obtains contract private key signature based on contract private key and contract is public
Key, contract private key is sent by the first account and obtained.And in order to ensure the security of contract private key, the first account is sending this conjunction
About private key when the contract private key can be encrypted using the AES arranged in advance so that target account can also be used
Contract private key after the encryption is decrypted the decipherment algorithm arranged in advance, obtains the contract private key.It should be noted that
The contract private key can be sent to server by the first account in another business packet sent outside resource transfers request, by taking
Business device extracts target account and contract private key from the business packet, and contract private key is forwarded into target account.Certainly, if
First account is not based on contract private key generation Contract ID, but generates Contract ID by other means, such as in privately owned area
The Contract ID can be generated by the way of digital self-propagation under the scene of block chain, then the first account need not send contract private
Key, but directly sent Contract ID to target account by server so that confirm or refuse resource transfers in target account
When, the Contract ID that server can be carried according to target account is found corresponding to the resource for confirming or breaking off relations with target account
Contract.
205th, target account is sent to server confirms resource transfers message.
In the step, when the terminal where the target account receives resource transfers message, can according to resource transfers message,
Generate and show resource reception interface, the resource reception interface can include the corresponding resource transfers number of target account, the first account
Family, confirm the information such as option and rejecting option, when detecting trigger action of the target account to confirming option, the terminal can be with
Generation confirms resource transfers message, and sends it to server, when detecting trigger action of the target account to rejecting option
When, the terminal can generate refusal resource transfers message, and send it to server.Certainly, the target account can also be selected
Select and ignore the resource transfers message, e.g., close the resource reception interface.
It should be noted that the account identity in order to prove confirmation resource transfers, the terminal can be using target account
The summary info of confirmation of the account private key to that will send is signed, and obtains account private key signature, and the confirmation message can
With including the first account, target account and the corresponding resource transfers number of target account, and confirmed to ensure target account
Resource is corresponding with the resource of the first contract, and terminal can also be using summary info of the obtained contract private key to the confirmation
Signed, obtain contract private key signature, and then, terminal can be obtained according to configured with the first account identical public key algorithm
To the corresponding contract public key of contract private key, and the account public key matched with account private key is obtained, it is private based on account public key, account
Key signature, contract public key, contract private key signature, the corresponding resource transfers number of target account and confirmation, generate the confirmation
Resource transfers message.The process of generation refusal resource transfers message similarly, will confirm that information replaces with refusal information.
206th, when server receives the confirmation resource transfers message of the second account, the identity to the second account is tested
Card, if the authentication of the second account passes through, performs step 207, if not, ignoring the confirmation resource transfers message.
In the step, server can extract the every terms of information confirmed in resource transfers message, and the information based on extraction
Whether verify the second account is the selected target account of the first account.Specifically, server can be based on confirmation resource transfers
Contract public key, contract private key signature, account public key and account private key signature in message are verified, if the contract public key pair
The contract private key signature is verified, and account public key is verified to account private key signature, then can obtain confirmation money
The corresponding Contract ID of contract public key in the Transfer Message of source, and step 207 is performed, can if any one checking does not pass through
To ignore the resource transfers message.
In verification process, server contract private key signature can be decrypted by contract public key, if after decryption
Summary info with confirm resource transfers message in confirmation message summary info it is identical, can confirm that the contract public key pairing
About private key signature is verified;Server account private key signature can also be decrypted by account public key, if decryption
Summary info afterwards is also identical with confirming the summary info of the confirmation message in resource transfers message, can confirm that account public key
Account private key signature is verified.When obtaining Contract ID, server can be extracted from resource transfers message is confirmed
Go out contract public key, and the contract is obtained public with the first account identical Contract ID algorithm and coded system according to configured
The corresponding Contract ID of key.
By the above-mentioned verification process based on key, both by account key authentication, the confirmation resource transfers message came from
In the second account, also by contract key authentication, second account is the selected target account of the first account, therefore at this
Under the mechanism of double verification, the security and accuracy of resource transfers process are further increased.
207th, server confirms whether resource transfers message matches with the first contract, if it is, the first contract is based on, by the
Two accounts are defined as target account, the corresponding resource transfers number of target account are transferred to target account, if not, ignoring the confirmation
Resource transfers message.
In the step, server can will confirm that information and the information of the first contract in resource transfers message are compared
Compared with, and according to comparative result, confirm whether resource transfers message matches with the first contract.
To make the condition of confirmation matching more strict, so as to improve the correctness and security of resource transfers process, service
Device can judge to confirm the Contract ID of the corresponding Contract ID of contract public key and the first contract in resource transfers message respectively
Whether identical, the second account is identical with target account, confirm whether the resource transfers number in resource transfers message matches the first conjunction
Whether resource transfers number about, the reception time of confirmation resource transfers message are not later than the expiration time of the first contract, if on
It is to be to state judged result, then meets the resource transfers condition of the first contract instruction, and server performs the code of the first contract, will
Second account is defined as target account, the corresponding resource transfers number of target account is transferred to target account, if any of the above-described sentence
Disconnected result is no, then server can ignore the confirmation resource transfers message.It should be noted that in actual application scenarios
In, it would however also be possible to employ Rule of judgment at least one of therein is as the foundation of resource transfers, and the embodiment of the present invention do not limited with which
Several Rule of judgment do not limit the judgement sequential of above-mentioned Rule of judgment as foundation yet.
Because first account may carry out resource transfers to multiple target accounts simultaneously, the step can also be specially:
Server searches whether exist and root according to the first account confirmed in resource transfers message in the contract list of the first account
According to the Contract ID identical Contract ID that resource transfers message is obtained is confirmed, if it is, it is corresponding to extract the Contract ID
The expiration time of the corresponding resource transfers number of target account, each target account and the first contract, and then, server can be sentenced
Whether the reception time for the confirmation resource transfers message of breaking is not later than the expiration time of the first contract, if it is, may determine that this
Whether the second account is identical with either objective account, if it is, can continue to judge the resource in the confirmation resource transfers message
Number resource transfers number whether corresponding with the target account in the first contract is shifted identical, if it is, can be to target account
It is transferred to the corresponding resource transfers number of the target account.It should be noted that the security in order to improve contract, can limit contract
The operating right of list, for example, the contract list only allows to be read and written, and forbids being changed.
When the embodiment of the present invention in the resource transfers for receiving the first account by asking, the first contract is generated, and be based on
The block head characteristic value of first block in first contract, resource transfers request and block chain, generates the second block, and when meeting the
During the resource transfers condition that one contract is indicated, resource transfers are carried out based on the first contract, block before and after being based in block chain
Between incidence relation so that the information in block during any resource transfers can be transferred through the detection of next block when being tampered
Arrive, it is to avoid the resource being transferred is distorted or denied to malice account, it is ensured that the safety and reliability of resource transfers process, and
And, because the information of contract is also recorded in block chain so that also can be by the conjunction that has been recorded in block chain when contract is tampered
Information about is detected, and further ensures the security and correctness of contract, improve resource transfers security and can
By property.
Moreover, an intermediate account of the prior art is often simultaneously multiple account services so that in the intermediate account
The money of transferring accounts of multiple accounts may be stored simultaneously, cause intermediate account that mistakenly the money of transferring accounts for the user A that collects money may be transferred accounts
To gathering user B, the fault-tolerance of resource transfers process is low.And the embodiment of the present invention each account initiate resource transfers when,
One can be generated in real time for the account is used for the contract of this resource transfers process, can not only conveniently manage each account
Resource transfers process, the design for simplifying system of account, the balance of account number of resources is ensure that, and improve resource transfers
The fault-tolerance of process, more avoids an intermediate account while the problem of systematic function is limited when being a large amount of account services.
Moreover, the embodiment of the present invention can also be applied neatly in multiple resources transfer process, for example, multiple accounts are robbed
Red packet, resource person to be received actively refuse resource or introduce the scene that third party arbitrates joint distribution resource.Wherein, third party
Arbitrate the scene of joint distribution resource such as:Third party's account extracts the number of resources of percentage from first resource transfer process.
It should be noted that the execution sequential of above-mentioned steps 206 and 207 is exemplary, in fact, server can also
First carry out step 207 and perform step 206 again, or in order to improve resource transfers efficiency, while performing step 206 and 207.Also
Illustrate, step 206-207 be the embodiment of the present invention in when meet the first contract instruction resource transfers condition when, server
A kind of possible implementation of resource transfers is carried out based on the first contract, in fact, first can be met there is also other situations
The resource transfers condition that contract is indicated.The embodiment of the present invention is illustrated by taking situation 1 and situation 2 as an example:
Situation 1, server receive the refusal resource transfers message of the second account;If the authentication of the second account is led to
Cross, and refusal resource transfers message is matched with the first contract, and based on the first contract, the second account is defined as into target account, to
First account retracts the corresponding resource transfers number of target account.
In this case, server can be according to the contract public key in refusal resource transfers message, contract private key signature, account
Public key, account public key signature and refuse information are verified to the identity of the second account, if checking does not pass through, can be ignored
This breaks off relations resource transfers message, if the verification passes, then confirms information and the first contract in the refusal resource transfers message
Whether information matches, if it is, the second account can be defined as to target account, and retracts the target account pair to the first account
The resource transfers number answered, if it is not, then ignoring the refusal resource transfers message.Wherein, in specific verification process and step 206
Verification process is similarly;Process of the specific process for confirming matching with confirming to match in step 207 similarly, will confirm that resource transfers disappear
Breath replaces with refusal resource transfers message, and confirmation replaces with refusal information and can be achieved.
Situation 2, when server detects the first contract and reaches the expiration time of the first contract, based on the first contract, to
First account retracts the resource transfers number in the first contract.
In this case, server can be periodically detected the expiration time whether each contract reaches the contract, if it is,
The resource transfers number in the first contract can be then retracted to the first account, if it is not, then this detection process can ignore the conjunction
About.
Based on above-mentioned resource transfers process, the resource and the surplus resources of first account that first account has been shifted are (real
Border refers to the surplus resources in the resource of the first account request transfer) have and following there can be five kinds of situations:
First, first contract reaches the expiration time of the first contract, and the resource transfers number is retracted into the first account, and this
The surplus resources number of one account is zero.
2nd, target account be one, first account request transfer resource be fully transferred to target account, then this first
The surplus resources number of account is zero.
3rd, target account is one, and the resource of first account request transfer is refused by target account, and resource transfers number is moved back
It is back in the first account, the surplus resources number of first account is zero.
4th, target account is multiple, and the resource part of first account request transfer is transferred to target account, then this first
The surplus resources number of account is more than zero and less than the resource transfers number in resource transfers request.
5th, target account is multiple, and the resource of first account request transfer is refused by target account, the target account pair
The resource transfers number answered is retracted into the first account, and the surplus resources number of first account is more than zero and less than resource transfers request
In resource transfers number.
For situation one to three, because the resource transfers process that first account is initiated has been fully completed, in order to avoid
Either one during the resource transfers is gone back on one's word or denied, and avoids repeating first contract to target account or the first account
Family is shifted, so as to improve the preciseness and security of resource transfers process, the first contract can be set to by server
Completion status, the embodiment of the present invention is not specifically limited to the mode of setting, is closed for example, server can add for the first contract
Mark has about been completed, or, the account of transferring resource and corresponding transferring resource number are added in first contract, due to this
Transferring resource number is identical with the number of resources that the first account request is shifted, and whole resources have been completed equivalent to first contract is identified
Transfer, or, a new resource transfers number is added in first contract, and the resource transfers number is zero, so that server
Resource transfers will not be performed again by having completed mark or newest resource transfers number based on the contract in the contract of resource first.
It should be noted that in order to ensure that contract is correctly performed, and resource transfers process is correct, and resource occurs every time and turns
Move, first contract can update, but in order to avoid having carried out the account denial of resource transfers or having distorted contract, be not during renewal
Change information stored in first contract, but fresh information added in the first contract, server subsequently based on
, it is necessary to resource transfers be carried out based on fresh information newest in the first contract, for example, base when first contract carries out resource transfers
The timestamp of fresh information in the first contract, obtains the fresh information of newest addition, and the letter of the renewal based on the newest addition
Breath carries out resource transfers.
When first contract is set into completion status, server can the first contract based on completion status,
The block head characteristic value of the 5th block in the message and block chain of this resource transfers completion is triggered, the 6th block is generated, the
Five blocks are a upper block for the 6th block on block chain, and the 6th block, which is used to record, triggers the thing that this resource transfers is completed
Part.Wherein, the first contract can be detected and reach arriving for the first contract for server by triggering the message of this resource transfers completion
The message of time phase, or, the confirmation resource transfers message of targeted customer or the refusal resource transfers message of targeted customer.
For situation four and situation five, the embodiment of the present invention continues to illustrate with step 208 and step 209:
208th, the contract of server update first, the first contract after renewal is used for the surplus resources transfer for indicating the first account
Condition.
In the step, it is contemplated that the resource of the first account has partly been transferred to a target account or part is retracted into the
One account, therefore, carries out resource transfers, server can be based in order to continue as other accounts in multiple target accounts
First contract, (or refusal) resource transfers target account and transferring resource number are had confirmed that, add and update in the first contract
Information, completes the renewal process of the first contract, and the fresh information is obtained according to the resource transfers process carried out, the fresh information
There can be a variety of expression-forms.For example, the fresh information includes account (the first account or the target account for having carried out resource transfers
Family) and corresponding resource transfers number so that server subsequently can be according to the letter recorded in the fresh information and the first contract
Breath, it is determined that current target account and the corresponding resource transfers number of each target account.In another example, the fresh information, which includes removing, is somebody's turn to do
The remaining target account and the corresponding resource transfers number of remaining target account outside the account of resource transfers have been carried out, then has been taken
Being engaged in device subsequently can be directly according to fresh information progress resource transfers.
It should be noted that because target account may have multiple, and based on the interaction message of each target account, this
One contract can be updated, therefore, and multiple fresh information may be recorded in first contract, and server is entered based on first contract
During row resource transfers, can according to fresh information timestamp, resource transfers are carried out based on newest fresh information.
209th, server is based in the first contract after renewal, the interaction message for triggering this resource transfers and block chain
The block head characteristic value of 3rd block, generates the 4th block, and the 3rd block is a upper block for the 4th block on block chain, the
Four blocks are used to record this resource transfers completion event.
In the step, the information (spy of the first contract after as updated that server can be based on the first contract after renewal
Value indicative), confirm the block head characteristic value of the 3rd block in resource transfers message (or refusal resource transfers message) and block chain,
Generate the 4th block.The block generating process of specific generating process and step 203 is similarly.
In fact, it is follow-up before the expiration time of first contract, if server receives some target account
When confirming resource transfers message or refusal resource transfers message, can also continue to based on step 206 and 207 verification process and
Confirm that matching process is made to determine whether to carry out resource transfers, and it is determined that during resource transfers, updating contract and simultaneously generating new area
Block.Or, if when reaching the expiration time of first contract, server does not receive the interaction of any target account yet
Message, then can be retracted into the first account, and the first contract is set to by the transfer number of the surplus resources in first contract
Completion status and and generate new block.
When first account is to multiple target account transferring resources, if some target accounts in the plurality of target account
Family has been acknowledged (or refusal) resource transfers, and other target accounts are not also confirmed or refused, then first conjunction
Resource transfers number about disposably will not be shifted all, then in order to ensure first account request transfer whole resources can turn
Move, provide the user perfect resource transfers service, server also needs to proceed according to the surplus resources of first account
Resource transfers, by updating the first contract and generating the 4th block, can not only avoid having shifted during previous resource transfers
Transfer record is denied or distorted to the account of resource, additionally it is possible to performs resource next time exactly according to the first contract after the renewal
Transfer process, further such that the number of resources during resource transfers keeps balance.
Fig. 4 is a kind of block diagram of resource transfers device provided in an embodiment of the present invention, and referring to Fig. 4, the device includes:
Receiving module 401, the resource transfers request for receiving the first account, resource transfers ask to be used to ask first
The resource transfers of account are to target account;
Module 402 is synthetically generated, for generating the first contract, the first contract is used for the resource transfers bar for indicating the first account
Part;
Block generation module 403, for the area based on the first block in the first contract, resource transfers request and block chain
Build characteristic value, generates the second block, and the first block is a upper block for the second block on block chain, and the second block is used to remember
Record this resource transfers request event;
Resource transfers module 404, for when meeting the resource transfers condition of the first contract instruction, being entered based on the first contract
Row resource transfers.
When the embodiment of the present invention in the resource transfers for receiving the first account by asking, the first contract is generated, and be based on
The block head characteristic value of first block in first contract, resource transfers request and block chain, generates the second block, and when meeting the
During the resource transfers condition that one contract is indicated, resource transfers are carried out based on the first contract, block before and after being based in block chain
Between incidence relation so that the information in block during any resource transfers can be transferred through the detection of next block when being tampered
Arrive, it is to avoid the resource being transferred is distorted or denied to malice account, it is ensured that the safety and reliability of resource transfers process, and
And, because the information of contract is also recorded in block chain so that also can be by the conjunction that has been recorded in block chain when contract is tampered
Information about is detected, and further ensures the security and correctness of contract, improve resource transfers security and can
By property.
In a kind of possible implementation, resource transfers module 404 is used for:
Receive the confirmation resource transfers message of the second account;
If the authentication of the second account passes through, and confirms that resource transfers message is matched with the first contract, by the second account
Family is defined as target account, and the corresponding resource transfers number of target account is transferred to target account based on the first contract.
In a kind of possible implementation, resource transfers module 404 is used for:
If it is confirmed that the contract public key in resource transfers message is to confirming that the contract private key signature in resource transfers message is tested
Card passes through, and confirms that the account public key in resource transfers message verifies logical to the account private key signature confirmed in resource transfers message
Cross, obtain the corresponding Contract ID of contract public key confirmed in resource transfers message;
If it is confirmed that the Contract ID phase of the corresponding Contract ID of contract public key and the first contract in resource transfers message
Together, and the second account is identical with target account, and confirm that the resource transfers number in resource transfers message matches the money of the first contract
Number is shifted in source, and confirms that the reception time of resource transfers message is not later than the expiration time of the first contract, will based on the first contract
Second account is defined as target account, and the corresponding resource transfers number of target account is transferred to target account.
In a kind of possible implementation, resource transfers module 404 is used for:
Receive the refusal resource transfers message of the second account;
If the authentication of the second account passes through, and refusal resource transfers message is matched with the first contract, based on first
Contract, target account is defined as by the second account, and the corresponding resource transfers number of target account is retracted to the first account.
In a kind of possible implementation, resource transfers module 404 is used for:
When detecting the first contract and reaching the expiration time of the first contract, based on the first contract, retracted to the first account
Resource transfers number in first contract.
In a kind of possible implementation, block generation module 403 is used for:
The block head characteristic value of characteristic value based on the first contract, resource transfers request and the first block, generation second
Block.
In a kind of possible implementation, the device composition based on Fig. 4, referring to Fig. 5 A, the device also includes:Contract updates
Module 405, for updating the first contract, the first contract after renewal is used for the surplus resources jump condition for indicating the first account;
Block generation module 403, the first contract after being additionally operable to based on renewal, the interaction message for triggering this resource transfers
And in block chain the 3rd block block head characteristic value, generate the 4th block, the 3rd block is the 4th block on block chain
A upper block, the 4th block is used to record this resource transfers completion event.
In a kind of possible implementation, the device composition based on Fig. 4, referring to Fig. 5 B, the device also includes:
Sending module 406, for contract private key to be sent to target account so that target account is obtained based on contract private key
Contract private key signature and contract public key, contract private key are sent by the first account and obtained.
Above-mentioned all optional technical schemes, can form the alternative embodiment of the present invention, herein no longer using any combination
Repeat one by one.
It should be noted that:The resource transfers device that above-described embodiment is provided is in transferring resource, only with above-mentioned each function
The division progress of module is for example, in practical application, as needed can distribute above-mentioned functions by different function moulds
Block is completed, i.e., the internal structure of device is divided into different functional modules, to complete all or part of work(described above
Energy.In addition, the resource transfers device that above-described embodiment is provided belongs to same design with resource transfers embodiment of the method, it is specific real
Existing process refers to embodiment of the method, repeats no more here.
Fig. 6 is a kind of server architecture schematic diagram provided in an embodiment of the present invention.Referring to Fig. 6, the server includes processing
Component 622, it further comprises one or more processors, and as the memory resource representated by memory 632, for depositing
Storage can by the execution of processing component 622 instruction, such as application program.The application program stored in memory 632 can include
It is one or more each correspond to the module of one group of instruction.In addition, processing assembly 622 is configured as execute instruction,
To perform the method that server side is performed in above-mentioned resource transfers method.
Server can also include the power management that a power supply module 626 is configured as execute server, and one wired
Or radio network interface 650 is configured as server being connected to network, and input and output (I/O) interface 658.Server
It can operate based on the operating system for being stored in memory 632, such as Windows ServerTM, Mac OS XTM, UnixTM,
LinuxTM, FreeBSDTMOr it is similar.
In the exemplary embodiment, a kind of computer-readable recording medium, such as memory including instruction are additionally provided
632, above-mentioned instruction can be performed to complete the method that server side is performed in above-mentioned resource transfers method by processing assembly 622.Example
Such as, the computer-readable recording medium can be ROM, RAM (Random Access Memory, random access memory), CD-
ROM (Compact Disc Read-Only Memory, compact disc read-only memory), tape, floppy disk and optical data storage devices
Deng.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware
To complete, the hardware of correlation can also be instructed to complete by program, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only the present invention alternative embodiment, be not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.
Claims (15)
1. a kind of resource transfers method, it is characterised in that methods described includes:
The resource transfers request of the first account is received, the resource transfers are asked for asking to turn the resource of first account
Move to target account;
The first contract is generated, first contract is used for the resource transfers condition for indicating first account;
Based on the block head characteristic value of the first block in first contract, resource transfers request and block chain, generation
Second block, first block is a upper block for second block on the block chain, and second block is used for
Record this resource transfers request event;
When meeting the resource transfers condition that first contract is indicated, resource transfers are carried out based on first contract.
2. according to the method described in claim 1, it is characterised in that described when the resource transfers for meeting the first contract instruction
During condition, resource transfers are carried out based on first contract, including:
Receive the confirmation resource transfers message of the second account;
If the authentication of second account passes through, and the confirmation resource transfers message is matched with first contract,
Second account is defined as the target account, the target account is transferred to the target account based on first contract
The corresponding resource transfers number in family.
3. method according to claim 2, it is characterised in that if the authentication of second account passes through,
And the confirmation resource transfers message is matched with first contract, the second account is defined as into the target account, based on institute
State the first contract and be transferred to the corresponding resource transfers number of the target account to the target account, including:
If the contract public key confirmed in resource transfers message is to the contract private key label in the confirmation resource transfers message
Name is verified, and the account public key confirmed in resource transfers message is private to the account in the confirmation resource transfers message
Key signature verification passes through, and obtains the corresponding Contract ID of contract public key confirmed in resource transfers message;
If the contract mark of the corresponding Contract ID of contract public key confirmed in resource transfers message and first contract
It is sensible same, and second account is identical with the target account, and the resource transfers number confirmed in resource transfers message
The resource transfers number of first contract is matched, and the reception time for confirming resource transfers message is not later than described first and closed
Expiration time about, based on first contract, the target account is defined as by second account, to the target account
It is transferred to the corresponding resource transfers number of the target account.
4. according to the method described in claim 1, it is characterised in that described when the resource transfers for meeting the first contract instruction
During condition, resource transfers are carried out based on first contract, including:
Receive the refusal resource transfers message of the second account;
If the authentication of second account passes through, and the refusal resource transfers message is matched with first contract,
Based on first contract, second account is defined as the target account, the target is retracted to first account
The corresponding resource transfers number of account.
5. according to the method described in claim 1, it is characterised in that described when the resource transfers for meeting the first contract instruction
During condition, resource transfers are carried out based on first contract, including:
When detecting first contract and reaching the expiration time of first contract, based on first contract, to described
First account retracts the resource transfers number in first contract.
6. according to the method described in claim 1, it is characterised in that described to be asked based on first contract, the resource transfers
Ask and block chain in the first block block head characteristic value, generate the second block, including:
The block head characteristic value of characteristic value based on first contract, resource transfers request and first block,
Generate second block.
7. according to the method described in claim 1, it is characterised in that described when the resource transfers for meeting the first contract instruction
During condition, after first contract progress resource transfers, methods described also includes:
First contract is updated, the first contract after renewal is used for the surplus resources jump condition for indicating first account;
Based on the first contract after renewal, trigger the 3rd block in the interaction message and the block chain of this resource transfers
Block head characteristic value, generates the 4th block, and the 3rd block is a upper block for the 4th block on the block chain,
4th block is used to record this resource transfers completion event.
8. according to the method described in claim 1, it is characterised in that methods described also includes:
Contract private key is sent to the target account so that the target account obtains contract private key based on the contract private key
Signature and contract public key, the contract private key are sent by first account and obtained.
9. a kind of resource transfers device, it is characterised in that described device includes:
Receiving module, the resource transfers request for receiving the first account, the resource transfers ask to be used to ask described the
The resource transfers of one account are to target account;
Module is synthetically generated, for generating the first contract, first contract is used for the resource transfers for indicating first account
Condition;
Block generation module, for based on the first block in first contract, resource transfers request and block chain
Block head characteristic value, generates the second block, and first block is a upper block for second block on the block chain,
Second block is used to record this resource transfers request event;
Resource transfers module, for when meeting the resource transfers condition that first contract is indicated, based on first contract
Carry out resource transfers.
10. device according to claim 9, it is characterised in that the resource transfers module is used for:
Receive the confirmation resource transfers message of the second account;
If the authentication of second account passes through, and the confirmation resource transfers message is matched with first contract,
Second account is defined as the target account, the target account is transferred to the target account based on first contract
The corresponding resource transfers number in family.
11. device according to claim 9, it is characterised in that the resource transfers module is used for:
Receive the refusal resource transfers message of the second account;
If the authentication of second account passes through, and the refusal resource transfers message is matched with first contract,
Based on first contract, second account is defined as the target account, the target is retracted to first account
The corresponding resource transfers number of account.
12. device according to claim 9, it is characterised in that the resource transfers module is used for:
When detecting first contract and reaching the expiration time of first contract, based on first contract, to described
First account retracts the resource transfers number in first contract.
13. device according to claim 9, it is characterised in that described device also includes:
Contract update module, for updating first contract, the first contract after renewal is used to indicate first account
Surplus resources jump condition;
The block generation module, the first contract after being additionally operable to based on renewal, trigger the interaction message of this resource transfers with
And in the block chain the 3rd block block head characteristic value, generate the 4th block, the 3rd block be the block chain on
A upper block for 4th block, the 4th block is used to record this resource transfers completion event.
14. a kind of computer-readable recording medium, it is characterised in that be stored with least one instruction in the storage medium, institute
Instruction is stated to be loaded as processor and performed to realize the method as any one of claim 1 to claim 8.
15. a kind of server, it is characterised in that the server includes being stored with processor and memory, the memory
At least one instruction, the instruction is loaded by the processor and performed to realize as any in claim 1 to claim 8
Method described in.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710344407.XA CN107220820B (en) | 2017-05-16 | 2017-05-16 | Resource transfers method, apparatus and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710344407.XA CN107220820B (en) | 2017-05-16 | 2017-05-16 | Resource transfers method, apparatus and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107220820A true CN107220820A (en) | 2017-09-29 |
CN107220820B CN107220820B (en) | 2019-10-01 |
Family
ID=59944049
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710344407.XA Active CN107220820B (en) | 2017-05-16 | 2017-05-16 | Resource transfers method, apparatus and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107220820B (en) |
Cited By (34)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107707410A (en) * | 2017-10-26 | 2018-02-16 | 上海点融信息科技有限责任公司 | Configure method, information processor and the readable storage medium storing program for executing of system audit service |
CN107730261A (en) * | 2017-10-18 | 2018-02-23 | 维沃移动通信有限公司 | A kind of resource transfers method and relevant device |
CN107944285A (en) * | 2017-11-30 | 2018-04-20 | 深圳市轱辘车联数据技术有限公司 | The method of commerce and device of a kind of unique right to use of data message |
CN108322465A (en) * | 2018-01-31 | 2018-07-24 | 腾讯科技(深圳)有限公司 | Resource sharing, request, processing method, device, storage medium and equipment |
CN108335206A (en) * | 2018-02-14 | 2018-07-27 | 阿里巴巴集团控股有限公司 | Assets management method and device, electronic equipment |
CN108550003A (en) * | 2018-03-21 | 2018-09-18 | 北京三六五八网络科技有限公司 | The data processing method and device traced to the source based on agricultural product |
CN108734583A (en) * | 2018-05-21 | 2018-11-02 | 深圳市梵高夫科技有限公司 | Resource data management method, system, core node and storage medium |
CN109011583A (en) * | 2018-05-28 | 2018-12-18 | 腾讯科技(深圳)有限公司 | virtual resource transfer method and device, storage medium and electronic device |
CN109102299A (en) * | 2018-08-01 | 2018-12-28 | 腾讯科技(深圳)有限公司 | Resource transfers data managing method, device and storage medium |
CN109388957A (en) * | 2018-09-26 | 2019-02-26 | 腾讯科技(深圳)有限公司 | Information transfer method, device, medium and electronic equipment based on block chain |
CN109493019A (en) * | 2018-11-07 | 2019-03-19 | 四川长虹电器股份有限公司 | A kind of account method of commerce and device based on block chain |
CN109559228A (en) * | 2018-11-29 | 2019-04-02 | 腾讯科技(深圳)有限公司 | Resource transfers method, apparatus, computer equipment and readable storage medium storing program for executing |
CN109598142A (en) * | 2018-12-05 | 2019-04-09 | 腾讯科技(深圳)有限公司 | Credits voucher generation method, device, electronic equipment and storage medium |
CN109615516A (en) * | 2018-12-05 | 2019-04-12 | 腾讯科技(深圳)有限公司 | Resource transfers method, apparatus, electronic equipment and storage medium |
CN109617861A (en) * | 2018-11-20 | 2019-04-12 | 北京小米移动软件有限公司 | A kind of business account management method and system based on block chain |
CN109615515A (en) * | 2018-12-05 | 2019-04-12 | 腾讯科技(深圳)有限公司 | Credits voucher transfer method, device, electronic equipment and storage medium |
CN109729041A (en) * | 2017-10-27 | 2019-05-07 | 上海策赢网络科技有限公司 | A kind of publication of encrypted content and acquisition methods and device |
CN109741052A (en) * | 2019-01-28 | 2019-05-10 | 杭州复杂美科技有限公司 | Red packet processing method, equipment and storage medium |
CN109754321A (en) * | 2018-12-27 | 2019-05-14 | 石更箭数据科技(上海)有限公司 | A kind of data processing method and its device, medium, terminal |
WO2019153506A1 (en) * | 2018-02-07 | 2019-08-15 | 平安科技(深圳)有限公司 | Provident fund transferring method, computer readable storage medium, terminal device and apparatus |
CN110363512A (en) * | 2019-07-12 | 2019-10-22 | 上海唯链信息科技有限公司 | The processing of block chain red packet creates, gets method and apparatus, medium and computer program |
CN110648127A (en) * | 2019-08-13 | 2020-01-03 | 平安普惠企业管理有限公司 | Resource transfer method, device, computer equipment and storage medium |
CN110766406A (en) * | 2019-09-30 | 2020-02-07 | 腾讯科技(深圳)有限公司 | Resource transfer method, resource transfer device, storage medium, and electronic apparatus |
CN110910135A (en) * | 2019-10-29 | 2020-03-24 | 腾讯科技(深圳)有限公司 | Application resource transfer method and device, electronic equipment and storage medium |
WO2020082769A1 (en) * | 2018-10-23 | 2020-04-30 | 腾讯科技(深圳)有限公司 | Message exchange method and apparatus, storage medium and electronic apparatus |
CN111309812A (en) * | 2020-03-11 | 2020-06-19 | 深圳市网心科技有限公司 | Block chain based mail transmission method and related equipment |
US10691673B2 (en) | 2018-02-14 | 2020-06-23 | Alibaba Group Holding Limited | Asset management system, method, apparatus, and electronic device |
CN111773664A (en) * | 2020-07-10 | 2020-10-16 | 网易(杭州)网络有限公司 | Game data processing method and device, storage medium and electronic device |
CN112365260A (en) * | 2020-10-27 | 2021-02-12 | 北京五八信息技术有限公司 | Resource transfer method, device, electronic equipment and storage medium |
US11055279B2 (en) | 2018-02-14 | 2021-07-06 | Advanced New Technologies Co., Ltd. | Asset management method and apparatus, and electronic device |
WO2021147589A1 (en) * | 2020-01-21 | 2021-07-29 | 支付宝(杭州)信息技术有限公司 | Subscription method, apparatus and device |
CN113222577A (en) * | 2021-05-25 | 2021-08-06 | 杭州复杂美科技有限公司 | Delayed transfer method, computer device and storage medium |
US11218325B2 (en) | 2018-02-14 | 2022-01-04 | Advanced New Technologies Co., Ltd. | Asset management method and apparatus, and electronic device |
US11270306B2 (en) | 2018-02-14 | 2022-03-08 | Advanced New Technologies Co., Ltd. | Asset management method and apparatus, and electronic device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105809062A (en) * | 2016-03-01 | 2016-07-27 | 布比(北京)网络技术有限公司 | Contract construction and execution methods and apparatuses |
CN106407430A (en) * | 2016-09-27 | 2017-02-15 | 北京天德科技有限公司 | Complex and intelligent contract state synchronization method based on phase buckets |
CN106656839A (en) * | 2016-10-20 | 2017-05-10 | 财付通支付科技有限公司 | Resource transfer method and apparatus |
-
2017
- 2017-05-16 CN CN201710344407.XA patent/CN107220820B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105809062A (en) * | 2016-03-01 | 2016-07-27 | 布比(北京)网络技术有限公司 | Contract construction and execution methods and apparatuses |
CN106407430A (en) * | 2016-09-27 | 2017-02-15 | 北京天德科技有限公司 | Complex and intelligent contract state synchronization method based on phase buckets |
CN106656839A (en) * | 2016-10-20 | 2017-05-10 | 财付通支付科技有限公司 | Resource transfer method and apparatus |
Cited By (64)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107730261A (en) * | 2017-10-18 | 2018-02-23 | 维沃移动通信有限公司 | A kind of resource transfers method and relevant device |
CN107730261B (en) * | 2017-10-18 | 2021-01-08 | 维沃移动通信有限公司 | Resource transfer method and related equipment |
CN107707410A (en) * | 2017-10-26 | 2018-02-16 | 上海点融信息科技有限责任公司 | Configure method, information processor and the readable storage medium storing program for executing of system audit service |
CN107707410B (en) * | 2017-10-26 | 2021-04-27 | 上海点融信息科技有限责任公司 | Method for configuring system audit service, information processing device and readable storage medium |
CN109729041A (en) * | 2017-10-27 | 2019-05-07 | 上海策赢网络科技有限公司 | A kind of publication of encrypted content and acquisition methods and device |
CN109729041B (en) * | 2017-10-27 | 2022-03-18 | 上海策赢网络科技有限公司 | Method and device for issuing and acquiring encrypted content |
CN107944285A (en) * | 2017-11-30 | 2018-04-20 | 深圳市轱辘车联数据技术有限公司 | The method of commerce and device of a kind of unique right to use of data message |
CN107944285B (en) * | 2017-11-30 | 2019-12-10 | 深圳市轱辘汽车维修技术有限公司 | Transaction method, device, server and readable storage medium for unique use right of data information |
CN108322465A (en) * | 2018-01-31 | 2018-07-24 | 腾讯科技(深圳)有限公司 | Resource sharing, request, processing method, device, storage medium and equipment |
CN108322465B (en) * | 2018-01-31 | 2021-09-24 | 腾讯科技(深圳)有限公司 | Resource sharing, requesting and processing method and device, storage medium and equipment |
CN110351284A (en) * | 2018-01-31 | 2019-10-18 | 腾讯科技(深圳)有限公司 | Resource sharing method, resource sharing device, storage medium and equipment |
WO2019153506A1 (en) * | 2018-02-07 | 2019-08-15 | 平安科技(深圳)有限公司 | Provident fund transferring method, computer readable storage medium, terminal device and apparatus |
US11106655B2 (en) | 2018-02-14 | 2021-08-31 | Advanced New Technologies Co., Ltd. | Asset management system, method, apparatus, and electronic device |
US10691675B2 (en) | 2018-02-14 | 2020-06-23 | Alibaba Group Holding Limited | Asset management system, method, apparatus, and electronic device |
US11055279B2 (en) | 2018-02-14 | 2021-07-06 | Advanced New Technologies Co., Ltd. | Asset management method and apparatus, and electronic device |
US11468048B2 (en) | 2018-02-14 | 2022-10-11 | Advanced New Technologies Co., Ltd. | Asset management method and apparatus, and electronic device |
US11334560B2 (en) | 2018-02-14 | 2022-05-17 | Advanced New Technologies Co., Ltd. | Asset management method and apparatus, and electronic device |
US11321308B2 (en) | 2018-02-14 | 2022-05-03 | Advanced New Technologies Co., Ltd. | Asset management method and apparatus, and electronic device |
US11290281B2 (en) | 2018-02-14 | 2022-03-29 | Advanced New Technologies Co., Ltd. | Asset management method and apparatus, and electronic device |
CN108335206B (en) * | 2018-02-14 | 2020-12-22 | 创新先进技术有限公司 | Asset management method and device and electronic equipment |
US10789244B1 (en) | 2018-02-14 | 2020-09-29 | Alibaba Group Holding Limited | Asset management system, method, apparatus, and electronic device |
CN108335206A (en) * | 2018-02-14 | 2018-07-27 | 阿里巴巴集团控股有限公司 | Assets management method and device, electronic equipment |
US10691673B2 (en) | 2018-02-14 | 2020-06-23 | Alibaba Group Holding Limited | Asset management system, method, apparatus, and electronic device |
US11270306B2 (en) | 2018-02-14 | 2022-03-08 | Advanced New Technologies Co., Ltd. | Asset management method and apparatus, and electronic device |
US11218325B2 (en) | 2018-02-14 | 2022-01-04 | Advanced New Technologies Co., Ltd. | Asset management method and apparatus, and electronic device |
US11144540B2 (en) | 2018-02-14 | 2021-10-12 | Advanced New Technologies Co., Ltd. | Asset management method and apparatus, and electronic device |
CN108550003A (en) * | 2018-03-21 | 2018-09-18 | 北京三六五八网络科技有限公司 | The data processing method and device traced to the source based on agricultural product |
CN108734583A (en) * | 2018-05-21 | 2018-11-02 | 深圳市梵高夫科技有限公司 | Resource data management method, system, core node and storage medium |
CN109011583A (en) * | 2018-05-28 | 2018-12-18 | 腾讯科技(深圳)有限公司 | virtual resource transfer method and device, storage medium and electronic device |
CN109102299A (en) * | 2018-08-01 | 2018-12-28 | 腾讯科技(深圳)有限公司 | Resource transfers data managing method, device and storage medium |
CN111008839B (en) * | 2018-08-01 | 2021-09-14 | 腾讯科技(深圳)有限公司 | Resource transfer data management method, device and storage medium |
CN111008839A (en) * | 2018-08-01 | 2020-04-14 | 腾讯科技(深圳)有限公司 | Resource transfer data management method, device and storage medium |
CN109388957A (en) * | 2018-09-26 | 2019-02-26 | 腾讯科技(深圳)有限公司 | Information transfer method, device, medium and electronic equipment based on block chain |
CN109388957B (en) * | 2018-09-26 | 2021-06-04 | 腾讯科技(深圳)有限公司 | Block chain-based information transfer method, device, medium and electronic equipment |
WO2020082769A1 (en) * | 2018-10-23 | 2020-04-30 | 腾讯科技(深圳)有限公司 | Message exchange method and apparatus, storage medium and electronic apparatus |
CN109493019A (en) * | 2018-11-07 | 2019-03-19 | 四川长虹电器股份有限公司 | A kind of account method of commerce and device based on block chain |
CN109617861B (en) * | 2018-11-20 | 2021-07-23 | 北京小米移动软件有限公司 | Business account management method and system based on block chain |
CN109617861A (en) * | 2018-11-20 | 2019-04-12 | 北京小米移动软件有限公司 | A kind of business account management method and system based on block chain |
CN109559228B (en) * | 2018-11-29 | 2021-06-11 | 腾讯科技(深圳)有限公司 | Resource transfer method, device, computer equipment and readable storage medium |
CN109559228A (en) * | 2018-11-29 | 2019-04-02 | 腾讯科技(深圳)有限公司 | Resource transfers method, apparatus, computer equipment and readable storage medium storing program for executing |
CN109615516B (en) * | 2018-12-05 | 2021-04-16 | 腾讯科技(深圳)有限公司 | Resource transfer method, device, electronic equipment and storage medium |
CN109615515A (en) * | 2018-12-05 | 2019-04-12 | 腾讯科技(深圳)有限公司 | Credits voucher transfer method, device, electronic equipment and storage medium |
CN109598142A (en) * | 2018-12-05 | 2019-04-09 | 腾讯科技(深圳)有限公司 | Credits voucher generation method, device, electronic equipment and storage medium |
CN109615515B (en) * | 2018-12-05 | 2021-08-24 | 腾讯科技(深圳)有限公司 | Credit right certificate transfer method, device, electronic equipment and storage medium |
CN109615516A (en) * | 2018-12-05 | 2019-04-12 | 腾讯科技(深圳)有限公司 | Resource transfers method, apparatus, electronic equipment and storage medium |
CN109598142B (en) * | 2018-12-05 | 2022-02-22 | 腾讯科技(深圳)有限公司 | Credit right certificate generation method and device, electronic equipment and storage medium |
WO2020114266A1 (en) * | 2018-12-05 | 2020-06-11 | 腾讯科技(深圳)有限公司 | Resource transfer method and apparatus, electronic device, and storage medium |
CN109754321B (en) * | 2018-12-27 | 2022-02-11 | 石更箭数据科技(上海)有限公司 | Data processing method and device, medium and terminal thereof |
CN109754321A (en) * | 2018-12-27 | 2019-05-14 | 石更箭数据科技(上海)有限公司 | A kind of data processing method and its device, medium, terminal |
CN109741052A (en) * | 2019-01-28 | 2019-05-10 | 杭州复杂美科技有限公司 | Red packet processing method, equipment and storage medium |
CN110363512A (en) * | 2019-07-12 | 2019-10-22 | 上海唯链信息科技有限公司 | The processing of block chain red packet creates, gets method and apparatus, medium and computer program |
CN110363512B (en) * | 2019-07-12 | 2022-12-20 | 上海唯链信息科技有限公司 | Processing, creating and getting method and device for block chain red packet, medium and computer program |
CN110648127B (en) * | 2019-08-13 | 2023-10-31 | 盛银数科(沈阳)技术有限公司 | Resource transfer method, device, computer equipment and storage medium |
CN110648127A (en) * | 2019-08-13 | 2020-01-03 | 平安普惠企业管理有限公司 | Resource transfer method, device, computer equipment and storage medium |
CN110766406B (en) * | 2019-09-30 | 2024-03-15 | 腾讯科技(深圳)有限公司 | Resource transfer method, resource transfer device, storage medium and electronic equipment |
CN110766406A (en) * | 2019-09-30 | 2020-02-07 | 腾讯科技(深圳)有限公司 | Resource transfer method, resource transfer device, storage medium, and electronic apparatus |
CN110910135A (en) * | 2019-10-29 | 2020-03-24 | 腾讯科技(深圳)有限公司 | Application resource transfer method and device, electronic equipment and storage medium |
WO2021147589A1 (en) * | 2020-01-21 | 2021-07-29 | 支付宝(杭州)信息技术有限公司 | Subscription method, apparatus and device |
CN111309812A (en) * | 2020-03-11 | 2020-06-19 | 深圳市网心科技有限公司 | Block chain based mail transmission method and related equipment |
WO2022007394A1 (en) * | 2020-07-10 | 2022-01-13 | 网易(杭州)网络有限公司 | Game data processing method and apparatus, and storage medium and electronic apparatus |
CN111773664A (en) * | 2020-07-10 | 2020-10-16 | 网易(杭州)网络有限公司 | Game data processing method and device, storage medium and electronic device |
CN111773664B (en) * | 2020-07-10 | 2021-07-27 | 网易(杭州)网络有限公司 | Game data processing method and device, storage medium and electronic device |
CN112365260A (en) * | 2020-10-27 | 2021-02-12 | 北京五八信息技术有限公司 | Resource transfer method, device, electronic equipment and storage medium |
CN113222577A (en) * | 2021-05-25 | 2021-08-06 | 杭州复杂美科技有限公司 | Delayed transfer method, computer device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107220820B (en) | 2019-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107220820A (en) | Resource transfers method, device and storage medium | |
CN111464518B (en) | Method and device for sending and verifying cross-link communication data | |
CN103580872B (en) | A kind of system and method generating for key and managing | |
CN100566251C (en) | A kind of trusted network connection method that strengthens fail safe | |
CN111130808B (en) | Cross-chain asset mapping method and system for block chain | |
US20180053182A1 (en) | Dynamic cryptocurrency aliasing | |
CN106161032A (en) | A kind of identity authentication method and device | |
CN109542888A (en) | The data modification and synchronous method of block chain, device, equipment and storage medium | |
CN104363207B (en) | Multiple-factor strengthens safely authorization and identification method | |
CN106503589A (en) | The method of calibration of block chain Transaction Information correctness, apparatus and system | |
CN108876365A (en) | A kind of intelligent contract generating block issue mechanism | |
CN110175840A (en) | Method, client, alliance's chain and the system of light wallet mechanism are realized in alliance's chain | |
CN109587238A (en) | The data processing of block chain and synchronous method, device, equipment and storage medium | |
CN113746858B (en) | Cross-chain communication method based on verifiable random function | |
CN109756893A (en) | A kind of intelligent perception Internet of Things anonymous authentication method based on chaotic maps | |
EP3659060B1 (en) | Consensus protocol for permissioned ledgers | |
US11102006B2 (en) | Blockchain intelligent security implementation | |
US10693643B2 (en) | Methods and systems for distributed cryptographically secured data validation | |
CN113259135B (en) | Lightweight blockchain communication authentication device and method for detecting data tamper | |
CN111709749A (en) | Traceable blockchain transaction system with conditional privacy protection | |
CN101340289A (en) | Replay attack preventing method and method thereof | |
CN109660359A (en) | Generate the method, equipment and the method for generating the credible address of HD wallet of HD wallet business card | |
Asfia et al. | A blockchain construct for energy trading against sybil attacks | |
CN111865595A (en) | Block chain consensus method and device | |
CN109862006A (en) | A kind of block catenary system cut-in method, apparatus and system |
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 |