CN110201400A - Game item method of commerce, transaction terminal and storage medium based on block chain - Google Patents

Game item method of commerce, transaction terminal and storage medium based on block chain Download PDF

Info

Publication number
CN110201400A
CN110201400A CN201910428279.6A CN201910428279A CN110201400A CN 110201400 A CN110201400 A CN 110201400A CN 201910428279 A CN201910428279 A CN 201910428279A CN 110201400 A CN110201400 A CN 110201400A
Authority
CN
China
Prior art keywords
account
game item
block chain
game
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910428279.6A
Other languages
Chinese (zh)
Other versions
CN110201400B (en
Inventor
王佳敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics 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 Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN201910428279.6A priority Critical patent/CN110201400B/en
Publication of CN110201400A publication Critical patent/CN110201400A/en
Application granted granted Critical
Publication of CN110201400B publication Critical patent/CN110201400B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/71Game security or game management aspects using secure communication between game devices and game servers, e.g. by encrypting game data or authenticating players
    • 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/73Authorising game programs or game devices, e.g. checking authenticity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

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

Abstract

The invention discloses a kind of game item method of commerce, transaction terminal and storage mediums based on block chain, it is described based on the game item method of commerce of block chain comprising steps of after user account has logged in, the trading instruction that user issues is received, and determines the game item of trading object account and transaction according to the trading instruction;The data information of the game item is sent to the corresponding block chain node address of the trading object account.The present invention can guarantee that data information is stored in always in the block chain node of both parties in the process of exchange of game item, to guarantee that data information will not be stolen or be modified by other people, it is ensured that the safety and authenticity of stage property transaction.And since game official does not have modification ability to data information, stage property process of exchange can not also be interfered, ensure the independence of game item transaction.

Description

Game item method of commerce, transaction terminal and storage medium based on block chain
Technical field
The present invention relates to data interaction field more particularly to a kind of game item method of commerce based on block chain, transaction Terminal and computer readable storage medium.
Background technique
In the scene of game of traditional game, between player and player can by mode of doing business that game official provides into The transaction of row game item.But in process of exchange, the data information memory of game item is in official, and the process of stage property transaction is only It is merely to be changed the information of holder.That is, the data information of game item itself is not changed and is shifted, number It is believed that breath is still stored in official's server.And in actual operations, game official is often aperiodically to game item Data information modify, thus to game carry out dynamic adjustment.And this data point reuse will will lead to player and hand in stage property It not can guarantee the data information of stage property after easily to be not modified yet, the process of exchange of game item caused to lack safety and true Property.
Summary of the invention
The main purpose of the present invention is to provide a kind of game item method of commerce based on block chain, transaction terminal and deposit Storage media, it is intended to solve not can guarantee data information after stage property transaction not by the process of exchange caused by the modification of game official The problem of lacking safety and authenticity.
To achieve the above object, the present invention provides a kind of game item method of commerce based on block chain, comprising steps of
After user account has logged in, the trading instruction that user issues is received, and determine and trade according to the trading instruction Object account and the game item of transaction;
The data information of the game item is sent to the corresponding block chain node address of the trading object account.
Optionally, the user account correspondence is preset with a pair of of public and private key pair;The data by the game item Information was sent to before the step of trading object account corresponding block chain node address, further includes:
The game item is determined according to the newest transaction record of the private key of the user account and the game item Whether consistent with the user account hold account;
If the game item to hold account consistent with the user account, then follow the steps: by the game item Data information be sent to the corresponding block chain node address of the trading object account;
If the game item hold account and the user account is inconsistent, it is determined that Fail Transaction.
Optionally, described according to the determination of the newest transaction record of the private key of the user account and the game item Whether the step consistent with the user account includes: the account of holding of game item
The game item is determined from the newest transaction record of the game item holds the corresponding public key of account;
Verifying is decrypted to the public key for holding account using the private key of the user account, judges user's account Number private key whether hold the public key of account described in successful decryption verifying;
If holding the public key of account described in the private key successful decryption verifying of the user account, the game item is held There is account consistent with the user account;
If holding the public key of account described in the failed decryption verification of the private key of the user account, the game item Hold account and the user account is inconsistent.
Optionally, the trading object account correspondence is preset with a pair of of public and private key pair;It is described by the game item Data information is sent to the step of trading object account corresponding block chain node address and includes:
The public key of trading object account is obtained, to believe the data of the game item using the public key of trading object account Breath is encrypted, and updates the public key for holding account of the game item in the newest transaction record of the game item For the public key of the trading object account;
The data information of the encrypted game item is sent to the corresponding block chain link of the trading object account Dot address, so that the trading object account is according to the private key of the trading object account to the public key of the trading object account Verifying is decrypted.
Optionally, the data information by the game item is sent to the corresponding block chain of the trading object account The step of node address includes:
When the institute that the game item of the data information confirmation transaction by the game item is held for the user account When having game item, it is a game item packet that all game items that the user account is held, which are packaged and arrange,;
The corresponding data information of the game item packet is sent to the corresponding block chain node of the trading object account Address.
Optionally, before the step of trading instruction for receiving user's sending, further includes:
Receive the corresponding block chain node of server according to user complete game content transmitted by game item, and by institute State block chain node address of the data information memory in the user account of game item.
Optionally, the data information by the game item is sent to the corresponding block chain of the trading object account The step of node address includes:
The data information of the game item is sent to the corresponding block chain node address of the trading object account, institute It is the account under different game that trading object account, which is stated, from the user account.
Optionally, described after user account has logged in, receive user issue trading instruction the step of before, also wrap It includes:
The account confidential information is sent to server, and obtained from the server by the account confidential information for receiving user's input Login authentication result;
According to the login authentication result login user account.
In addition, to achieve the above object, the present invention also provides a kind of transaction terminal, the transaction terminal include memory, Processor, communicator and it is stored in the computer program that can be run on the memory and on the processor, in which: institute State the step that the game item method of commerce based on block chain as described above is realized when computer program is executed by the processor Suddenly.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium It is stored with computer program on storage medium, is realized when the computer program is executed by processor and is based on block as described above The step of game item method of commerce of chain.
A kind of game item method of commerce based on block chain, transaction terminal and the storage that the embodiment of the present invention proposes are situated between Matter, user can issue corresponding trading instruction by transaction terminal login user account, and by user account.Transaction terminal Determine trading object account according to trading instruction and for the game item of transaction after, can by the data information of game item from In the block chain node address that the easy object account of best friend is taken out and sent in the block chain node of user account, by game item Data information memory on the block chain node of trading object account.Since the data information of game item is in process of exchange It is that trading object account is transferred to from user account, i.e. the process of this time game item transaction not will receive the limit of game official System ensure that the independence of stage property transaction.The data information memory of game item is in the block chain node for holding account, not only Uniqueness with data information can also protect the data information of game item not to be stolen by others or distort, to guarantee The authenticity of the safety of stage property process of exchange and stage property transaction.
Detailed description of the invention
Fig. 1 is the apparatus structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is that the present invention is based on the flow diagrams of the game item method of commerce first embodiment of block chain;
Fig. 3 is that the present invention is based on the flow diagrams of the game item method of commerce second embodiment of block chain;
Fig. 4 is that the present invention is based on the refinement processes of step S30 in the game item method of commerce second embodiment of block chain Schematic diagram;
Fig. 5 is that the present invention is based on the flow diagrams of the game item method of commerce 3rd embodiment of block chain;
Fig. 6 is that the present invention is based on the flow diagrams of the game item method of commerce fourth embodiment of block chain;
Fig. 7 is that the present invention is based on the flow diagrams of the 5th embodiment of game item method of commerce of block chain.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As shown in Figure 1, Fig. 1 is the apparatus structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
The terminal of that embodiment of the invention is transaction terminal, can be PC, is also possible to smart phone, tablet computer, e-book Reader, MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard Audio level 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert Compression standard audio level 4) intelligent terminal with communication function such as player, portable computer.
As shown in Figure 1, the terminal may include: processor 1001, such as CPU, communication bus 1002, user interface 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is for realizing the connection communication between these components. User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include that the wired of standard connects Mouth, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.
Optionally, terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio Circuit, WiFi module etc..Wherein, sensor such as optical sensor, motion sensor and other sensors.Specifically, light Sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can according to the light and shade of ambient light come The brightness of display screen is adjusted, proximity sensor can close display screen and/or backlight when hardware device is moved in one's ear.As One kind of motion sensor, gravity accelerometer can detect the size of (generally three axis) acceleration in all directions, quiet Size and the direction that can detect that gravity when only, the application that can be used to identify hardware device posture are (such as horizontal/vertical screen switching, related Game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc..
Processor 1001 can be used for calling the computer program stored in memory 1005, and executes and be based on block as follows Respectively implement the step in the game item method of commerce of chain:
After user account has logged in, the trading instruction that user issues is received, and determine and trade according to the trading instruction Object account and the game item of transaction;
The data information of the game item is sent to the corresponding block chain node address of the trading object account.
Further, processor 1001 can be used for calling the computer program stored in memory 1005, also execute with Lower operation:
The game item is determined according to the newest transaction record of the private key of the user account and the game item Whether consistent with the user account hold account;
If the game item to hold account consistent with the user account, then follow the steps: by the game item Data information be sent to the corresponding block chain node address of the trading object account;
If the game item hold account and the user account is inconsistent, it is determined that Fail Transaction.
Further, processor 1001 can be used for calling the computer program stored in memory 1005, also execute with Lower operation:
The game item is determined from the newest transaction record of the game item holds the corresponding public key of account;
Verifying is decrypted to the public key for holding account using the private key of the user account, judges user's account Number private key whether hold the public key of account described in successful decryption verifying;
If holding the public key of account described in the private key successful decryption verifying of the user account, the game item is held There is account consistent with the user account;
If holding the public key of account described in the failed decryption verification of the private key of the user account, the game item Hold account and the user account is inconsistent.
Further, processor 1001 can be used for calling the computer program stored in memory 1005, also execute with Lower operation:
The public key of trading object account is obtained, to believe the data of the game item using the public key of trading object account Breath is encrypted, and updates the public key for holding account of the game item in the newest transaction record of the game item For the public key of the trading object account;
The data information of the encrypted game item is sent to the corresponding block chain link of the trading object account Dot address, so that the trading object account is according to the private key of the trading object account to the public key of the trading object account Verifying is decrypted.
Further, processor 1001 can be used for calling the computer program stored in memory 1005, also execute with Lower operation:
When the institute that the game item of the data information confirmation transaction by the game item is held for the user account When having game item, it is a game item packet that all game items that the user account is held, which are packaged and arrange,;
The corresponding data information of the game item packet is sent to the corresponding block chain node of the trading object account Address.
Further, processor 1001 can be used for calling the computer program stored in memory 1005, also execute with Lower operation:
Receive the corresponding block chain node of server according to user complete game content transmitted by game item, and by institute State block chain node address of the data information memory in the user account of game item.
Further, processor 1001 can be used for calling the computer program stored in memory 1005, also execute with Lower operation:
The data information of the game item is sent to the corresponding block chain node address of the trading object account, institute It is the account under different game that trading object account, which is stated, from the user account.
Further, processor 1001 can be used for calling the computer program stored in memory 1005, also execute with Lower operation:
The account confidential information is sent to server, and obtained from the server by the account confidential information for receiving user's input Login authentication result;
According to the login authentication result login user account.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 1, can wrap It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
Referring to figure 2., Fig. 2 is that the present invention is based on the signals of the process of the game item method of commerce first embodiment of block chain Figure, wherein the game item method of commerce based on block chain includes the following steps:
Step S10 receives the trading instruction that user issues, and according to the trading instruction after user account has logged in Determine the game item of trading object account and transaction;
In the present embodiment, transaction terminal can be PC, be also possible to other intelligence with communication function such as smart phone Energy terminal device, is illustrated below with transaction terminal for PC.User can log in the user account of oneself by PC, and at Function login user account issues game item trading instruction with backward PC.It specifically, include realization game in the trading instruction Stage property transaction needed for information, such as home account, the trading object account of counterparty, transaction game item information And mode of doing business etc..The processor at the end PC can determine after the trading instruction for receiving user's sending from trading instruction The account for the trading object traded and game item information for trading.
The data information of the game item is sent to the corresponding block chain link of the trading object account by step S20 Dot address.
The data information of game item refers to that shape picture, attribute data, holder information of game item etc. can For determining the electronic data of game item.After the data information of game item is sent to a certain account by user, that is, show to use Family is traded to other side by game item.The trip of corresponding trading object account and transaction is obtained according to trading instruction in processor Play stage property information after, processor need first to determine user account whether possess these for transaction game item own Power, that is, user carries out the premise of game item transaction and belongs to user account for the ownership of game item.When the trip for determining transaction Play stage property is when belonging to user account, and processor can be by the data information corresponding to game item from the block chain link of user account Dot address is sent to the block chain node address of trading object account.That is, the storage address of the data information of the game item from The node address of user account has been transferred to the node address of trading object account.During transaction, the number of game item It is believed that breath is uniquely, after data information is sent to trading object account by user account, user account just loses trip The data information of play stage property, to guarantee that trading object account can receive game item.And in trading object account After block chain node receives the data information of game item, it can store it in node address.Due to game item It is stored in the block chain node of trading object account, therefore only trading object account can again take game item It trades out, other any game account or official game management personnel can not be adjusted or modify to game item.
In the present embodiment, user can be in transaction terminal login user account, and after logining successfully, user can be issued Trading instruction is to trade to game item.Transaction terminal is after the trading instruction for getting user's sending, from trading instruction Middle determining user wants the trading object account traded and the game item for trading.It is carrying out trading it Before, transaction terminal needs first to determine the account of holding of game item, only in game item when to hold account be user account, Transaction terminal just will continue to execute process of exchange.The data information of game item is stored in the block chain of user account before transaction In node, in process of exchange, the data information of game item is sent to by transaction terminal from the block chain node of user account In the block chain node address of trading object account, so that trading object account is after receiving the data information of game item It stores it on block chain node, completes the process of exchange of this game item.Since the data information of game item is not deposited Storage is stored in user account or the block chain node of trading object account on the server of game official, and game is played The process that family is traded by account not will receive the limitation of game official.That is, user also can be to trip without opening game Game item in play is traded.Simultaneously as game official be not involved in game item transaction in data information storage and Transmission, therefore, no matter game item is in user account or in trading object account, and official control personnel can not be to trip The process of exchange of play stage property is managed, to ensure that the independence of stage property transaction, official is avoided to carry out in process of exchange Interference.Meanwhile the data information memory of game item can also protect game item in the block chain node for holding account Data information is not stolen by others or distorts, to guarantee the safety before and after stage property process of exchange, it is ensured that the peace of stage property transaction Full property and authenticity.
It further, is that the present invention is based on the game item method of commerce second embodiments of block chain referring to Fig. 3, Fig. 3 Flow diagram, in the present embodiment, the user account correspondence are preset with a pair of of public and private key pair;The step S20, by institute Before stating the step of the data information of game item is sent to the trading object account corresponding block chain node address, also wrap It includes:
Step S30 determines the trip according to the newest transaction record of the private key of the user account and the game item Play stage property whether hold account consistent with the user account;
Wherein, if the game item to hold account consistent with the user account, then follow the steps S20, will be described The data information of game item is sent to the corresponding block chain node address of the trading object account;
If the game item hold account and the user account is inconsistent, then follow the steps S31, determine that transaction is lost It loses.
In the present embodiment, user account is previously provided with a pair of of public and private key pair, and public key and private key can be mutually relatively right The encrypted data in side are decrypted.The public key of user account can be dispersed on network, to facilitate other people to obtain.It is trading It, can be from the data information of game item after terminal determines the game item of trading object account and transaction according to trading instruction The corresponding historical transaction record of middle acquisition game item.It is determined according to the timestamp information in historical transaction record newest primary Transaction record.Due to uniqueness of the game item in process of exchange, the newest transaction record of game item is game Upper one of stage property holds account and game item is traded to the incumbent transaction record for holding account.Specifically, a upper Ren Chiyou Account is trading game item in the incumbent process of exchange for holding account, and an existing public key for holding account is added to In transaction record, the proof of account is held as existing one.Transaction terminal can be by the private key of user account to game item Newest transaction record confirmed.When user account be game item it is incumbent hold account when, road game can be exercised The data information of game item is sent to trading object account, realizes the transaction of game item by the right to punish of tool;When user's account When number not holding account for game item incumbent, then shows that user account does not have right to punish to game item, be unable to complete This time stage property process of exchange.It can determine whether user account possesses the game item before transaction by the private key of user account Ownership, to guarantee that the ownership of game item can correctly be traded into trading object account, it is ensured that stage property hand over The authenticity of easy process.
It further, is that the present invention is based in the game item method of commerce second embodiment of block chain referring to Fig. 4, Fig. 4 The refinement flow diagram of step S30, in the present embodiment, the step S30, according to the private key of the user account and described The newest transaction record of game item determine the game item hold account whether the step consistent with the user account Include:
Step S32 determines that the account of holding of the game item is corresponded to from the newest transaction record of the game item Public key;
Step S33 is decrypted verifying to the public key for holding account using the private key of the user account, judges institute Whether the private key for stating user account holds the public key of account described in successful decryption verifying;
Step S34, if holding the public key of account, the game described in the private key successful decryption verifying of the user account Stage property to hold account consistent with the user account;
Step S35, if holding the public key of account, the trip described in the failed decryption verification of the private key of the user account Play stage property hold account and the user account is inconsistent.
In the present embodiment, transaction terminal can obtain existing the one of game item from the newest transaction record of game item Appoint the public key for holding account.Since login user account, transaction terminal are also available to user's account on transaction terminal by user Number private key, verifying, which is decrypted, to the public key for holding account by the private key of user account can determine user account and hold Whether account is consistent.It, can be by the private key of user account to holding account only when user account is to hold account Public key verifying is decrypted;If verifying can not be decrypted to the public key for holding account in the private key of user account, show to use Family account is not the account of holding of game item, and user account is to game item and does not have right of disposition.Due to holding account Public key be stored in advance in the newest transaction record of game item, therefore, transaction terminal can obtain after the user logs The private key of user account is got, and the principle of verifying is able to carry out to judge whether game item belongs to use by private key and public key Family account guarantees that stage property was traded to guarantee ownership of the seller in game item process of exchange with game item The authenticity of journey.
It further, is that the present invention is based on the game item method of commerce 3rd embodiments of block chain referring to Fig. 5, Fig. 5 Flow diagram, in the present embodiment, the trading object account correspondence are preset with a pair of of public and private key pair;The step S20, The step of data information of the game item is sent to the trading object account corresponding block chain node address include:
Step S21 obtains the public key of trading object account, to utilize the public key of trading object account by the game item Data information encrypted, and by the account of holding of the game item in the newest transaction record of the game item Public key is updated to the public key of the trading object account;
It is corresponding to be sent to the trading object account by step S22 for the data information of the encrypted game item Block chain node address, so that the trading object account is according to the private key of the trading object account to the trading object account Number public key verifying is decrypted.
In the present embodiment, trading object account is equally previously provided with corresponding a pair of of public and private key pair.Easy object account The public key of number account can be equally dispersed on network, to facilitate other people to obtain.Transaction terminal is in user's login user account During carrying out stage property transaction, after determining trading object account according to trading instruction, transaction can be got from network The public key of object account, and added by data information of the public key of trading object account to the game item that transaction is related to It is close, while a transaction record is increased newly as newest transaction record, in this newest friendship in the data information of game item Easily in record, the public key for holding account of game item is the public key of trading object account.Transaction terminal is updating road game After what is had holds the public key of account, the data information of the game item after can use the public key encryption of trading object account is sent To the block chain node address of trading object account.Trading object account, can be with after receiving the data information of game item Verifying is decrypted to the data information of game item by the private key of trading object account, to prove trading object account i.e. New for game item holds account.And the data information of game item can either pass through the private key of trading object account It is decrypted, so that it is guaranteed that only trading object account can get game item, ensure that the safety of stage property process of exchange Property.
It further, is that the present invention is based on the game item method of commerce fourth embodiments of block chain referring to Fig. 6, Fig. 6 Flow diagram, in the present embodiment, the data information of the game item is sent to the transaction pair by the step S20 The step of block chain node address corresponding as account includes:
Step S23, when the game item of the data information confirmation transaction by the game item is the user account When all game items held, it is a game item that all game items that the user account is held, which are packaged and arrange, Packet;
The corresponding data information of the game item packet is sent to the corresponding area of the trading object account by step S24 Block chain node address.
In the present embodiment, after transaction terminal determines the game item for transaction according to trading instruction, if user will All game items held under user account, which are traded, gives trading object account, then all game that can hold user account Stage property is packaged, and generates a game item packet, and the data information of the game item packet is sent to trading object account Block chain node address.All game assets all one-time transactions i.e. in user account give trading object account, thus side Just, quickly realize that the assets of user account empty.It should be noted that in transaction terminal by the data information of game item packet Before being sent to trading object account, it is also necessary to the account of holding for all game items that user account is held is confirmed, if The account of holding of a certain game item is not user account, then the game item can not be added game item packet and trade.
It further, is that the present invention is based on the 5th embodiments of game item method of commerce of block chain referring to Fig. 7, Fig. 7 Flow diagram, in the present embodiment, the step S10 receive the transaction that user issues and refer to after user account has logged in It enables, and the step of determining according to the trading instruction game item of trading object account and transaction includes:
Step S11 receives the corresponding block chain node of server according to user and completes game after user account has logged in Game item transmitted by content, and by the data information memory of the game item the user account block chain node Address;
Step S12, receive user issue trading instruction, and according to the trading instruction determine trading object account and The game item of transaction.
In the present embodiment, user can be received after transaction terminal login user account by completing game content The game item reward that server is sent.Specifically, user can be registered daily by login user account, and registered Meet and obtains corresponding reward from server end after the requirement of game content.Specifically, server end is equally stored with for sending out It puts to the game item of player, after user account completes corresponding game content, server will be stored on block chain node The data information of game item be sent to the block chain node of user account, allow the user to get corresponding road game Tool.The mode that game official again may be by block chain realizes the function that game item is provided to user, and game item Data information will be stored on the block chain node of user account, to guarantee that user can after getting game item Safely carry out storage keeping.
Further, in the game item method of commerce sixth embodiment the present invention is based on block chain, the step S20, the step of data information of the game item is sent to the trading object account corresponding block chain node address Include:
The data information of the game item is sent to the corresponding block chain node address of the trading object account, institute It is the account under different game that trading object account, which is stated, from the user account.
In the present embodiment, the user account in stage property process of exchange can be under different game from trading object account Game account, i.e. user can trade game item to the trading object account in another game.Pass through block chain node energy Enough realize that the game item transaction under different game is used so that the transaction of game item is not limited only in a game Game item can be traded to the account in another game and be used in another game by family, to improve road game The practicability of tool and flexibility.
Further, in the 7th embodiment of game item method of commerce the present invention is based on block chain, the step S10, after user account has logged in, receive user issue trading instruction the step of before, further includes:
The account confidential information is sent to server, and obtained from the server by the account confidential information for receiving user's input Login authentication result;
According to the login authentication result login user account.
In the present embodiment, user can input the account confidential information of user account to transaction terminal, and transaction terminal is obtaining To after account confidential information, logging request is initiated to server, and get the corresponding verification result of logging request from server.If account Confidential information is errorless, then transaction terminal can log in corresponding user account according to verification result, enables a user to lead to Cross the process of exchange that user account completes game item.It should be noted that transaction terminal can be various smart machines, because This, user does not need to log in game in transaction terminal login user account, but can pass through the corresponding transaction program of game Realize the game item transaction under user account.User can complete game item by transaction terminal when without logging into game Transaction further improves the flexibility and convenience of game item transaction.
Furthermore the embodiment of the present invention also proposes a kind of computer readable storage medium, is stored thereon with the trip based on block chain Play stage property transaction program, the storage medium can be the memory 1005 in the terminal of Fig. 1, be also possible to such as ROM (Read- Only Memory, read-only memory)/RAM (Random Access Memory, random access memory), magnetic disk, in CD At least one, the computer readable storage medium includes that some instructions are used so that a terminal device with processor (can be mobile phone, computer, server or TV etc.) executes method described in each embodiment of the present invention.
It is understood that in the description of this specification, reference term " embodiment ", " another embodiment ", " other The description of embodiment " or " first embodiment~N embodiment " etc. means specific spy described in conjunction with this embodiment or example Sign, structure, material or feature are included at least one embodiment or example of the invention.In the present specification, to above-mentioned The schematic representation of term may not refer to the same embodiment or example.Moreover, the specific features of description, structure, material Or feature can be combined in any suitable manner in any one or more of the embodiments or examples.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone, Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of game item method of commerce based on block chain, which comprises the following steps:
After user account has logged in, the trading instruction that user issues is received, and trading object is determined according to the trading instruction Account and the game item of transaction;
The data information of the game item is sent to the corresponding block chain node address of the trading object account.
2. as described in claim 1 based on the game item method of commerce of block chain, which is characterized in that the user account pair A pair of of public and private key pair should be preset with;It is corresponding that the data information by the game item is sent to the trading object account Block chain node address the step of before, further includes:
Holding for the game item is determined according to the newest transaction record of the private key of the user account and the game item Whether account is consistent with the user account;
If the game item holds that account is consistent with the user account, then follow the steps: by the number of the game item It is believed that breath is sent to the corresponding block chain node address of the trading object account;
If the game item hold account and the user account is inconsistent, it is determined that Fail Transaction.
3. as claimed in claim 2 based on the game item method of commerce of block chain, which is characterized in that described according to the use The newest transaction record of the private key of family account and the game item determine the game item hold account whether with it is described The consistent step of user account includes:
The game item is determined from the newest transaction record of the game item holds the corresponding public key of account;
Verifying is decrypted to the public key for holding account using the private key of the user account, and judges the user account Private key whether hold the public key of account described in successful decryption verifying;
If holding the public key of account described in the private key successful decryption verifying of the user account, the game item holds account It is number consistent with the user account;
If holding the public key of account described in the failed decryption verification of the private key of the user account, the game item is held Account and the user account are inconsistent.
4. as claimed in claim 2 based on the game item method of commerce of block chain, which is characterized in that the trading object account Number correspondence is preset with a pair of of public and private key pair;The data information by the game item is sent to the trading object account The step of corresponding block chain node address includes:
Obtain trading object account public key, with using trading object account public key by the data information of the game item into Row encryption, and the public key for holding account of the game item is updated to institute in the newest transaction record of the game item State the public key of trading object account;
With being sent to the corresponding block chain node of the trading object account by the data information of the encrypted game item Location, so that the trading object account carries out the public key of the trading object account according to the private key of the trading object account Decryption verification.
5. as described in claim 1 based on the game item method of commerce of block chain, which is characterized in that described by the game The data information of stage property is sent to the step of trading object account corresponding block chain node address and includes:
When the game item of the data information confirmation transaction by the game item is all trips that the user account is held When play stage property, it is a game item packet that all game items that the user account is held, which are packaged and arrange,;
The corresponding data information of the game item packet is sent to the corresponding block chain node address of the trading object account.
6. as described in claim 1 based on the game item method of commerce of block chain, which is characterized in that the reception user hair Before the step of trading instruction out, further includes:
Receive the corresponding block chain node of server according to user complete game content transmitted by game item, and by the trip Block chain node address of the data information memory of play stage property in the user account.
7. such as the game item method of commerce of any of claims 1-6 based on block chain, which is characterized in that described The step of data information of the game item is sent to the trading object account corresponding block chain node address include:
The data information of the game item is sent to the corresponding block chain node address of the trading object account, the friendship Easy object account is the account under different game from the user account.
8. such as the game item method of commerce of any of claims 1-6 based on block chain, which is characterized in that described After user account has logged in, receive user issue trading instruction the step of before, further includes:
The account confidential information is sent to server, and obtains and log in from the server by the account confidential information for receiving user's input Verification result;
According to the login authentication result login user account.
9. a kind of transaction terminal, which is characterized in that including memory, processor, communicator and be stored on the memory simultaneously The computer program that can be run on the processor, in which: the computer program is realized when the execution as right is wanted The step of game item method of commerce described in asking any one of 1 to 8 based on block chain.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program is realized when the computer program is executed by processor such as the chain described in any item of the claim 1 to 8 based on block The step of game item method of commerce.
CN201910428279.6A 2019-05-21 2019-05-21 Game prop trading method based on block chain, trading terminal and storage medium Active CN110201400B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910428279.6A CN110201400B (en) 2019-05-21 2019-05-21 Game prop trading method based on block chain, trading terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910428279.6A CN110201400B (en) 2019-05-21 2019-05-21 Game prop trading method based on block chain, trading terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110201400A true CN110201400A (en) 2019-09-06
CN110201400B CN110201400B (en) 2022-08-19

Family

ID=67788278

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910428279.6A Active CN110201400B (en) 2019-05-21 2019-05-21 Game prop trading method based on block chain, trading terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110201400B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110598481A (en) * 2019-09-29 2019-12-20 腾讯科技(深圳)有限公司 Data storage method, device, equipment and storage medium
CN111198922A (en) * 2020-01-02 2020-05-26 腾讯科技(深圳)有限公司 Game resource management method and device based on block chain
CN111478959A (en) * 2020-04-02 2020-07-31 深圳市九九八八网络科技有限公司 Distributed storage method for game transaction platform
CN112138401A (en) * 2020-09-15 2020-12-29 北京智明星通科技股份有限公司 Game prop transaction method, system and transaction equipment
CN112990918A (en) * 2019-12-17 2021-06-18 上海唯链信息科技有限公司 Method, system, electronic device and storage medium for determining right and transferring article

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6404435B1 (en) * 2017-10-24 2018-10-10 株式会社 ディー・エヌ・エー Item transaction system and item transaction program
CN108764877A (en) * 2018-06-05 2018-11-06 广州裕如优信息科技有限公司 Digital asset based on block chain technology really weighs method of commerce
CN109011583A (en) * 2018-05-28 2018-12-18 腾讯科技(深圳)有限公司 virtual resource transfer method and device, storage medium and electronic device
CN109173266A (en) * 2018-11-12 2019-01-11 网易(杭州)网络有限公司 Processing method, device, processor and the server of fictitious assets across game

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6404435B1 (en) * 2017-10-24 2018-10-10 株式会社 ディー・エヌ・エー Item transaction system and item transaction program
CN109011583A (en) * 2018-05-28 2018-12-18 腾讯科技(深圳)有限公司 virtual resource transfer method and device, storage medium and electronic device
CN108764877A (en) * 2018-06-05 2018-11-06 广州裕如优信息科技有限公司 Digital asset based on block chain technology really weighs method of commerce
CN109173266A (en) * 2018-11-12 2019-01-11 网易(杭州)网络有限公司 Processing method, device, processor and the server of fictitious assets across game

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110598481A (en) * 2019-09-29 2019-12-20 腾讯科技(深圳)有限公司 Data storage method, device, equipment and storage medium
CN112990918A (en) * 2019-12-17 2021-06-18 上海唯链信息科技有限公司 Method, system, electronic device and storage medium for determining right and transferring article
CN111198922A (en) * 2020-01-02 2020-05-26 腾讯科技(深圳)有限公司 Game resource management method and device based on block chain
CN111198922B (en) * 2020-01-02 2023-04-18 腾讯科技(深圳)有限公司 Game resource management method and device based on block chain
CN111478959A (en) * 2020-04-02 2020-07-31 深圳市九九八八网络科技有限公司 Distributed storage method for game transaction platform
CN112138401A (en) * 2020-09-15 2020-12-29 北京智明星通科技股份有限公司 Game prop transaction method, system and transaction equipment
CN112138401B (en) * 2020-09-15 2024-04-16 北京智明星通科技股份有限公司 Game prop transaction method, system and transaction equipment

Also Published As

Publication number Publication date
CN110201400B (en) 2022-08-19

Similar Documents

Publication Publication Date Title
CN110201400A (en) Game item method of commerce, transaction terminal and storage medium based on block chain
CN105871867B (en) Identity identifying method, system and equipment
US9703971B2 (en) Sensitive operation verification method, terminal device, server, and verification system
CN105659558B (en) Computer implemented method, authorization server and computer-readable memory
CN107153961A (en) A kind of method of payment, paying server, trading server and readable storage medium storing program for executing
CN107612695A (en) Knowledge management method, terminal and server based on block chain
CN104468463B (en) Verification method, device and system
CN108696631A (en) Method and its electronic equipment for providing content corresponding with accessory device
CN110585699A (en) Control method, device and equipment of cloud game and storage medium
CN108696514A (en) Resource collects task management method, device, storage medium and system
TW200913710A (en) Systems and methods for alarm tone selection, distribution, and playback in a networked audiovisual device
CN106254462A (en) Method, server and the system of a kind of remote assistance realizing mobile terminal
CN109600223A (en) Verification method, Activiation method, device, equipment and storage medium
CN111355732B (en) Link detection method and device, electronic equipment and storage medium
CN111340482B (en) Conflict detection method, device, node equipment and storage medium
CN105721413A (en) Service processing method and apparatus
CN108510022A (en) A kind of Quick Response Code generates, verification method and server
CN104735657B (en) Security terminal verification method, wireless access point binding method, apparatus and system
CN104917796B (en) Credit accounts creating device, system and method
CN106534072A (en) User information authorization method, apparatus, equipment and system
CN109257336A (en) It is a kind of based on the encrypted message processing method of block chain, terminal device
CN110601858B (en) Certificate management method and device
CN112035897A (en) Block chain evidence storage method and related device
CN109905380A (en) Node control method and relevant apparatus in a kind of distributed system
CN109102266A (en) Account numeric value transfer and device

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
CB03 Change of inventor or designer information

Inventor after: Liu Xitong

Inventor after: Su Hongjing

Inventor after: Sun Huazhu

Inventor after: Yang Fan

Inventor after: Wang Weicai

Inventor before: Wang Jiamin

CB03 Change of inventor or designer information
GR01 Patent grant
GR01 Patent grant