Game data processing method and device and electronic equipment

文档序号:1521864 发布日期:2020-02-11 浏览:32次 中文

阅读说明:本技术 游戏数据处理方法、装置及电子设备 (Game data processing method and device and electronic equipment ) 是由 黎蒙 于 2019-09-29 设计创作,主要内容包括:本公开的实施例提供了一种游戏数据处理方法、装置及电子设备。该方法包括:第一平台接收游戏购买请求;所述第一平台根据所述游戏购买请求确定目标待售游戏,所述目标待售游戏是通过第二平台基于游戏出售请求存储到区块链中;所述第一平台根据所述游戏购买请求与所述目标待售游戏生成购买成功信息;所述第一平台将所述购买成功信息存储至所述区块链。本公开实施例提供的游戏数据处理方法、装置及电子设备在第一平台接收游戏购买请求时,根据该游戏购买请求匹配通过第二平台上传的目标待售游戏,能够实现跨平台的游戏的交易。(The embodiment of the disclosure provides a game data processing method and device and electronic equipment. The method comprises the following steps: the first platform receives a game purchase request; the first platform determines a target game for sale according to the game purchase request, and the target game for sale is stored in a blockchain through a second platform based on the game sale request; the first platform generates purchase success information according to the game purchase request and the target game to be sold; the first platform stores the purchase success information to the blockchain. According to the game data processing method and device and the electronic equipment provided by the embodiment of the disclosure, when the first platform receives the game purchase request, the target games to be sold uploaded through the second platform are matched according to the game purchase request, and the cross-platform game transaction can be realized.)

1. A game data processing method, comprising:

the first platform receives a game purchase request;

the first platform determines a target game for sale according to the game purchase request, and the target game for sale is stored in a blockchain through a second platform based on the game sale request;

the first platform generates purchase success information according to the game purchase request and the target game to be sold;

the first platform stores the purchase success information to the blockchain.

2. The method of claim 1, further comprising:

the second platform receiving a game sale request, the game sale request including a target game for sale and seller information;

the second platform verifies ownership information of the target game to be sold in the block chain according to the seller information to generate verification information;

and if the verification information indicates that the target game to be sold is legal, storing the game selling request to the block chain.

3. The method of claim 2, wherein the second platform verifying ownership information stored in the blockchain for the target game for sale based on the seller information comprises:

the second platform acquires ownership information recorded in the blockchain of the target game for sale;

the second platform verifies that the seller information and the ownership information are consistent.

4. The method of claim 2, wherein the game purchase request includes purchaser information; the first platform generates purchase success information according to the game purchase request and the target game for sale, and the purchase success information comprises the following steps:

the first platform generates ownership change information according to the buyer information and the seller information;

and the first platform generates purchase success information according to the ownership change information, the game purchase request and the target game for sale.

5. The method of claim 2 wherein the game sale request further includes serial number information; wherein, still include:

the second platform carries out authenticity verification on the sequence code information;

and if the authenticity verification is passed, the second platform generates an ownership increasing request according to the sequence code information, the seller information and the target game to be sold and stores the ownership increasing request to the block chain.

6. The method of claim 2,

the second platform receiving a game sale request, comprising:

the second platform receives a game selling request of a second user;

the first platform receives a game purchase request, comprising:

the first platform receives a game purchase request of a first user.

7. The method of claim 2,

further comprising:

the first platform receives a game selling request of a first user;

the first platform receiving a game purchase request, comprising:

the first platform receives a game purchase request of the second user.

8. The method of claim 1, wherein the first platform generating a purchase success message based on the game purchase request and the target game for sale comprises:

the first platform generates payment information according to the target game to be sold;

the first platform receiving payment success information in response to the payment information;

and the first platform generates purchase success information according to the payment success information and the game purchase request.

9. A game data processing apparatus characterized by comprising:

the purchase request acquisition module is used for receiving a game purchase request;

the game selling module is used for determining a target game to be sold according to the game purchasing request, and the target game to be sold is stored into the blockchain through the second platform based on the game selling request;

the purchase information generation module is used for generating purchase success information according to the game purchase request and the target game to be sold;

and the block chain storage module is used for storing the purchase success information to the block chain.

10. An electronic device, comprising:

one or more processors;

storage means for storing one or more programs;

when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-8.

Technical Field

The present disclosure relates to the field of computer application technologies, and in particular, to a game data processing method and apparatus, and an electronic device.

Background

The transactional mode of a stand-alone game is typically a buy-through mechanism, where the user has ownership of the game once the required fee is paid. When a user needs to sell or purchase the ownership of a stand-alone game sold by another user, the transaction is typically conducted offline, or an online negotiation is conducted, and the offline transaction is conducted after the negotiation is successful. However, offline transactions have certain risks and unreliability, and behaviors such as fake sales, fraud and the like of users cannot be distinguished; and the transaction mode has large time span and is limited by regions, and the instantaneity of the user on game requirements cannot be met.

Therefore, a new game data processing method, device and electronic device are needed.

It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.

Disclosure of Invention

The embodiment of the disclosure provides a game data processing method and device and electronic equipment, and further overcomes the defects of low safety and low convenience of offline transactions to at least a certain extent.

Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.

The embodiment of the disclosure provides a game data processing method, which includes: the first platform receives a game purchase request; the first platform determines a target game for sale according to the game purchase request, and the target game for sale is stored in a blockchain through a second platform based on the game sale request; the first platform generates purchase success information according to the game purchase request and the target game to be sold; the first platform stores the purchase success information to the blockchain.

The embodiment of the present disclosure provides a game data processing apparatus, including: the purchase request acquisition module is used for receiving a game purchase request; the game selling module is used for determining a target game to be sold according to the game purchasing request, and the target game to be sold is stored into the blockchain through the second platform based on the game selling request; the purchase information generation module is used for generating purchase success information according to the game purchase request and the target game to be sold; and the block chain storage module is used for storing the purchase success information to the block chain.

An embodiment of the present disclosure provides an electronic device, including: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the game data processing method as described in the above embodiments.

In the technical solutions provided by some embodiments of the present disclosure, a connection is established between a platform and a blockchain, when a first platform receives a game purchase request, a target game to be sold can be determined in the blockchain according to the game purchase request, purchase success information is generated according to the game purchase request and the target game to be sold, and the game information to be sold and the purchase success information are stored in the blockchain, so that a technical effect of a cross-platform game transaction can be achieved.

It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.

Drawings

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty.

In the drawings:

FIG. 1 illustrates a schematic diagram of an exemplary system architecture 100 to which a game data processing method or apparatus of an embodiment of the present disclosure may be applied;

FIG. 2 is an alternative structural diagram of a distributed system 200 applied to a blockchain system according to an embodiment of the present invention;

FIG. 3 is an alternative Block Structure (Block Structure) diagram provided by an embodiment of the present invention;

FIG. 4 schematically shows a flow diagram of a game data processing method according to one embodiment of the present disclosure;

FIG. 5 schematically shows a flow chart of a game data processing method according to another embodiment of the present disclosure;

FIG. 6 is a flowchart in an exemplary embodiment based on step S520 of FIG. 5;

FIG. 7 is a flowchart in an exemplary embodiment based on step S430 of FIG. 4;

FIG. 8 schematically shows a flow chart of a game data processing method according to yet another embodiment of the present disclosure;

FIG. 9 schematically shows a flow chart of a game data processing method according to yet another embodiment of the present disclosure;

FIG. 10 schematically shows a flow chart of a game data processing method according to yet another embodiment of the present disclosure;

FIG. 11 is a flowchart in an exemplary embodiment based on step S430 of FIG. 4;

FIG. 12 schematically shows a flow chart of a game data processing method according to yet another embodiment of the present disclosure;

FIG. 13 schematically illustrates a submission interface diagram of a game sale request, according to an embodiment of the disclosure

FIG. 14 schematically illustrates a submission interface diagram of a game purchase request, according to an embodiment of the disclosure;

FIG. 15 schematically shows a block diagram of a game data processing apparatus according to an embodiment of the present disclosure;

FIG. 16 illustrates a schematic structural diagram of a computer system suitable for use in implementing the electronic device of an embodiment of the present disclosure.

Detailed Description

Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.

Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the disclosure.

The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.

The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.

Fig. 1 shows a schematic diagram of an exemplary system architecture 100 to which a game data processing method or apparatus of an embodiment of the present disclosure may be applied.

As shown in fig. 1, the system architecture 100 may include one or more of terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.

It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation. For example, server 105 may be a server cluster comprised of multiple servers, or the like.

The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, portable computers, desktop computers, wearable devices, virtual reality devices, smart homes, and so forth.

The server 105 may be a server that provides various services. For example, terminal device 103 (which may also be terminal device 101 or 102) uploads a game purchase request to server 105. The server 105 may receive a game purchase request as a first platform; the first platform determines a target game for sale according to the game purchase request, and the target game for sale is stored in a blockchain through a second platform based on the game sale request; the first platform generates purchase success information according to the game purchase request and the target game to be sold; the first platform stores the purchase success information to the blockchain. . And the successful purchase information is fed back to the terminal equipment 103, and then the terminal equipment 103 can perform subsequent operation according to the successful purchase information, so that the transaction of the cross-platform game can be realized, and the security of the transaction process is improved.

For another example, the server 105 may receive a game sale request as a second platform, the game sale request including a target game for sale and seller information; the second platform verifies ownership information of the target game to be sold in the block chain according to the seller information to generate verification information; if the verification information indicates that the target game to be sold is legal, the game selling request is stored in the block chain, and the verification information is fed back to the terminal device 101 (or the terminal device 102 or 103), so that the user can confirm whether the uploaded game selling request passes the verification based on the content displayed on the terminal device 101.

The system related to the embodiment of the invention can be a distributed system formed by connecting a client, a plurality of nodes (any form of computing equipment in an access network, such as a server and a user terminal) through a network communication mode.

Taking a distributed system as an example of a blockchain system, referring To fig. 2, fig. 2 is an optional structural schematic diagram of a blockchain system To which the distributed system 200 provided by the embodiment of the present invention is applied, and is formed by a plurality of nodes 210 (computing devices in any form in an access network, such as servers and user terminals) and a client 220, a Peer-To-Peer (P2P, Peer To Peer) network is formed between the nodes, and the P2P protocol is an application layer protocol operating on a Transmission Control Protocol (TCP). In a distributed system, any machine, such as a server or a terminal, can join to become a node, and the node comprises a hardware layer, a middle layer, an operating system layer and an application layer.

Referring to the functions of each node in the blockchain system shown in fig. 2, the functions involved include:

1) routing, a basic function that a node has, is used to support communication between nodes.

Besides the routing function, the node may also have the following functions:

2) the application is used for being deployed in a block chain, realizing specific services according to actual service requirements, recording data related to the realization functions to form recording data, carrying a digital signature in the recording data to represent a source of task data, and sending the recording data to other nodes in the block chain system, so that the other nodes add the recording data to a temporary block when the source and integrity of the recording data are verified successfully.

For example, the services implemented by the application include:

2.1) wallet, for providing the function of transaction of electronic money, including initiating transaction (i.e. sending the transaction record of current transaction to other nodes in the blockchain system, after the other nodes are successfully verified, storing the record data of transaction in the temporary blocks of the blockchain as the response of confirming the transaction is valid; of course, the wallet also supports the querying of the remaining electronic money in the electronic money address;

and 2.2) sharing the account book, wherein the shared account book is used for providing functions of operations such as storage, query and modification of account data, record data of the operations on the account data are sent to other nodes in the block chain system, and after the other nodes verify the validity, the record data are stored in a temporary block as a response for acknowledging that the account data are valid, and confirmation can be sent to the node initiating the operations.

2.3) Intelligent contracts, computerized agreements, which can enforce the terms of a contract, implemented by codes deployed on a shared ledger for execution when certain conditions are met, for completing automated transactions according to actual business requirement codes, such as querying the logistics status of goods purchased by a buyer, transferring the buyer's electronic money to the merchant's address after the buyer signs for the goods; of course, smart contracts are not limited to executing contracts for trading, but may also execute contracts that process received information.

3) And the Block chain comprises a series of blocks (blocks) which are mutually connected according to the generated chronological order, new blocks cannot be removed once being added into the Block chain, and recorded data submitted by nodes in the Block chain system are recorded in the blocks.

Referring to fig. 3, fig. 3 is an optional schematic diagram of a Block Structure (Block Structure) according to an embodiment of the present invention, where each Block includes a hash value of a transaction record stored in the Block (hash value of the Block) and a hash value of a previous Block, and the blocks are connected by the hash values to form a Block chain. The block may include information such as a time stamp at the time of block generation. A block chain (Blockchain), which is essentially a decentralized database, is a string of data blocks associated by using cryptography, and each data block contains related information for verifying the validity (anti-counterfeiting) of the information and generating a next block.

FIG. 4 schematically shows a flow diagram of a game data processing method according to one embodiment of the present disclosure. The method provided by the embodiment of the present disclosure may be processed by any electronic device with computing processing capability, for example, the server 105 and/or the terminal devices 102 and 103 in the embodiment of fig. 1 described above, and in the following embodiment, the server 105 is taken as an execution subject for example, but the present disclosure is not limited thereto.

As shown in fig. 4, a game data processing method provided by an embodiment of the present disclosure may include the following steps.

In step S410, the first platform receives a game purchase request.

In the embodiment of the present disclosure, the first platform may be, for example, a game provider platform, a forum platform for providing game themes of transaction services, or other free transaction platforms, and the technical solution of the present disclosure is not particularly limited in this respect. The first platform may belong to a set of platforms, which may include one or more platforms, each of which may execute the game data processing method of the present disclosure. Each platform in the platform set may submit a join request, and each platform in the platform set whose weight value is greater than the weight threshold (or each node in the block chain whose weight value is greater than the weight threshold) determines that the audit result of the join request passes, join the platform as an element in the set to the platform set. And a weight value can be given to the platform according to the auditing result. Wherein the game purchase request may be sent by a user of the first platform. The second platform may be a platform similar to the first platform, for example, may be any one of the platforms in the set of platforms and the non-first platform, and the technical solution of the present disclosure is not particularly limited thereto.

In step S420, the first platform determines a target game to be sold according to the game purchase request, and the target game to be sold is stored into the blockchain by the second platform based on the game sale request.

In the embodiment of the disclosure, the target game for sale may be sent by the user client of the second platform. The second platform may be a platform similar to the first platform, for example, may be any platform in the platform set that is not the first platform, and the technical solution of the present disclosure is not particularly limited in this respect. For example, a user client of the second platform may generate a target game for sale based on the operation of the user of the second platform.

In an exemplary embodiment, game information specified in the target game for sale may be stored on the blockchain system, stored and authenticated via a consensus mechanism of multiple nodes on the blockchain system. The game information for sale may include: game ownership information, game identifiers (for identifying game names, corresponding to specific games), game types, whether to be sold, previous owners, etc., but the technical solution of the present disclosure is not limited thereto. In a tile chain, each tile may store multiple games with the same game type, which may be, for example: a Role-Playing Game (Role-Playing Game), a Simulation Game (Simulation Game), etc., but the technical solution of the present disclosure is not limited thereto.

In step S430, the first platform generates purchase success information according to the game purchase request and the target game for sale.

In embodiments of the present disclosure, the game purchase request may include purchaser information and the game sale request may include seller information. The purchase success information may include purchaser information and seller information to indicate that the owner of the target game for sale is changed from the seller to the purchaser.

In step S440, the first platform stores the purchase success information to the blockchain.

In the embodiment of the present disclosure, the purchase success information may include game identifier, ownership information, last ownership information, transaction time information, transaction platform, game type information, and the like, which is not limited in the present disclosure. The purchase success information may be stored on the blockchain system, stored and authenticated via a consensus mechanism of multiple nodes on the blockchain system. For example, the first platform sends a purchase success message to a node of the blockchain system. The node stores the purchase success information into the blockchain system. For another example, when the node receives the purchase success information, the node classifies the game types of the target cards to be sold corresponding to the purchase success information, and stores the purchase success information with the same game type into the same block.

According to the game data processing method provided by the embodiment of the disclosure, connection is established between the platform and the blockchain, when the first platform receives a game purchase request, a target game to be sold can be determined in the blockchain according to the game purchase request, purchase success information is generated according to the game purchase request and the target game to be sold, the game information to be sold and the purchase success information are stored in the blockchain, and the technical effect of cross-platform game transaction can be achieved.

Fig. 5 schematically shows a flowchart of a game data processing method according to another embodiment of the present disclosure.

As shown in fig. 5, a game data processing method provided by an embodiment of the present disclosure may include the following steps.

In step S510, a game sale request is received, the game sale request including a target game for sale and seller information.

In the embodiment of the present disclosure, the game selling request may be received through a platform, and the platform may be, for example, a game provider platform, a forum platform for providing a game theme of a transaction service, or other free transaction platforms, and the technical solution of the present disclosure is not particularly limited in this respect. The platform may be the first platform or the second platform in the embodiment of fig. 4, which is not limited in this disclosure. A game sale request may be sent to the platform by a client for a user of the platform. The game selling request may include seller information, a game name of a game to be sold, selling price information, and the like. The target games for sale may include game titles, for example, distinguished by game identifiers.

In an exemplary embodiment, the game sale request may further include serial code information. The serial number information may be an installation serial number for use by a user when registering in the gaming software.

In step S520, the ownership information stored in the blockchain of the target game to be sold is verified according to the seller information, and verification information is generated.

In the embodiment of the disclosure, the seller information in the target game to be sold can be compared with the ownership information of the target game to confirm whether the user corresponding to the seller information owns the ownership of the target game to be sold.

In the embodiment of the disclosure, when a game selling request is received, a verification request may be sent to a node in a blockchain according to the game selling request, so that the blockchain determines whether ownership information consistent with seller information exists in the ownership information of the game identifier corresponding to the game selling request in the transaction record stored in each block in the blockchain according to the verification request. Specifically, the node may determine one or more target blocks having the game type information according to the game type information in the game selling request, and search in the one or more target blocks according to the game identifier of the game selling request to determine all historical transaction records of the target game to be sold. If the verification result is yes, the node generates verification information passing verification according to the verification request, if the verification result is not, the node generates verification information failing verification according to the verification request, and the platform can receive the verification information of the node responding to the verification request.

In step S530, if the verification information indicates that the target game for sale is legal, the target game for sale is stored in the block chain.

In the embodiment of the present disclosure, if the node determines that the verification information indicates that the target game to be sold is legal, it may be determined that the user represented by the seller information owns the target game to be sold, and the selling behavior of the user is legal.

According to the game data processing method, the game to be sold is verified, and the purchase success information is generated when the verification information indicates that the target game to be sold is legal, so that the safety of the game transaction process can be improved.

Fig. 6 is a flowchart in an exemplary embodiment based on step S520 of fig. 5.

As shown in fig. 6, step S520 in the above-mentioned embodiment shown in fig. 5 may further include the following steps.

In step S521, ownership information recorded in the blockchain of the target game for sale is acquired.

In the embodiment of the present disclosure, the ownership information may be obtained through a platform or a node in the blockchain system, where the platform may be, for example, a game provider platform, a forum platform for providing a game topic of a transaction service, or other free transaction platforms, and the technical solution of the present disclosure is not particularly limited in this respect. The platform may be the first platform or the second platform in the embodiment of fig. 4, which is not limited in this disclosure.

In the embodiment of the present disclosure, a search may be performed on each tile in the tile chain according to a target game for sale to obtain all historical transaction records or related data of the target game for sale, so as to determine ownership information of the target game for sale according to information recorded in the tile chain.

In step S522, it is verified whether the seller information coincides with the ownership information.

In the disclosed embodiment, the ownership information may include all the user information that owns the target game for sale.

In an exemplary embodiment, the ownership information includes ownership change records of the respective games, such as the first ownership person, the second ownership person, and the like of each game, and the effective time of the respective ownership change. For example, the ownership information may be sorted chronologically, and the node may index the seller information and look up the closest ownership information to the current time to determine whether the ownership information has an owner that is consistent with the seller information.

According to the game data processing method, when a game selling request is received, ownership information stored in a block chain is searched according to the game selling request, seller information in the game selling request is compared with the ownership information, the legality of the game selling request can be verified, further illegal, repeated selling or fraudulent behaviors can be avoided, and the safety of a transaction process is improved.

Fig. 7 is a flowchart in an exemplary embodiment based on step S430 of fig. 4.

As shown in fig. 7, the step S430 in the embodiment shown in fig. 4 may further include the following steps.

In the disclosed embodiment, the game purchase request includes purchaser information. The purchaser information may be, for example, user information bound to a user client that sends a game purchase request to the platform, which may be, for example, a user identification.

In step S4311, ownership change information is generated from the purchaser information and the seller information.

In the embodiment of the present disclosure, the ownership change information may be generated by a platform or a node in the blockchain system, where the platform may be, for example, a game provider platform, a forum platform for providing a game topic of a transaction service, or other free transaction platforms, and the technical solution of the present disclosure is not particularly limited in this respect. The platform may be the first platform or the second platform in the embodiment of fig. 4, which is not limited in this disclosure.

In the embodiment of the present disclosure, the ownership change information may record information of a previous owner, information of an owner after the change, ownership change time, and the like.

In step S4312, purchase success information is generated based on the ownership change information, the game purchase request, and the target game for sale.

In the embodiment of the present disclosure, the purchase success information may correspond to a corresponding game purchase request and a game sale request. The game purchase request and the game sale request may have valid identification bits, and the valid identification bits of the game purchase request and the game sale request may be set to an invalid state while the purchase success information is generated. The purchase success information can be stored in the blockchain system and stored and authenticated through a consensus mechanism of a plurality of nodes in the blockchain system.

Fig. 8 schematically shows a flowchart of a game data processing method according to still another embodiment of the present disclosure.

As shown in fig. 8, the game data processing method according to the above embodiment further includes the following steps.

In step S810, the serial code information is subjected to an authenticity check.

In the embodiment of the present disclosure, the sequence code (CDKEY code) refers to a sequence code required for software registration. According to the literal meaning, the CD is a disc, the KEY is the meaning of a KEY, the professional term is called a registration code, and the registration code and the KEY of the software are actually realized; however, the password is different from the ordinary password in that the password can be input only by reading a disc but not from a keyboard, even if others know the password, the password is required by ordinary internet banking to ensure the safety of customer data. The password or serial number of the installed software on the optical disc is CDKEY, for example, the system installs the optical disc and requires the number you input in a row of rectangular boxes when installing the system.

In an exemplary embodiment, the serial code may be subjected to an authenticity check through the logic server to prevent a counterfeit serial code from passing the verification.

In step S820, if the authenticity check is passed, an ownership increase request is generated according to the serial number information, the seller information, and the target game to be sold, and stored in the blockchain.

In the embodiment of the present disclosure, the serial code information may be used to indicate ownership information of the user. When a user purchases a game via offline, game ownership information having the user information will not be recorded in the blockchain system. When the serial number information is verified to be true, an ownership increase request can be generated, wherein the serial number information can be bound with the seller information in the ownership increase request to indicate that the owner of the serial number is the seller. The ownership increase request can be sent to the node in the blockchain system by the platform, so that the node stores the ownership increase request in the blockchain, and the storage manner of the ownership increase request can be the same as that of the purchase success information, and details are not described here.

Fig. 9 schematically shows a flowchart of a game data processing method according to still another embodiment of the present disclosure.

As shown in fig. 9, the game data processing method provided by the present embodiment includes the following steps.

In step S910, the first platform receives a game sale request of the first user.

In the embodiment of the disclosure, the user client of the first user can generate a game selling request based on the operation of the first user and send the game selling request to the first platform.

In step S920, the first platform verifies the game selling request, and stores the game selling request to the block chain after the verification is passed.

Step S920 of the present disclosure is similar to steps S520 to S530 in fig. 5, and is not described herein again.

In step S930, the first platform receives a game purchase request of the second user.

In the embodiment of the present disclosure, the second user and the first user may be registered users of the first platform, and the first user and the second user may be different users.

In step S940, the first platform generates purchase success information according to the game purchase request and the game sale request and stores the purchase success information to the blockchain.

Step S940 of the present disclosure is similar to steps S430 to S440 in fig. 4, and is not described herein again.

According to the game data processing method, the first platform receives the game selling request of the first user, meanwhile, the first platform receives the game purchasing request of the second user, the target games to be sold, stored in the blockchain by the first user through the first platform, are determined in the blockchain according to the game purchasing request, purchasing success information is generated according to the game purchasing request and the target games to be sold and stored in the blockchain, and the functions of selling and purchasing games through the same platform by different users can be achieved.

Fig. 10 schematically shows a flowchart of a game data processing method according to still another embodiment of the present disclosure.

As shown in fig. 10, the game data processing method provided by the present embodiment includes the following steps.

In step S1010, the second platform receives a game sale request of a second user.

In the embodiment of the disclosure, the user client of the second user may generate a game selling request based on the operation of the second user and send the game selling request to the first platform.

In step S1020, the second platform verifies the game selling request, and stores the game selling request to the block chain after the verification is passed.

Step S1020 of the present disclosure is similar to steps S520 to S530 in fig. 5, and is not described herein again.

In step S1030, the first platform receives a game purchase request of the first user.

In the embodiment of the present disclosure, the first user may be a registered user of the first platform, and may also be a registered user of the second platform. When the first platform and the second platform have a user sharing mechanism, the first user can access by using the same user identification. When the first platform and the second platform are mutually independent platforms, the registered accounts of the first user in the first platform and the second platform respectively can be bound according to the unique identification code (such as an identity card number) of the user.

In step S1040, the first platform generates purchase success information according to the game purchase request and the game sale request, and stores the purchase success information to the blockchain.

Step S1040 in the present disclosure is similar to steps S430 to S440 in fig. 4, and is not described herein again.

According to the game data processing method, the second platform receives a game selling request of the second user, meanwhile, the first platform receives a game purchasing request of the first user, the target games to be sold, stored in the blockchain by the second user through the second platform, are determined in the blockchain according to the game purchasing request, purchasing success information is generated according to the game purchasing request and the target games to be sold and stored in the blockchain, and the functions of selling and purchasing games through different platforms by different users can be achieved.

Fig. 11 is a flowchart in an exemplary embodiment based on step S430 of fig. 4.

As shown in fig. 11, step S430 in the embodiment shown in fig. 4 may further include the following steps.

In step S4321, payment information is generated according to the target game for sale.

In the embodiment of the present disclosure, the payment information may be generated according to the target game for sale through the first platform or the second platform, and the specific platform is not particularly limited in the present disclosure.

In step S4322, payment success information in response to the payment information is received.

In the embodiment of the disclosure, the payment information can be sent to the user client side indicated by the game purchase request, and the user client side can generate and send the payment success information after executing the corresponding payment operation.

In step S4323, purchase success information is generated from the payment success information and the game purchase request and stored to the blockchain.

In an exemplary embodiment, the ownership change information may be generated according to the purchaser information and the seller information; and generating purchase success information according to the payment success information, the ownership change information, the game purchase request and the target game to be sold and storing the purchase success information to the blockchain. The purchase success information can be stored in the blockchain system and stored and authenticated through a consensus mechanism of a plurality of nodes in the blockchain system.

Fig. 12 schematically shows a flowchart of a game data processing method according to still another embodiment of the present disclosure.

As shown in fig. 12, the game data processing method provided by the present embodiment may include the following steps.

In step S1210, the first platform receives a game purchase request or a game sale request uploaded by the first user.

In step S1220, the first platform generates purchase success information according to the game purchase request or the game sale request and stores the purchase success information in the blockchain.

In step S1230, the second platform receives a game purchase request or a game sale request uploaded by the second user.

In step S1240, the second platform generates purchase success information according to the game purchase request or the game sale request and stores it in the blockchain.

In step S1250, the third platform receives a game purchase request or a game sale request uploaded by the third user, the game purchase request including a serial code request, and the game sale request including a serial code request.

In step S1260, the third platform performs an authenticity check on the serial code request, and after the check is passed, generates purchase success information according to the game purchase request or the game sale request, and stores the purchase success information in the blockchain.

The game data processing method of the embodiment of the disclosure provides two types of interfaces for the user client:

(1) submission interface for game sale request: the user can submit a game selling request of a game which the user wants to sell through the interface. FIG. 13 schematically illustrates a submission interface diagram of a game sale request, according to an embodiment of the disclosure. As shown in fig. 13, the user client may receive the target game or serial code to be sold based on the user operation, and send a game selling request according to the target game or serial code to the first platform or the second platform, so that the first platform or the second platform may perform subsequent operations according to the game selling request.

(2) Submission interface of game purchase request: the user may submit a game purchase request through the interface to purchase the ownership of stand-alone games sold by other players. FIG. 14 schematically illustrates a submission interface diagram of a game purchase request, according to an embodiment of the disclosure. As shown in fig. 14, the user client may determine a target game for sale based on the user operation, and generate a game purchase request according to the target game for sale and send the game purchase request to the first platform or the second platform, so that the first platform or the second platform performs a subsequent operation according to the game purchase request.

The game data processing method of the embodiment of the disclosure can realize the following functions:

(1) a user purchases ownership of a certain game through a third-party game platform;

(2) selling ownership of a certain game by a user through a third-party game platform;

(3) if the user is not a game purchased through a third party platform (e.g., an offline transaction), the transaction for ownership of the game may be completed by the platform uploading the serial number and the transaction for the serial number.

(4) The platform can confirm whether the user has the ownership of the game through the query interface stored in the block chain, and then the authenticity of the selling behavior of the user is identified.

(5) When a plurality of users authenticate a certain game through the same serial code, ownership information of the serial code can be obtained by inquiring the block chain storage, so that the authenticity of behaviors of the plurality of users can be identified.

The following describes embodiments of the device of the present disclosure, which can be used to execute the above-mentioned game data processing method of the present disclosure. For details not disclosed in the embodiments of the device of the present disclosure, please refer to the embodiments of the game data processing method described above in the present disclosure.

Fig. 15 schematically shows a block diagram of a game data processing apparatus according to an embodiment of the present disclosure.

Referring to fig. 15, a game data processing apparatus 1500 according to an embodiment of the present disclosure may include: a purchase request acquisition module 1510, a game for sale determination module 1520, a purchase information generation module 1530, and a blockchain storage module 1540.

The purchase request acquisition module 1510 may be configured to receive a game purchase request

The games for sale determination module 1520 may be configured to determine a target game for sale from the game purchase request, the target game for sale being stored into the blockchain by the second platform based on the game sale request.

The purchase information generation module 1530 may be configured to generate purchase success information according to the game purchase request and the target game for sale.

Blockchain storage module 1540 may be configured to store the purchase success information to the blockchain.

In an exemplary embodiment, the game data processing apparatus 1500 may further include a selling request obtaining module, an offered game verifying module, and an offered game storing module, and the selling request obtaining module may be configured to receive a game selling request including the target offered game and the seller information; the game for sale verification module can be configured to verify ownership information of the target game for sale stored in the block chain according to the seller information to generate verification information; the game for sale storage module may be configured to store the game sale request to the block chain if the verification information indicates that the target game for sale is legal.

In an exemplary embodiment, the game for sale determining module 1520 may include an ownership information acquiring unit and an ownership information verifying unit. Wherein, the ownership information acquiring unit can be configured to acquire ownership information recorded in the blockchain of the target game for sale; the ownership information verification unit may be configured to verify whether the seller information coincides with the ownership information.

In an exemplary embodiment, the game purchase request includes purchaser information; the blockchain storage module 1530 may include an ownership change unit and a blockchain storage unit. Wherein the ownership changing unit may be configured to generate ownership changing information according to the purchaser information and the seller information; the blockchain storage unit may be configured to generate purchase success information according to the ownership change information, the game purchase request, and the target game for sale.

In an exemplary embodiment, the game sale request further includes serial code information; the game data processing apparatus 1500 may further include a serial code checking module and an ownership increasing module. The sequence code checking module can be configured to check the authenticity of the sequence code information; the ownership increasing module can be configured to generate an ownership increasing request according to the serial code information, the seller information and the target game to be sold and store the ownership increasing request to the block chain if the authenticity verification is passed.

In an exemplary embodiment, the sale request acquisition module may be configured to receive a game sale request of a first user; the purchase request acquisition module 1510 may be configured to receive a game purchase request of a second user.

In an exemplary embodiment, the sale request acquisition module may be configured to receive a game sale request of a first user; the purchase request acquisition module 1510 may be configured to receive a game purchase request of the second user.

In an exemplary embodiment, the purchase information generation module 1530 may include a payment information generation unit, a payment success information reception unit, and a blockchain storage unit. Wherein the payment information generating unit may be configured to generate payment information according to the target game for sale; the payment success information receiving unit may be configured to receive payment success information in response to the payment information; the blockchain storage unit may be configured to generate purchase success information according to the payment success information and the game purchase request.

The game data processing device provided by the embodiment of the disclosure establishes connection between the platform and the blockchain, can determine the target game to be sold in the blockchain according to the game purchase request when the first platform receives the game purchase request, generates purchase success information according to the game purchase request and the target game to be sold, and stores the game information to be sold and the purchase success information in the blockchain, and can realize the technical effect of cross-platform game transaction.

In another embodiment of the present disclosure, the game data processing apparatus may verify the game to be sold, and generate the purchase success information when the verification information indicates that the target game to be sold is legal, so as to improve security of the game transaction process.

FIG. 16 illustrates a schematic structural diagram of a computer system suitable for use in implementing the electronic device of an embodiment of the present disclosure. It should be noted that the computer system 1600 of the electronic device shown in fig. 16 is only an example, and should not bring any limitation to the functions and the scope of the application of the embodiments of the present disclosure.

As shown in fig. 16, the computer system 1600 includes a Central Processing Unit (CPU)1601 which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)1602 or a program loaded from a storage portion 1608 into a Random Access Memory (RAM) 1603. In the RAM 1603, various programs and data necessary for system operation are also stored. The CPU 1601, ROM 1602, and RAM 1603 are connected to each other via a bus 1604. An input/output (I/O) interface 1605 is also connected to the bus 1604.

The following components are connected to the I/O interface 1605: an input portion 1606 including a keyboard, a mouse, and the like; an output portion 1607 including a display device such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage portion 1608 including a hard disk and the like; and a communication section 1609 including a network interface card such as a LAN card, a modem, or the like. The communication section 1609 performs communication processing via a network such as the internet. The driver 1610 is also connected to the I/O interface 1605 as needed. A removable medium 1611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1610 as necessary, so that a computer program read out therefrom is mounted in the storage portion 1608 as necessary.

In particular, the processes described below with reference to the flowcharts may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via the communication portion 1609, and/or installed from the removable media 1611. When the computer program is executed by a Central Processing Unit (CPU)1601, various functions defined in the system of the present application are executed.

It should be noted that the computer readable media shown in the present disclosure may be computer readable signal media or computer readable storage media or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer-readable signal medium may include a propagated data signal with computer-readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.

The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

The modules and/or units and/or sub-units described in the embodiments of the present disclosure may be implemented by software, or may be implemented by hardware, and the described modules and/or units and/or sub-units may also be disposed in a processor. Wherein the names of such modules and/or units and/or sub-units in some cases do not constitute a limitation on the modules and/or units and/or sub-units themselves.

As another aspect, the present application also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by an electronic device, cause the electronic device to implement the method as described in the embodiments below. For example, the electronic device may implement the steps shown in fig. 4, 5, 6, 7, 8, 9, 10, 11, or 12.

It should be noted that although in the above detailed description several modules or units or sub-units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units or sub-units described above may be embodied in one module or unit or sub-unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units or sub-units.

Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

27页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:费用获取方法、装置、终端及可读存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!