CN109011583A - virtual resource transfer method and device, storage medium and electronic device - Google Patents

virtual resource transfer method and device, storage medium and electronic device Download PDF

Info

Publication number
CN109011583A
CN109011583A CN201810525480.1A CN201810525480A CN109011583A CN 109011583 A CN109011583 A CN 109011583A CN 201810525480 A CN201810525480 A CN 201810525480A CN 109011583 A CN109011583 A CN 109011583A
Authority
CN
China
Prior art keywords
virtual resource
destination virtual
key
account
block chain
Prior art date
Application number
CN201810525480.1A
Other languages
Chinese (zh)
Inventor
周小芳
胡利明
王慧星
Original Assignee
腾讯科技(深圳)有限公司
腾讯云计算(北京)有限责任公司
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 腾讯科技(深圳)有限公司, 腾讯云计算(北京)有限责任公司 filed Critical 腾讯科技(深圳)有限公司
Priority to CN201810525480.1A priority Critical patent/CN109011583A/en
Publication of CN109011583A publication Critical patent/CN109011583A/en

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/79Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/85Providing additional services to players
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for supporting authentication of entities communicating through a packet data network
    • H04L63/0815Network architectures or network communication protocols for network security for supporting authentication of entities communicating through a packet data network providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communication
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0819Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/55Details of game data or player data management
    • A63F2300/5546Details of game data or player data management using player registration data, e.g. identification, account, preferences, game history
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/57Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of game services offered to the player

Abstract

The invention discloses a kind of virtual resource transfer method and devices, storage medium and electronic device.Wherein, this method comprises: obtaining virtual resource allocation request by block chain, wherein, carried in virtual resource allocation request the resource identification of destination virtual resource to be transferred on block chain, target account for obtaining destination virtual resource account information and be used to indicate the transfering state condition for executing the virtual resource that diverts the aim;Virtual resource allocation request is responded, the key to match with destination virtual resource is generated on block chain, and key is sent to target account;In the case where reaching transfering state condition, notice target account obtains shifted destination virtual resource using key.The present invention solves the lower technical problem of the transfer safety existing when being transferred of the virtual resource in terminal applies.

Description

Virtual resource transfer method and device, storage medium and electronic device

Technical field

The present invention relates to computer fields, in particular to a kind of virtual resource transfer method and device, storage medium And electronic device.

Background technique

During the operation of many terminal applies, it will usually generate some immaterial void to match with user account Quasi- resource, for example, the equipment etc. that empirical value, the user account that the user account long-term accumulation obtains have been bought.But due to upper It states virtual resource and depends on terminal applies, thus, when the terminal applies are no longer used, above-mentioned virtual resource also tends to can quilt Forget, or in application developers logging off users account, can also eliminate virtual resource corresponding with the user account simultaneously.

That is, often being lost over time in terminal applies with the matched virtual resource of user account Or it is eliminated.In order to avoid the above problem, it usually will can be used to obtain the access authority information of virtual resource, direct-on-line at present Under pass to receive user.However, above-mentioned access authority information is easy to be stolen in transmittance process, so as to cause that can not protect The problem of demonstrate,proving safety of the virtual resource in transfer.

For above-mentioned problem, currently no effective solution has been proposed.

Summary of the invention

The embodiment of the invention provides a kind of virtual resource transfer method and devices, storage medium and electronic device, so that The lower technical problem of the transfer safety existing when being transferred of the virtual resource in terminal applies is solved less.

According to an aspect of an embodiment of the present invention, a kind of virtual resource transfer method is provided, comprising: pass through block chain Obtain virtual resource allocation request, wherein carry mesh to be transferred on above-mentioned block chain in above-mentioned virtual resource allocation request It marks the resource identification of virtual resource, the account information of target account for obtaining above-mentioned destination virtual resource and is used to indicate and hold Row shifts the transfering state condition of above-mentioned destination virtual resource;Above-mentioned virtual resource allocation request is responded, on above-mentioned block chain The key to match with above-mentioned destination virtual resource is generated, and above-mentioned key is sent to above-mentioned target account;It is above-mentioned reaching In the case where transfering state condition, above-mentioned target account is notified to obtain the above-mentioned destination virtual shifted using above-mentioned key and provide Source.

According to another aspect of an embodiment of the present invention, a kind of virtual resource transfer method is additionally provided, comprising: obtain in area The key generated to match with destination virtual resource to be transferred on block chain;Receive notification message, wherein above-mentioned notice disappears Breath is used to indicate above-mentioned destination virtual resource and has reached the transfering state condition for executing transfer, is reaching above-mentioned transfering state condition In the case where, above-mentioned destination virtual resource will be configured with transfer permission;Above-mentioned destination virtual resource is obtained using above-mentioned key.

Another aspect according to an embodiment of the present invention additionally provides a kind of virtual resource transfer device, comprising: obtains single Member, for obtaining virtual resource allocation request by block chain, wherein carry above-mentioned area in above-mentioned virtual resource allocation request The account of the resource identification of destination virtual resource to be transferred on block chain, the target account for obtaining above-mentioned destination virtual resource Information and the transfering state condition for being used to indicate the above-mentioned destination virtual resource of execution transfer;Generation unit, for responding above-mentioned void Quasi- resource allocation request, generates the key to match with above-mentioned destination virtual resource on above-mentioned block chain, and by above-mentioned key It is sent to above-mentioned target account;Notification unit, in the case where reaching above-mentioned transfering state condition, notifying above-mentioned target account Number the above-mentioned destination virtual resource that is shifted is obtained using above-mentioned key.

Another aspect according to an embodiment of the present invention additionally provides a kind of virtual resource transfer device, comprising: first obtains Unit, for obtaining the key generated to match with destination virtual resource to be transferred on block chain;Receiving unit is used In reception notification message, wherein above-mentioned notification message is used to indicate above-mentioned destination virtual resource and has reached the transfer for executing transfer Status condition, in the case where reaching above-mentioned transfering state condition, above-mentioned destination virtual resource will be configured with transfer permission;Second Acquiring unit, for obtaining above-mentioned destination virtual resource using above-mentioned key.

Another aspect according to an embodiment of the present invention, additionally provides a kind of storage medium, and meter is stored in the storage medium Calculation machine program, wherein the computer program is arranged to execute above-mentioned virtual resource transfer method when operation.

Another aspect according to an embodiment of the present invention, additionally provides a kind of electronic device, including memory, processor and deposits Store up the computer program that can be run on a memory and on a processor, wherein above-mentioned processor passes through computer program and executes Above-mentioned virtual resource transfer method.

In embodiments of the present invention, block chain is introduced to realize the transfer of virtual resource.It is obtained using by block chain Virtual resource allocation request;Above-mentioned virtual resource allocation request is responded, generates on above-mentioned block chain and is provided with above-mentioned destination virtual The key that source matches, and above-mentioned key is sent to above-mentioned target account;In the case where reaching above-mentioned transfering state condition, Above-mentioned target account is notified to obtain the method for above-mentioned destination virtual resource shifted using above-mentioned key, so as to will be virtual Resource is stored on block chain, and after reaching transfering state condition, and target account is notified to obtain destination virtual resource, is protected The safety of virtual resource is demonstrate,proved.And then solves the transfer safety existing when being transferred of the virtual resource in terminal applies The lower technical problem of property.Simultaneously as controlling the transfer of virtual resource using block chain, it ensure that virtual resource is reaching It can be transferred in the case where the transfering state condition of virtual resource, realize the recycling of virtual resource, to improve The utilization rate of virtual resource avoids the waste of virtual resource.

Detailed description of the invention

The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:

Fig. 1 is a kind of schematic diagram of the application environment of optional virtual resource transfer method according to an embodiment of the present invention;

Fig. 2 is a kind of flow diagram of optional virtual resource transfer method according to an embodiment of the present invention;

Fig. 3 is a kind of schematic diagram of optional virtual resource transfer method according to an embodiment of the present invention;

Fig. 4 is the schematic diagram of another optional virtual resource transfer method according to an embodiment of the present invention;

Fig. 5 is the schematic diagram of another optional virtual resource transfer method according to an embodiment of the present invention;

Fig. 6 is the schematic diagram of another optional virtual resource transfer method according to an embodiment of the present invention;

Fig. 7 is the flow chart of another optional virtual resource transfer method according to an embodiment of the present invention;

Fig. 8 is the schematic diagram of another optional virtual resource transfer method according to an embodiment of the present invention;

Fig. 9 is a kind of structural schematic diagram of optional virtual resource transfer device according to an embodiment of the present invention;

Figure 10 is the structural schematic diagram of another optional virtual resource transfer device according to an embodiment of the present invention;

Figure 11 is a kind of structural schematic diagram of optional electronic device according to an embodiment of the present invention.

Specific embodiment

In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.

It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.

According to an aspect of an embodiment of the present invention, a kind of virtual resource transfer method is provided, as a kind of optional Embodiment, above-mentioned virtual resource transfer method can be, but not limited to be applied in environment as shown in Figure 1.Terminal 102 passes through Block chain obtains virtual resource allocation request, wherein carries target to be transferred on block chain in virtual resource allocation request The resource identification of virtual resource, target account for obtaining destination virtual resource account information and be used to indicate and execute transfer The transfering state condition of destination virtual resource, after getting resource transfers request, terminal 102 passes through network 104 to server 106 send checking request, verify virtual resource.In the case where virtual resource complies with standard, response virtual resource allocation request, The key to match with destination virtual resource is generated on block chain, and key is sent to target account, is reaching transfer shape In the case where state condition, terminal 102 notifies the target account in terminal 108 to obtain shifted destination virtual using key and provide Source.Target account in terminal 108 obtain on block chain it is generated match with destination virtual resource to be transferred it is close Key, upon receiving the notification message, the target account in terminal 108 obtain shifted destination virtual resource using key, and Pass through destination virtual resource login service device 106.

It should be noted that in the present embodiment, obtaining virtual resource allocation request by block chain, wherein virtual money The resource identification of destination virtual resource to be transferred on block chain is carried in the distribution request of source, for obtaining destination virtual resource Target account account information and be used to indicate and execute the transfering state condition of virtual resource of diverting the aim;Respond virtual resource Distribution request generates the key to match with destination virtual resource on block chain, and key is sent to target account;It is reaching In the case where transfering state condition, the method that notice target account obtains shifted destination virtual resource using key, from And virtual resource can be stored on block chain, and after reaching transfering state condition, notify target account to obtain mesh Virtual resource is marked, ensure that the safety of virtual resource.Simultaneously as the transfer of virtual resource is controlled using block chain, It ensure that virtual resource can be transferred in the case where reaching the transfering state condition of virtual resource, realize virtual resource Recycling, to improve the utilization rate of virtual resource, avoids the waste of virtual resource.

Optionally, above-mentioned virtual resource transfer method can be, but not limited in the terminal for being applied to support block chain, such as In the terminals such as mobile phone, tablet computer, laptop, PC machine, above-mentioned network can include but is not limited to wireless network or wired Network.Wherein, which includes: the network of bluetooth, WIFI and other realization wireless communications.Above-mentioned cable network can wrap It includes but is not limited to: wide area network, Metropolitan Area Network (MAN), local area network.Above-mentioned server can include but is not limited to any to carry out calculating clothes The hardware device of business.

Optionally, as an alternative embodiment, as shown in Fig. 2, above-mentioned virtual resource transfer method may include:

S202 obtains virtual resource allocation request by block chain, wherein carry block in virtual resource allocation request The resource identification of destination virtual resource to be transferred on chain, the target account for obtaining destination virtual resource account information and It is used to indicate the transfering state condition for executing the virtual resource that diverts the aim;

S204, response virtual resource allocation request, generates the key to match with destination virtual resource on block chain, and Key is sent to target account;

S206, in the case where reaching transfering state condition, notice target account obtains shifted target using key Virtual resource.

Optionally, above-mentioned virtual resource transfer method can be, but not limited in the scene for being applied to inherit virtual resource.Example Such as, game account resource is shifted, using fictitious assets etc..

Above-mentioned destination virtual resource can be, but not limited to as the fictitious assets in virtual world, for example, account number cipher information, Account grade, whether member, membership grade, Role Information, role hierarchy, equipment, empirical value, pet, stage property etc. in account.

It is illustrated for shifting game account resource below.Above-mentioned destination virtual assets are the account of game and close Code, above-mentioned resource identification are block-identified, the transfering state condition of above-mentioned resource for the block chain that the account number cipher of game is stored in It is one month.

It is logged in block chain by the account number cipher of the block chain of registration, and gets virtual resource allocation request.It is empty The block chain of the account for needing the game shifted and password and the deposit of above-mentioned account number cipher is carried in quasi- resource allocation request Take table to identify.Above-mentioned virtual resource allocation request is responded, the account number cipher and deposit of generation and game on block chain Block-identified corresponding key, and key is sent to the target account for needing to inherit the account number cipher of above-mentioned game.Passing through After one month, transfering state condition is reached, has automatically generated notification message notice target account using key and obtain game Account and password.

It should be noted that virtual resource can be stored on block chain, and reaching transfer shape by the above method After state condition, notifies target account to obtain destination virtual resource, ensure that the safety of virtual resource.Simultaneously as adopting The transfer that virtual resource is controlled with block chain ensure that virtual resource the transfering state condition for reaching virtual resource the case where Under can be transferred, realize the recycling of virtual resource, to improve the utilization rate of virtual resource, avoid virtual money The waste in source.

Optionally, obtaining virtual resource allocation request by block chain includes: to obtain the destination virtual for being uploaded to block chain Resource;In block chain, it is retrieved as the transfering state parameter that destination virtual resource is configured, wherein wrap in transfering state parameter Include: the account information of transfering state condition, target account, transfering state condition include at least: transfer time;According to transfering state Parameter generates virtual resource allocation request.

Optionally, above-mentioned transfer time can be a period, or a time point.For example, at one month After divert the aim virtual resource, or some be the virtual resource that diverts the aim at some time point as scheduled.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.As shown in figure 3, in transfer game Account number cipher when, selection will shift account 1, while inputting target account is cell-phone number, stipulated that transfer time is At 6 points in the morning on April 24th, 2018.After clicking confirming button, it is determined that generate virtual resource allocation request.It is shifted reaching After time, then sent and the resource matched key of destination virtual to target account.

Optionally, response virtual resource allocation request, generates the key to match with destination virtual resource on block chain It include: according to destination virtual resource, the account information and transfering state condition of target account generate key.

Optionally, above-mentioned key can be combination or the character and the combination of code etc. of any character.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.Such as, it needs to shift account 1, then obtains Get needs and the matched number of account 1 to be shifted, such as 1001.Then the account information of target account, account information are obtained It can be the corresponding number information of account, such as 1002, and get the transfering state condition of transfer, can be indicated with the time, Such as 20180101.Then by above- mentioned information, key is got, key can be indicated in the form of three-stage, such as: 1001200801011002。

Optionally, obtaining and being uploaded to the destination virtual resource of block chain includes: to obtain the destination virtual for being uploaded to block chain Resource includes: register account number of the registration for the virtual resource that diverts the aim on block chain;Obtain the mesh that register account number is uploaded Mark virtual resource;To the application system server transmission checking request for using destination virtual resource;Receiving application system clothes In the case that the verification result instruction destination virtual resource that device returns of being engaged in is efficient resource, by destination virtual resource according to key-value pair Format store into block chain.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.Game is being uploaded to block chain Before account number cipher, need first to register the account and password for logging in block chain.Account and password login area by registration Block chain.Meanwhile before the account number cipher of game is stored in block chain, it is also necessary to destination virtual resource is verified, in order to avoid Destination virtual resource is simultaneously not present.In verifying, checking request is sent to the application system server of game, and receive using system The verification result that server of uniting returns just will trip in the case where the account number cipher of verification result instruction game is efficient resource In the account number cipher deposit block chain of play.

It optionally, can be in a manner of key-value pair by the account of game when the account number cipher of game is stored in block chain Password is stored in block chain.

Optionally, in the case where reaching transfering state condition, notice target account obtains shifted mesh using key Mark virtual resource includes: in the case where reaching transfer time, and determination reaches transfering state condition;Reaching transfering state condition In the case where, automatically generate notification message, wherein notification message is used to that target account to be notified to obtain shifted mesh using key Mark virtual resource;Notification message is sent to target account according to advice method indicated in transfering state parameter.

Optionally, above-mentioned notification message can be any message that can carry key.For example, can be email message, The prompting message etc. of short message, conversation message or other forms.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.As shown in figure 4, due to target account Number be cell-phone number, therefore, when sending a notification message to target account, notification message is short message.As it can be seen that the terminal in receiving end The place of short massage notice message have the notification message of short message form, carry key information in notification message.

It optionally, can be there are two types of situation after obtaining virtual resource allocation request by block chain:

(1) destination virtual resource is adjusted to frozen state from operating status, wherein destination virtual resource is in operating status Lower permission is modified, and destination virtual resource is prohibited to modify in the frozen state;Institute is obtained using key in notice target account After the destination virtual resource of transfer, and in the case where target account gets destination virtual resource, destination virtual resource is extensive Again to operating status.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.It is deposited by the account number cipher of game After entering block chain, the account number cipher of game is adjusted to frozen state.In the frozen state, the account number cipher of game can not be stepped on Land is into game.And after sending a notification message to target account, the account number cipher of game is restored to operating status, is restored to After operating status, the account number cipher of game can be logged in game.

(2) destination virtual resource is maintained at operating status, wherein destination virtual resource allows to be repaired under operation Change;It includes: that target account is notified to obtain using key that notice target account, which obtains shifted destination virtual resource using key, By modified destination virtual resource.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.It is deposited by the account number cipher of game After entering block chain, the account number cipher of game can also be used.In the process, if what the account number cipher of game was protected Game information is changed, then after target account gets the account number cipher of game, the account number cipher for the game inherited The game information protected is the game information after changing.

Optionally, after notice target account obtains shifted destination virtual resource using key, further includes: target Account obtains key;Target account authenticates key by block chain;Key after authentication is determined as legitimate secret In the case of, target account obtains the logon rights for logging in application system server, wherein destination virtual resource is in application system It is used in system server;Target account logs in application system server using logon rights, and in application system server Continue to use destination virtual resource.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.Key is got in target account Afterwards, key can be authenticated by block chain, after authenticating successfully, target account can be obtained by key and log in trip The account and password of play, and game is logged according to the account number cipher got.

Through this embodiment, virtual resource allocation request is obtained by block chain, wherein take in virtual resource allocation request The account of resource identification with destination virtual resource to be transferred on block chain, the target account for obtaining destination virtual resource Number information and it is used to indicate the transfering state condition for executing the virtual resource that diverts the aim;Virtual resource allocation request is responded, in area The key to match with destination virtual resource is generated on block chain, and key is sent to target account;Reaching transfering state item In the case where part, the method that notice target account obtains shifted destination virtual resource using key, so as to will be virtual Resource is stored on block chain, and after reaching transfering state condition, and target account is notified to obtain destination virtual resource, is protected The safety of virtual resource is demonstrate,proved.Simultaneously as controlling the transfer of virtual resource using block chain, it ensure that virtual resource exists It can be transferred in the case where the transfering state condition for reaching virtual resource, realize the recycling of virtual resource, to mention The high utilization rate of virtual resource, avoids the waste of virtual resource.

As a kind of optional embodiment, obtaining virtual resource allocation request by block chain includes:

S1 obtains the destination virtual resource for being uploaded to block chain;

S2 is retrieved as the transfering state parameter that destination virtual resource is configured in block chain, wherein transfering state ginseng It include: the account information of transfering state condition, target account in number, transfering state condition includes at least: transfer time;

S3 generates virtual resource allocation request according to transfering state parameter.

Optionally, above-mentioned transfer time can be a period, or a time point.For example, at one month After divert the aim virtual resource, or some be the virtual resource that diverts the aim at some time point as scheduled.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.As shown in figure 3, in transfer game Account number cipher when, selection will shift account 1, while inputting target account is cell-phone number, stipulated that transfer time is At 6 points in the morning on April 24th, 2018.After clicking confirming button, it is determined that generate virtual resource allocation request.It is shifted reaching After time, then sent and the resource matched key of destination virtual to target account.

Through this embodiment, by being sent to target account resource matched with destination virtual after reaching transfer time Key while improving virtual resource transfer safety, improves virtual money so as to provide to send the time of key The flexibility of source transfer.

As a kind of optional embodiment, virtual resource allocation request is responded, generation and destination virtual on block chain The key that resource matches includes:

S1, according to destination virtual resource, the account information and transfering state condition of target account generate key.

Optionally, above-mentioned key can be combination or the character and the combination of code etc. of any character.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.Such as, it needs to shift account 1, then obtains Get needs and the matched number of account 1 to be shifted, such as 1001.Then the account information of target account, account information are obtained It can be the corresponding number information of account, such as 1002, and get the transfering state condition of transfer, can be indicated with the time, Such as 20180101.Then by above- mentioned information, key is got, key can be indicated in the form of three-stage, such as: 1001200801011002。

Through this embodiment, by generating key according to the account information collection transfering state condition of target account, so as to To improve the accuracy for generating key, the account information of target account is further obtained according to key, is improved virtual resource and is turned The safety of shifting.

As a kind of optional embodiment, the destination virtual resource that acquisition is uploaded to block chain includes:

S1, register account number of the registration for the virtual resource that diverts the aim on block chain;

S2 obtains the destination virtual resource that register account number is uploaded;

S3, to the application system server transmission checking request for using destination virtual resource;

S4, in the feelings that the verification result instruction destination virtual resource for receiving the return of application system server is efficient resource Under condition, destination virtual resource is stored according to the format of key-value pair into block chain.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.Game is being uploaded to block chain Before account number cipher, need first to register the account and password for logging in block chain.Account and password login area by registration Block chain.Meanwhile before the account number cipher of game is stored in block chain, it is also necessary to destination virtual resource is verified, in order to avoid Destination virtual resource is simultaneously not present.In verifying, checking request is sent to the application system server of game, and receive using system The verification result that server of uniting returns just will trip in the case where the account number cipher of verification result instruction game is efficient resource In the account number cipher deposit block chain of play.

It optionally, can be in a manner of key-value pair by the account of game when the account number cipher of game is stored in block chain Password is stored in block chain.

Through this embodiment, by sending checking request to application system server, and instruction destination virtual is being received In the case that resource is the verification result of efficient resource, destination virtual resource is stored into block chain, thus ensure that void While the safety of quasi- resource transfers, the accuracy of virtual resource is also ensured.

As a kind of optional embodiment, in the case where reaching transfering state condition, notice target account uses close Key obtains shifted destination virtual resource

S1, in the case where reaching transfer time, determination reaches transfering state condition;

S2 automatically generates notification message in the case where reaching transfering state condition, wherein notification message is for notifying Target account obtains shifted destination virtual resource using key;

Notification message is sent to target account according to advice method indicated in transfering state parameter by S3.

Optionally, above-mentioned notification message can be any message that can carry key.For example, can be email message, The prompting message etc. of short message, conversation message or other forms.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.As shown in figure 4, due to target account Number be cell-phone number, therefore, when sending a notification message to target account, notification message is short message.As it can be seen that the terminal in receiving end The place of short massage notice message have the notification message of short message form, carry key information in notification message.

Through this embodiment, by automatically generating notification message when reaching transfering state condition, so as to notify mesh Mark account has destination virtual resource to be transferred, while improving virtual resource transfer safety, also improves virtual money The efficiency of source transfer.

As a kind of optional embodiment,

S1, by block chain obtain virtual resource allocation request after, further includes: by destination virtual resource from operation shape State is adjusted to frozen state, wherein destination virtual resource allows to be modified under operation, and destination virtual resource is freezing shape It is prohibited to modify under state;

S2 after notice target account obtains shifted destination virtual resource using key, and is obtained in target account In the case where getting destination virtual resource, destination virtual resource recovery to operating status.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.It is deposited by the account number cipher of game After entering block chain, the account number cipher of game is adjusted to frozen state.In the frozen state, the account number cipher of game can not be stepped on Land is into game.And after sending a notification message to target account, the account number cipher of game is restored to operating status, is restored to After operating status, the account number cipher of game can be logged in game.

Through this embodiment, by the way that destination virtual resource is adjusted to frozen state, it thereby may be ensured that destination virtual provides The content in source is not modified, and improves the safety of destination virtual resource transfers.

As a kind of optional embodiment,

S1, after obtaining virtual resource allocation request by block chain, further includes: destination virtual resource is maintained at fortune Row state, wherein destination virtual resource allows to be modified under operation;

S2, it includes: that notice target account uses that notice target account, which obtains shifted destination virtual resource using key, Key is obtained by modified destination virtual resource.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.It is deposited by the account number cipher of game After entering block chain, the account number cipher of game can also be used.In the process, if what the account number cipher of game was protected Game information is changed, then after target account gets the account number cipher of game, the account number cipher for the game inherited The game information protected is the game information after changing.

Through this embodiment, by the way that destination virtual resource is maintained at operating status, so as to avoid destination virtual from providing Source is suspended and causes certain loss.While improving the safety of destination virtual resource, target medium resource ensure that Normal operation.

As a kind of optional embodiment, shifted destination virtual resource is obtained using key in notice target account Later, further includes:

S1, target account obtain key;

S2, target account authenticate key by block chain;

S3, in the case that the key after authentication is determined as legitimate secret, target account is obtained for logging in application system The logon rights of server, wherein destination virtual resource is used in application system server;

S4, target account log in application system server using logon rights, and make application system Server Relay is continuous With destination virtual resource.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.Key is got in target account Afterwards, key can be authenticated by block chain, after authenticating successfully, target account can be obtained by key and log in trip The account and password of play, and game is logged according to the account number cipher got.

Through this embodiment, target account obtains logon rights by key, so as to log in application system server, It ensure that target account logs in the safety of application system server.

Above-mentioned virtual resource transfer method is illustrated below in conjunction with Fig. 5.As shown in figure 5, step S502 is first carried out The account and password for logging in block chain are registered, and block chain is logged according to account number cipher, step S504 is executed later, uploads Destination virtual resource, and checking request is sent to application system server, destination virtual resource is verified.It is being verified In the case where, step S508 is executed, destination virtual resource is stored, executes step S510 later, generates key, and key is sent Give target account.After target account obtains key, the logon rights for logging in application system server, block chain are obtained using key It is whether legal by step S512 authentication secret, in the case where legal, step S514 is executed, target account is authorized and logs in application The logon rights of system server.In the process, if verifying destination virtual resource does not pass through, S516 is thened follow the steps, no Storage destination virtual resource thens follow the steps S518, does not authorize logon rights if key is illegal.

Above-mentioned virtual resource transfer method is illustrated in conjunction with Fig. 6 below.As shown in fig. 6, user 1 passes through step After S602 logs in block chain, destination virtual resource is uploaded, and destination virtual resource is sent to using system by step S604 System server is verified, and after application system server authentication passes through, is disappeared by S606 to what the transmission of user 1 was verified Breath.Destination virtual resource is stored in block chain by step S608 by user 1, and generates key, later will be close by step S610 Key is sent to target user.After target user receives key, key is authenticated by step S612.What the authentication is passed In the case of, the logon rights for logging in application system server are obtained by step S614, and application is logged in by step S616 System server.

It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.

Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) method that executes each embodiment of the present invention.

According to another aspect of an embodiment of the present invention, a kind of virtual resource transfer method is additionally provided, optionally, as one Kind optional embodiment, as shown in fig. 7, above-mentioned virtual resource transfer method can be, but not limited to include:

S702 obtains the key generated to match with destination virtual resource to be transferred on block chain;

S704 receives notification message, wherein notification message is used to indicate destination virtual resource and has reached turn for executing transfer Shifting state condition, in the case where reaching transfering state condition, destination virtual resource will be configured with transfer permission;

S706 obtains destination virtual resource using key.

Optionally, above-mentioned virtual resource transfer method can be, but not limited in the scene for being applied to inherit virtual resource.Example Such as, game account resource is shifted, using fictitious assets etc..

Above-mentioned destination virtual resource can be, but not limited to as the fictitious assets in virtual world, for example, account number cipher information, Account grade, whether member, membership grade, Role Information, role hierarchy, equipment, empirical value, pet, stage property etc. in account.

It is illustrated for shifting game account resource below.Above-mentioned destination virtual assets are the account of game and close Code, above-mentioned resource identification are block-identified, the transfering state condition of above-mentioned resource for the block chain that the account number cipher of game is stored in It is one month.

Code entry is installed into block chain by the block chain of registration, and gets virtual resource allocation request.It is empty The block chain of the account for needing the game shifted and password and the deposit of above-mentioned account number cipher is carried in quasi- resource allocation request Take table to identify.Above-mentioned virtual resource allocation request is responded, the account number cipher and deposit of generation and game on block chain Block-identified corresponding key, and key is sent to the target account for needing to inherit the account number cipher of above-mentioned game.Passing through After one month, transfering state condition is reached, has automatically generated notification message notice target account using key and obtain game Account and password.

It should be noted that virtual resource can be stored on block chain, and reaching transfer shape by the above method After state condition, notifies target account to obtain destination virtual resource, ensure that the safety of virtual resource.Simultaneously as adopting The transfer that virtual resource is controlled with block chain ensure that virtual resource the transfering state condition for reaching virtual resource the case where Under can be transferred, realize the recycling of virtual resource, to improve the utilization rate of virtual resource, avoid virtual money The waste in source.

Optionally, after receiving notification message, further includes: authenticated by block chain to key;After authentication In the case that key is determined as legitimate secret, the logon rights for logging in application system server are obtained, wherein destination virtual Resource for carried out in application system server using;Application system server is logged in using logon rights, and is in application Destination virtual resource is used in system server.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.Key is received in target account Afterwards, key is authenticated by block chain, in the case where the authentication is passed, obtains the account number cipher of game, and use game Account number cipher log in application system server.

Optionally, the logon rights obtained for logging in application system server include following one: defeated in login interface Enter key, obtains logon rights;Key is inputted in block chain, obtains log-on message from block chain, wherein log-on message is used In acquisition logon rights;Key is inputted at purview certification interface, obtains logon rights.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.It, can be with when obtaining logon rights It can be jumped directly in game after inputting key in login interface input key, the account without inputting game again Password.Or inputted after key in block chain, in the case where authenticate to key and the authentication is passed, get login The account number cipher information of game, or after purview certification interface inputs key, it, can be right in the case where certification passes through The password for logging in game is modified.

It optionally, further include two kinds of situation after getting destination virtual resource using key

(1) destination virtual resource is restored from frozen state to operating status, wherein destination virtual resource is in operating status Lower permission is modified, and destination virtual resource is prohibited to modify in the frozen state.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.It is deposited by the account number cipher of game After entering block chain, the account number cipher of game is adjusted to frozen state.In the frozen state, the account number cipher of game can not be stepped on Land is into game.And after sending a notification message to target account, the account number cipher of game is restored to operating status, is restored to After operating status, the account number cipher of game can be logged in game.

(2) it is obtained using key by modified destination virtual resource.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.It is deposited by the account number cipher of game After entering block chain, the account number cipher of game can also be used.In the process, if what the account number cipher of game was protected Game information is changed, then after target account gets the account number cipher of game, the account number cipher for the game inherited The game information protected is the game information after changing.

Through this embodiment, virtual resource allocation request is obtained by block chain, wherein take in virtual resource allocation request The account of resource identification with destination virtual resource to be transferred on block chain, the target account for obtaining destination virtual resource Number information and it is used to indicate the transfering state condition for executing the virtual resource that diverts the aim;Virtual resource allocation request is responded, in area The key to match with destination virtual resource is generated on block chain, and key is sent to target account;Reaching transfering state item In the case where part, the method that notice target account obtains shifted destination virtual resource using key, so as to will be virtual Resource is stored on block chain, and after reaching transfering state condition, and target account is notified to obtain destination virtual resource, is protected The safety of virtual resource is demonstrate,proved.Simultaneously as controlling the transfer of virtual resource using block chain, it ensure that virtual resource exists It can be transferred in the case where the transfering state condition for reaching virtual resource, realize the recycling of virtual resource, to mention The high utilization rate of virtual resource, avoids the waste of virtual resource.

As a kind of optional embodiment, after receiving notification message, further includes:

S1 authenticates key by block chain;

S2 in the case that the key after authentication is determined as legitimate secret, is obtained for logging in application system server Logon rights, wherein destination virtual resource for carried out in application system server using;

S3 is logged in application system server using logon rights, and is provided in application system server using destination virtual Source.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.Key is received in target account Afterwards, key is authenticated by block chain, in the case where the authentication is passed, obtains the account number cipher of game, and use game Account number cipher log in application system server.

Through this embodiment, it by being authenticated to key, in the volume of key and hair, obtains and logs in application system The logon rights of server, and application system server is logged in, to ensure that the safety of virtual resource transfer.

As a kind of optional embodiment, obtain the logon rights for logging in application system server include it is following it One:

S1 inputs key in login interface, obtains logon rights;

S2 inputs key in block chain, obtains log-on message from block chain, wherein log-on message is stepped on for obtaining Record permission;

S3 inputs key at purview certification interface, obtains logon rights.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.It, can be with when obtaining logon rights It can be jumped directly in game after inputting key in login interface input key, the account without inputting game again Password.Or inputted after key in block chain, in the case where authenticate to key and the authentication is passed, get login The account number cipher information of game, or after purview certification interface inputs key, it, can be right in the case where certification passes through The password for logging in game is modified.

Through this embodiment, logon rights are obtained by the above method, thus in the safety that ensure that virtual resource transfer Property while, improve obtain logon rights flexibility.

As a kind of optional embodiment, after obtaining destination virtual resource using key, further includes:

S1, the destination virtual resource configured with transfer permission that will acquire are restored from frozen state to operating status, In, destination virtual resource allows to be modified under operation, and destination virtual resource is prohibited to modify in the frozen state.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.It is deposited by the account number cipher of game After entering block chain, the account number cipher of game is adjusted to frozen state.In the frozen state, the account number cipher of game can not be stepped on Land is into game.And after sending a notification message to target account, the account number cipher of game is restored to operating status, is restored to After operating status, the account number cipher of game can be logged in game.

Through this embodiment, by the way that destination virtual resource is adjusted to frozen state, it thereby may be ensured that destination virtual provides The content in source is not modified, and improves the safety of destination virtual resource transfers.

As a kind of optional embodiment, after getting destination virtual resource using key, further includes:

S1 is obtained using key by modified destination virtual resource.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.It is deposited by the account number cipher of game After entering block chain, the account number cipher of game can also be used.In the process, if what the account number cipher of game was protected Game information is changed, then after target account gets the account number cipher of game, the account number cipher for the game inherited The game information protected is the game information after changing.

Through this embodiment, by the way that destination virtual resource is maintained at operating status, so as to avoid destination virtual from providing Source is suspended and causes certain loss.While improving the safety of destination virtual resource, target medium resource ensure that Normal operation.

Optionally, above-mentioned virtual resource transfer method is illustrated below in conjunction with Fig. 8.As shown in figure 8, passing through step After S802 target account obtains key, step S804 is executed, key is authenticated, executed step S806 later and judge that key is It is no legal.In the case where key is legal, there are three kinds of situations.Application system server can be being logged in by step S808 Key is directly inputted on interface, and logs in application system server, or key is inputted in block chain by step S810, with The account number cipher for logging in cited system server is got, or close in the input of purview certification interface by step S812 Key, to modify the password for logging in application system server.After having executed any one step of above three step, step is executed Rapid S814, authorizes logon rights.Later according to step S816, judge whether logon rights are legal.In the legal feelings of logon rights Under condition, step S818 is executed, logins application system server, and execute step S820, notifies the register account number in block chain, mesh Mark is for being already logged into application system server.In the process, it if step S806 judges that key is illegal, executes Step S822, key can not be used.If judging that logon rights are illegal in step S816, S824 is thened follow the steps, no Target account is allowed to log in application system server.

Above-mentioned virtual resource transfer method is illustrated in conjunction with Fig. 6 below.As shown in fig. 6, user 1 passes through step After S602 logs in block chain, destination virtual resource is uploaded, and destination virtual resource is sent to using system by step S604 System server is verified, and after application system server authentication passes through, is disappeared by S606 to what the transmission of user 1 was verified Breath.Destination virtual resource is stored in block chain by step S608 by user 1, and generates key, later will be close by step S610 Key is sent to target user.After target user receives key, key is authenticated by step S612.What the authentication is passed In the case of, the logon rights for logging in application system server are obtained by step S614, and application is logged in by step S616 System server.

Another aspect according to an embodiment of the present invention additionally provides a kind of for implementing above-mentioned virtual resource transfer method Virtual resource transfer device, as shown in figure 9, the device includes:

(1) acquiring unit 902, for obtaining virtual resource allocation request by block chain, wherein virtual resource allocation is asked Ask the resource identification for carrying destination virtual resource to be transferred on block chain, the target account for obtaining destination virtual resource Number account information and be used to indicate and execute the transfering state condition of virtual resource of diverting the aim;

(2) generation unit 904 generate and destination virtual resource on block chain for responding virtual resource allocation request The key to match, and key is sent to target account;

(3) notification unit 906, in the case where reaching transfering state condition, notice target account to be obtained using key Take shifted destination virtual resource.

Optionally, above-mentioned virtual resource transfer device can be, but not limited in the scene for being applied to inherit virtual resource.Example Such as, game account resource is shifted, using fictitious assets etc..

Above-mentioned destination virtual resource can be, but not limited to as the fictitious assets in virtual world, for example, account number cipher information, Account grade, whether member, membership grade, Role Information, role hierarchy, equipment, empirical value, pet, stage property etc. in account.

It is illustrated for shifting game account resource below.Above-mentioned destination virtual assets are the account of game and close Code, above-mentioned resource identification are block-identified, the transfering state condition of above-mentioned resource for the block chain that the account number cipher of game is stored in It is one month.

Code entry is installed into block chain by the block chain of registration, and gets virtual resource allocation request.It is empty The block chain of the account for needing the game shifted and password and the deposit of above-mentioned account number cipher is carried in quasi- resource allocation request Take table to identify.Above-mentioned virtual resource allocation request is responded, the account number cipher and deposit of generation and game on block chain Block-identified corresponding key, and key is sent to the target account for needing to inherit the account number cipher of above-mentioned game.Passing through After one month, transfering state condition is reached, has automatically generated notification message notice target account using key and obtain game Account and password.

It should be noted that virtual resource can be stored on block chain, and reaching transfer shape by above-mentioned apparatus After state condition, notifies target account to obtain destination virtual resource, ensure that the safety of virtual resource.Simultaneously as adopting The transfer that virtual resource is controlled with block chain ensure that virtual resource the transfering state condition for reaching virtual resource the case where Under can be transferred, realize the recycling of virtual resource, to improve the utilization rate of virtual resource, avoid virtual money The waste in source.

Optionally, obtaining virtual resource allocation request by block chain includes: to obtain the destination virtual for being uploaded to block chain Resource;In block chain, it is retrieved as the transfering state parameter that destination virtual resource is configured, wherein wrap in transfering state parameter Include: the account information of transfering state condition, target account, transfering state condition include at least: transfer time;According to transfering state Parameter generates virtual resource allocation request.

Optionally, above-mentioned transfer time can be a period, or a time point.For example, at one month After divert the aim virtual resource, or some be the virtual resource that diverts the aim at some time point as scheduled.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.As shown in figure 3, in transfer game Account number cipher when, selection will shift account 1, while inputting target account is cell-phone number, stipulated that transfer time is At 6 points in the morning on April 24th, 2018.After clicking confirming button, it is determined that generate virtual resource allocation request.It is shifted reaching After time, then sent and the resource matched key of destination virtual to target account.

Optionally, response virtual resource allocation request, generates the key to match with destination virtual resource on block chain It include: according to destination virtual resource, the account information and transfering state condition of target account generate key.

Optionally, above-mentioned key can be combination or the character and the combination of code etc. of any character.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.Such as, it needs to shift account 1, then obtains Get needs and the matched number of account 1 to be shifted, such as 1001.Then the account information of target account, account information are obtained It can be the corresponding number information of account, such as 1002, and get the transfering state condition of transfer, can be indicated with the time, Such as 20180101.Then by above- mentioned information, key is got, key can be indicated in the form of three-stage, such as: 1001200801011002。

Optionally, obtaining and being uploaded to the destination virtual resource of block chain includes: to obtain the destination virtual for being uploaded to block chain Resource includes: register account number of the registration for the virtual resource that diverts the aim on block chain;Obtain the mesh that register account number is uploaded Mark virtual resource;To the application system server transmission checking request for using destination virtual resource;Receiving application system clothes In the case that the verification result instruction destination virtual resource that device returns of being engaged in is efficient resource, by destination virtual resource according to key-value pair Format store into block chain.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.Game is being uploaded to block chain Before account number cipher, need first to register the account and password for logging in block chain.Account and password login area by registration Block chain.Meanwhile before the account number cipher of game is stored in block chain, it is also necessary to destination virtual resource is verified, in order to avoid Destination virtual resource is simultaneously not present.In verifying, checking request is sent to the application system server of game, and receive using system The verification result that server of uniting returns just will trip in the case where the account number cipher of verification result instruction game is efficient resource In the account number cipher deposit block chain of play.

It optionally, can be in a manner of key-value pair by the account of game when the account number cipher of game is stored in block chain Password is stored in block chain.

Optionally, in the case where reaching transfering state condition, notice target account obtains shifted mesh using key Mark virtual resource includes: in the case where reaching transfer time, and determination reaches transfering state condition;Reaching transfering state condition In the case where, automatically generate notification message, wherein notification message is used to that target account to be notified to obtain shifted mesh using key Mark virtual resource;Notification message is sent to target account according to advice method indicated in transfering state parameter.

Optionally, above-mentioned notification message can be any message that can carry key.For example, can be email message, The prompting message etc. of short message, conversation message or other forms.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.As shown in figure 4, due to target account Number be cell-phone number, therefore, when sending a notification message to target account, notification message is short message.As it can be seen that the terminal in receiving end The place of short massage notice message have the notification message of short message form, carry key information in notification message.

It optionally, can be there are two types of situation after obtaining virtual resource allocation request by block chain:

(1) destination virtual resource is adjusted to frozen state from operating status, wherein destination virtual resource is in operating status Lower permission is modified, and destination virtual resource is prohibited to modify in the frozen state;Institute is obtained using key in notice target account After the destination virtual resource of transfer, and in the case where target account gets destination virtual resource, destination virtual resource is extensive Again to operating status.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.It is deposited by the account number cipher of game After entering block chain, the account number cipher of game is adjusted to frozen state.In the frozen state, the account number cipher of game can not be stepped on Land is into game.And after sending a notification message to target account, the account number cipher of game is restored to operating status, is restored to After operating status, the account number cipher of game can be logged in game.

(2) destination virtual resource is maintained at operating status, wherein destination virtual resource allows to be repaired under operation Change;It includes: that target account is notified to obtain using key that notice target account, which obtains shifted destination virtual resource using key, By modified destination virtual resource.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.It is deposited by the account number cipher of game After entering block chain, the account number cipher of game can also be used.In the process, if what the account number cipher of game was protected Game information is changed, then after target account gets the account number cipher of game, the account number cipher for the game inherited The game information protected is the game information after changing.

Optionally, after notice target account obtains shifted destination virtual resource using key, further includes: target Account obtains key;Target account authenticates key by block chain;Key after authentication is determined as legitimate secret In the case of, target account obtains the logon rights for logging in application system server, wherein destination virtual resource is in application system It is used in system server;Target account logs in application system server using logon rights, and in application system server Continue to use destination virtual resource.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.Key is got in target account Afterwards, key can be authenticated by block chain, after authenticating successfully, target account can be obtained by key and log in trip The account and password of play, and game is logged according to the account number cipher got.

Through this embodiment, virtual resource allocation request is obtained by block chain, wherein take in virtual resource allocation request The account of resource identification with destination virtual resource to be transferred on block chain, the target account for obtaining destination virtual resource Number information and it is used to indicate the transfering state condition for executing the virtual resource that diverts the aim;Virtual resource allocation request is responded, in area The key to match with destination virtual resource is generated on block chain, and key is sent to target account;Reaching transfering state item In the case where part, the method that notice target account obtains shifted destination virtual resource using key, so as to will be virtual Resource is stored on block chain, and after reaching transfering state condition, and target account is notified to obtain destination virtual resource, is protected The safety of virtual resource is demonstrate,proved.Simultaneously as controlling the transfer of virtual resource using block chain, it ensure that virtual resource exists It can be transferred in the case where the transfering state condition for reaching virtual resource, realize the recycling of virtual resource, to mention The high utilization rate of virtual resource, avoids the waste of virtual resource.

As a kind of optional embodiment, above-mentioned first acquisition unit 902 includes:

(1) first obtains module, for obtaining the destination virtual resource for being uploaded to block chain;

(2) second obtain module, the transfering state ginseng configured in block chain, being retrieved as destination virtual resource Number, wherein include: the account information of transfering state condition, target account in transfering state parameter, transfering state condition is at least wrapped It includes: transfer time;

(3) first generation modules, for generating virtual resource allocation request according to transfering state parameter.

Optionally, above-mentioned transfer time can be a period, or a time point.For example, at one month After divert the aim virtual resource, or some be the virtual resource that diverts the aim at some time point as scheduled.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.As shown in figure 3, in transfer game Account number cipher when, selection will shift account 1, while inputting target account is cell-phone number, stipulated that transfer time is At 6 points in the morning on April 24th, 2018.After clicking confirming button, it is determined that generate virtual resource allocation request.It is shifted reaching After time, then sent and the resource matched key of destination virtual to target account.

Through this embodiment, by being sent to target account resource matched with destination virtual after reaching transfer time Key while improving virtual resource transfer safety, improves virtual money so as to provide to send the time of key The flexibility of source transfer.

As a kind of optional embodiment, above-mentioned generation unit includes:

(1) second generation module, for according to destination virtual resource, the account information and transfering state condition of target account Generate key.

Optionally, above-mentioned key can be combination or the character and the combination of code etc. of any character.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.Such as, it needs to shift account 1, then obtains Get needs and the matched number of account 1 to be shifted, such as 1001.Then the account information of target account, account information are obtained It can be the corresponding number information of account, such as 1002, and get the transfering state condition of transfer, can be indicated with the time, Such as 20180101.Then by above- mentioned information, key is got, key can be indicated in the form of three-stage, such as: 1001200801011002。

Through this embodiment, by generating key according to the account information collection transfering state condition of target account, so as to To improve the accuracy for generating key, the account information of target account is further obtained according to key, is improved virtual resource and is turned The safety of shifting.

As a kind of optional embodiment, above-mentioned first acquisition module includes:

(1) submodule is registered, for register account number of the registration for the virtual resource that diverts the aim on block chain;

(2) acquisition submodule, the destination virtual resource uploaded for obtaining register account number;

(3) sending submodule, for use destination virtual resource application system server send checking request;

(4) sub-module stored, in the verification result instruction destination virtual money for receiving the return of application system server In the case that source is efficient resource, destination virtual resource is stored according to the format of key-value pair into block chain.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.Game is being uploaded to block chain Before account number cipher, need first to register the account and password for logging in block chain.Account and password login area by registration Block chain.Meanwhile before the account number cipher of game is stored in block chain, it is also necessary to destination virtual resource is verified, in order to avoid Destination virtual resource is simultaneously not present.In verifying, checking request is sent to the application system server of game, and receive using system The verification result that server of uniting returns just will trip in the case where the account number cipher of verification result instruction game is efficient resource In the account number cipher deposit block chain of play.

It optionally, can be in a manner of key-value pair by the account of game when the account number cipher of game is stored in block chain Password is stored in block chain.

Through this embodiment, by sending checking request to application system server, and instruction destination virtual is being received In the case that resource is the verification result of efficient resource, destination virtual resource is stored into block chain, thus ensure that void While the safety of quasi- resource transfers, the accuracy of virtual resource is also ensured.

As a kind of optional embodiment, above-mentioned notification unit 906 includes:

(1) determining module, in the case where reaching transfer time, determination to reach transfering state condition;

(2) third generation module, for automatically generating notification message in the case where reaching transfering state condition, wherein Notification message is used to that target account to be notified to obtain shifted destination virtual resource using key;

(3) sending module, for notification message to be sent to mesh according to advice method indicated in transfering state parameter Mark account.

Optionally, above-mentioned notification message can be any message that can carry key.For example, can be email message, The prompting message etc. of short message, conversation message or other forms.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.As shown in figure 4, due to target account Number be cell-phone number, therefore, when sending a notification message to target account, notification message is short message.As it can be seen that the terminal in receiving end The place of short massage notice message have the notification message of short message form, carry key information in notification message.

Through this embodiment, by automatically generating notification message when reaching transfering state condition, so as to notify mesh Mark account has destination virtual resource to be transferred, while improving virtual resource transfer safety, also improves virtual money The efficiency of source transfer.

As a kind of optional embodiment, above-mentioned apparatus further include:

(1) adjustment unit, for by block chain obtain virtual resource allocation request after, by destination virtual resource from Operating status is adjusted to frozen state, wherein destination virtual resource allows to be modified under operation, and destination virtual resource exists It is prohibited to modify under frozen state;

(2) recovery unit, for after notice target account obtains shifted destination virtual resource using key, and In the case where target account gets destination virtual resource, by destination virtual resource recovery to operating status.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.It is deposited by the account number cipher of game After entering block chain, the account number cipher of game is adjusted to frozen state.In the frozen state, the account number cipher of game can not be stepped on Land is into game.And after sending a notification message to target account, the account number cipher of game is restored to operating status, is restored to After operating status, the account number cipher of game can be logged in game.

Through this embodiment, by the way that destination virtual resource is adjusted to frozen state, it thereby may be ensured that destination virtual provides The content in source is not modified, and improves the safety of destination virtual resource transfers.

As a kind of optional embodiment,

(1) above-mentioned apparatus further include: holding unit is used for after obtaining virtual resource allocation request by block chain, Destination virtual resource is maintained at operating status, wherein destination virtual resource allows to be modified under operation;

(2) above-mentioned notification unit 906 includes: notification module, after notifying target account to be modified using key acquisition Destination virtual resource.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.It is deposited by the account number cipher of game After entering block chain, the account number cipher of game can also be used.In the process, if what the account number cipher of game was protected Game information is changed, then after target account gets the account number cipher of game, the account number cipher for the game inherited The game information protected is the game information after changing.

Through this embodiment, by the way that destination virtual resource is maintained at operating status, so as to avoid destination virtual from providing Source is suspended and causes certain loss.While improving the safety of destination virtual resource, target medium resource ensure that Normal operation.

Above-mentioned virtual resource transfer method is illustrated below in conjunction with Fig. 5.As shown in figure 5, step S502 is first carried out The account and password for logging in block chain are registered, and block chain is logged according to account number cipher, step S504 is executed later, uploads Destination virtual resource, and checking request is sent to application system server, destination virtual resource is verified.It is being verified In the case where, step S508 is executed, destination virtual resource is stored, executes step S510 later, generates key, and key is sent Give target account.After target account obtains key, the logon rights for logging in application system server, block chain are obtained using key It is whether legal by step S512 authentication secret, in the case where legal, step S514 is executed, target account is authorized and logs in application The logon rights of system server.In the process, if verifying destination virtual resource does not pass through, S516 is thened follow the steps, no Storage destination virtual resource thens follow the steps S518, does not authorize logon rights if key is illegal.

Above-mentioned virtual resource transfer method is illustrated in conjunction with Fig. 6 below.As shown in fig. 6, user 1 passes through step After S602 logs in block chain, destination virtual resource is uploaded, and destination virtual resource is sent to using system by step S604 System server is verified, and after application system server authentication passes through, is disappeared by S606 to what the transmission of user 1 was verified Breath.Destination virtual resource is stored in block chain by step S608 by user 1, and generates key, later will be close by step S610 Key is sent to target user.After target user receives key, key is authenticated by step S612.What the authentication is passed In the case of, the logon rights for logging in application system server are obtained by step S614, and application is logged in by step S616 System server.

Another aspect according to an embodiment of the present invention additionally provides a kind of for implementing above-mentioned virtual resource transfer method Virtual resource transfer device, as shown in Figure 10, which includes:

(1) first acquisition unit 1002, for obtaining destination virtual resource generated and to be transferred on block chain The key to match;

(2) receiving unit 1004, for receiving notification message, wherein notification message, which is used to indicate to have reached, executes transfer The transfering state condition of destination virtual resource;

(3) second acquisition unit 1006, for being shifted using key acquisition in the case where receiving notification message Destination virtual resource.

Optionally, above-mentioned virtual resource transfer device can be, but not limited in the scene for being applied to inherit virtual resource.Example Such as, game account resource is shifted, using fictitious assets etc..

Above-mentioned destination virtual resource can be, but not limited to as the fictitious assets in virtual world, for example, account number cipher information, Account grade, whether member, membership grade, Role Information, role hierarchy, equipment, empirical value, pet, stage property etc. in account.

It is illustrated for shifting game account resource below.Above-mentioned destination virtual assets are the account of game and close Code, above-mentioned resource identification are block-identified, the transfering state condition of above-mentioned resource for the block chain that the account number cipher of game is stored in It is one month.

Code entry is installed into block chain by the block chain of registration, and gets virtual resource allocation request.It is empty The block chain of the account for needing the game shifted and password and the deposit of above-mentioned account number cipher is carried in quasi- resource allocation request Take table to identify.Above-mentioned virtual resource allocation request is responded, the account number cipher and deposit of generation and game on block chain Block-identified corresponding key, and key is sent to the target account for needing to inherit the account number cipher of above-mentioned game.Passing through After one month, transfering state condition is reached, has automatically generated notification message notice target account using key and obtain game Account and password.

It should be noted that virtual resource can be stored on block chain, and reaching transfer shape by the above method After state condition, notifies target account to obtain destination virtual resource, ensure that the safety of virtual resource.Simultaneously as adopting The transfer that virtual resource is controlled with block chain ensure that virtual resource the transfering state condition for reaching virtual resource the case where Under can be transferred, realize the recycling of virtual resource, to improve the utilization rate of virtual resource, avoid virtual money The waste in source.

Optionally, after receiving notification message, further includes: authenticated by block chain to key;After authentication In the case that key is determined as legitimate secret, the logon rights for logging in application system server are obtained, wherein destination virtual Resource for carried out in application system server using;Application system server is logged in using logon rights, and is in application Destination virtual resource is used in system server.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.Key is received in target account Afterwards, key is authenticated by block chain, in the case where the authentication is passed, obtains the account number cipher of game, and use game Account number cipher log in application system server.

Optionally, the logon rights obtained for logging in application system server include following one: defeated in login interface Enter key, obtains logon rights;Key is inputted in block chain, obtains log-on message from block chain, wherein log-on message is used In acquisition logon rights;Key is inputted at purview certification interface, obtains logon rights.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.It, can be with when obtaining logon rights It can be jumped directly in game after inputting key in login interface input key, the account without inputting game again Password.Or inputted after key in block chain, in the case where authenticate to key and the authentication is passed, get login The account number cipher information of game, or after purview certification interface inputs key, it, can be right in the case where certification passes through The password for logging in game is modified.

It optionally, further include two kinds of situation after getting destination virtual resource using key

(1) destination virtual resource is restored from frozen state to operating status, wherein destination virtual resource is in operating status Lower permission is modified, and destination virtual resource is prohibited to modify in the frozen state.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.It is deposited by the account number cipher of game After entering block chain, the account number cipher of game is adjusted to frozen state.In the frozen state, the account number cipher of game can not be stepped on Land is into game.And after sending a notification message to target account, the account number cipher of game is restored to operating status, is restored to After operating status, the account number cipher of game can be logged in game.

(2) it is obtained using key by modified destination virtual resource.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.It is deposited by the account number cipher of game After entering block chain, the account number cipher of game can also be used.In the process, if what the account number cipher of game was protected Game information is changed, then after target account gets the account number cipher of game, the account number cipher for the game inherited The game information protected is the game information after changing.

Through this embodiment, virtual resource allocation request is obtained by block chain, wherein take in virtual resource allocation request The account of resource identification with destination virtual resource to be transferred on block chain, the target account for obtaining destination virtual resource Number information and it is used to indicate the transfering state condition for executing the virtual resource that diverts the aim;Virtual resource allocation request is responded, in area The key to match with destination virtual resource is generated on block chain, and key is sent to target account;Reaching transfering state item In the case where part, the method that notice target account obtains shifted destination virtual resource using key, so as to will be virtual Resource is stored on block chain, and after reaching transfering state condition, and target account is notified to obtain destination virtual resource, is protected The safety of virtual resource is demonstrate,proved.Simultaneously as controlling the transfer of virtual resource using block chain, it ensure that virtual resource exists It can be transferred in the case where the transfering state condition for reaching virtual resource, realize the recycling of virtual resource, to mention The high utilization rate of virtual resource, avoids the waste of virtual resource.

As a kind of optional embodiment, above-mentioned apparatus further include:

(1) authenticating unit, for being authenticated by block chain to key after receiving notification message;

(2) third acquiring unit in the case where being determined as legitimate secret for the key after authentication, is obtained for logging in The logon rights of application system server, wherein destination virtual resource for carried out in application system server using;

(3) unit is logged in, for logging in application system server using logon rights, and is made in application system server With destination virtual resource.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.Key is received in target account Afterwards, key is authenticated by block chain, in the case where the authentication is passed, obtains the account number cipher of game, and use game Account number cipher log in application system server.

Through this embodiment, it by being authenticated to key, in the volume of key and hair, obtains and logs in application system The logon rights of server, and application system server is logged in, to ensure that the safety of virtual resource transfer.

As a kind of optional embodiment, above-mentioned third acquiring unit includes following one:

(1) first obtains module, for inputting key in login interface, obtains logon rights;

(2) second acquisition modules obtain log-on message from block chain, wherein step on for inputting key in block chain Record information is for obtaining logon rights;

(3) third obtains module, for inputting key at purview certification interface, obtains logon rights.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.It, can be with when obtaining logon rights It can be jumped directly in game after inputting key in login interface input key, the account without inputting game again Password.Or inputted after key in block chain, in the case where authenticate to key and the authentication is passed, get login The account number cipher information of game, or after purview certification interface inputs key, it, can be right in the case where certification passes through The password for logging in game is modified.

Through this embodiment, logon rights are obtained by the above method, thus in the safety that ensure that virtual resource transfer Property while, improve obtain logon rights flexibility.

As a kind of optional embodiment, above-mentioned apparatus further include:

(1) recovery unit, for after obtaining destination virtual resource using key, will acquire configured with transfer power The destination virtual resource of limit is restored from frozen state to operating status, wherein destination virtual resource allows quilt under operation Modification, destination virtual resource are prohibited to modify in the frozen state.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.It is deposited by the account number cipher of game After entering block chain, the account number cipher of game is adjusted to frozen state.In the frozen state, the account number cipher of game can not be stepped on Land is into game.And after sending a notification message to target account, the account number cipher of game is restored to operating status, is restored to After operating status, the account number cipher of game can be logged in game.

Through this embodiment, by the way that destination virtual resource is adjusted to frozen state, it thereby may be ensured that destination virtual provides The content in source is not modified, and improves the safety of destination virtual resource transfers.

As a kind of optional embodiment, above-mentioned apparatus further include:

(1) the 4th modification unit, for being repaired using key acquisition after getting destination virtual resource using key Destination virtual resource after changing.

For example, being illustrated continuing with the case where above-mentioned transfer game account resource.It is deposited by the account number cipher of game After entering block chain, the account number cipher of game can also be used.In the process, if what the account number cipher of game was protected Game information is changed, then after target account gets the account number cipher of game, the account number cipher for the game inherited The game information protected is the game information after changing.

Through this embodiment, by the way that destination virtual resource is maintained at operating status, so as to avoid destination virtual from providing Source is suspended and causes certain loss.While improving the safety of destination virtual resource, target medium resource ensure that Normal operation.

Optionally, above-mentioned virtual resource transfer method is illustrated below in conjunction with Fig. 8.As shown in figure 8, passing through step After S802 target account obtains key, step S804 is executed, key is authenticated, executed step S806 later and judge that key is It is no legal.In the case where key is legal, there are three kinds of situations.Application system server can be being logged in by step S808 Key is directly inputted on interface, and logs in application system server, or key is inputted in block chain by step S810, with The account number cipher for logging in cited system server is got, or close in the input of purview certification interface by step S812 Key, to modify the password for logging in application system server.After having executed any one step of above three step, step is executed Rapid S814, authorizes logon rights.Later according to step S816, judge whether logon rights are legal.In the legal feelings of logon rights Under condition, step S818 is executed, logins application system server, and execute step S820, notifies the register account number in block chain, mesh Mark is for being already logged into application system server.In the process, it if step S806 judges that key is illegal, executes Step S822, key can not be used.If judging that logon rights are illegal in step S816, S824 is thened follow the steps, no Target account is allowed to log in application system server.

Above-mentioned virtual resource transfer method is illustrated in conjunction with Fig. 6 below.As shown in fig. 6, user 1 passes through step After S602 logs in block chain, destination virtual resource is uploaded, and destination virtual resource is sent to using system by step S604 System server is verified, and after application system server authentication passes through, is disappeared by S606 to what the transmission of user 1 was verified Breath.Destination virtual resource is stored in block chain by step S608 by user 1, and generates key, later will be close by step S610 Key is sent to target user.After target user receives key, key is authenticated by step S612.What the authentication is passed In the case of, the logon rights for logging in application system server are obtained by step S614, and application is logged in by step S616 System server.

Another aspect according to an embodiment of the present invention additionally provides a kind of for implementing above-mentioned virtual resource transfer method Electronic device, as shown in figure 11, which includes memory and processor, and computer journey is stored in the memory Sequence, the processor are arranged to execute the step in any of the above-described embodiment of the method by computer program.

Optionally, in the present embodiment, above-mentioned electronic device can be located in multiple network equipments of computer network At least one network equipment.

Optionally, in the present embodiment, above-mentioned processor can be set to execute following steps by computer program:

S1 obtains virtual resource allocation request by block chain, wherein carry block chain in virtual resource allocation request The account information and use of the resource identification of upper destination virtual resource to be transferred, target account for obtaining destination virtual resource The transfering state condition for the virtual resource that diverts the aim is executed in instruction;

S2, response virtual resource allocation request generate the key to match with destination virtual resource on block chain, and will Key is sent to target account;

S3, in the case where reaching transfering state condition, notice target account obtains shifted target void using key Quasi- resource.

Optionally, in the present embodiment, above-mentioned processor can be set to execute following steps by computer program:

S1 obtains the key generated to match with destination virtual resource to be transferred on block chain;

S2 receives notification message, wherein notification message is used to indicate destination virtual resource and has reached the transfer for executing transfer Status condition, in the case where reaching transfering state condition, destination virtual resource will be configured with transfer permission;

S3 obtains destination virtual resource using key.

Optionally, it will appreciated by the skilled person that structure shown in Figure 11 is only to illustrate, electronic device can also To be smart phone (such as Android phone, iOS mobile phone), tablet computer, palm PC and mobile internet device The terminal devices such as (Mobile Internet Devices, MID), PAD.Figure 11 it does not make to the structure of above-mentioned electronic device At restriction.For example, electronic device may also include more or less component (such as network interface, display dress than shown in Figure 11 Set), or with the configuration different from shown in Figure 11.

Wherein, memory 1102 can be used for storing software program and module, such as the virtual resource in the embodiment of the present invention Transfer method and the corresponding program instruction/module of device, the software that processor 1104 is stored in memory 1102 by operation Program and module realize above-mentioned virtual resource transfer method thereby executing various function application and data processing.It deposits Reservoir 1102 may include high speed random access memory, can also include nonvolatile memory, such as one or more magnetic storage Device, flash memory or other non-volatile solid state memories.In some instances, memory 1102 can further comprise opposite In the remotely located memory of processor 1104, these remote memories can pass through network connection to terminal.Above-mentioned network Example includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.

Above-mentioned transmitting device 1106 is used to that data to be received or sent via a network.Above-mentioned network specific example It may include cable network and wireless network.In an example, transmitting device 1106 includes a network adapter (Network Interface Controller, NIC), can be connected by cable with other network equipments with router so as to interconnection Net or local area network are communicated.In an example, transmitting device 1106 is radio frequency (Radio Frequency, RF) module, For wirelessly being communicated with internet.

Wherein, specifically, memory 1102 is for storing the information such as destination virtual resource and key.

Another aspect according to an embodiment of the present invention, additionally provides a kind of storage medium.Meter is stored in the storage medium Calculation machine program, wherein the computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.

Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:

S1 obtains virtual resource allocation request by block chain, wherein carry block chain in virtual resource allocation request The account information and use of the resource identification of upper destination virtual resource to be transferred, target account for obtaining destination virtual resource The transfering state condition for the virtual resource that diverts the aim is executed in instruction;

S2, response virtual resource allocation request generate the key to match with destination virtual resource on block chain, and will Key is sent to target account;

S3, in the case where reaching transfering state condition, notice target account obtains shifted target void using key Quasi- resource.

Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:

S1 obtains the destination virtual resource for being uploaded to block chain;

S2 is retrieved as the transfering state parameter that destination virtual resource is configured in block chain, wherein transfering state ginseng It include: the account information of transfering state condition, target account in number, transfering state condition includes at least: transfer time;

S3 generates virtual resource allocation request according to transfering state parameter.

Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:

S1, according to destination virtual resource, the account information and transfering state condition of target account generate key.

Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:

S1, register account number of the registration for the virtual resource that diverts the aim on block chain;

S2 obtains the destination virtual resource that register account number is uploaded;

S3, to the application system server transmission checking request for using destination virtual resource;

S4, in the feelings that the verification result instruction destination virtual resource for receiving the return of application system server is efficient resource Under condition, destination virtual resource is stored according to the format of key-value pair into block chain.

Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:

S1, in the case where reaching transfer time, determination reaches transfering state condition;

S2 automatically generates notification message in the case where reaching transfering state condition, wherein notification message is for notifying Target account obtains shifted destination virtual resource using key;

Notification message is sent to target account according to advice method indicated in transfering state parameter by S3.

Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:

S1, by block chain obtain virtual resource allocation request after, further includes: by destination virtual resource from operation shape State is adjusted to frozen state, wherein destination virtual resource allows to be modified under operation, and destination virtual resource is freezing shape It is prohibited to modify under state;

S2 after notice target account obtains shifted destination virtual resource using key, and is obtained in target account In the case where getting destination virtual resource, destination virtual resource recovery to operating status.

Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:

S1, after obtaining virtual resource allocation request by block chain, further includes: destination virtual resource is maintained at fortune Row state, wherein destination virtual resource allows to be modified under operation;

S2, it includes: that notice target account uses that notice target account, which obtains shifted destination virtual resource using key, Key is obtained by modified destination virtual resource.

Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:

S1, target account obtain key;

S2, target account authenticate key by block chain;

S3, in the case that the key after authentication is determined as legitimate secret, target account is obtained for logging in application system The logon rights of server, wherein destination virtual resource is used in application system server;

S4, target account log in application system server using logon rights, and make application system Server Relay is continuous With destination virtual resource.

Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:

S1 obtains the key generated to match with destination virtual resource to be transferred on block chain;

S2 receives notification message, wherein notification message is used to indicate destination virtual resource and has reached the transfer for executing transfer Status condition, in the case where reaching transfering state condition, destination virtual resource will be configured with transfer permission;

S3 obtains destination virtual resource using key.

Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:

S1 authenticates key by block chain;

S2 in the case that the key after authentication is determined as legitimate secret, is obtained for logging in application system server Logon rights, wherein destination virtual resource for carried out in application system server using;

S3 is logged in application system server using logon rights, and is provided in application system server using destination virtual Source.

Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:

S1 inputs key in login interface, obtains logon rights;

S2 inputs key in block chain, obtains log-on message from block chain, wherein log-on message is stepped on for obtaining Record permission;

S3 inputs key at purview certification interface, obtains logon rights.

Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:

S1, the destination virtual resource configured with transfer permission that will acquire are restored from frozen state to operating status, In, destination virtual resource allows to be modified under operation, and destination virtual resource is prohibited to modify in the frozen state.

Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:

S1 is obtained using key by modified destination virtual resource.

Optionally, in the present embodiment, those of ordinary skill in the art will appreciate that in the various methods of above-described embodiment All or part of the steps be that the relevant hardware of terminal device can be instructed to complete by program, the program can store in In one computer readable storage medium, storage medium may include: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..

The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.

If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and as independent product When selling or using, it can store in above-mentioned computer-readable storage medium.Based on this understanding, skill of the invention Substantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art scheme The form of part product embodies, which is stored in a storage medium, including some instructions are used so that one Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment side of the present invention The all or part of the steps of method.

In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.

In several embodiments provided herein, it should be understood that disclosed client, it can be by others side Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of unit, and only one kind is patrolled Volume function division, there may be another division manner in actual implementation, such as multiple units or components can combine or can be with It is integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of unit or module, can To be electrically or in the form of others.

Unit may or may not be physically separated as illustrated by the separation member, shown as a unit Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.

It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.

The above is only the preferred embodiment of the present invention, it is noted that those skilled in the art are come It says, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications also should be regarded as Protection scope of the present invention.

Claims (27)

1. a kind of virtual resource transfer method characterized by comprising
Virtual resource allocation request is obtained by block chain, wherein carries the block in the virtual resource allocation request The account letter of the resource identification of destination virtual resource to be transferred on chain, the target account for obtaining the destination virtual resource Cease and be used to indicate the transfering state condition for executing and shifting the destination virtual resource;
The virtual resource allocation request is responded, generation matches close with the destination virtual resource on the block chain Key, and the key is sent to the target account;
In the case where reaching the transfering state condition, the target account is notified to obtain shifted institute using the key State destination virtual resource.
2. the method according to claim 1, wherein described obtain virtual resource allocation request packet by block chain It includes:
Obtain the destination virtual resource for being uploaded to the block chain;
In the block chain, it is retrieved as the transfering state parameter that the destination virtual resource is configured, wherein the transfer shape It include: the account information of the transfering state condition, the target account in state parameter, the transfering state condition is at least wrapped It includes: transfer time;
The virtual resource allocation request is generated according to the transfering state parameter.
3. according to the method described in claim 2, it is characterized in that, the response virtual resource allocation is requested, described The key to match with the destination virtual resource is generated on block chain includes:
According to the destination virtual resource, the account information of the target account and transfering state condition generation are described close Key.
4. according to the method described in claim 2, it is characterized in that, described obtain the target void for being uploaded to the block chain Quasi- resource includes:
The register account number for shifting the destination virtual resource is registered on the block chain;
Obtain the destination virtual resource that the register account number is uploaded;
To the application system server transmission checking request for using the destination virtual resource;
Indicate that the destination virtual resource is efficient resource receiving the verification result that the application system server returns In the case of, the destination virtual resource is stored according to the format of key-value pair into the block chain.
5. according to the method described in claim 2, it is characterized in that, described in the case where reaching the transfering state condition, The target account is notified to obtain the destination virtual resource shifted using the key and include:
In the case where reaching the transfer time, determination reaches the transfering state condition;
In the case where reaching the transfering state condition, notification message is automatically generated, wherein the notification message is for notifying The target account obtains the destination virtual resource shifted using the key;
The notification message is sent to the target account according to advice method indicated in the transfering state parameter.
6. the method according to claim 1, wherein
It is described obtain by block chain virtual resource allocation request after, further includes: by the destination virtual resource from operation State is adjusted to frozen state, wherein the destination virtual resource allows to be modified under the operating status, and the target is empty Quasi- resource is prohibited to modify under the frozen state;
After the destination virtual resource for notifying the target account to be shifted using key acquisition, and in institute It states in the case that target account gets the destination virtual resource, the destination virtual resource recovery to the operating status.
7. the method according to claim 1, wherein
After the acquisition virtual resource allocation request by block chain, further includes: be maintained at the destination virtual resource Operating status, wherein the destination virtual resource allows to be modified under the operating status;
It is described that notify the target account to obtain the destination virtual resource that is shifted using the key include: described in notice Target account is obtained using the key by the modified destination virtual resource.
8. the method according to claim 1, wherein notifying the target account to obtain using the key described After taking the destination virtual resource shifted, further includes:
The target account obtains the key;
The target account authenticates the key by the block chain;
In the case that the key after authentication is determined as legitimate secret, the target account is obtained for logging in application system The logon rights of server, wherein the destination virtual resource is used in the application system server;
The target account logs in the application system server using the logon rights, and in the application system server In continue to use the destination virtual resource.
9. a kind of virtual resource transfer method, which is characterized in that
Obtain the key generated to match with destination virtual resource to be transferred on block chain;
Receive notification message, wherein the notification message is used to indicate the destination virtual resource and has reached turn for executing transfer Shifting state condition, in the case where reaching the transfering state condition, the destination virtual resource will be configured with transfer permission;
The destination virtual resource is obtained using the key.
10. according to the method described in claim 9, it is characterized in that, after the reception notification message, further includes:
The key is authenticated by the block chain;
In the case that the key after authentication is determined as legitimate secret, the login for logging in application system server is obtained Permission, wherein the destination virtual resource for carried out in the application system server using;
The application system server is logged in using the logon rights, and uses the mesh in the application system server Mark virtual resource.
11. according to the method described in claim 10, it is characterized in that, the acquisition is for logging in stepping on for application system server Recording permission includes following one:
The key is inputted in login interface, obtains the logon rights;
The key is inputted in the block chain, obtains log-on message from the block chain, wherein the log-on message is used In the acquisition logon rights;
The key is inputted at purview certification interface, obtains the logon rights.
12. according to the method described in claim 9, it is characterized in that, obtaining the destination virtual resource using the key Later, further includes:
The destination virtual resource configured with the transfer permission that will acquire is restored from frozen state to operating status, In, the destination virtual resource allows to be modified under the operating status, and the destination virtual resource is in the frozen state Under be prohibited to modify.
13. according to the method described in claim 9, it is characterized in that, being provided getting the destination virtual using the key After source, further includes:
It is obtained using the key by the modified destination virtual resource.
14. a kind of virtual resource transfer device characterized by comprising
Acquiring unit, for obtaining virtual resource allocation request by block chain, wherein taken in the virtual resource allocation request Resource identification with destination virtual resource to be transferred on the block chain, the target for obtaining the destination virtual resource The account information of account and the transfering state condition for being used to indicate the execution transfer destination virtual resource;
Generation unit is generated on the block chain and is provided with the destination virtual for responding the virtual resource allocation request The key that source matches, and the key is sent to the target account;
Notification unit, in the case where reaching the transfering state condition, notifying the target account to use the key Obtain the destination virtual resource shifted.
15. device according to claim 14, which is characterized in that the acquiring unit includes:
First obtains module, for obtaining the destination virtual resource for being uploaded to the block chain;
Second obtains module, the transfering state ginseng configured in the block chain, being retrieved as the destination virtual resource Number, wherein it include: the account information of the transfering state condition, the target account in the transfering state parameter, described turn Shifting state condition includes at least: transfer time;
First generation module is requested for generating the virtual resource allocation according to the transfering state parameter.
16. device according to claim 15, which is characterized in that the generation unit includes:
Second generation module, for according to the destination virtual resource, the account information of the target account and the transfer shape State condition generates the key.
17. device according to claim 15, which is characterized in that described first, which obtains module, includes:
Submodule is registered, for registering the register account number for shifting the destination virtual resource on the block chain;
Acquisition submodule, the destination virtual resource uploaded for obtaining the register account number;
Sending submodule, for use the destination virtual resource application system server send checking request;
Sub-module stored, for receiving the verification result instruction destination virtual money that the application system server returns In the case that source is efficient resource, the destination virtual resource is stored according to the format of key-value pair into the block chain.
18. device according to claim 15, which is characterized in that the notification unit includes:
Determining module, in the case where reaching the transfer time, determination to reach the transfering state condition;
Third generation module, for automatically generating notification message in the case where reaching the transfering state condition, wherein institute Notification message is stated for notifying the target account to obtain the destination virtual resource shifted using the key;
Sending module, for the notification message to be sent to institute according to advice method indicated in the transfering state parameter State target account.
19. device according to claim 14, which is characterized in that described device further include:
Adjustment unit is used for after the acquisition virtual resource allocation request by block chain, by the destination virtual resource Frozen state is adjusted to from operating status, wherein the destination virtual resource allows to be modified under the operating status, described Destination virtual resource is prohibited to modify under the frozen state;
Recovery unit, for notifying the target account to obtain the destination virtual shifted using the key and provide described After source, and in the case where the target account gets the destination virtual resource, by the destination virtual resource recovery To the operating status.
20. device according to claim 14, which is characterized in that described device further include:
Holding unit is used for after the acquisition virtual resource allocation request by block chain, by the destination virtual resource It is maintained at operating status, wherein the destination virtual resource allows to be modified under the operating status;
The notification unit further include: notification module, after notifying the target account to be modified using key acquisition The destination virtual resource.
21. a kind of virtual resource transfer device, which is characterized in that
First acquisition unit, for obtain on block chain it is generated match with destination virtual resource to be transferred it is close Key;
Receiving unit, for receiving notification message, wherein the notification message is used to indicate the destination virtual resource and has reached The transfering state condition for executing transfer, in the case where reaching the transfering state condition, the destination virtual resource will be configured There is transfer permission;
Second acquisition unit, for obtaining the destination virtual resource using the key.
22. device according to claim 21, which is characterized in that described device further include:
Authenticating unit, for being authenticated by the block chain to the key after the reception notification message;
Third acquiring unit in the case where being determined as legitimate secret for the key after authentication, is obtained and is answered for logging in With the logon rights of system server, wherein the destination virtual resource in the application system server for being made With;
Unit is logged in, for logging in the application system server using the logon rights, and in the application system service The destination virtual resource is used in device.
23. device according to claim 22, which is characterized in that the third acquiring unit includes following one:
First obtains module, for inputting the key in login interface, obtains the logon rights;
Second obtains module, for inputting the key in the block chain, obtains log-on message from the block chain, In, the log-on message is for obtaining the logon rights;
Third obtains module, for inputting the key at purview certification interface, obtains the logon rights.
24. device according to claim 23, which is characterized in that described device further include:
Recovery unit, for after obtaining the destination virtual resource using the key, will acquire configured with described The destination virtual resource of transfer permission is restored from frozen state to operating status, wherein the destination virtual resource is in institute Stating allows to be modified under operating status, and the destination virtual resource is prohibited to modify under the frozen state.
25. device according to claim 23, which is characterized in that described device further include:
4th acquiring unit, for being obtained using the key after getting the destination virtual resource using the key It takes by the modified destination virtual resource.
26. a kind of storage medium, which is characterized in that be stored with computer program in the storage medium, wherein the computer Program is arranged to execute method described in the claim 1 to 8 or 9 to 13 any one when operation.
27. a kind of electronic device, including memory and processor, which is characterized in that be stored with computer journey in the memory Sequence, the processor are arranged to execute institute in the claim 1 to 8 or 9 to 13 any one by the computer program The method stated.
CN201810525480.1A 2018-05-28 2018-05-28 virtual resource transfer method and device, storage medium and electronic device CN109011583A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810525480.1A CN109011583A (en) 2018-05-28 2018-05-28 virtual resource transfer method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810525480.1A CN109011583A (en) 2018-05-28 2018-05-28 virtual resource transfer method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN109011583A true CN109011583A (en) 2018-12-18

Family

ID=64611637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810525480.1A CN109011583A (en) 2018-05-28 2018-05-28 virtual resource transfer method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN109011583A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109993530A (en) * 2019-03-29 2019-07-09 北京柏链基石科技有限公司 A kind of virtual resource management method, device and electronic equipment
CN110245517A (en) * 2019-05-29 2019-09-17 杭州秘猿科技有限公司 A kind of across chain method, apparatus, system and the electronic equipment of block chain
CN110458702A (en) * 2019-07-15 2019-11-15 阿里巴巴集团控股有限公司 Based on the virtual resource allocation method and device of block chain, electronic equipment
WO2020024627A1 (en) * 2018-08-02 2020-02-06 刘卓 Data processing method, node, blockchain network, and virtual data carrier
US10785168B2 (en) 2019-07-15 2020-09-22 Alibaba Group Holding Limited Allocating virtual resource based on block chain

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102483792A (en) * 2009-11-23 2012-05-30 富士通株式会社 Method and apparatus for sharing documents
CN105427169A (en) * 2014-09-17 2016-03-23 中国银联股份有限公司 Security information interaction method for resource transfer
CN106911641A (en) * 2015-12-23 2017-06-30 索尼公司 For authorizing the client terminal device for accessing, server unit and access control system
CN106941487A (en) * 2017-02-24 2017-07-11 阿里巴巴集团控股有限公司 A kind of data transmission method for uplink and device
CN107067255A (en) * 2017-02-27 2017-08-18 腾讯科技(深圳)有限公司 The treating method and apparatus of account in block chain
US20170243222A1 (en) * 2016-02-22 2017-08-24 Bank Of America Corporation System for use of secure data from a process data network as secured access by users
CN107220820A (en) * 2017-05-16 2017-09-29 腾讯科技(深圳)有限公司 Resource transfers method, device and storage medium
US20170372417A1 (en) * 2016-06-28 2017-12-28 Sivanarayana Gaddam Digital asset account management

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102483792A (en) * 2009-11-23 2012-05-30 富士通株式会社 Method and apparatus for sharing documents
CN105427169A (en) * 2014-09-17 2016-03-23 中国银联股份有限公司 Security information interaction method for resource transfer
CN106911641A (en) * 2015-12-23 2017-06-30 索尼公司 For authorizing the client terminal device for accessing, server unit and access control system
US20170243222A1 (en) * 2016-02-22 2017-08-24 Bank Of America Corporation System for use of secure data from a process data network as secured access by users
US20170372417A1 (en) * 2016-06-28 2017-12-28 Sivanarayana Gaddam Digital asset account management
CN106941487A (en) * 2017-02-24 2017-07-11 阿里巴巴集团控股有限公司 A kind of data transmission method for uplink and device
CN107067255A (en) * 2017-02-27 2017-08-18 腾讯科技(深圳)有限公司 The treating method and apparatus of account in block chain
CN107220820A (en) * 2017-05-16 2017-09-29 腾讯科技(深圳)有限公司 Resource transfers method, device and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020024627A1 (en) * 2018-08-02 2020-02-06 刘卓 Data processing method, node, blockchain network, and virtual data carrier
CN109993530A (en) * 2019-03-29 2019-07-09 北京柏链基石科技有限公司 A kind of virtual resource management method, device and electronic equipment
CN110245517A (en) * 2019-05-29 2019-09-17 杭州秘猿科技有限公司 A kind of across chain method, apparatus, system and the electronic equipment of block chain
CN110458702A (en) * 2019-07-15 2019-11-15 阿里巴巴集团控股有限公司 Based on the virtual resource allocation method and device of block chain, electronic equipment
US10785168B2 (en) 2019-07-15 2020-09-22 Alibaba Group Holding Limited Allocating virtual resource based on block chain

Similar Documents

Publication Publication Date Title
US10574692B2 (en) Mutual authentication security system with detection and mitigation of active man-in-the-middle browser attacks, phishing, and malware and other security improvements
US20180091975A1 (en) Wireless token device
CN105373091B (en) For the method and apparatus used in Process Control System
US20170142090A1 (en) System and method for permitting an action based on verification information and a challenge token
CN105389500B (en) The method for unlocking another equipment using an equipment
US10297094B2 (en) Challenge-response access control using context-based proof
US9887995B2 (en) Locking applications and devices using secure out-of-band channels
Zhang et al. Emerging security threats and countermeasures in IoT
CN105027493B (en) Safety moving application connection bus
CN106416130B (en) Network safety system and method
US20190213318A1 (en) Systems and methods for authentication via bluetooth device
CN104601327B (en) A kind of safe verification method, relevant device and system
CN104025635B (en) Mobile risk assessment
CN104813328B (en) trusted container
CN103379098B (en) Content sharing method, device and network system thereof
Condry et al. Using smart edge IoT devices for safer, rapid response with industry IoT control operations
US20180124036A1 (en) Facilitating users to obfuscate user credentials in credential responses for user authentication
US9419969B2 (en) Method and system for granting access to a secured website
US9262592B2 (en) Wireless storage device
Torres et al. A survey on identity management for the future network
CN104813337B (en) Hardware management interface
TWI248747B (en) Instrument recognizing system
US9547761B2 (en) Wireless token device
CN105432056B (en) Safe mixed file shared system
CN105530224B (en) The method and apparatus of terminal authentication

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