CN107979585A - A kind of data processing method, applications client and system - Google Patents
A kind of data processing method, applications client and system Download PDFInfo
- Publication number
- CN107979585A CN107979585A CN201710069478.3A CN201710069478A CN107979585A CN 107979585 A CN107979585 A CN 107979585A CN 201710069478 A CN201710069478 A CN 201710069478A CN 107979585 A CN107979585 A CN 107979585A
- Authority
- CN
- China
- Prior art keywords
- virtual object
- data block
- application
- data
- record
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 48
- 238000000034 method Methods 0.000 claims abstract description 54
- 238000012545 processing Methods 0.000 claims abstract description 27
- 238000004088 simulation Methods 0.000 claims description 21
- 230000008569 process Effects 0.000 claims description 20
- 238000012795 verification Methods 0.000 claims description 16
- 230000000644 propagated effect Effects 0.000 claims description 8
- 230000006399 behavior Effects 0.000 description 63
- 229910052737 gold Inorganic materials 0.000 description 19
- 238000010586 diagram Methods 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 11
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 6
- 239000010931 gold Substances 0.000 description 6
- 230000006870 function Effects 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 238000010276 construction Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005065 mining Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明实施例提供一种数据处理方法、应用客户端及系统,其中方法包括:应用客户端在第一用户完成应用事件时,获取第一用户完成所述应用事件的完成证据;所述完成证据包括:所述第一用户完成所述应用事件的完成记录,以及所述应用事件关联的虚拟对象数据;根据所述完成证据,生成所述虚拟对象数据对应的数据区块,并在所述数据区块中携带所述完成记录,及指示所述虚拟对象数据的指示信息;为所述数据区块添加所述第一用户的签名信息;将添加有所述签名信息的数据区块广播到区块链网络;所述区块链网络由多个应用客户端接入。本发明实施例可实现可靠性较高、且服务器的资源开销较低的虚拟对象处理。
An embodiment of the present invention provides a data processing method, an application client, and a system, wherein the method includes: when the first user completes the application event, the application client obtains a completion proof that the first user completes the application event; the completion proof Including: the first user completes the completion record of the application event, and the virtual object data associated with the application event; according to the completion evidence, a data block corresponding to the virtual object data is generated, and in the data The block carries the completion record and the indication information indicating the virtual object data; adding the signature information of the first user to the data block; broadcasting the data block added with the signature information to the district A block chain network; the block chain network is accessed by multiple application clients. The embodiments of the present invention can realize virtual object processing with high reliability and low server resource overhead.
Description
技术领域technical field
本发明涉及数据处理技术领域,具体涉及一种数据处理方法、应用客户端及系统。The present invention relates to the technical field of data processing, in particular to a data processing method, an application client and a system.
背景技术Background technique
随着游戏等网络应用的流行,用户可在这类网络应用提供的网络虚拟世界中获得不弱于真实世界的活动体验;这类网络应用为实现网络虚拟世界的生态构建,往往需要涉及虚拟货币(如游戏货币)、虚拟物品(如游戏装备、道具等)等虚拟对象的处理,虚拟对象的处理如虚拟对象的生成、交易等。With the popularity of online applications such as games, users can obtain an activity experience that is not inferior to that in the real world in the network virtual world provided by such network applications; in order to realize the ecological construction of the network virtual world, such network applications often need to involve virtual currency (such as game currency), virtual items (such as game equipment, props, etc.), and the processing of virtual objects, such as the generation and transaction of virtual objects.
目前虚拟对象的生成、交易等处理,主要由网络应用的运营服务器进行管理;例如,运营服务器可在用户完成某一应用事件(比如完成游戏任务、击杀游戏怪物等)时,在该用户的用户数据中更新应用事件完成所奖励的虚拟对象数据,实现应用事件完成时,所奖励的虚拟对象的生成和发放;而在用户之间进行虚拟对象的交易时,运营服务器可通过修改交易双方的用户数据中的虚拟对象数据,实现虚拟对象的交易。At present, the generation and transaction processing of virtual objects are mainly managed by the operation server of the network application; Update the virtual object data rewarded by the application event in the user data to realize the generation and distribution of the rewarded virtual object when the application event is completed; and when the virtual object is traded between users, the operation server can modify the The virtual object data in the user data realizes the transaction of virtual objects.
可见,目前虚拟对象的处理,主要受运营服务器管控,由运营服务器修改用户数据完成;这种虚拟对象处理方式存在的问题是:It can be seen that the current processing of virtual objects is mainly controlled by the operation server, which completes the modification of user data by the operation server; the problems existing in this virtual object processing method are:
运营服务器需要对所有用户与虚拟对象相关的用户数据进行全量记录,运营服务器的存储和运算压力极大,提升了服务器的资源开销;The operation server needs to record the full amount of user data related to all users and virtual objects. The storage and computing pressure of the operation server is extremely high, which increases the resource overhead of the server;
目前运营服务器被攻击的情况时有发生,一旦运营服务器被攻击入侵或者被攻击后发生故障,则用户所拥有的虚拟货币、虚拟物品等虚拟对象作为用户资产的一部分,其安全性将受到威胁,因此虚拟对象处理方式的可靠性较低。At present, the operation server is attacked from time to time. Once the operation server is attacked or fails after being attacked, the virtual currency, virtual items and other virtual objects owned by the user will be regarded as part of the user's assets, and their security will be threatened. Therefore, the reliability of the virtual object processing method is low.
发明内容Contents of the invention
有鉴于此,本发明实施例提供一种数据处理方法、应用客户端及系统,以实现可靠性较高、且服务器的资源开销较低的虚拟对象处理。In view of this, the embodiments of the present invention provide a data processing method, an application client and a system, so as to realize virtual object processing with high reliability and low server resource overhead.
为实现上述目的,本发明实施例提供如下技术方案:In order to achieve the above purpose, embodiments of the present invention provide the following technical solutions:
一种数据处理方法,应用于第一应用客户端,所述方法包括:A data processing method applied to a first application client, the method comprising:
在第一用户完成应用事件时,获取第一用户完成所述应用事件的完成证据;所述完成证据包括:所述第一用户完成所述应用事件的完成记录,以及所述应用事件关联的虚拟对象数据;When the first user completes the application event, obtain the completion evidence of the first user's completion of the application event; the completion evidence includes: the completion record of the first user's completion of the application event, and the virtual event associated with the application event object data;
根据所述完成证据,生成所述虚拟对象数据对应的数据区块,并在所述数据区块中携带所述完成记录,及指示所述虚拟对象数据的指示信息;Generate a data block corresponding to the virtual object data according to the completion evidence, and carry the completion record and indication information indicating the virtual object data in the data block;
为所述数据区块添加所述第一用户的签名信息;adding signature information of the first user to the data block;
将添加有所述签名信息的数据区块广播到区块链网络;所述区块链网络由多个应用客户端接入。The data block added with the signature information is broadcast to the block chain network; the block chain network is accessed by multiple application clients.
本发明实施例还提供一种数据处理方法,应用于第一应用客户端,所述方法包括:The embodiment of the present invention also provides a data processing method, which is applied to the first application client, and the method includes:
获取第一交易的交易请求;Obtain the transaction request of the first transaction;
根据所述交易请求生成第一交易对应的数据区块;所述数据区块携带有第一交易的交易记录,以及指示第一交易对应的虚拟对象数据的指示信息;Generate a data block corresponding to the first transaction according to the transaction request; the data block carries a transaction record of the first transaction and indication information indicating virtual object data corresponding to the first transaction;
将所述数据区块广播到区块链网络。Broadcast the data block to the blockchain network.
本发明实施例还提供一种应用客户端,包括:The embodiment of the present invention also provides an application client, including:
完成证据获取模块,用于在第一用户完成应用事件时,获取第一用户完成所述应用事件的完成证据;所述完成证据包括:所述第一用户完成所述应用事件的完成记录,以及所述应用事件关联的虚拟对象数据;A completion proof acquisition module, configured to acquire a completion proof that the first user completes the application event when the first user completes the application event; the completion proof includes: a completion record that the first user completes the application event, and Virtual object data associated with the application event;
数据区块生成模块,用于根据所述完成证据,生成所述虚拟对象数据对应的数据区块,并在所述数据区块中携带所述完成记录,及指示所述虚拟对象数据的指示信息;A data block generating module, configured to generate a data block corresponding to the virtual object data according to the completion evidence, and carry the completion record and indication information indicating the virtual object data in the data block ;
签名添加模块,用于为所述数据区块添加所述第一用户的签名信息;a signature adding module, configured to add the signature information of the first user to the data block;
第一广播模块,用于将添加有所述签名信息的数据区块广播到区块链网络;所述区块链网络由多个应用客户端接入。The first broadcast module is used to broadcast the data blocks added with the signature information to the block chain network; the block chain network is accessed by multiple application clients.
本发明实施例还提供一种应用客户端,包括:The embodiment of the present invention also provides an application client, including:
交易请求获取模块,用于获取第一交易的交易请求;A transaction request obtaining module, configured to obtain the transaction request of the first transaction;
生成模块,用于根据所述交易请求生成第一交易对应的数据区块;所述数据区块携带有第一交易的交易记录,以及指示第一交易对应的虚拟对象数据的指示信息;A generation module, configured to generate a data block corresponding to the first transaction according to the transaction request; the data block carries a transaction record of the first transaction and indication information indicating virtual object data corresponding to the first transaction;
第二广播模块,用于将所述数据区块广播到区块链网络。The second broadcast module is used to broadcast the data block to the block chain network.
本发明实施例还提供一种数据处理系统,包括:应用服务器,运营服务器,数据库,上述所述的应用客户端。An embodiment of the present invention also provides a data processing system, including: an application server, an operation server, a database, and the above-mentioned application client.
基于上述技术方案,本发明实施例提供的数据处理方法中,第一应用客户端在第一用户完成应用事件时,可以获取第一用户完成所述应用事件的完成证据,该完成证据可以表示第一用户完成了应用事件,并能够获得到该应用事件所奖励的虚拟对象数据,即所述完成证据包括:所述第一用户完成所述应用事件的完成记录,以及所述应用事件关联的虚拟对象数据;从而第一应用客户端可根据所述完成证据,生成与所奖励的虚拟对象数据对应的数据区块,并在所述数据区块中携带所述完成记录,及指示所述虚拟对象数据的指示信息;进而第一应用客户端可为所述数据区块添加所述第一用户对应的签名信息,再将添加有所述签名信息的数据区块广播到区块链网络,以便区块链网络中的应用客户端验证所述数据区块的有效性,以区块链技术实现虚拟对象的生成。Based on the above technical solution, in the data processing method provided by the embodiment of the present invention, when the first user completes the application event, the first application client can obtain the completion proof that the first user completes the application event, and the completion proof can indicate that the first user completes the application event. A user completes the application event and can obtain the virtual object data rewarded by the application event, that is, the completion proof includes: the completion record of the first user completing the application event, and the virtual object data associated with the application event Object data; thus, the first application client can generate a data block corresponding to the rewarded virtual object data according to the completion proof, and carry the completion record in the data block, and indicate the virtual object The indication information of the data; then the first application client can add the signature information corresponding to the first user to the data block, and then broadcast the data block with the signature information to the block chain network, so as to distinguish The application client in the block chain network verifies the validity of the data block, and realizes the generation of virtual objects with block chain technology.
本发明实施例提供的数据处理方法,可根据区块链技术实现虚拟对象的生成,虚拟对象的生成由用户完成应用事件的行为决定,并以用户完成应用事件所获取的第一用户完成所述应用事件的完成证据,在应用客户端本地实现应用事件关联的虚拟对象数据对应的数据区块的挖掘;在本发明实施例中,运营服务器不再管理虚拟对象的生成,虚拟对象在应用客户端通过数据区块的形式生成和表现,极大的降低了服务器的资源开销;同时,数据区块可分布式的存储在区块链网络的应用客户端中,有效避免了运营服务器被入侵或故障,所造成的用户资产损失,极大的提高了虚拟对象处理的可靠性。The data processing method provided by the embodiment of the present invention can realize the generation of virtual objects according to the block chain technology. The generation of virtual objects is determined by the user's behavior of completing the application event, and the first user obtained by the user to complete the application event completes the described The completion evidence of the application event realizes the mining of the data block corresponding to the virtual object data associated with the application event locally on the application client; Through the generation and presentation of data blocks, the resource overhead of the server is greatly reduced; at the same time, the data blocks can be distributed and stored in the application client of the blockchain network, effectively avoiding the intrusion or failure of the operation server , the resulting loss of user assets greatly improves the reliability of virtual object processing.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present invention, and those skilled in the art can also obtain other drawings according to the provided drawings without creative work.
图1为本发明实施例提供的数据处理系统的架构示意图;FIG. 1 is a schematic diagram of the architecture of a data processing system provided by an embodiment of the present invention;
图2为本发明实施例提供的数据处理方法的流程图;FIG. 2 is a flowchart of a data processing method provided by an embodiment of the present invention;
图3为本发明实施例提供的获取完成证据的方法流程图;FIG. 3 is a flowchart of a method for obtaining proof of completion provided by an embodiment of the present invention;
图4为本发明实施例提供的数据处理方法的信令流程图;FIG. 4 is a signaling flowchart of a data processing method provided by an embodiment of the present invention;
图5为本发明实施例提供的数据处理系统的另一架构示意图;FIG. 5 is another schematic diagram of the architecture of the data processing system provided by the embodiment of the present invention;
图6为本发明实施例提供的数据处理方法的另一流程图;FIG. 6 is another flow chart of the data processing method provided by the embodiment of the present invention;
图7为主数据区块的生成示意图;Fig. 7 is a schematic diagram of generating a main data block;
图8为本发明实施例提供的数据处理方法的再一流程图;FIG. 8 is another flow chart of the data processing method provided by the embodiment of the present invention;
图9为侧数据区块的生成示意图;FIG. 9 is a schematic diagram of generating a side data block;
图10为本发明实施例提供的数据处理方法的又一流程图;FIG. 10 is another flow chart of the data processing method provided by the embodiment of the present invention;
图11为本发明实施例提供的应用客户端的结构框图;FIG. 11 is a structural block diagram of an application client provided by an embodiment of the present invention;
图12为本发明实施例提供的应用客户端的另一结构框图;Fig. 12 is another structural block diagram of the application client provided by the embodiment of the present invention;
图13为本发明实施例提供的应用客户端的再一结构框图;Fig. 13 is another structural block diagram of the application client provided by the embodiment of the present invention;
图14为本发明实施例提供的应用客户端的又一结构框图。Fig. 14 is another structural block diagram of the application client provided by the embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明实施例提供的数据处理方法,主要基于区块链技术实现虚拟对象的生成、交易等处理;需要说明的是,区块链(Blockchain或Block chain)是一种分布式数据库,区块链是一串使用密码学方法相关联产生的数据区块,区块链并非存储于网络的某一具体位置,而是由接入区块链网络的每一个客户端分布式存储,通常,每个客户端只存储与自己相关的数据区块,以及每个数据区块之间的链式可验证信息;The data processing method provided by the embodiment of the present invention is mainly based on block chain technology to realize virtual object generation, transaction processing, etc.; it should be noted that block chain (Blockchain or Block chain) is a distributed database, block chain It is a series of data blocks associated with cryptographic methods. The blockchain is not stored in a specific location on the network, but distributed and stored by each client connected to the blockchain network. Usually, each The client only stores the data blocks related to itself, and the chain verifiable information between each data block;
上文描述的了区块链的含义,本发明实施例应用区块链技术实现虚拟对象的生成、交易等处理时,并不是直接将现有的区块链技术进行复制,而是基于游戏等网络应用的特性和系统架构,进行了相应的手段适配改进;即本发明实施例是通过借鉴区块链技术,在游戏等类型的网络应用中实现虚拟对象的处理,而不是直接在游戏等类型的网络应用中进行区块链技术的复制。The meaning of the blockchain is described above. When the embodiment of the present invention applies the blockchain technology to realize the generation of virtual objects, transactions, etc., it does not directly copy the existing blockchain technology, but based on games, etc. The characteristics and system architecture of network applications have been adapted and improved by corresponding means; that is, the embodiment of the present invention realizes the processing of virtual objects in network applications such as games by referring to blockchain technology, rather than directly in games, etc. Blockchain technology is replicated in a type of network application.
可选的,图1示出了本发明实施例提供的数据处理系统的架构示意图,参照图1,该数据处理系统可以包括:多个应用客户端10,运营服务器20,应用服务器30,数据库40;Optionally, FIG. 1 shows a schematic diagram of the architecture of a data processing system provided by an embodiment of the present invention. Referring to FIG. 1 , the data processing system may include: multiple application clients 10, an operation server 20, an application server 30, and a database 40 ;
其中,应用客户端10可以设置于智能手机、平板电脑、笔记本电脑等用户设备,为游戏等网络应用提供本地服务,一个应用客户端一般对应一个用户(即一个应用客户端一般由一个用户操作);应用客户端如游戏客户端;Wherein, the application client 10 can be installed on user devices such as smartphones, tablet computers, and notebook computers to provide local services for network applications such as games, and one application client generally corresponds to one user (that is, one application client is generally operated by one user) ;Application client such as game client;
运营服务器20在本发明实施例中不再负责虚拟对象的生成、交易等处理,但保留了对应用内容的修改,应用事件的发布等能力,从而使得游戏等网络应用的网络虚拟世界生态能够弹性化、持久化运行;运营服务器如游戏运营服务器;In the embodiment of the present invention, the operation server 20 is no longer responsible for the generation of virtual objects, transactions, etc., but retains the ability to modify application content, release application events, etc., so that the network virtual world ecology of network applications such as games can be flexible. and persistent operation; operating servers such as game operating servers;
应用服务器30可以由单独的服务器实现,也可以由多台服务器组成的服务器群组实现,可以为游戏等网络应用提供网络服务;应用服务器如游戏服务器;The application server 30 can be realized by a single server, or can be realized by a server group composed of multiple servers, and can provide network services for network applications such as games; the application server is such as a game server;
数据库40为存储用户数据的网络数据库,在本发明实施例中,数据库40可存储各个用户的状态数据,而不再存储用户的虚拟对象数据(一用户的虚拟对象数据表示了该用户具有的各类型虚拟对象的数量,比如具有的虚拟货币数量,具有的各个类型的虚拟物品的数量等);以游戏网络应用为例,数据库如游戏数据库,游戏数据库可以存储各个游戏玩家的状态数据(比如游戏玩家等级、属性等),而游戏玩家所拥有的游戏货币、游戏道具等虚拟对象数据不再在游戏数据库中存储;数据库可以被运营服务器和应用服务器所读写;Database 40 is a network database for storing user data. In an embodiment of the present invention, database 40 can store the status data of each user, and no longer store the user's virtual object data (a user's virtual object data represents each user's status data). the number of types of virtual objects, such as the amount of virtual currency, the number of various types of virtual items, etc.); taking the game network application as an example, the database is such as a game database, and the game database can store the state data of each game player (such as game Player level, attributes, etc.), while the game currency, game props and other virtual object data owned by game players are no longer stored in the game database; the database can be read and written by the operation server and application server;
在本发明实施例中,多个应用客户端作为区块链网络的接入节点,多个应用客户端可支撑起区块链网络,且用户的虚拟对象数据以数据区块的形式,在区块链网络中分布式存储,各个应用客户端一般只存储自身用户的虚拟对象数据相应的数据区块。In the embodiment of the present invention, multiple application clients serve as the access nodes of the blockchain network, and multiple application clients can support the blockchain network, and the user's virtual object data is stored in the block chain in the form of data blocks. In distributed storage in the block chain network, each application client generally only stores the data block corresponding to the virtual object data of its own user.
基于图1所示数据处理系统,以虚拟对象的生成为例,下面站在第一应用客户端的角度,对本发明实施例提供的数据处理方法进行介绍,第一应用客户端可以是图1所示数据处理系统中任一需生成虚拟对象的应用客户端,第一应用客户端可由第一用户所操作;Based on the data processing system shown in Figure 1, taking the generation of virtual objects as an example, the data processing method provided by the embodiment of the present invention will be introduced below from the perspective of the first application client. The first application client can be as shown in Figure 1 Any application client in the data processing system that needs to generate a virtual object, the first application client can be operated by the first user;
图2为本发明实施例提供的数据处理方法的流程图,该方法可应用于第一应用客户端,参照图2,该方法可以包括:FIG. 2 is a flow chart of a data processing method provided by an embodiment of the present invention. The method can be applied to the first application client. Referring to FIG. 2, the method may include:
步骤S100、第一应用客户端在第一用户完成应用事件时,获取第一用户完成所述应用事件的完成证据;所述完成证据包括:所述第一用户完成所述应用事件的完成记录,以及所述应用事件关联的虚拟对象数据。Step S100, when the first user completes the application event, the first application client obtains the completion evidence of the first user's completion of the application event; the completion evidence includes: the completion record of the first user's completion of the application event, And the virtual object data associated with the application event.
应用事件如应用任务等设定的关联有奖励的虚拟对象的事件,应用事件的完成进度受用户的应用行为影响;应用事件的具体类型,以及关联奖励的虚拟对象数据可以根据运营等实际情况设定;Application events, such as application tasks, are associated with virtual objects with rewards. The completion progress of application events is affected by the user's application behavior; the specific types of application events and the virtual object data associated with rewards can be set according to actual conditions such as operations. Certainly;
以游戏网络应用为例,应用事件可以如游戏任务,游戏任务关联有奖励的游戏货币,且在游戏任务完成时,所关联的游戏货币可奖励给完成游戏任务的用户;用户可以通过游戏客户端控制游戏行为,以逐步的完成游戏任务;相应的,应用事件完成可以如,游戏客户端在用户的游戏行为的影响下,完成了游戏任务,击杀了游戏怪物等。Taking the game network application as an example, the application event can be a game task, the game task is associated with a rewarded game currency, and when the game task is completed, the associated game currency can be rewarded to the user who completes the game task; the user can use the game client to Control the game behavior to gradually complete the game task; correspondingly, the completion of the application event can be, for example, the game client completes the game task, kills the game monster, etc. under the influence of the user's game behavior.
第一应用客户端在第一用户完成应用事件后,可以获取到第一用户完成所述应用事件的完成证据,以便于后续基于第一用户完成所述应用事件的完成证据,进行数据区块的生成;第一用户完成所述应用事件的完成证据可以表示第一用户完成了该应用事件,并能够获得到该应用事件所关联奖励的虚拟对象;具体的,第一用户完成所述应用事件的完成证据可以包括:所述第一用户完成所述应用事件的完成记录,以及所述应用事件关联的虚拟对象数据;After the first user completes the application event, the first application client can obtain the proof of completion of the first user's completion of the application event, so that the subsequent completion of the data block based on the completion proof of the first user's completion of the application event Generate; the completion evidence of the first user completing the application event may indicate that the first user has completed the application event and can obtain the virtual object associated with the application event; specifically, the first user completes the application event The completion evidence may include: a completion record of the first user completing the application event, and virtual object data associated with the application event;
可选的,第一用户完成所述应用事件的完成记录可以包括:第一用户完成应用事件的行为记录或者结果记录;即本发明实施例可以通过第一用户完成应用事件的过程所对应的行为记录,或者,第一用户完成应用事件的结果记录的形式表示所述完成记录;第一用户完成应用事件的完成记录可以由第一应用客户端自确定,也可以由应用服务器确定后下发至第一应用客户端。Optionally, the completion record of the first user completing the application event may include: the first user completes the behavior record or result record of the application event; record, or, the form of the result record of the first user completing the application event indicates the completion record; the completion record of the first user completing the application event can be determined by the first application client itself, or can be determined by the application server and sent to the The first application client.
应用事件关联的虚拟对象数据,可以表示应用事件关联奖励的虚拟对象,如表示了第一用户完成应用事件时,所需奖励给第一用户的虚拟对象类型及数量,即虚拟对象数据可以描述了应用事件关联的虚拟对象的类型和数量(比如完成一个应用事件,可以是奖励一定数量的虚拟货币,和/或,一定数量的虚拟物品等);The virtual object data associated with the application event can represent the virtual object associated with the application event, such as the type and quantity of the virtual object that needs to be rewarded to the first user when the first user completes the application event, that is, the virtual object data can describe The type and quantity of virtual objects associated with application events (for example, completing an application event can reward a certain amount of virtual currency, and/or, a certain number of virtual items, etc.);
可选的,应用事件关联的虚拟对象数据可以根据运营等实际情况设定。Optionally, the virtual object data associated with the application event may be set according to actual conditions such as operation.
可选的,第一应用客户端可以通过应用事件配置文件(以应用事件为任务为例,应用事件配置文件如任务配置文件等),确定应用事件关联的虚拟对象数据;应用事件配置文件可以记录有应用事件的完成要求,完成奖励(完成奖励中可以携带关联的虚拟对象数据)等;该应用事件配置文件可以存储在第一应用客户端本地,也可以是第一应用客户端在与应用服务器交互领取需完成的应用事件时获取;Optionally, the first application client can determine the virtual object data associated with the application event through the application event configuration file (taking the application event as a task as an example, the application event configuration file such as the task configuration file, etc.); the application event configuration file can record There are application event completion requirements, completion rewards (completion rewards can carry associated virtual object data), etc.; the application event configuration file can be stored locally on the first application client, or it can be the first application client to communicate with the application server. Obtained when interactively receiving application events that need to be completed;
可选的,在第一用户完成应用事件后,第一应用客户端可以向应用服务器发送第一用户完成应用事件的通知,应用服务器可以根据第一用户的选择,或者随机,或者根据应用事件设定关联的虚拟对象数据,确定所述应用事件关联的虚拟对象数据,然后通知给第一应用客户端,以使得第一应用客户端确定所述应用事件关联的虚拟对象数据。Optionally, after the first user completes the application event, the first application client may send a notification to the application server that the first user completes the application event. Determine the associated virtual object data, determine the virtual object data associated with the application event, and then notify the first application client, so that the first application client determines the virtual object data associated with the application event.
步骤S110、第一应用客户端根据所述完成证据,生成所述虚拟对象数据对应的数据区块,并在所述数据区块中携带所述完成记录,及指示所述虚拟对象数据的指示信息。Step S110, the first application client generates a data block corresponding to the virtual object data according to the completion evidence, and carries the completion record and indication information indicating the virtual object data in the data block .
可选的,一个数据区块可以对应任意类型及任意数量的虚拟对象,如一个数据区块可以对应任意数量的虚拟货币;Optionally, a data block can correspond to any type and any number of virtual objects, such as a data block can correspond to any number of virtual currencies;
第一应用客户端在获取到第一用户完成所述应用事件的完成证据后,所述完成证据作为数据区块生成的零知识证明,可以触发第一应用客户端生成数据区块;但所生成的数据区块应与所述虚拟对象数据对应(即所生成的数据区块对应的虚拟对象的类型及数量,可以与所述应用事件关联的虚拟对象数据相应),即虽然数据区块可以对应任意类型及任意数量的虚拟对象,但第一应用客户端在正常处理逻辑下,只能生成与完成应用事件所奖励的虚拟对象数据对应的数据区块;After the first application client obtains the completion proof that the first user completes the application event, the completion proof serves as a zero-knowledge proof of data block generation, which can trigger the first application client to generate a data block; but the generated The data block should correspond to the virtual object data (that is, the type and quantity of the virtual object corresponding to the generated data block can correspond to the virtual object data associated with the application event), that is, although the data block can correspond to Any type and any number of virtual objects, but the first application client can only generate data blocks corresponding to the virtual object data rewarded for completing the application event under normal processing logic;
数据区块的生成方式可以参照区块链白皮书中的介绍,包括对于先前数据区块的散列,以及散列树的构造等过程,对于如何生成数据区块,本发明实施例并不关注,可以应用任意的可生成数据区块的技术;但为便于后续验证所生成的数据区块的有效性,所生成的数据区块中应携带第一用户完成应用事件的完成记录,及指示应用事件关联的虚拟对象数据的指示信息,以便其他应用客户端可验证该数据区块。The generation method of the data block can refer to the introduction in the blockchain white paper, including the hashing of the previous data block and the construction of the hash tree. The embodiment of the present invention does not pay attention to how to generate the data block. Any technology that can generate data blocks can be applied; however, in order to facilitate subsequent verification of the validity of the generated data blocks, the generated data blocks should carry the completion record of the first user completing the application event and indicate the application event An indication of the associated virtual object data so that other application clients can verify the data block.
可选的,指示虚拟对象数据的指示信息可以是虚拟对象数据本身,也可以是虚拟对象数据的一个对应标识,该对应标识能够匹配出所述虚拟对象数据。Optionally, the indication information indicating the virtual object data may be the virtual object data itself, or may be a corresponding identifier of the virtual object data, and the corresponding identifier can match the virtual object data.
步骤S120、第一应用客户端为所述数据区块添加所述第一用户的签名信息。Step S120, the first application client adds the signature information of the first user to the data block.
所述第一用户对应的签名信息可以唯一标识第一用户,可以认为是所述第一用户的身份标识,通过为所生成的数据区块添加所述第一用户对应的签名信息,可以使得所生成的数据区块添加上所述第一用户的标签。The signature information corresponding to the first user can uniquely identify the first user, and can be regarded as the identity of the first user. By adding the signature information corresponding to the first user to the generated data block, all A tag of the first user is added to the generated data block.
步骤S130、第一应用客户端将添加有所述签名信息的数据区块广播到区块链网络;所述区块链网络由多个应用客户端接入。Step S130, the first application client broadcasts the data block added with the signature information to the blockchain network; the blockchain network is accessed by multiple application clients.
应用客户端作为区块链网络的接入节点,多个应用客户端可以构成区块链网络;第一应用客户端生成数据区块后,可将数据区块添加到区块链中,且数据区块的有效性,需要区块链网络中的其他应用客户端认可,因此第一应用客户端在生成数据区块后,需要广播到区块链网络中,由其他应用客户端对数据区块的有效性进行验证。The application client serves as the access node of the blockchain network, and multiple application clients can form a blockchain network; after the first application client generates a data block, it can add the data block to the blockchain, and the data The validity of the block needs to be recognized by other application clients in the blockchain network. Therefore, after the first application client generates a data block, it needs to broadcast to the blockchain network, and other application clients will verify the data block. validity is verified.
本发明实施例提供的数据处理方法中,第一应用客户端在第一用户完成应用事件时,可以获取第一用户完成所述应用事件的完成证据,该完成证据可以表示第一用户完成了应用事件,并能够获得到该应用事件所奖励的虚拟对象数据,即所述完成证据包括:所述第一用户完成所述应用事件的完成记录,以及所述应用事件关联的虚拟对象数据;从而第一应用客户端可根据所述完成证据,生成与所奖励的虚拟对象数据对应的数据区块,并在所述数据区块中携带所述完成记录,及指示所述虚拟对象数据的指示信息;进而第一应用客户端可为所述数据区块添加所述第一用户对应的签名信息,再将添加有所述签名信息的数据区块广播到区块链网络,以便区块链网络中的应用客户端验证所述数据区块的有效性,以区块链技术实现虚拟对象的生成。In the data processing method provided by the embodiment of the present invention, when the first user completes the application event, the first application client can obtain the completion proof that the first user completes the application event, and the completion proof can indicate that the first user has completed the application event. event, and can obtain the virtual object data rewarded by the application event, that is, the completion evidence includes: the completion record of the first user completing the application event, and the virtual object data associated with the application event; thus the second An application client can generate a data block corresponding to the rewarded virtual object data according to the completion evidence, and carry the completion record and indication information indicating the virtual object data in the data block; Furthermore, the first application client can add the signature information corresponding to the first user to the data block, and then broadcast the data block with the signature information added to the block chain network, so that The application client verifies the validity of the data blocks, and realizes the generation of virtual objects with blockchain technology.
本发明实施例提供的数据处理方法,可根据区块链技术实现虚拟对象的生成,虚拟对象的生成由用户完成应用事件的行为决定,并以用户完成应用事件所获取的第一用户完成所述应用事件的完成证据,在应用客户端本地实现应用事件关联的虚拟对象数据对应的数据区块的挖掘;在本发明实施例中,运营服务器不再管理虚拟对象的生成,虚拟对象在应用客户端通过数据区块的形式生成和表现,极大的降低了服务器的资源开销;同时,数据区块可分布式的存储在区块链网络的应用客户端中,有效避免了运营服务器被入侵或故障,所造成的用户资产损失,极大的提高了虚拟对象处理的可靠性。The data processing method provided by the embodiment of the present invention can realize the generation of virtual objects according to the block chain technology. The generation of virtual objects is determined by the user's behavior of completing the application event, and the first user obtained by the user to complete the application event completes the described The completion evidence of the application event realizes the mining of the data block corresponding to the virtual object data associated with the application event locally on the application client; Through the generation and presentation of data blocks, the resource overhead of the server is greatly reduced; at the same time, the data blocks can be distributed and stored in the application client of the blockchain network, effectively avoiding the intrusion or failure of the operation server , the resulting loss of user assets greatly improves the reliability of virtual object processing.
本发明实施例提供的数据处理方法中,虚拟对象的生成(如新的虚拟货币、新的虚拟物品的生成),由用户完成应用事件的行为触发;第一应用客户端或者应用服务器可通过内置的应用事件完成判断逻辑,判断第一用户是否完成应用事件并得到所奖励的虚拟对象,从而在第一用户完成应用事件时,第一应用客户端可获取到后续触发数据区块生成的第一用户完成所述应用事件的完成证据,该完成证据包括:所述第一用户完成所述应用事件的完成记录,以及所述应用事件关联的虚拟对象数据;In the data processing method provided by the embodiment of the present invention, the generation of virtual objects (such as the generation of new virtual currency and new virtual items) is triggered by the user's behavior of completing an application event; the first application client or application server can use the built-in The judgment logic of application event completion judges whether the first user completes the application event and obtains the rewarded virtual object, so that when the first user completes the application event, the first application client can obtain the first The completion evidence of the user completing the application event, the completion evidence includes: the completion record of the first user completing the application event, and the virtual object data associated with the application event;
即第一用户完成所述应用事件的完成证据可以表示第一用户完成应用事件并获得相应虚拟对象奖励的证据;可选的,第一用户完成所述应用事件的完成记录可以包含:第一用户完成应用事件的行为记录或者结果记录;That is, the proof of completion of the first user's completion of the application event may represent evidence that the first user completes the application event and obtains a corresponding virtual object reward; optionally, the completion record of the first user's completion of the application event may include: the first user Complete the behavior record or result record of the application event;
第一用户完成应用事件的行为记录可以是,所记录的第一用户完成应用事件过程中对应的行为记录(即可通过第一用户完成应用事件过程中对应的行为,来表示第一用户完成应用事件的结果);比如第一用户击杀游戏怪物的行为记录等,该行为记录可以由第一应用客户端自确定,也可以是应用服务器确定后下发给第一应用客户端;The behavior record of the first user completing the application event may be the corresponding behavior record in the process of the first user completing the application event (that is, the corresponding behavior in the process of completing the application event by the first user indicates that the first user completes the application event. result of the event); such as the behavior record of the first user killing a game monster, etc., the behavior record can be determined by the first application client, or it can be determined by the application server and sent to the first application client;
第一用户完成应用事件的结果记录可以是,所记录的第一用户完成应用事件的结果状态;比如第一用户回答的某一题目的答案,击杀游戏怪物的结果等;该结果记录可由第一应用客户端自确定,也可以是应用服务器确定后下发给第一应用客户端。The result record of the first user completing the application event can be the recorded result status of the first user completing the application event; for example, the answer to a certain question answered by the first user, the result of killing game monsters, etc.; the result record can be obtained by the second user. An application client can determine it by itself, or it can be determined by the application server and delivered to the first application client.
可选的,第一用户完成所述应用事件的完成记录还可以包含:应用事件的描述内容;应用事件的描述内容可以由应用服务器下发至第一应用客户端;如可以是在第一应用客户端领取应用事件时,第一应用客户端可从应用服务器获取所述描述内容;以应用事件为应用任务为例,应用事件的描述内容如任务内容介绍等。Optionally, the completion record of the first user completing the application event may also include: the description content of the application event; the description content of the application event may be sent by the application server to the first application client; When the client receives the application event, the first application client can obtain the description content from the application server; taking the application event as an application task as an example, the description content of the application event includes task content introduction and the like.
可选的,图3示出了获取第一用户完成所述应用事件的完成证据的可选方法流程图,该方法可应用于第一应用客户端,参照图3,该方法可以包括:Optionally, FIG. 3 shows a flow chart of an optional method for obtaining completion evidence that the first user completes the application event. This method is applicable to the first application client. Referring to FIG. 3 , the method may include:
步骤S200、第一应用客户端在第一用户完成应用事件时,获取所述应用事件关联的虚拟对象数据。Step S200, the first application client acquires the virtual object data associated with the application event when the first user completes the application event.
应用事件关联的虚拟对象数据可以是预设定的,也可能是用户选择的,或者应用服务器随机确定的,具体可以根据应用事件设定的虚拟对象奖励规则确定;如在第一用户完成应用事件时,应用服务器可通知第一应用客户端,完成应用事件对应奖励的虚拟对象数据。The virtual object data associated with the application event can be preset, or selected by the user, or randomly determined by the application server, specifically determined according to the virtual object reward rules set by the application event; for example, when the first user completes the application event , the application server may notify the first application client to complete the virtual object data corresponding to the reward of the application event.
可选的,第一应用客户端还可以获取所述应用事件的描述内容;Optionally, the first application client may also acquire the description content of the application event;
可选的,应用事件的描述内容可能是第一应用客户端在领取应用事件(如第一用户领取游戏任务)时获得,以应用事件为应用任务为例,第一用户可通过第一应用客户端刷新应用任务并进行领取,从而获取到应用服务器下发的应用事件的描述内容。Optionally, the description content of the application event may be obtained when the first application client receives the application event (for example, the first user receives a game task). Taking the application event as an application task as an example, the first user can use the first application client The terminal refreshes the application task and collects it, so as to obtain the description content of the application event delivered by the application server.
可选的,对于一些非任务性质的应用事件,比如击杀怪物等,第一应用客户端可以在第一用户完成应用事件时(如击杀怪物时),获取应用服务器下发的应用事件的描述内容;显然,对于任务性质的应用事件,也可以是在第一应用客户端完成应用事件时,获取应用服务器下发的应用事件的描述内容;Optionally, for some non-task application events, such as killing monsters, etc., the first application client can obtain the application event information issued by the application server when the first user completes the application event (such as killing a monster). Description content; obviously, for an application event of a task nature, the description content of the application event delivered by the application server may also be obtained when the first application client completes the application event;
应用事件的描述内容是由第一应用客户端自确定,还是由应用服务器下发,可使实际的应用设计而定。Whether the description content of the application event is determined by the first application client or delivered by the application server may depend on actual application design.
可选的,在一种实现方式下,第一应用客户端可在第一用户完成应用事件时,向服务器发送第一用户完成应用事件的通知,从而应用服务器可确定应用事件关联的虚拟对象数据,应用服务器将所述应用事件关联的虚拟对象数据发送给第一应用客户端;Optionally, in an implementation manner, the first application client may send a notification to the server that the first user completes the application event when the first user completes the application event, so that the application server may determine the virtual object data associated with the application event , the application server sends the virtual object data associated with the application event to the first application client;
可选的,应用服务器还可同时的确定应用事件的描述内容,将应用事件的描述内容同时的发送给第一应用客户端。Optionally, the application server may also simultaneously determine the description content of the application event, and simultaneously send the description content of the application event to the first application client.
步骤S210、获取第一用户完成应用事件的行为记录或者结果记录。Step S210, acquiring the behavior record or result record of the first user completing the application event.
步骤S220、根据所述应用事件关联的虚拟对象数据,及,所述行为记录或者结果记录,确定第一用户完成所述应用事件的完成证据。Step S220, according to the virtual object data associated with the application event, and the behavior record or result record, determine the completion evidence of the first user completing the application event.
可选的,所述完成证据还可以包含应用事件的描述内容;即可根据应用事件的描述内容,所述应用事件关联的虚拟对象数据,及,所述行为记录或者结果记录,确定第一用户完成所述应用事件的完成证据。Optionally, the completion evidence may also include the description content of the application event; that is, according to the description content of the application event, the virtual object data associated with the application event, and the behavior record or result record, the first user can be determined Evidence of completion for completing said apply event.
后续,第一应用客户端将数据区块广播到区块链网络后,区块链网络中的其他应用客户端可直接基于数据区块中携带的完成记录(完成记录可以由第一用户完成应用事件的行为记录或者结果记录;或者,应用事件的描述内容,及该行为记录或者结果记录构成),以及应用事件关联的虚拟对象数据,验证数据区块的有效性,防止数据区块的伪造和篡改,而不需要第一应用客户端向区块链网络中的其他应用客户端提供其他信息,来验证数据区块的有效性。Subsequently, after the first application client broadcasts the data block to the blockchain network, other application clients in the blockchain network can directly base on the completion record carried in the data block (the completion record can be completed by the first user) The behavior record or result record of the event; or, the description content of the application event, and the behavior record or result record), and the virtual object data associated with the application event, verify the validity of the data block, and prevent the forgery and tampering without the need for the first application client to provide other information to other application clients in the blockchain network to verify the validity of the data block.
可选的,第一应用客户端生成数据区块后,可通过区块链网络的自动广播机制进行数据区块的广播,如可先由生成数据区块的第一应用客户端进行广播,再通过其他应用客户端的广播,逐渐扩散到整个区块链网络中。Optionally, after the first application client generates the data block, the data block can be broadcast through the automatic broadcast mechanism of the blockchain network. For example, the first application client that generates the data block can first broadcast the data block, and then Through the broadcast of other application clients, it gradually spreads to the entire blockchain network.
可选的,区块链网络中的一应用客户端可验证另一应用客户端发送至区块链网络的数据区块是否有效;验证方式可以是获取数据区块后,解析数据区块中携带的完成记录,根据应用事件处理逻辑,判断使用所述完成记录是否可完成应用事件,若判断使用所述完成记录可完成应用事件,则判断应用事件的完成奖励,是否与所述虚拟对象数据对应,若应用事件的完成奖励与所述虚拟对象数据对应,则确定数据区块验证有效;若这个过程中存在任意一个判断结果为否,则可确定数据区块无效;Optionally, an application client in the blockchain network can verify whether the data blocks sent by another application client to the blockchain network are valid; According to the application event processing logic, it is judged whether the application event can be completed by using the completion record, and if it is judged that the application event can be completed by using the completion record, then it is judged whether the completion reward of the application event corresponds to the virtual object data , if the completion reward of the application event corresponds to the virtual object data, it is determined that the data block verification is valid; if any judgment result in this process is negative, it can be determined that the data block is invalid;
即区块链网络中的一应用客户端获取到另一应用客户端发送至区块链网络的数据区块后,可通过数据区块中携带的应用事件的完成记录,根据应用事件处理逻辑,以所述完成记录模拟应用事件的完成过程,如果模拟结果为所述完成记录能够完成应用事件,且应用事件的完成奖励与数据区块中携带的虚拟对象数据对应,则可确定数据区块验证有效。That is, after an application client in the blockchain network obtains the data block sent by another application client to the blockchain network, it can complete the record of the application event carried in the data block, and according to the application event processing logic, Using the completion record to simulate the completion process of the application event, if the simulation result is that the completion record can complete the application event, and the completion reward of the application event corresponds to the virtual object data carried in the data block, then the data block verification can be determined efficient.
可选的,图4示出了本发明实施例提供的数据处理方法的信令流程,该流程可以包括:Optionally, FIG. 4 shows a signaling flow of the data processing method provided in the embodiment of the present invention, and the flow may include:
步骤S10、第一应用客户端在第一用户完成应用事件时,向应用服务器发送第一用户完成应用事件的通知。Step S10 , when the first user completes the application event, the first application client sends a notification to the application server that the first user completes the application event.
步骤S11、应用服务器确定所述应用事件关联的虚拟对象数据,并生成与所述应用事件相对应的一对公钥和私钥。Step S11, the application server determines the virtual object data associated with the application event, and generates a pair of public key and private key corresponding to the application event.
步骤S12、应用服务器将所述应用事件关联的虚拟对象数据,和所述私钥下发至第一应用客户端。Step S12, the application server delivers the virtual object data associated with the application event and the private key to the first application client.
步骤S13、第一应用客户端获取第一用户完成应用事件的行为记录或者结果记录。Step S13, the first application client acquires the behavior record or result record of the first user completing the application event.
可选的,第一用户完成应用事件的行为记录或者结果记录可以同步携带在步骤S12应用服务器所下发的内容中,也可以第一应用客户端自确定。Optionally, the behavior record or result record of the first user completing the application event may be carried synchronously in the content delivered by the application server in step S12, or may be determined by the first application client itself.
步骤S14、第一应用客户端将所述行为记录或者结果记录使用所述私钥进行签名。Step S14, the first application client signs the behavior record or result record using the private key.
步骤S15、第一应用客户端根据所述虚拟对象数据,及,使用所述私钥签名的所述行为记录或者结果记录,确定第一用户完成所述应用事件的完成证据。Step S15, the first application client determines the completion evidence of the first user completing the application event according to the virtual object data and the behavior record or result record signed with the private key.
可选的,应用服务器还可以确定应用事件的描述内容并下发给第一应用客户端,从而第一应用客户端可根据应用事件的描述内容,所述虚拟对象数据,及,使用所述私钥签名的所述行为记录或者结果记录,确定第一用户完成所述应用事件的完成证据。Optionally, the application server may also determine the description content of the application event and deliver it to the first application client, so that the first application client may use the private The behavior record or the result record signed by the key determines the completion evidence of the first user completing the application event.
步骤S16、第一应用客户端根据所述完成证据,生成所述虚拟对象数据对应的数据区块,并在所述数据区块中携带所述使用所述私钥签名的所述行为记录或者结果记录,及指示所述虚拟对象数据的指示信息。Step S16, the first application client generates a data block corresponding to the virtual object data according to the completion proof, and carries the behavior record or result signed with the private key in the data block record, and indication information indicating the virtual object data.
可选的,所述数据区块中还可携带应用事件的描述内容。Optionally, the data block may also carry the description content of the application event.
步骤S17、第一应用客户端为所述数据区块添加所述第一用户对应的签名信息。Step S17, the first application client adds signature information corresponding to the first user to the data block.
步骤S18、第一应用客户端将添加有所述签名信息的数据区块广播到区块链网络。Step S18, the first application client broadcasts the data block added with the signature information to the blockchain network.
步骤S19、第二应用客户端接收所述第一应用客户端广播到区块链网络的数据区块。Step S19, the second application client receives the data block broadcast to the blockchain network by the first application client.
可选的,第二应用客户端可以是区块链网络中除第一应用客户端外的任一应用客户端,第二应用客户端可接收到第一应用客户端广播到区块链网络中数据区块;第二应用客户端可对应第二用户。Optionally, the second application client can be any application client in the blockchain network except the first application client, and the second application client can receive the first application client broadcast to the blockchain network Data blocks; the second application client may correspond to the second user.
步骤S20、第二应用客户端解析所接收的数据区块,获取所述使用所述私钥签名的所述行为记录或者结果记录,及指示所述虚拟对象数据的指示信息。Step S20, the second application client parses the received data block, obtains the behavior record or result record signed with the private key, and the indication information indicating the virtual object data.
可选的,第二应用客户端通过解析所接收的数据区块,还可能获取到应用事件的描述内容。Optionally, the second application client may also obtain the description content of the application event by parsing the received data block.
步骤S21、第二应用客户端向应用服务器请求所述应用事件相应的公钥。Step S21, the second application client requests the public key corresponding to the application event from the application server.
步骤S22、应用服务器将与所述应用事件相应的公钥下发至所述第二应用客户端。Step S22, the application server sends the public key corresponding to the application event to the second application client.
步骤S23、第二应用客户端使用所述公钥,解开使用所述私钥签名的行为记录或者结果记录,得到第一用户完成应用事件的行为记录或者结果记录。Step S23, the second application client uses the public key to unlock the behavior record or result record signed with the private key to obtain the behavior record or result record of the first user completing the application event.
步骤S24、第二应用客户端根据所述行为记录或者结果记录模拟应用事件的完成过程,如果模拟结果为所述行为记录或者结果记录能够完成应用事件,且应用事件的完成奖励与所述虚拟对象数据对应,确定所述数据区块有效。Step S24, the second application client simulates the completion process of the application event according to the behavior record or result record, if the simulation result is that the behavior record or result record can complete the application event, and the completion reward of the application event is the same as that of the virtual object Corresponding to the data, it is determined that the data block is valid.
第二应用客户端解开使用私钥签名的行为记录或者结果记录后,可以获得包含第一用户完成应用事件的过程对应的行为记录(如击杀游戏怪物需要的行为操作等),或完成应用事件的结果记录(如谜题的答案等);根据所得到的行为记录或结果记录,第二应用客户端可根据应用事件处理逻辑(如游戏逻辑)模拟所述行为记录或者结果记录是否能够完成应用事件,并在模拟结果为是时,判断应用事件的完成奖励与所述虚拟对象数据是否对应,从而实现数据区块的验证。After the second application client unlocks the behavior record or result record signed with the private key, it can obtain the behavior record corresponding to the process of the first user completing the application event (such as the behavior operation required to kill the game monster, etc.), or complete the application The result record of the event (such as the answer to the puzzle, etc.); according to the obtained behavior record or result record, the second application client can simulate whether the behavior record or result record can be completed according to the application event processing logic (such as game logic) Apply the event, and when the simulation result is yes, judge whether the completion reward of the application event corresponds to the virtual object data, so as to realize the verification of the data block.
可选的,如果所述行为记录或者结果记录不能够完成应用事件,和/或,所述应用事件的完成奖励与所述虚拟对象数据不对应,则可确定所述数据区块无效。Optionally, if the behavior record or the result record cannot complete the application event, and/or the completion reward of the application event does not correspond to the virtual object data, it may be determined that the data block is invalid.
可选的,第二应用客户端验证该数据区块后,可将该数据区块进一步放入区块链网络中广播,以使更多的应用客户端对该数据区块进行验证;如果第二应用客户端验证该数据区块有效,则可将该数据区块加入到区块链;如果第二应用客户端验证该数据区块无效,则可丢弃该数据区块,无效的数据区块将不作为区块链的一部分,即未通过验证的无效数据区块会被区块链网络视作无效区块对待,其中表示的虚拟对象在游戏等网络应用中不具有实际作用,也无法通过交易进行流通。Optionally, after the second application client verifies the data block, it can further broadcast the data block in the blockchain network, so that more application clients can verify the data block; if the second If the second application client verifies that the data block is valid, it can add the data block to the blockchain; if the second application client verifies that the data block is invalid, it can discard the data block, and the invalid data block It will not be part of the blockchain, that is, invalid data blocks that have not passed verification will be treated as invalid blocks by the blockchain network, and the virtual objects represented in them have no practical effect in network applications such as games, and cannot pass Transactions are circulated.
相应的,第一应用客户端也可验证第二应用客户端广播到区块链网络中的数据区块,第二应用客户端广播到区块链网络中的数据区块可以携带第二用户完成应用事件的完成记录,及指示第二用户完成的应用事件关联的虚拟对象数据的指示信息,第一应用客户端验证数据区块的过程可与图4所示内容类似;具体可选过程可以为:Correspondingly, the first application client can also verify the data blocks broadcast by the second application client to the blockchain network, and the data blocks broadcast by the second application client to the blockchain network can carry the second user to complete The completion record of the application event and the indication information indicating the virtual object data associated with the application event completed by the second user, the process of verifying the data block by the first application client can be similar to that shown in Figure 4; the specific optional process can be as follows :
第一应用客户端接收区块链网络中传播的数据区块;所述数据区块中携带有使用第二用户完成的应用事件对应的私钥,签名的第二用户完成应用事件的行为记录或者结果记录,及指示第二用户完成的应用事件关联的虚拟对象数据的指示信息;The first application client receives the data block propagated in the blockchain network; the data block carries the private key corresponding to the application event completed by the second user, and the signed behavior record of the second user completing the application event or result record, and indication information indicating the virtual object data associated with the application event completed by the second user;
第一应用客户端解析所接收的数据区块,获取该使用私钥签名的行为记录或者结果记录,及指示该虚拟对象数据的指示信息;The first application client parses the received data block, obtains the behavior record or result record signed with the private key, and the indication information indicating the virtual object data;
第一应用客户端向应用服务器请求第二用户完成的应用事件相应的公钥;The first application client requests the public key corresponding to the application event completed by the second user from the application server;
第一应用客户端使用所获取的公钥,解开使用该私钥签名的行为记录或者结果记录,得到第二用户完成应用事件的行为记录或者结果记录。The first application client uses the obtained public key to unlock the behavior record or result record signed with the private key to obtain the behavior record or result record of the second user completing the application event.
第一应用客户端根据所得到的行为记录或者结果记录模拟应用事件的完成过程,根据模拟结果验证所接收的数据区块的有效性;The first application client simulates the completion process of the application event according to the obtained behavior record or result record, and verifies the validity of the received data block according to the simulation result;
一方面,如果模拟结果为所得到的行为记录或者结果记录能够完成应用事件,且应用事件的完成奖励与该虚拟对象数据对应,确定该第二应用客户端广播到区块链网络的数据区块有效;On the one hand, if the simulation result is that the obtained behavior record or result record can complete the application event, and the completion reward of the application event corresponds to the virtual object data, determine the data block that the second application client broadcasts to the blockchain network efficient;
另一方面,如果模拟结果为所得到的行为记录或者结果记录不能够完成应用事件,和/或,应用事件的完成奖励与所述虚拟对象数据不对应,则可确定第二应用客户端广播到区块链网络的数据区块无效。On the other hand, if the simulation result is that the obtained behavior record or result record cannot complete the application event, and/or, the completion reward of the application event does not correspond to the virtual object data, it can be determined that the second application client broadcasts to The data block of the blockchain network is invalid.
可选的,第一应用客户端将数据区块广播到区块链网络中以进行数据区块验证的过程,可以认为是一个广播和分布式的验证过程,即第一应用客户端生成某个数据区块后,可将其广播给临近的应用客户端(通常会通过p2p等方式),然后接收到该数据区块的应用客户端会对数据区块进行验证,将验证结果和该数据区块进一步进行广播,直到扩散到全区块链网络(一般而言,只要有5个应用客户端能够通过该数据区块的验证,可视为该数据区块能够得到全区块链网络的认可)。Optionally, the process of the first application client broadcasting the data block to the blockchain network for data block verification can be considered as a broadcast and distributed verification process, that is, the first application client generates a After the data block, it can be broadcast to adjacent application clients (usually through p2p, etc.), and then the application client that receives the data block will verify the data block, and the verification result and the data area The block is further broadcast until it spreads to the entire blockchain network (generally speaking, as long as 5 application clients can pass the verification of the data block, it can be considered that the data block can be recognized by the entire blockchain network ).
可选的,虚拟对象可以分为虚拟货币和虚拟物品两类,在本发明实施例中,所生成的与虚拟货币相应的数据区块可以认为是主数据区块,所生成的与虚拟物品相应的数据区块可以认为是侧数据区块;相应的,区块链可以分为主区块链和侧区块链,相应结构可以如图5所示,值得注意的是主区块链和侧区块链中的应用客户端基本相同,只是主区块链和侧区块链中数据区块表示的虚拟对象不同;Optionally, virtual objects can be divided into virtual currency and virtual items. In the embodiment of the present invention, the generated data block corresponding to virtual currency can be considered as the main data block, and the generated data block corresponding to virtual item The data block can be considered as a side data block; correspondingly, the blockchain can be divided into the main blockchain and the side blockchain, and the corresponding structure can be shown in Figure 5. It is worth noting that the main blockchain and the side blockchain The application clients in the blockchain are basically the same, but the virtual objects represented by the data blocks in the main blockchain and the side blockchain are different;
对于新生成的虚拟货币对应的主数据区块,本发明实施例不需要生成等价的虚拟物品;但对于新生成的虚拟物品对应的侧数据区块,需要生成与新生成的虚拟物品等价的虚拟货币对应的主数据区块并锁定,以保证虚拟货币区块链(即主区块链)能够满足虚拟物品交换时所需的虚拟货币量。For the main data block corresponding to the newly generated virtual currency, the embodiment of the present invention does not need to generate an equivalent virtual item; but for the side data block corresponding to the newly generated virtual item, it is necessary to generate an equivalent The main data block corresponding to the virtual currency is locked and locked to ensure that the virtual currency blockchain (that is, the main blockchain) can meet the amount of virtual currency required for the exchange of virtual items.
可选的,虚拟货币可以认为是第一类虚拟对象的一种形式,虚拟物品(如虚拟道具、虚拟资源、虚拟装备等)可以认为是第二类虚拟对象的一种形式,下面针对生成第一类虚拟对象的主数据区块,及第二类虚拟对象的侧数据区块的数据处理方法进行介绍;Optionally, virtual currency can be considered as a form of the first type of virtual object, and virtual items (such as virtual props, virtual resources, virtual equipment, etc.) can be considered as a form of the second type of virtual object. Introduce the data processing method of the main data block of a type of virtual object and the side data block of a second type of virtual object;
值得注意的是,虚拟货币仅是第一类虚拟对象的可选形式,虚拟物品仅是第二类虚拟对象的可选形式,根据网络应用所构建的网络虚拟世界生态的不同,第一类虚拟对象的具体形式和第二类虚拟对象的具体形式可以进行调整;一般认为,第一类虚拟对象在网络应用所构建的网络虚拟世界生态中具有购买属性,可以购买第二类虚拟对象。It is worth noting that virtual currency is only an optional form of the first type of virtual object, and virtual items are only an optional form of the second type of virtual object. The specific form of the object and the specific form of the second type of virtual object can be adjusted; it is generally believed that the first type of virtual object has a purchase attribute in the network virtual world ecology constructed by the network application, and the second type of virtual object can be purchased.
图6为本发明实施例提供的数据处理方法的另一流程图,该方法可应用于第一应用客户端,参照图6,该方法可以包括:Fig. 6 is another flow chart of the data processing method provided by the embodiment of the present invention, the method can be applied to the first application client, referring to Fig. 6, the method may include:
步骤S300、第一应用客户端在第一用户完成应用事件时,确定所述应用事件关联的虚拟对象数据。Step S300, the first application client determines the virtual object data associated with the application event when the first user completes the application event.
步骤S310、第一应用客户端如果确定所述虚拟对象数据的虚拟对象类型为第一类虚拟对象,获取第一用户完成所述应用事件的完成证据;所述完成证据包括:所述第一用户完成所述应用事件的完成记录,以及所述应用事件关联的第一类虚拟对象的虚拟对象数据。Step S310, if the first application client determines that the virtual object type of the virtual object data is the first type of virtual object, obtain the completion proof that the first user completes the application event; the completion proof includes: the first user The completion record of the application event and the virtual object data of the first type of virtual object associated with the application event are completed.
步骤S320、第一应用客户端根据所述完成证据,生成与所述第一类虚拟对象的虚拟对象数据对应的主数据区块;并在所述主数据区块中携带所述完成记录,及指示所述第一类虚拟对象的虚拟对象数据的指示信息。Step S320, the first application client generates a main data block corresponding to the virtual object data of the first type of virtual object according to the completion evidence; and carries the completion record in the main data block, and Indication information indicating the virtual object data of the first type of virtual object.
步骤S330、第一应用客户端为所述主数据区块添加所述第一用户对应的签名信息。Step S330, the first application client adds signature information corresponding to the first user to the main data block.
步骤S340、第一应用客户端将添加有所述签名信息的主数据区块广播到主区块链网络。Step S340, the first application client broadcasts the main data block added with the signature information to the main blockchain network.
可选的,主区块链网络中的验证主数据区块的方式,与图4所示原理类似,可参照。Optionally, the method of verifying the main data block in the main blockchain network is similar to the principle shown in Figure 4, which can be referred to.
基于图6所示方法,以游戏网络应用为例,如图7所示,游戏客户端完成一游戏任务,且游戏任务的奖励为100虚拟金币,则游戏客户端在完成游戏任务后,可确定游戏任务关联奖励的虚拟对象为虚拟金币(即游戏任务关联的虚拟对象数据的虚拟对象类型为第一类虚拟对象,虚拟金币为第一类虚拟对象的一种形式),从而获取到游戏客户端完成所述游戏任务的完成证据;Based on the method shown in Figure 6, taking the game network application as an example, as shown in Figure 7, the game client completes a game task, and the reward of the game task is 100 virtual gold coins, then the game client can determine The virtual object associated with the game task is a virtual gold coin (that is, the virtual object type of the virtual object data associated with the game task is the first type of virtual object, and the virtual gold coin is a form of the first type of virtual object), thus obtaining the game client Evidence of completion of said game mission;
该完成证据包括:游戏客户端完成游戏任务的完成记录,以及游戏任务关联奖励的100虚拟金币;进而游戏客户端可根据该完成证据,生成与100虚拟金币对应的主数据区块,并在主数据区块中携带所述完成记录,以及指示主数据区块对应100虚拟金币的指示信息;游戏客户端将该主数据区块添加游戏客户端的用户对应的签名信息后,可广播到主区块链网络中,以便其他游戏客户端验证该主数据区块的有效性。The completion evidence includes: the completion record of the game client completing the game task, and the 100 virtual gold coins associated with the game task; then the game client can generate a master data block corresponding to the 100 virtual gold coins based on the completion evidence, and The data block carries the completion record and the indication information indicating that the main data block corresponds to 100 virtual gold coins; after the game client adds the signature information corresponding to the user of the game client to the main data block, it can be broadcast to the main block In the blockchain network, other game clients can verify the validity of the master data block.
以第二类虚拟对象的侧数据区块的生成为例,图8示出了本发明实施例提供的数据处理方法的再一流程,该方法可应用于第一应用客户端,参照图8,该方法可以包括:Taking the generation of side data blocks of the second type of virtual object as an example, FIG. 8 shows another flow of the data processing method provided by the embodiment of the present invention. This method can be applied to the first application client. Referring to FIG. 8, The method can include:
步骤S400、第一应用客户端在第一用户完成应用事件时,确定所述应用事件关联的虚拟对象数据。Step S400, the first application client determines the virtual object data associated with the application event when the first user completes the application event.
步骤S410、第一应用客户端如果确定所述虚拟对象数据的虚拟对象类型为第二类虚拟对象,确定与所述第二类虚拟对象的虚拟对象数据对应的,第一类虚拟对象的虚拟对象数据;并确定第一用户完成所述应用事件的完成证据,以及主数据区块伴随生成证据。Step S410, if the first application client determines that the virtual object type of the virtual object data is the second type of virtual object, determine the virtual object of the first type of virtual object corresponding to the virtual object data of the second type of virtual object data; and determine the completion proof that the first user completes the application event, and the main data block accompanying generation proof.
其中,所述完成证据包括:所述第一用户完成所述应用事件的完成记录,以及所述应用事件关联的第二类虚拟对象的虚拟对象数据;所述主数据区块伴随生成证据包括:所述第一类虚拟对象的虚拟对象数据。Wherein, the completion evidence includes: the first user completes the completion record of the application event, and the virtual object data of the second type of virtual object associated with the application event; the accompanying generation evidence of the main data block includes: Virtual object data of the first type of virtual object.
在第一应用客户端完成一应用事件,且应用事件关联奖励的虚拟对象数据的类型为第二类虚拟对象时,除需要生成与应用事件关联奖励的第二类虚拟对象的虚拟对象数据对应的侧数据区块外,还需生成等价的第一类虚拟对象的虚拟对象数据对应的主数据区块;如游戏客户端完成一游戏任务,且游戏任务的奖励为游戏道具时,第一应用客户端除生成该游戏道具对应的侧数据区块外,还需确定该游戏道具等价的游戏货币,同时生成该游戏货币对应的主数据区块;When the first application client completes an application event, and the type of virtual object data associated with the application event is the second type of virtual object, in addition to generating the virtual object data corresponding to the second type of virtual object associated with the application event In addition to the side data block, it is also necessary to generate the equivalent main data block corresponding to the virtual object data of the first type of virtual object; if the game client completes a game task, and the reward of the game task is a game item, the first application In addition to generating the side data block corresponding to the game item, the client also needs to determine the game currency equivalent to the game item, and at the same time generate the main data block corresponding to the game currency;
与所述第二类虚拟对象的虚拟对象数据对应的,第一类虚拟对象的虚拟对象数据,可以表示与应用事件关联奖励的第二类虚拟对象等价的第一类虚拟对象;如应用事件关联奖励的是一个虚拟道具(第二类虚拟对象的一种形式),该虚拟道具的等价货币为100虚拟金币(第一类虚拟对象的一种形式),则在生成该虚拟道具对应的侧数据区块时,还需伴随生成100虚拟金币对应的主数据区块。Corresponding to the virtual object data of the second type of virtual object, the virtual object data of the first type of virtual object may represent the first type of virtual object equivalent to the second type of virtual object associated with the application event; such as application event The associated reward is a virtual item (a form of the second type of virtual object), and the equivalent currency of the virtual item is 100 virtual gold coins (a form of the first type of virtual object). When the side data block is generated, the main data block corresponding to 100 virtual gold coins needs to be generated along with it.
步骤S420、第一应用客户端根据所述完成证据,生成与所述第二类虚拟对象的虚拟对象数据对应的侧数据区块,并在所述侧数据区块中携带所述完成记录,及指示所述第二类虚拟对象的虚拟对象数据的指示信息;及根据所述主数据区块伴随生成证据,生成与所述第一类虚拟对象的虚拟对象数据对应的主数据区块,所述主数据区块中携带有指示所述第一类虚拟对象的虚拟对象数据的指示信息。Step S420, the first application client generates a side data block corresponding to the virtual object data of the second type of virtual object according to the completion evidence, and carries the completion record in the side data block, and Indicating information indicating the virtual object data of the second type of virtual object; and generating a main data block corresponding to the virtual object data of the first type of virtual object according to the accompanying generation evidence of the main data block, the The main data block carries indication information indicating the virtual object data of the first type of virtual object.
步骤S430、第一应用客户端为所述侧数据区块添加所述第一用户对应的签名信息。Step S430, the first application client adds signature information corresponding to the first user to the side data block.
步骤S440、第一应用客户端将添加有所述签名信息的侧数据区块广播到侧区块链网络;并将所述主数据区块锁定到主区块链网络。Step S440, the first application client broadcasts the side data block added with the signature information to the side blockchain network; and locks the main data block to the main blockchain network.
可选的,在验证数据区块时,由于主数据区块是伴随侧数据区块生成的等价数据区块,因此仅对侧数据区块进行验证,而主数据区块则锁定到主区块链网络中,直至该侧数据区块表示的第二类虚拟对象被交易时,才对锁定的主数据区块进行释放。Optionally, when verifying the data block, since the main data block is an equivalent data block generated with the side data block, only the side data block is verified, while the main data block is locked to the main area In the block chain network, the locked main data block is not released until the second type of virtual object represented by the side data block is traded.
基于图8所示方法,以游戏网络应用为例,如图9所示,游戏客户端完成一游戏任务,且游戏任务的奖励为一个游戏道具,则游戏客户端在完成游戏任务后,可确定游戏任务关联奖励的虚拟对象为游戏道具(即游戏任务关联的虚拟对象数据的虚拟对象类型为第二类虚拟对象,游戏道具为第二类虚拟对象的一种形式),从而游戏客户端可确定该游戏道具的等价游戏货币,如等价的游戏货币为100虚拟金币,则游戏客户端可生成第一用户完成所述应用事件的完成证据,和主数据区块伴随生成证据;Based on the method shown in Figure 8, taking the game network application as an example, as shown in Figure 9, the game client completes a game task, and the reward of the game task is a game item, then the game client can determine The virtual object associated with the game task is a game item (that is, the virtual object type of the virtual object data associated with the game task is the second type of virtual object, and the game item is a form of the second type of virtual object), so that the game client can determine The equivalent game currency of the game item, such as the equivalent game currency is 100 virtual gold coins, then the game client can generate the completion evidence that the first user completes the application event, and the main data block is accompanied by the generation evidence;
该完成证据用于表示游戏客户端完成游戏任务的完成记录,以及游戏任务关联奖励的游戏道具;该主数据区块伴随生成证据用于表示游戏任务关联奖励的游戏道具对应的等价100虚拟金币;The completion evidence is used to represent the completion record of the game client completing the game task, and the game props associated with the game task; the main data block is accompanied by the generated evidence to represent the equivalent of 100 virtual gold coins corresponding to the game props associated with the game task ;
从而游戏客户端可根据该完成证据,生成与该游戏道具对应的侧数据区块,并在侧数据区块中携带所述完成记录,以及指示侧数据区块对应的游戏道具的指示信息,进而对侧数据区块添加游戏客户端对应的用户的签名信息后,广播到侧区块链,以便其他游戏客户端验证该侧数据区块的有效性;Therefore, the game client can generate a side data block corresponding to the game item according to the completion evidence, and carry the completion record in the side data block, as well as indication information indicating the game item corresponding to the side data block, and then After adding the signature information of the user corresponding to the game client to the data block on the opposite side, it is broadcast to the side blockchain so that other game clients can verify the validity of the data block on the side;
同时,游戏客户端可根据主数据区块伴随生成证据,生成与100虚拟金币对应的主数据区块,并在主数据区块中携带指示主数据区块对应100虚拟金币的指示信息;进而将主数据区块锁定到主区块链中,直至所述侧数据区块表示的虚拟道具被交易时,从主区块链中释放出该主数据区块。At the same time, the game client can generate evidence according to the main data block, generate a main data block corresponding to 100 virtual gold coins, and carry indication information indicating that the main data block corresponds to 100 virtual gold coins in the main data block; The main data block is locked into the main block chain until the virtual item represented by the side data block is traded, and the main data block is released from the main block chain.
可选的,本发明实施例可利用侧链(侧区块链)机制,自动锁定主链(主区块链)上的主数据区块,直至主数据区块释放后,解除锁定。Optionally, the embodiment of the present invention can use the side chain (side block chain) mechanism to automatically lock the main data block on the main chain (main block chain), and unlock it until the main data block is released.
可选的,利用第二类虚拟对象和/或第一类虚拟对象,合成新的第二类虚拟对象,可以认为是应用事件的一种;只不过新的第二类虚拟对象对应的侧数据块的生成,需要伴随着原有的第二类虚拟对象对应的侧数据区块,和/或原有的第一类虚拟对象对应的主数据区块的无效;Optionally, using the second type of virtual object and/or the first type of virtual object to synthesize a new second type of virtual object can be regarded as a kind of application event; only the side data corresponding to the new second type of virtual object The generation of the block needs to be accompanied by the invalidation of the original side data block corresponding to the second type virtual object, and/or the invalidation of the original primary data block corresponding to the first type virtual object;
相应的,第一应用客户端在完成应用事件时,还可以确定完成应用事件伴随无效的数据区块(可能是第一类虚拟对象对应的主数据区块,也可能是第二类虚拟对象对应的侧数据区块,具体可视应用事件执行要求而定),并对所确定的数据区块进行无效处理。Correspondingly, when the first application client completes the application event, it may also determine that the completion of the application event is accompanied by an invalid data block (may be the main data block corresponding to the first type of virtual object, or may be the data block corresponding to the second type of virtual object). side data block, which may be determined according to the execution requirements of the application event), and invalidate the determined data block.
上文以虚拟对象的生成方面,对本发明实施例提供的数据处理方法进行了介绍;下面将从虚拟对象的交易角度,对本发明实施例提供的数据处理方法进行介绍;下文描述的数据处理方法建立在上文描述的以区块链技术进行虚拟对象的生成的基础上。The above describes the data processing method provided by the embodiment of the present invention in terms of virtual object generation; the following will introduce the data processing method provided by the embodiment of the present invention from the perspective of virtual object transactions; the data processing method described below establishes Based on the generation of virtual objects using blockchain technology described above.
图10为本发明实施例提供的数据处理方法的又一流程图,该方法可应用于第一应用客户端,参照图10,该方法可以包括:FIG. 10 is another flow chart of the data processing method provided by the embodiment of the present invention. The method can be applied to the first application client. Referring to FIG. 10, the method may include:
步骤S500、获取第一交易的交易请求。Step S500, acquire the transaction request of the first transaction.
可选的,交易请求可以是关于第一应用客户端的第一用户的交易请求;也可能是其他应用客户端广播到区块链网络中的交易请求,即其他应用客户端的用户进行第一交易时,其他应用客户端可将第一交易的交易请求广播到区块链网络中,当第一应用客户端获取到该交易请求时,可基于交易请求进行相应数据区块的生成。Optionally, the transaction request may be a transaction request related to the first user of the first application client; it may also be a transaction request broadcast by other application clients to the blockchain network, that is, when users of other application clients perform the first transaction , other application clients can broadcast the transaction request of the first transaction to the blockchain network, and when the first application client obtains the transaction request, it can generate corresponding data blocks based on the transaction request.
步骤S510、根据所述交易请求生成第一交易对应的数据区块;所述数据区块携带有第一交易的交易记录,以及指示第一交易对应的虚拟对象数据的指示信息。Step S510, generating a data block corresponding to the first transaction according to the transaction request; the data block carries the transaction record of the first transaction and the indication information indicating the virtual object data corresponding to the first transaction.
区别于现有修改数据库中的用户数据进行交易的方式,本发明实施例并不是根据交易请求,对用户数据中的虚拟货币等进行修改,来实现交易;而是通过生成交易对应的数据区块,将交易对应的数据区块添加到区块链中,即在进行交易实现时,区块链是不会对已经生成和加入的数据区块进行修改,而是在区块链的末尾添加新的与交易对应的数据区块;Different from the existing way of modifying the user data in the database to conduct transactions, the embodiment of the present invention does not modify the virtual currency in the user data according to the transaction request to realize the transaction; but generates the data block corresponding to the transaction , add the data block corresponding to the transaction to the blockchain, that is, when the transaction is realized, the blockchain will not modify the data block that has been generated and added, but will add a new one at the end of the blockchain The data block corresponding to the transaction;
可选的,第一交易的交易记录可以记录第一交易涉及的用户,第一交易的交易物品、货币等,可以对第一交易的交易关键涉及的关键数据的记录。Optionally, the transaction record of the first transaction may record the users involved in the first transaction, the transaction items, currency, etc. of the first transaction, and may record the key data involved in the transaction key of the first transaction.
步骤S520、将所述数据区块广播到区块链网络。Step S520, broadcasting the data block to the blockchain network.
可选的,第一交易可能是购买游戏道具的交易,如该游戏道具需要消耗100金币,则第一应用客户端获取到交易请求,并确定交易请求所对应的第一用户使用100金币购买游戏道具的交易记录;从而根据交易请求,生成第一交易对应的数据区块,并在数据区块中携带交易记录和指示第一交易对应的消耗100金币,及获得游戏道具的指示信息;Optionally, the first transaction may be a transaction of purchasing a game item. If the game item needs to consume 100 gold coins, the first application client obtains the transaction request and determines that the first user corresponding to the transaction request uses 100 gold coins to purchase the game The transaction record of the props; thus, according to the transaction request, the data block corresponding to the first transaction is generated, and the transaction record is carried in the data block, indicating the consumption of 100 gold coins corresponding to the first transaction, and obtaining the instruction information of the game props;
可选的,第一交易可能是第一用户销售游戏道具的交易请求,如该游戏道具的售价为100金币,则第一应用客户端可获取交易请求,并确定交易请求所对应的第一用户销售游戏道具获得100金币的交易记录;从而生成第一交易对应的数据区块,并在数据区块中携带交易记录和指示第一交易对应的获得100金币,及销售出的游戏道具的指示信息;Optionally, the first transaction may be a transaction request for the first user to sell a game item. For example, if the game item is sold for 100 gold coins, the first application client can obtain the transaction request and determine the first transaction request corresponding to the transaction request. The transaction record of the user selling game props to obtain 100 gold coins; thereby generating the data block corresponding to the first transaction, and carrying the transaction records and instructions in the data block corresponding to the first transaction to obtain 100 gold coins and the instruction of the sold game props information;
显然,第一交易还可能是虚拟物品与虚拟物品的交易,或者单纯的转让虚拟金币,单纯的转让虚拟物品等,这些类型的交易的处理原理与上述描述,都是根据交易请求生成相应的数据区块,并传播到区块链网络中,由其他应用客户端验证数据区块的有效性实现;Obviously, the first transaction may also be a virtual item-to-virtual item transaction, or a simple transfer of virtual gold coins, a pure transfer of virtual items, etc. The processing principle of these types of transactions is the same as the above description, and the corresponding data is generated according to the transaction request block, and spread to the blockchain network, and other application clients verify the validity of the data block;
可选的,本发明实施例可支持用户之间的交易,用户与游戏系统之间的交易等。Optionally, this embodiment of the present invention can support transactions between users, transactions between users and the game system, and the like.
可选的,交易对应数据区块广播到区块链网络后,可由区块链网络中的应用客户端验证数据区块是否有效,具体验证原理与前文图4描述类似,可以是应用客户端根据数据区块中的交易记录,模拟交易是否能够完成,并在交易能够完成时,判断数据区块所对应的虚拟对象数据是否与交易相符和实现;Optionally, after the data block corresponding to the transaction is broadcast to the blockchain network, the application client in the blockchain network can verify whether the data block is valid. The specific verification principle is similar to that described in Figure 4 above. The transaction records in the data block simulate whether the transaction can be completed, and when the transaction can be completed, determine whether the virtual object data corresponding to the data block is consistent with the transaction and realized;
即如果区块链网络中的应用客户端根据数据区块中的交易记录,模拟交易过程后,判断交易能够完成,且数据区块所对应的虚拟对象数据与交易相符,则确定数据区块有效。That is, if the application client in the blockchain network simulates the transaction process based on the transaction records in the data block and judges that the transaction can be completed, and the virtual object data corresponding to the data block matches the transaction, then it is determined that the data block is valid .
具体的,第一应用客户端可获取第一交易对应的私钥(第一交易可以对应有由应用服务器分配的一对私钥和公钥对),将第一交易的交易记录使用该私钥进行签名并携带在数据区块中;从而将携带使用该私钥签名的交易记录,及指示第一交易对应的虚拟对象数据的指示信息的数据区块发送到区块链网络中;Specifically, the first application client may obtain the private key corresponding to the first transaction (the first transaction may correspond to a pair of private key and public key assigned by the application server), and use the private key in the transaction record of the first transaction Signing and carrying in the data block; thus sending the data block carrying the transaction record signed with the private key and the indication information indicating the virtual object data corresponding to the first transaction to the blockchain network;
从而由其他应用客户端接收到数据区块后,通过第一交易对应的公钥解开,使用该私钥签名的交易记录,根据所述交易记录模拟第一交易的完成过程,如果模拟结果为所述交易记录能够完成第一交易,且数据区块所对应的虚拟对象数据与第一交易相符,确定该数据区块有效。Therefore, after other application clients receive the data block, they unlock the corresponding public key of the first transaction, use the private key to sign the transaction record, and simulate the completion process of the first transaction according to the transaction record. If the simulation result is The transaction record can complete the first transaction, and the virtual object data corresponding to the data block is consistent with the first transaction, so it is determined that the data block is valid.
相应的,第一应用客户端可验证区块链网络中传播的数据区块;如第一应用客户端接收到区块链网络中传播的第二交易对应的数据区块,则第一应用客户端可解析所接收的数据区块,获取第二交易对应的公钥,使用所获取的公钥,解开使用私钥签名的第二交易的交易记录;Correspondingly, the first application client can verify the data block propagated in the blockchain network; if the first application client receives the data block corresponding to the second transaction propagated in the blockchain network, the first application client The terminal can analyze the received data block, obtain the public key corresponding to the second transaction, and use the obtained public key to unlock the transaction record of the second transaction signed with the private key;
第一应用客户端可根据所得到的交易记录模拟第二交易的完成过程,从而根据模拟结果验证所接收的数据区块的有效性;The first application client can simulate the completion process of the second transaction according to the obtained transaction records, so as to verify the validity of the received data blocks according to the simulation results;
如果模拟结果为所得到的交易记录能够完成第二交易,且数据区块对应的虚拟对象数据与第二交易相符,则可确定所接收的数据区块有效。If the simulation result shows that the obtained transaction record can complete the second transaction, and the virtual object data corresponding to the data block is consistent with the second transaction, it can be determined that the received data block is valid.
可选的,如果区块链网络中的应用客户端根据数据区块中的交易记录,模拟交易过程后,判断交易不能完成;和/或,数据区块所对应的虚拟对象数据与交易不符,则可确定数据区块无效。Optionally, if the application client in the blockchain network judges that the transaction cannot be completed after simulating the transaction process according to the transaction records in the data block; and/or, the virtual object data corresponding to the data block does not match the transaction, Then it can be determined that the data block is invalid.
可选的,图10所示数据区块可以是主数据区块,也可以是侧数据区块;需要注意的是,如果第一交易对应的虚拟对象数据为,初次交易的侧数据区块对应的第二类虚拟对象数据,因为初次进行交易的第二类虚拟对象数据,所对应的等价第一类虚拟对象的主数据区块仍处于锁定状态(即表示等价的虚拟货币等第一类虚拟对象的主数据区块,处于锁定状态),则在第一交易对应的虚拟对象数据为,初次交易的侧数据区块对应的第二类虚拟对象数据时,需要将对应的处于锁定状态的主数据区块进行释放,以保证网络虚拟世界的通货量充足。Optionally, the data block shown in Figure 10 can be a main data block or a side data block; it should be noted that if the virtual object data corresponding to the first transaction is, the side data block of the initial transaction corresponds to The second type of virtual object data, because the second type of virtual object data that is traded for the first time, the corresponding master data block of the equivalent first type virtual object is still in a locked state (that is, the equivalent virtual currency, etc. The main data block of the class virtual object is in the locked state), then when the virtual object data corresponding to the first transaction is the second type of virtual object data corresponding to the side data block of the initial transaction, the corresponding virtual object data needs to be in the locked state The main data blocks of the network are released to ensure sufficient currency in the virtual world of the network.
如果第一交易对应的虚拟对象数据已经进行过交易,则对应的主数据区块已经被释放,此时不再需要涉及主数据区块的是否,可以相对独立地进行双向交易;If the virtual object data corresponding to the first transaction has already been traded, the corresponding main data block has been released. At this time, it is no longer necessary to involve the main data block, and two-way transactions can be carried out relatively independently;
可选的,侧数据区块对应的第二类虚拟对象,与主数据区块对应的第一类虚拟对象的等价关系,可以由运营服务器根据实际情况设定;如以游戏网络应用为例,运营服务器可通过调整和发布游戏任务来控制虚拟货币和虚拟物品的发布,通过调整玩家参与游戏时的虚拟货币、虚拟物品消耗,以及,虚拟货币和虚拟物品的兑换关系(对应关系的一种),来控制网络虚拟世界的生态。Optionally, the equivalence relationship between the second type of virtual object corresponding to the side data block and the first type of virtual object corresponding to the main data block can be set by the operation server according to the actual situation; for example, take the game network application as an example , the operation server can control the issuance of virtual currency and virtual items by adjusting and issuing game tasks, by adjusting the consumption of virtual currency and virtual items when players participate in the game, and the exchange relationship between virtual currency and virtual items (a kind of corresponding relationship) ), to control the ecology of the network virtual world.
本发明实施例提供的数据处理方法中,虚拟货币、虚拟物品(虚拟道具,虚拟资源)等虚拟对象的处理由区块链管理,且虚拟物品等第二类虚拟对象的区块链,作为虚拟货币等第一类虚拟对象的区块链的侧链,保证了虚拟物品与虚拟货币之间的换算关系是一定的;用户在游戏中的行为(例如完成任务)可以创造新的数据区块(主数据区块,和/或,侧数据区块),如果新的数据区块表示虚拟物品(对应侧数据区块),则等量的虚拟货币(对应主数据区块)也被创造出来,两者可以自由兑换,从而保证了通货的稳定;In the data processing method provided by the embodiment of the present invention, the processing of virtual objects such as virtual currency and virtual items (virtual props, virtual resources) is managed by the blockchain, and the blockchain of the second type of virtual objects such as virtual items is used as a virtual The side chain of the block chain of the first type of virtual objects such as currency ensures that the conversion relationship between virtual items and virtual currency is certain; the user's behavior in the game (such as completing tasks) can create new data blocks ( main data block, and/or, side data block), if the new data block represents a virtual item (corresponding to the side data block), then an equal amount of virtual currency (corresponding to the main data block) is also created, The two can be freely exchanged, thus ensuring the stability of the currency;
而新数据区块的产生依赖于应用客户端的应用行为(如玩家的游戏行为),这些应用行为一旦触发应用事件完成,则应用事件关联奖励的虚拟货币、虚拟物品等虚拟对象的数据区块则被创造出来,而触发应用事件完成的应用行为是由应用运营方所决定的;因此,应用运营方虽然仍可以调整应用内容,以及物品货币之间的兑换关系,但却无法直接通过修改用户数据,实现虚拟货币、虚拟物品等虚拟对象的生成和交易,降低了服务器资源开销;同时,分布式的数据区块存储,提升了用户资产的安全、可靠性。The generation of new data blocks depends on the application behavior of the application client (such as the player's game behavior). Once these application behaviors trigger application events and complete, the data blocks of virtual objects such as virtual currency and virtual items associated with the application events will be Created, and the application behavior that triggers the completion of the application event is determined by the application operator; therefore, although the application operator can still adjust the application content and the exchange relationship between item currencies, it cannot directly modify the user data , realize the generation and transaction of virtual objects such as virtual currency and virtual items, and reduce server resource overhead; at the same time, distributed data block storage improves the security and reliability of user assets.
基于上述描述的数据处理方式,本发明实施例的优点至少包括:Based on the data processing method described above, the advantages of the embodiments of the present invention at least include:
通过将运营方控制的网络虚拟世界经济生态进行去中心化,使得运营方无法直接干涉网络虚拟世界的经济系统数值,而只能通过对玩家行为机制的改变来间接控制网络虚拟世界的经济系统,使得网络虚拟世界的公平性得到了保证,同时降低了服务器资源开销;。By decentralizing the economic ecology of the network virtual world controlled by the operator, the operator cannot directly interfere with the value of the economic system of the network virtual world, but can only indirectly control the economic system of the network virtual world by changing the player's behavior mechanism. The fairness of the network virtual world is guaranteed, and the resource overhead of the server is reduced at the same time;
用户的虚拟货币、虚拟物品对应的数据区块分布式地存储在整个区块链网络当中,必须是大多数应用客户端认同的修改才会被记录在案,私自伪造或篡改数据区块的情况得以避免,保证了游戏的安全性,用户资产的安全、可靠性;并且区块链网络分布式的存储可以有效避免单点故障带来的游戏服务的中断,提升了游戏等网络应用服务的可靠性。The data blocks corresponding to the user's virtual currency and virtual items are distributed and stored in the entire blockchain network, and must be modified by most application clients to be recorded, and the data blocks are forged or tampered without permission It can be avoided, ensuring the security of the game, the security and reliability of user assets; and the distributed storage of the blockchain network can effectively avoid the interruption of game services caused by single point of failure, and improve the reliability of network application services such as games sex.
下面以虚拟对象的生成角色,对本发明实施例提供的应用客户端进行介绍,下文描述的应用客户端可与上文描述的数据处理方法相互对应参照。The application client provided by the embodiment of the present invention will be introduced below with the role of virtual object generation, and the application client described below can be referred to in correspondence with the data processing method described above.
图11为本发明实施例提供的应用客户端的结构框图,参照图11,该应用客户端可以包括:Fig. 11 is a structural block diagram of an application client provided by an embodiment of the present invention. Referring to Fig. 11, the application client may include:
完成证据获取模块100,用于在第一用户完成应用事件时,获取第一用户完成所述应用事件的完成证据;所述完成证据包括:所述第一用户完成所述应用事件的完成记录,以及所述应用事件关联的虚拟对象数据;The completion evidence acquisition module 100 is configured to obtain the completion evidence of the first user completing the application event when the first user completes the application event; the completion evidence includes: the completion record of the first user completing the application event, and virtual object data associated with the application event;
数据区块生成模块110,用于根据所述完成证据,生成所述虚拟对象数据对应的数据区块,并在所述数据区块中携带所述完成记录,及指示所述虚拟对象数据的指示信息;A data block generation module 110, configured to generate a data block corresponding to the virtual object data according to the completion evidence, and carry the completion record and an indication of the virtual object data in the data block information;
签名添加模块120,用于为所述数据区块添加所述第一用户的签名信息;A signature adding module 120, configured to add the signature information of the first user to the data block;
第一广播模块130,用于将添加有所述签名信息的数据区块广播到区块链网络;所述区块链网络由多个应用客户端接入。The first broadcast module 130 is configured to broadcast the data block added with the signature information to a block chain network; the block chain network is accessed by multiple application clients.
可选的,所述第一用户完成所述应用事件的完成记录包括:第一用户完成应用事件的行为记录或者结果记录。Optionally, the completion record of the first user completing the application event includes: a behavior record or a result record of the first user completing the application event.
可选的,完成证据获取模块100,用于获取第一用户完成所述应用事件的完成证据,具体包括:Optionally, the completion proof obtaining module 100 is configured to obtain the completion proof that the first user completes the application event, specifically including:
在第一用户完成应用事件时,向应用服务器发送第一用户完成应用事件通知;When the first user completes the application event, send the first user completion application event notification to the application server;
获取所述应用服务器发送的应用事件关联的虚拟对象数据,及所述应用事件相对应的私钥;其中,所述应用服务器为所述应用事件分配有相对应的一对公钥和私钥;Obtain the virtual object data associated with the application event sent by the application server, and the private key corresponding to the application event; wherein, the application server assigns a corresponding pair of public key and private key to the application event;
获取第一用户完成应用事件的行为记录或者结果记录;Obtain the behavior record or result record of the first user completing the application event;
将所述行为记录或者结果记录使用所述私钥进行签名;Sign the behavior record or result record with the private key;
根据所述虚拟对象数据,及,使用所述私钥签名的所述行为记录或者结果记录,确定第一用户完成所述应用事件的完成证据。According to the virtual object data and the behavior record or result record signed with the private key, it is determined that the first user completes the completion evidence of the application event.
可选的,完成证据获取模块100,用于获取第一用户完成应用事件的行为记录或者结果记录,具体包括:Optionally, the completion evidence obtaining module 100 is configured to obtain the behavior record or result record of the first user completing the application event, specifically including:
获取所述应用服务器发送的所述行为记录或者结果记录;Obtain the behavior record or result record sent by the application server;
或,获取所述应用客户端自确定的所述行为记录或者结果记录。Or, acquire the behavior records or result records self-determined by the application client.
可选的,所述第一用户完成所述应用事件的完成记录还包括:所述应用事件的描述内容。Optionally, the completion record of the first user completing the application event further includes: description content of the application event.
可选的,图12示出了本发明实施例提供的应用客户端的另一结构,图12所示的应用客户端可以认为是前文描述的第一应用客户端(系统中任意的一个需要生成虚拟对象的应用客户端),结合图11和图12所示,该应用客户端还可以包括:Optionally, FIG. 12 shows another structure of the application client provided by the embodiment of the present invention. The application client shown in FIG. Object application client), as shown in Figure 11 and Figure 12, the application client can also include:
第一有效性验证模块140,用于接收区块链网络中传播的数据区块,该数据区块携带有第二用户完成应用事件的行为记录或者结果记录,及指示第二用户完成的应用事件关联的虚拟对象数据的指示信息;其中,该行为记录或者结果记录使用第二用户完成的应用事件对应的私钥签名;解析所接收的数据区块,获取该使用私钥签名的行为记录或者结果记录,及指示该虚拟对象数据的指示信息;向应用服务器请求第二用户完成的应用事件相应的公钥;使用所获取的公钥,解开使用该私钥签名的行为记录或者结果记录,得到第二用户完成应用事件的行为记录或者结果记录;根据所述行为记录或者结果记录模拟应用事件的完成过程,根据模拟结果验证所接收的数据区块的有效性。The first validity verification module 140 is used to receive the data block propagated in the blockchain network, the data block carries the behavior record or result record of the second user completing the application event, and indicates the application event completed by the second user The instruction information of the associated virtual object data; wherein, the behavior record or result record is signed with the private key corresponding to the application event completed by the second user; the received data block is analyzed to obtain the behavior record or result signed with the private key record, and the instruction information indicating the virtual object data; request the public key corresponding to the application event completed by the second user from the application server; use the obtained public key to unlock the behavior record or result record signed with the private key, and obtain The second user completes the behavior record or result record of the application event; simulates the completion process of the application event according to the behavior record or result record, and verifies the validity of the received data block according to the simulation result.
可选的,第一有效性验证模块140,用于根据模拟结果验证所接收的数据区块的有效性,具体包括:Optionally, the first validity verification module 140 is configured to verify the validity of the received data block according to the simulation result, specifically including:
如果模拟结果为所得到的行为记录或者结果记录能够完成应用事件,且应用事件的完成奖励与该虚拟对象数据对应,确定所接收的数据区块有效;If the simulation result is that the obtained behavior record or result record can complete the application event, and the completion reward of the application event corresponds to the virtual object data, it is determined that the received data block is valid;
如果模拟结果为所得到的行为记录或者结果记录不能够完成应用事件,和/或,应用事件的完成奖励与所述虚拟对象数据不对应,则确定所接收的数据区块无效。If the simulation result is that the obtained behavior record or result record cannot complete the application event, and/or the completion reward of the application event does not correspond to the virtual object data, then it is determined that the received data block is invalid.
可选的,如果所述应用事件关联的虚拟对象数据的虚拟对象类型为第一类虚拟对象,所述完成证据包括:所述第一用户完成所述应用事件的完成记录,以及所述应用事件关联的第一类虚拟对象的虚拟对象数据;Optionally, if the virtual object type of the virtual object data associated with the application event is a first-type virtual object, the completion evidence includes: the completion record of the first user completing the application event, and the application event virtual object data of the associated virtual object of the first type;
相应的,数据区块生成模块110,用于根据所述完成证据,生成所述虚拟对象数据对应的数据区块,并在所述数据区块中携带所述完成记录,及指示所述虚拟对象数据的指示信息,具体包括:Correspondingly, the data block generating module 110 is configured to generate a data block corresponding to the virtual object data according to the completion proof, carry the completion record in the data block, and indicate that the virtual object Instructions for the data, including:
根据所述完成证据,生成与所述第一类虚拟对象的虚拟对象数据对应的主数据区块;并在所述主数据区块中携带所述完成记录,及指示所述第一类虚拟对象的虚拟对象数据的指示信息。According to the completion evidence, generate a main data block corresponding to the virtual object data of the first type of virtual object; and carry the completion record in the main data block, and indicate the first type of virtual object An indication of the virtual object data for .
可选的,如果所述应用事件关联的虚拟对象数据的虚拟对象类型为第二类虚拟对象,所述完成证据包括:所述第一用户完成所述应用事件的完成记录,以及所述应用事件关联的第二类虚拟对象的虚拟对象数据;Optionally, if the virtual object type of the virtual object data associated with the application event is the second type of virtual object, the completion evidence includes: the completion record of the first user completing the application event, and the application event virtual object data of the associated virtual object of the second type;
应用客户端还可用于:The application client can also be used to:
确定与所述第二类虚拟对象的虚拟对象数据对应的,第一类虚拟对象的虚拟对象数据;determining the virtual object data of the first type of virtual object corresponding to the virtual object data of the second type of virtual object;
确定主数据区块伴随生成证据,所述主数据区块伴随生成证据包括:所述第一类虚拟对象的虚拟对象数据;Determine the accompanying generation evidence of the main data block, the main data block accompanying generation evidence includes: the virtual object data of the first type of virtual object;
相应的,数据区块生成模块110,用于根据所述完成证据,生成所述虚拟对象数据对应的数据区块,并在所述数据区块中携带所述完成记录,及指示所述虚拟对象数据的指示信息,具体包括:Correspondingly, the data block generating module 110 is configured to generate a data block corresponding to the virtual object data according to the completion proof, carry the completion record in the data block, and indicate that the virtual object Instructions for the data, including:
根据所述完成证据,生成与所述第二类虚拟对象的虚拟对象数据对应的侧数据区块,并在所述侧数据区块中携带所述完成记录,及指示所述第二类虚拟对象的虚拟对象数据的指示信息;According to the completion evidence, generate a side data block corresponding to the virtual object data of the second type of virtual object, carry the completion record in the side data block, and indicate the second type of virtual object The indication information of the virtual object data;
在此基础上,进一步,应用客户端还可用于:根据所述主数据区块伴随生成证据,生成与所述第一类虚拟对象的虚拟对象数据对应的主数据区块,所述主数据区块中携带有指示所述第一类虚拟对象的虚拟对象数据的指示信息;On this basis, further, the application client can also be used to: generate a main data block corresponding to the virtual object data of the first type of virtual object according to the accompanying generation evidence of the main data block, and the main data area The block carries indication information indicating the virtual object data of the first type of virtual object;
从而,签名添加模块120,用于为所述数据区块添加所述第一用户的签名信息,具体包括:Therefore, the signature adding module 120, configured to add the signature information of the first user to the data block, specifically includes:
为所述侧数据区块添加所述第一用户对应的签名信息;Add signature information corresponding to the first user to the side data block;
第一广播模块130,用于将添加有所述签名信息的数据区块广播到区块链网络,具体包括:The first broadcast module 130 is used to broadcast the data block added with the signature information to the block chain network, specifically including:
将添加有所述签名信息的侧数据区块广播到侧区块链网络;Broadcast the side data block with the signature information added to the side blockchain network;
相应的,应用客户端还可用于:将所述主数据区块锁定到主区块链网络,直至所述侧数据区块对应的第二类虚拟对象被交易时,解除所锁定的主数据区块。Correspondingly, the application client can also be used to: lock the main data block to the main blockchain network, and unlock the locked main data area until the second type of virtual object corresponding to the side data block is traded piece.
下面从虚拟对象的交易角色,对本发明实施例提供的应用客户端进行介绍,下文描述的应用客户端可与上文描述的数据处理方法内容相互对应参照。The following introduces the application client provided by the embodiment of the present invention from the perspective of the transaction role of the virtual object. The application client described below can be referred to in correspondence with the content of the data processing method described above.
图13为本发明实施例提供的应用客户端的再一结构框图,参照图13,该应用客户端可以包括:Fig. 13 is another structural block diagram of the application client provided by the embodiment of the present invention. Referring to Fig. 13, the application client may include:
交易请求获取模块200,用于获取第一交易的交易请求;A transaction request acquiring module 200, configured to acquire the transaction request of the first transaction;
生成模块210,用于根据所述交易请求生成第一交易对应的数据区块;所述数据区块携带有第一交易的交易记录,以及指示第一交易对应的虚拟对象数据的指示信息;A generating module 210, configured to generate a data block corresponding to the first transaction according to the transaction request; the data block carries a transaction record of the first transaction and indication information indicating virtual object data corresponding to the first transaction;
第二广播模块220,用于将所述数据区块广播到区块链网络。The second broadcast module 220 is configured to broadcast the data block to the blockchain network.
可选的,图14示出了本发明实施例提供的应用客户端的又一结构框图,结合图13和图14所示,该应用客户端还可以包括:Optionally, FIG. 14 shows another structural block diagram of the application client provided by the embodiment of the present invention. With reference to FIG. 13 and FIG. 14 , the application client may also include:
私钥签名模块230,用于从应用服务器获取第一交易对应的私钥;所述应用服务器为第一交易分配有相对应的一对公钥和私钥;将第一交易的交易记录使用该私钥进行签名,并携带在所述数据区块中;The private key signature module 230 is used to obtain the private key corresponding to the first transaction from the application server; the application server is assigned a corresponding pair of public key and private key for the first transaction; use the transaction record of the first transaction to use the The private key is signed and carried in the data block;
第二有效性验证模块240,用于接收区块链网络中传播的第二交易对应的数据区块,该数据区块携带有第二交易的交易记录,及指示第二交易对应的虚拟对象数据的指示信息;其中,第二交易的交易记录使用第二交易对应的私钥签名;获取第二交易对应的公钥,使用所获取的公钥,解开使用私钥签名的第二交易的交易记录;根据所得到的交易记录模拟第二交易的完成过程,根据模拟结果验证第二交易对应的数据区块的有效性。The second validity verification module 240 is configured to receive the data block corresponding to the second transaction propagated in the blockchain network, the data block carries the transaction record of the second transaction, and indicates the virtual object data corresponding to the second transaction The instruction information of the second transaction; wherein, the transaction record of the second transaction is signed with the private key corresponding to the second transaction; obtain the public key corresponding to the second transaction, and use the obtained public key to unlock the transaction of the second transaction signed with the private key Recording: simulating the completion process of the second transaction according to the obtained transaction records, and verifying the validity of the data block corresponding to the second transaction according to the simulation results.
可选的,私钥签名模块230和第二有效性验证模块240可择一,或者结合应用在图13所示应用客户端中。Optionally, one of the private key signature module 230 and the second validity verification module 240 can be selected, or combined and applied in the application client shown in FIG. 13 .
可选的,如果第一交易对应的虚拟对象数据为,初次交易的侧数据区块对应的第二类虚拟对象数据;则所述应用客户端还可用于:将该侧数据区块所对应的处于锁定状态的主数据区块进行释放。Optionally, if the virtual object data corresponding to the first transaction is the second type of virtual object data corresponding to the side data block of the initial transaction; then the application client can also be used to: The locked master data blocks are released.
本发明实施例还提供一种数据处理系统,该数据处理系统可以包括:应用服务器,运营服务器,数据库,上述所述的应用客户端;该数据处理系统的结构可以如图1所示。An embodiment of the present invention also provides a data processing system, which may include: an application server, an operation server, a database, and the above-mentioned application client; the structure of the data processing system may be shown in FIG. 1 .
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for the related information, please refer to the description of the method part.
专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Professionals can further realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software or a combination of the two. In order to clearly illustrate the possible Interchangeability, in the above description, the components and steps of each example have been generally described according to their functions. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of the methods or algorithms described in connection with the embodiments disclosed herein may be directly implemented by hardware, software modules executed by a processor, or a combination of both. Software modules can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other Any other known storage medium.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的核心思想或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (26)
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910642133.1A CN110351285B (en) | 2017-02-08 | 2017-02-08 | Data processing method, application client and system |
CN201710069478.3A CN107979585B (en) | 2017-02-08 | 2017-02-08 | A data processing method, application client and system |
CN201910650943.1A CN110365686B (en) | 2017-02-08 | 2017-02-08 | A data processing method, system and storage medium |
PCT/CN2018/072260 WO2018145554A1 (en) | 2017-02-08 | 2018-01-11 | Data processing method, related device and system, and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710069478.3A CN107979585B (en) | 2017-02-08 | 2017-02-08 | A data processing method, application client and system |
Related Child Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910642133.1A Division CN110351285B (en) | 2017-02-08 | 2017-02-08 | Data processing method, application client and system |
CN201910650943.1A Division CN110365686B (en) | 2017-02-08 | 2017-02-08 | A data processing method, system and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107979585A true CN107979585A (en) | 2018-05-01 |
CN107979585B CN107979585B (en) | 2020-08-04 |
Family
ID=62004208
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910642133.1A Active CN110351285B (en) | 2017-02-08 | 2017-02-08 | Data processing method, application client and system |
CN201710069478.3A Active CN107979585B (en) | 2017-02-08 | 2017-02-08 | A data processing method, application client and system |
CN201910650943.1A Active CN110365686B (en) | 2017-02-08 | 2017-02-08 | A data processing method, system and storage medium |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910642133.1A Active CN110351285B (en) | 2017-02-08 | 2017-02-08 | Data processing method, application client and system |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910650943.1A Active CN110365686B (en) | 2017-02-08 | 2017-02-08 | A data processing method, system and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (3) | CN110351285B (en) |
WO (1) | WO2018145554A1 (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108629694A (en) * | 2018-05-16 | 2018-10-09 | 北京京东尚科信息技术有限公司 | Risk control system and method and computer readable storage medium |
CN109348451A (en) * | 2018-08-09 | 2019-02-15 | 北京邮电大学 | Storage method and device for vehicle auxiliary transmission record |
CN109377366A (en) * | 2018-10-23 | 2019-02-22 | 杭州能链科技有限公司 | Logical card processing method, device and storage medium based on block chain |
CN109377223A (en) * | 2018-10-18 | 2019-02-22 | 李玥 | A kind of method and system based on block chain technical management network safety event disposal process |
CN109410007A (en) * | 2018-10-30 | 2019-03-01 | 杭州复杂美科技有限公司 | A kind of picture arrangement game method and system, equipment and storage medium |
CN109432780A (en) * | 2018-09-29 | 2019-03-08 | 杭州复杂美科技有限公司 | Game dispositions method and method for gaming, equipment and storage medium based on parallel chain |
CN109636362A (en) * | 2018-11-14 | 2019-04-16 | 深圳前海达闼云端智能科技有限公司 | Virtual asset transaction method and device and block chain network node |
CN109731328A (en) * | 2018-12-29 | 2019-05-10 | 杭州趣链科技有限公司 | A kind of block chain game data storage method based on BaaS |
CN109872223A (en) * | 2019-02-12 | 2019-06-11 | 百度在线网络技术(北京)有限公司 | Virtual article trading method, apparatus, equipment and storage medium |
WO2020000796A1 (en) * | 2018-06-28 | 2020-01-02 | 平安科技(深圳)有限公司 | Method and system for game supervision, and computer device |
CN110868372A (en) * | 2018-08-27 | 2020-03-06 | 中兴通讯股份有限公司 | Block chain-based method and device for enhancing northbound interface security |
CN111213134A (en) * | 2018-09-19 | 2020-05-29 | 因特比有限公司 | Method and system for performing hyperconvergence using blockchain |
CN111617469A (en) * | 2020-06-04 | 2020-09-04 | 广州西山居世游网络科技有限公司 | Game data processing method and device |
CN113177820A (en) * | 2021-04-25 | 2021-07-27 | 中国联合网络通信集团有限公司 | Resource processing method and system |
US20230277931A1 (en) * | 2021-08-03 | 2023-09-07 | Tencent Technology (Shenzhen) Company Limited | Exchanging positions of virtual props displayed with a virtual scene |
CN117959723A (en) * | 2024-02-07 | 2024-05-03 | 南京雄君软件科技有限公司 | Intelligent chess editing rule data collaboration method based on block chain |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111507706B (en) * | 2019-01-31 | 2024-04-26 | 华为技术有限公司 | Data browsing and storage method, device, computer equipment and storage medium |
CN110245185A (en) * | 2019-05-21 | 2019-09-17 | 平安普惠企业管理有限公司 | Data processing method, terminal device and computer storage medium based on alliance's chain |
CN110570303A (en) * | 2019-08-15 | 2019-12-13 | 深圳壹账通智能科技有限公司 | Business information processing method, device, storage medium and server cluster |
CN110798529B (en) * | 2019-11-06 | 2022-05-13 | 腾讯科技(深圳)有限公司 | Data processing method, block chain link point equipment and computer storage medium |
CN111008184B (en) * | 2019-12-04 | 2023-09-08 | 北京搜狐新媒体信息技术有限公司 | Data analysis method, device, server and storage medium |
CN111478959A (en) * | 2020-04-02 | 2020-07-31 | 深圳市九九八八网络科技有限公司 | Distributed storage method for game transaction platform |
CN113438293A (en) * | 2021-06-22 | 2021-09-24 | 深圳壹账通智能科技有限公司 | Service system, method, device and storage medium based on block chain |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103927659A (en) * | 2014-04-18 | 2014-07-16 | 刘志望 | Immediate transfer and secure payment method of virtual currency |
CN104320262A (en) * | 2014-11-05 | 2015-01-28 | 中国科学院合肥物质科学研究院 | User public key address binding, searching and verifying method and system based on crypto currency open account book technology |
US20150046337A1 (en) * | 2013-08-06 | 2015-02-12 | Chin-hao Hu | Offline virtual currency transaction |
CN105427104A (en) * | 2015-12-08 | 2016-03-23 | 布比(北京)网络技术有限公司 | Method and method for handling digital assets by means of distributed general ledger |
CN105488665A (en) * | 2015-11-25 | 2016-04-13 | 布比(北京)网络技术有限公司 | Decentralized transaction method |
CN105912618A (en) * | 2016-04-07 | 2016-08-31 | 浙江万马新能源有限公司 | Block chain based charging pile charging transaction communication method and device |
CN106326752A (en) * | 2016-08-13 | 2017-01-11 | 深圳市樊溪电子有限公司 | Program-controlled encrypted file storage system for block chain and method thereof |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160371679A1 (en) * | 2014-04-28 | 2016-12-22 | WageCan Inc. | Virtual currency transaction through payment card |
US10275772B2 (en) * | 2014-06-16 | 2019-04-30 | Bank Of America Corporation | Cryptocurrency risk detection system |
US9967334B2 (en) * | 2015-03-02 | 2018-05-08 | Dell Products Lp | Computing device configuration and management using a secure decentralized transaction ledger |
CN105573828B (en) * | 2015-12-17 | 2019-04-12 | 布比(北京)网络技术有限公司 | A kind of operation processing method and device |
CN106022681A (en) * | 2016-05-13 | 2016-10-12 | 杭州云象网络技术有限公司 | Logistics tracking method based on block chain |
CN106341421B (en) * | 2016-10-31 | 2019-04-02 | 杭州云象网络技术有限公司 | A kind of method for interchanging data based on block chain technology |
-
2017
- 2017-02-08 CN CN201910642133.1A patent/CN110351285B/en active Active
- 2017-02-08 CN CN201710069478.3A patent/CN107979585B/en active Active
- 2017-02-08 CN CN201910650943.1A patent/CN110365686B/en active Active
-
2018
- 2018-01-11 WO PCT/CN2018/072260 patent/WO2018145554A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150046337A1 (en) * | 2013-08-06 | 2015-02-12 | Chin-hao Hu | Offline virtual currency transaction |
CN103927659A (en) * | 2014-04-18 | 2014-07-16 | 刘志望 | Immediate transfer and secure payment method of virtual currency |
CN104320262A (en) * | 2014-11-05 | 2015-01-28 | 中国科学院合肥物质科学研究院 | User public key address binding, searching and verifying method and system based on crypto currency open account book technology |
CN105488665A (en) * | 2015-11-25 | 2016-04-13 | 布比(北京)网络技术有限公司 | Decentralized transaction method |
CN105427104A (en) * | 2015-12-08 | 2016-03-23 | 布比(北京)网络技术有限公司 | Method and method for handling digital assets by means of distributed general ledger |
CN105912618A (en) * | 2016-04-07 | 2016-08-31 | 浙江万马新能源有限公司 | Block chain based charging pile charging transaction communication method and device |
CN106326752A (en) * | 2016-08-13 | 2017-01-11 | 深圳市樊溪电子有限公司 | Program-controlled encrypted file storage system for block chain and method thereof |
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108629694A (en) * | 2018-05-16 | 2018-10-09 | 北京京东尚科信息技术有限公司 | Risk control system and method and computer readable storage medium |
CN108629694B (en) * | 2018-05-16 | 2021-04-30 | 北京京东尚科信息技术有限公司 | Risk control system and method, and computer-readable storage medium |
WO2020000796A1 (en) * | 2018-06-28 | 2020-01-02 | 平安科技(深圳)有限公司 | Method and system for game supervision, and computer device |
CN109348451A (en) * | 2018-08-09 | 2019-02-15 | 北京邮电大学 | Storage method and device for vehicle auxiliary transmission record |
CN110868372B (en) * | 2018-08-27 | 2022-05-31 | 中兴通讯股份有限公司 | Block chain-based method and device for enhancing northbound interface security |
CN110868372A (en) * | 2018-08-27 | 2020-03-06 | 中兴通讯股份有限公司 | Block chain-based method and device for enhancing northbound interface security |
CN111213134A (en) * | 2018-09-19 | 2020-05-29 | 因特比有限公司 | Method and system for performing hyperconvergence using blockchain |
CN109432780A (en) * | 2018-09-29 | 2019-03-08 | 杭州复杂美科技有限公司 | Game dispositions method and method for gaming, equipment and storage medium based on parallel chain |
CN109432780B (en) * | 2018-09-29 | 2021-08-31 | 杭州复杂美科技有限公司 | Game deployment method based on parallel chain, game method, game device and storage medium |
CN109377223A (en) * | 2018-10-18 | 2019-02-22 | 李玥 | A kind of method and system based on block chain technical management network safety event disposal process |
CN109377223B (en) * | 2018-10-18 | 2021-07-27 | 李玥 | Method and system for managing network security event handling process based on block chain technology |
CN109377366A (en) * | 2018-10-23 | 2019-02-22 | 杭州能链科技有限公司 | Logical card processing method, device and storage medium based on block chain |
CN109410007A (en) * | 2018-10-30 | 2019-03-01 | 杭州复杂美科技有限公司 | A kind of picture arrangement game method and system, equipment and storage medium |
CN109636362A (en) * | 2018-11-14 | 2019-04-16 | 深圳前海达闼云端智能科技有限公司 | Virtual asset transaction method and device and block chain network node |
CN109731328A (en) * | 2018-12-29 | 2019-05-10 | 杭州趣链科技有限公司 | A kind of block chain game data storage method based on BaaS |
CN109872223B (en) * | 2019-02-12 | 2021-05-28 | 百度在线网络技术(北京)有限公司 | Virtual article transaction method, device, equipment and storage medium |
CN109872223A (en) * | 2019-02-12 | 2019-06-11 | 百度在线网络技术(北京)有限公司 | Virtual article trading method, apparatus, equipment and storage medium |
CN111617469A (en) * | 2020-06-04 | 2020-09-04 | 广州西山居世游网络科技有限公司 | Game data processing method and device |
CN111617469B (en) * | 2020-06-04 | 2023-09-26 | 广州西山居网络科技有限公司 | Game data processing method and device |
CN113177820A (en) * | 2021-04-25 | 2021-07-27 | 中国联合网络通信集团有限公司 | Resource processing method and system |
CN113177820B (en) * | 2021-04-25 | 2023-01-17 | 中国联合网络通信集团有限公司 | Resource processing method and system |
US20230277931A1 (en) * | 2021-08-03 | 2023-09-07 | Tencent Technology (Shenzhen) Company Limited | Exchanging positions of virtual props displayed with a virtual scene |
US12343629B2 (en) * | 2021-08-03 | 2025-07-01 | Tencent Technology (Shenzhen) Company Limited | Exchanging positions of virtual props displayed with a virtual scene |
CN117959723A (en) * | 2024-02-07 | 2024-05-03 | 南京雄君软件科技有限公司 | Intelligent chess editing rule data collaboration method based on block chain |
CN117959723B (en) * | 2024-02-07 | 2024-07-05 | 南京雄君软件科技有限公司 | Intelligent chess editing rule data collaboration method based on block chain |
Also Published As
Publication number | Publication date |
---|---|
CN110351285B (en) | 2020-07-24 |
CN110351285A (en) | 2019-10-18 |
CN107979585B (en) | 2020-08-04 |
CN110365686B (en) | 2020-10-27 |
CN110365686A (en) | 2019-10-22 |
WO2018145554A1 (en) | 2018-08-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110365686B (en) | A data processing method, system and storage medium | |
JP7407895B2 (en) | Blockchain for general calculations | |
CN109964446B (en) | Consensus method based on voting | |
US10833864B2 (en) | Gaming concensus protocol for blockchain | |
CN108769751B (en) | Network audio-visual management support system based on intelligent contract | |
CN106991573A (en) | Art work fidelity method and server based on block chain technology | |
CN114902195A (en) | Application program cooperation method, computer program, and application program cooperation system | |
CN113853578A (en) | Method for generating random numbers in a blockchain intelligent contract | |
CN110427782A (en) | A kind of random digit generation method based on block chain | |
CN109481936A (en) | Block chain accounting node selection method and device and computer readable storage medium | |
US8433656B1 (en) | Group licenses for virtual objects in a distributed virtual world | |
CN111429145A (en) | Risk control method, device and electronic device for electronic transaction | |
JP2001514909A (en) | Apparatus and process for ensuring fair game progress through a communication network | |
JP6404435B1 (en) | Item transaction system and item transaction program | |
CN111369730A (en) | Voting processing method and device based on block chain | |
CN110264351A (en) | Copyright distribution method and device based on block chain | |
CN111291628A (en) | Face data distributed recognition and storage architecture based on block chain technology | |
CN110490640A (en) | Method, apparatus and system for object distribution processor | |
CN111444090A (en) | Contract testing method, device, electronic device and storage medium in blockchain | |
CN113592477A (en) | Cross-chain asset transfer method, computer device, and storage medium | |
CN110490590A (en) | Activation record querying method, device, equipment and storage medium based on block chain | |
JP2018050973A (en) | Random number generation system, random number generation device, random number generation method and program | |
KR102720594B1 (en) | Apparatus and method for blockchain-based online lottery system and service | |
CN112231367B (en) | Business processing method and device based on artificial intelligence and electronic equipment | |
CN109304033A (en) | A kind of computer game system and method, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |