CN109847363A - Game resource sharing means and method based on block chain - Google Patents

Game resource sharing means and method based on block chain Download PDF

Info

Publication number
CN109847363A
CN109847363A CN201910107904.7A CN201910107904A CN109847363A CN 109847363 A CN109847363 A CN 109847363A CN 201910107904 A CN201910107904 A CN 201910107904A CN 109847363 A CN109847363 A CN 109847363A
Authority
CN
China
Prior art keywords
game resource
game
application
resource
account
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910107904.7A
Other languages
Chinese (zh)
Inventor
李立中
李知旃
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Li (shanghai) Technology Co Ltd
Original Assignee
Li (shanghai) Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Li (shanghai) Technology Co Ltd filed Critical Li (shanghai) Technology Co Ltd
Priority to CN201910107904.7A priority Critical patent/CN109847363A/en
Publication of CN109847363A publication Critical patent/CN109847363A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the invention provides a kind of game resource sharing means and method based on block chain.This method comprises: the first game resource identification record that the first account is possessed in the first application is in block chain;The game resource sharing request that user sends is received, the game resource sharing request is used to that the second account to be requested to share game resource of first account in the first application in the second application;It is identified from the first game resource that first account possesses in the first application is obtained in the block chain, first game resource is scaled the second game resource in the second application, and second game resource is sent to the second account.To realize the shared of game resource between different application, user's viscosity is improved.

Description

Game resource sharing means and method based on block chain
Technical field
The present invention relates to field of computer technology more particularly to a kind of based on the game resource sharing means of block chain and side Method.
Background technique
With the continuous development of science and technology, sci-tech product is constantly updating, this feature is embodied in field of play Incisively and vividly.The service life of a game is very limited, but user can expend many energy and financial resources when playing a game, When the more hot game updated occurs, user would generally be irresolute.The game newly gone out is played, since the time energy of itself has Limit, paying in game is just wasted before, and new game is also required to put into energy again, does not play the game newly gone out, then quickly It will derail with this epoch, this is that most of player can not receive.
Summary of the invention
Based on the above issues, the embodiment of the invention provides a kind of based on the game resource sharing means of block chain and side Method.To realize the shared of game resource between different application, user's viscosity is improved.
In a first aspect, providing a kind of game resource sharing method based on block chain.This method comprises:
The first game resource identification record that first account is possessed in the first application is in block chain;
The game resource sharing request that user sends is received, the game resource sharing request is for requesting the second account to exist Game resource of first account in the first application is shared in second application;
It is identified from the first game resource that first account possesses in the first application is obtained in the block chain, by institute The second game resource that the first game resource is scaled in the second application is stated, and second game resource is sent to the second account Family.
Optionally, the game resource includes one in game article, coupons, game role ability or game achievement Item is multinomial.
Optionally, the game resource includes that can share game resource and can not share game resource;When the game provides When source sharing request can not share game resource for requesting to share, shared failure response is returned.
Optionally, further includes:
Use state of second game resource in the second application is recorded in block chain, the use state is extremely Few any one including in consumption, deletion or exchange;
To the use state carried out in the first game resource in the first application with the second game resource in the second application Identical processing.
Optionally, second game resource that first game resource is scaled in the second game includes:
It opens according to game in the first application and the second application and takes the time difference, first game resource is scaled to the at a discount The second game resource in two game.
Second aspect provides a kind of game resource sharing means based on block chain.Described device includes:
Recording unit, the first game resource identification record for possessing the first account in the first application is in block chain In;
Receiving unit, for receiving the game resource sharing request of user's transmission, the game resource sharing request is used for The second account is requested to share game resource of first account in the first application in the second application;
Scaling unit, for from obtaining first account first game for possessing in the first application in the block chain First game resource is scaled the second game resource in the second application, and second game is provided by resource identification Source is sent to the second account.
Optionally, the game resource includes one in game article, coupons, game role ability or game achievement Item is multinomial.
Optionally, the game resource includes that can share game resource and can not share game resource;When the game provides When source sharing request can not share game resource for requesting to share, shared failure response is returned.
Optionally, the recording unit is also used to, and use state of second game resource in the second application is remembered In block chain, the use state includes at least any one in consumption, deletion or exchange for record;
Processing unit, for carrying out with the second game resource the first game resource in the first application in the second application In the identical processing of use state.
Optionally, the scaling unit is specifically used for:
It opens according to game in the first application and the second application and takes the time difference, first game resource is scaled to the at a discount The second game resource in two game.
The third aspect, this specification embodiment provide a kind of computer equipment, including memory, processor and are stored in On memory and the computer program that can run on a processor, which is characterized in that the processor executes real when described program The method and step of existing aforementioned first aspect.
Fourth aspect provides a kind of computer readable storage medium, and meter is stored on the computer readable storage medium Calculation machine program, the computer program realize method described in above-mentioned first aspect when being executed by processor.
5th aspect, provides a kind of computer program product comprising instruction, when described instruction is run on computers When, so that computer executes method described in above-mentioned first aspect.
Through the embodiment of the present invention, the resource-sharing in different game applications may be implemented, increase the utilization of game resource Rate improves user's viscosity.It will not be unbalance in addition, converting the resource ecology in can guaranteeing to apply by resource, it is ensured that game Enjoyment.
Detailed description of the invention
Fig. 1 applies the exemplary architecture of embodiment provided by the present application;
Fig. 2 is flow chart provided in an embodiment of the present invention;
The position Fig. 3 apparatus structure schematic diagram provided in an embodiment of the present invention;
The position Fig. 4 device structure schematic diagram provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a kind of game resource sharing means and method based on block chain.Fig. 1, which is shown, to be answered With a kind of exemplary architecture of embodiment provided by the present application.
As shown in Figure 1, in the exemplary architecture can one or more block chain nodes 101, when block chain node 101 is When multiple, block chain meshed network is formed.Block chain node 101 can connect one or more clients 102.Client 102 It can realize, can also realize in the form of hardware in a software form.When implemented in hardware, laptop can be used, Desktop computer and mobile terminal etc..
Client 102 can be used for interacting with block chain node 101, such as client 102 can inquire block chain In record, can also record the information in block chain.Block chain node 101 can store block chain, and client 102 can To obtain block chain from block chain node 101, newly-generated block can also be sent to block chain node 101;It is wherein objective Family end 102 can there are many clients by function, for example, inquiring client terminal, packing client etc., wherein be packaged client It can be used for being packaged new block etc..Here, block is the element to form block chain.
In order to facilitate understanding of embodiments of the present invention, it is further explained below in conjunction with attached drawing with specific embodiment Bright, embodiment does not constitute the restriction to the embodiment of the present invention.
Fig. 2 is a kind of game resource sharing method based on block chain provided in an embodiment of the present invention.As shown in Fig. 2, should Method includes:
S210, the first game resource identification record that the first account is possessed in the first application is in block chain;S220, The game resource sharing request that user sends is received, the game resource sharing request is for requesting the second account in the second application In share first account first application in game resource;S230 obtains first account from the block chain The the first game resource mark possessed in the first application, the second trip first game resource being scaled in the second application Play resource, and second game resource is sent to the second account.
In embodiments of the present invention, the first application and the second application can be different game applications, or same The different server of game application can also be the different accounts of the same registrant of same application.First application and second Using can be realized by the framework applications such as client-side/server-side or browser/server-side.Wherein, aforementioned S210 and aforementioned S230 can be realized by server-side.
In addition, game resource includes game article, coupons, game achievement, game social networks, game item, game (for example, role itself grows up, coefficient, lucky degree, grade etc. by intelligent contract can move across game role capability Move) etc. in it is one or more.Further, which includes that can share game resource and can not share game resource. When game resource sharing request can not share game resource for requesting to share, shared failure response is returned.Work as game resource When sharing request can share game resource for requesting to share, then S230 is continued to execute.
Game resource sharing request can be initiated for user by client, can also be automatically initiated according to preset rules. For example, when user registers in the second application, or after reaching certain index in the second application, to the second of the second application Account push resource sharing service opens notice, and user can return to confirmation message, which includes that game resource is shared Request.
In addition, breaking the case where game resource balances in order to avoid same resource is used multiple times, it is also necessary to shared game The use state of resource.Based on this, this method further include:
Use state of second game resource in the second application is recorded in block chain, the use state is extremely Few any one including in consumption, deletion or exchange;
To the use state carried out in the first game resource in the first application with the second game resource in the second application Identical processing.For example, the first game when the second game resource is consumed in the second application by user, in the first application Resource also consumes together;When the second game resource by user deletes thing in the second application, the first game in the first application Resource is also deleted together;After the second game resource is exchanged in the second application by user, at this point, to the in the first application One game resource can be without processing, but the first game resource can not be shared in the second application again.
In another embodiment, aforementioned the second game resource being scaled first game resource in the second game Include:
It opens according to game in the first application and the second application and takes the time difference, first game resource is scaled to the at a discount The second game resource in two game.
Wherein, different applications has different opening and takes the time, the value that thus same article generates in different application It is different.When resource is converted, the resource-sharing table of comparisons is pre-established, which can be according to resource valence in game The variation of value is variation.
Alternatively, in resource-sharing, unlocking condition can be set for the second game resource, which can be according to the Value of one game resource in the first application determines.For example, when game ratings of second account in the second application reach pre- If when condition, the unlock of the second game resource.
Through the embodiment of the present invention, the resource-sharing in different game applications may be implemented, increase the utilization of game resource Rate improves user's viscosity.It will not be unbalance in addition, converting the resource ecology in can guaranteeing to apply by resource, it is ensured that game Enjoyment.
Fig. 3 is a kind of game resource sharing means based on block chain provided in an embodiment of the present invention.As shown in figure 3, should Device includes:
Recording unit 301, the first game resource identification record for possessing the first account in the first application is in area In block chain;
Receiving unit 302, for receiving the game resource sharing request of user's transmission, the game resource sharing request is used Game resource of first account in the first application is shared in the second application in the second account of request;
Scaling unit 303, for from obtained in the block chain first account first application in possess first Game resource mark, is scaled the second game resource in the second application for first game resource, and described second is swum Play resource is sent to the second account.
Optionally, the game resource includes one or more in game article, coupons or game achievement.
Optionally, the game resource includes that can share game resource and can not share game resource;When the game provides When source sharing request can not share game resource for requesting to share, shared failure response is returned.
Optionally, the recording unit 301 is also used to, by use state of second game resource in the second application It is recorded in block chain, the use state includes at least any one in consumption, deletion or exchange;
Processing unit, for carrying out with the second game resource the first game resource in the first application in the second application In the identical processing of use state.
Optionally, the scaling unit 303 is specifically used for:
It opens according to game in the first application and the second application and takes the time difference, first game resource is scaled to the at a discount The second game resource in two game.
Fig. 4 shows a kind of computer equipment structural schematic diagram, the computer equipment provided by this specification embodiment It may include: processor 410, memory 420, input/output interface 430 and bus 440.Wherein processor 410, memory 420, input/output interface 430 and communication interface 440 pass through the communication connection between the realization of bus 440 inside equipment.
Processor 410 can use general CPU (Central Processing Unit, central processing unit), micro process Device, application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or one or The modes such as multiple integrated circuits are realized, for executing relative program, to realize technical solution provided by this specification embodiment.
Memory 420 can use ROM (Read Only Memory, read-only memory), RAM (Random Access Memory, random access memory), static storage device, the forms such as dynamic memory realize.Memory 420 can store Operating system and other applications are realizing technical solution provided by this specification embodiment by software or firmware When, relevant program code is stored in memory 420, and execution is called by processor 410.
Input/output interface 430 is for connecting input/output module, to realize information input and output.Input and output/ Module can be used as component Configuration (not shown) in a device, can also be external in equipment to provide corresponding function.Wherein Input equipment may include keyboard, mouse, touch screen, microphone, various kinds of sensors etc., output equipment may include display, Loudspeaker, vibrator, indicator light etc..
It can also include that communication interface is used for connection communication module (not shown), to realize that this equipment is set with other Standby communication interaction.Wherein communication module can be realized by wired mode (such as USB, cable etc.) and be communicated, and can also be passed through Wireless mode (such as mobile network, WIFI, bluetooth etc.) realizes communication.
Bus 440 includes an access, in various components (such as processor 410, memory 420 and the input/output of equipment Interface 430) between transmit information.
It should be noted that although above equipment illustrates only processor 410, memory 420, input/output interface 430 And bus 440, but in the specific implementation process, which can also include realizing to operate normally other necessary groups Part.In addition, it will be appreciated by those skilled in the art that, it can also be only comprising realizing this specification embodiment in above equipment Component necessary to scheme, without including all components shown in figure.
Professional should further appreciate that, described in conjunction with the examples disclosed in the embodiments of the present disclosure Unit and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, hard in order to clearly demonstrate The interchangeability of part and software generally describes each exemplary composition and step according to function in the above description. These functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution. Professional technician can use different methods to achieve the described function each specific application, but this realization It should not be considered as beyond the scope of the present invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can be executed with hardware, processor The combination of software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field In any other form of storage medium well known to interior.
Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects It is described in detail, it should be understood that being not intended to limit the present invention the foregoing is merely a specific embodiment of the invention Protection scope, all any modification, equivalent substitution, improvement and etc. within the scope of the present invention, done should be included in this hair Within bright protection scope.

Claims (10)

1. a kind of game resource sharing method based on block chain, which is characterized in that the described method includes:
The first game resource identification record that first account is possessed in the first application is in block chain;
The game resource sharing request that user sends is received, the game resource sharing request is for requesting the second account second Game resource of first account in the first application is shared in;
From the first game resource mark for obtaining first account in the block chain and possessing in the first application, by described the One game resource is scaled the second game resource in the second application, and second game resource is sent to the second account.
2. the method according to claim 1, wherein the game resource includes game article, coupons, game It is one or more in role capability or game achievement.
3. method according to claim 1 or 2, which is characterized in that the game resource include can share game resource and Game resource can not be shared;When the game resource sharing request can not share game resource for requesting to share, return altogether Enjoy failure response.
4. method according to claim 1 or 2, which is characterized in that further include:
Use state of second game resource in the second application is recorded in block chain, the use state is at least wrapped Include any one in consumption, deletion or exchange;
It is identical as use state of second game resource in the second application to being carried out in the first game resource in the first application Processing.
5. according to the method described in claim 4, it is characterized in that, described be scaled the second game for first game resource In the second game resource include:
It is opened according to game in the first application and the second application and takes the time difference, first game resource is scaled the second trip at a discount The second game resource in play.
6. a kind of game resource sharing means based on block chain, which is characterized in that described device includes:
Recording unit, the first game resource identification record for possessing the first account in the first application is in block chain;
Receiving unit, for receiving the game resource sharing request of user's transmission, the game resource sharing request is for requesting Second account shares game resource of first account in the first application in the second application;
Scaling unit, for from obtaining first account first game resource for possessing in the first application in the block chain First game resource is scaled the second game resource in the second application, and second game resource is sent out by mark Give the second account.
7. device according to claim 6, which is characterized in that the game resource includes game article, coupons, game It is one or more in role capability or game achievement.
8. device according to claim 6, which is characterized in that the recording unit is also used to, and second game is provided Use state of the source in the second application is recorded in block chain, and the use state includes at least in consumption, deletion or exchange Any one;
Processing unit, for being carried out with the second game resource in the second application in the first game resource in the first application The identical processing of use state.
9. device according to claim 8, which is characterized in that the scaling unit is specifically used for:
It is opened according to game in the first application and the second application and takes the time difference, first game resource is scaled the second trip at a discount The second game resource in play.
10. a kind of computer readable storage medium, including computer-readable instruction, when computer is read and executes the computer When readable instruction, so that computer executes the method as described in claim 1-5 any one.
CN201910107904.7A 2019-02-02 2019-02-02 Game resource sharing means and method based on block chain Pending CN109847363A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910107904.7A CN109847363A (en) 2019-02-02 2019-02-02 Game resource sharing means and method based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910107904.7A CN109847363A (en) 2019-02-02 2019-02-02 Game resource sharing means and method based on block chain

Publications (1)

Publication Number Publication Date
CN109847363A true CN109847363A (en) 2019-06-07

Family

ID=66897545

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910107904.7A Pending CN109847363A (en) 2019-02-02 2019-02-02 Game resource sharing means and method based on block chain

Country Status (1)

Country Link
CN (1) CN109847363A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107767267A (en) * 2017-10-20 2018-03-06 上海策赢网络科技有限公司 The transfer method and device of a kind of virtual resource
CN109173266A (en) * 2018-11-12 2019-01-11 网易(杭州)网络有限公司 Processing method, device, processor and the server of fictitious assets across game

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107767267A (en) * 2017-10-20 2018-03-06 上海策赢网络科技有限公司 The transfer method and device of a kind of virtual resource
CN109173266A (en) * 2018-11-12 2019-01-11 网易(杭州)网络有限公司 Processing method, device, processor and the server of fictitious assets across game

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄震著: "《重新定义未来 区块链如何颠覆金融、商业、文化与我们的生活方式》", 31 August 2018 *

Similar Documents

Publication Publication Date Title
CN108520303A (en) A kind of recommendation system building method and device
JP5668043B2 (en) Management system, management server, management method and program
AU2017101623A4 (en) Methods and Systems for providing a platform for Code-Free Blockchain Application and Smart Contract Development
JP2018502502A (en) Technology for contextual mobile data access
CN110324363A (en) The cochain method and device thereof of internet electric business associated data
WO2022174787A1 (en) Model training
CN112448984A (en) Resource transmission method, electronic device and computer storage medium
CN109388662A (en) A kind of model training method and device based on shared data
US20180249017A1 (en) Data Usage Based Data Transfer Determination
CN113179154B (en) Resource joint distribution method in quantum key distribution Internet of things and related equipment
CN112559898B (en) Item information sending method, item information sending device, electronic equipment and computer readable medium
CN103383703A (en) Microblog user group recommendation method
CN109951487A (en) A kind of portal authentication method and device
CN109847363A (en) Game resource sharing means and method based on block chain
Komarov et al. How internet of things influences human behavior building social web of services via agent-based approach
CN110377644A (en) It is related to the search data sharing method and its system of block chain
CN110413699A (en) The cochain method and device thereof of user's ballot associated data
CN111930724B (en) Data migration method and device, storage medium and electronic equipment
CN110399427A (en) By means of the ad click data sharing method and its system of block chain
CN110417806A (en) Share the cochain method and device thereof of economic associated data in internet
CN110413700A (en) The cochain method and device thereof of knowledge payment associated data
CN110390053A (en) Knowledge payment data recommended method and its device based on block chain
CN110377839A (en) By the search data recommendation method and its device of block chain
CN107360441A (en) Made a speech between a kind of user live broadcast control method and device
CN110427425A (en) Evaluation data sharing method and its system based on block chain

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190607

RJ01 Rejection of invention patent application after publication