CN110798529B - Data processing method, block chain link point equipment and computer storage medium - Google Patents

Data processing method, block chain link point equipment and computer storage medium Download PDF

Info

Publication number
CN110798529B
CN110798529B CN201911078442.7A CN201911078442A CN110798529B CN 110798529 B CN110798529 B CN 110798529B CN 201911078442 A CN201911078442 A CN 201911078442A CN 110798529 B CN110798529 B CN 110798529B
Authority
CN
China
Prior art keywords
client
data information
information
block chain
data
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.)
Active
Application number
CN201911078442.7A
Other languages
Chinese (zh)
Other versions
CN110798529A (en
Inventor
李茂材
周开班
王宗友
刘攀
张劲松
朱耿良
孔利
时一防
黄焕坤
刘区城
杨常青
蓝虎
崔嘉辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201911078442.7A priority Critical patent/CN110798529B/en
Publication of CN110798529A publication Critical patent/CN110798529A/en
Application granted granted Critical
Publication of CN110798529B publication Critical patent/CN110798529B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1021Server selection for load balancing based on client or server locations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1023Server selection for load balancing based on a hash applied to IP addresses or costs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/131Protocols for games, networked simulations or virtual reality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a data processing method, which comprises the following steps: the method comprises the steps that block chain node equipment receives to-be-processed data information sent by a first client, wherein the to-be-processed data information comprises first data information and at least one second client identifier associated with the first client; the block chain node equipment acquires second data information of a second client from the second client corresponding to each client identifier; the block link node equipment analyzes and processes the first data information and the second data information to obtain result information, wherein the result information comprises a priority evaluation result; and the block chain node equipment carries out uplink processing on the first data information, the second data information and the result information so as to release the first data information, the second data information and the result information to the block chain network. By adopting the embodiment of the invention, the data processing process is disclosed, so that the data processing process is not easy to be tampered, and the safety of the data processing process is improved.

Description

Data processing method, block chain link point equipment and computer storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a data processing method, a block link point device, and a computer storage medium.
Background
At present, with the rapid development of the blockchain technology, in practice, the convergence of various fields and blockchains raises the heat of blockchain technology development, wherein the internet technology and the blockchain technology are inseparable, and the combined use of the internet technology and the blockchain technology is also one of the directions of future internet development.
However, the current data processing mode still has problems in actual application, wherein, for example, in a game scene, a game is mainly calculated uniformly through a central server at present, and a user can only judge the success or failure of the game according to a result returned by the central server. However, with the development of continuous commercialization and centralization of games, the requirements of users on game experience are higher and higher, the data calculation process of the central server is easily tampered by people, and users cannot know the process of obtaining game results, so that game unfairness is caused.
Disclosure of Invention
The embodiment of the invention provides a data processing method, block chain link point equipment and a computer storage medium, which can process data based on a block chain and disclose a data processing process, so that the data processing process is not easy to be tampered, and the safety of the data processing process is improved.
In one aspect, an embodiment of the present invention provides a data processing method, including:
the method comprises the steps that block chain node equipment receives to-be-processed data information sent by a first client, wherein the to-be-processed data information comprises first data information and at least one second client identifier associated with the first client, the block chain node equipment is any node equipment in a block chain network, and the first data information is generated when the first client detects that an interaction action is generated between the first client and the at least one second client;
the block chain node equipment acquires second data information of the second client from the second client corresponding to each client identifier, wherein the second data information is generated when the second client detects that an interaction action is generated between the second client and the first client;
the block chain node equipment analyzes and processes the first data information and the second data information to obtain result information, wherein the result information comprises a priority evaluation result;
the block link point device performs uplink processing on the first data information, the second data information and the result information to issue the first data information, the second data information and the result information to the block link network.
In another aspect, the present invention further provides a block link point device, which includes a memory, a processor, an input device, and an output device, where the memory stores a set of program codes, and the processor calls the program codes stored in the memory to execute the above mentioned data processing method.
In another aspect, the present invention further provides a data processing apparatus, including:
the receiving module 701: the system comprises a first client and at least one second client, wherein the first client is used for receiving to-be-processed data information sent by the first client, the to-be-processed data information comprises first data information and at least one second client identifier associated with the first client, the blockchain node device is any node device in a blockchain network, and the first data information is generated when the first client detects that an interaction behavior is generated between the first client and the at least one second client;
the retrieval module 702: the second data information is generated when the second client detects that an interaction action is generated with the first client;
the processing module 703: the first data information and the second data information are analyzed and processed to obtain result information, and the result information comprises a priority evaluation result;
the publishing module 704: the uplink processing module is configured to perform uplink processing on the first data information, the second data information, and the result information, so as to publish the first data information, the second data information, and the result information to the blockchain network.
In another aspect, the present invention also provides a computer storage medium storing a computer program comprising program instructions which, when executed by a processor, cause the processor to perform the above-mentioned data processing method.
In the embodiment of the present invention, the blockchain node device receives to-be-processed data information sent by a first client, acquires second data information of the second client from second clients corresponding to the client identifiers according to at least one second client identifier associated with the first client in the to-be-processed data information, and obtains result information by analyzing and processing first data information and the second data information in the to-be-processed data information, where the result information includes a priority evaluation result; further, performing uplink processing on the first data information, the second data information and the result information to distribute the information to a block chain network; based on the mode, the data are processed in the block chain, and a data processing process is disclosed, so that the data processing process is not easy to be tampered, the data processing process is more transparent, and the data processing safety is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a block diagram of a data processing system according to an embodiment of the present invention;
fig. 2 is a block chain network according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a data processing method generation method according to an embodiment of the present invention;
FIG. 4 is a flow chart illustrating another data processing method according to an embodiment of the present invention;
FIG. 5 is a flow chart illustrating another data processing method according to an embodiment of the present invention;
FIG. 6 is a flow chart of another data processing method according to an embodiment of the present invention;
FIG. 7 is a block diagram of a data processing apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another block chain node device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of the invention and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to the listed steps or modules, but may alternatively include other steps or modules not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The Block Chain (Block Chain) is a Chain data structure formed by combining data blocks in a sequential connection mode according to a time sequence, and a distributed account book which ensures data to be not falsified and forged in a cryptographic mode. The same record is kept by a plurality of independent distributed nodes, namely the same record is kept by the block chain node equipment, so that the credible digital resource storage, transfer and transaction cornerstone is formed.
Based on the above description, please refer to fig. 1, in which fig. 1 is a schematic structural diagram of a data processing system according to an embodiment of the present invention. The architecture diagram of the data processing system shown in fig. 1 includes a first block link point device, a second block link point device, and a third block link node device, where each block link point device stores an intelligent contract, where the first block link point device, the second block link point device, and the third block link node device are any three node devices in a block link network. Taking a first block link point device as an example, the first node block link point device is a node device that receives data information to be processed of a first client, the first block link point device runs an intelligent contract to generate result information after analysis processing is performed according to the obtained first data information and second data information, the first data information, the second data information and the result information are issued to each block link point device in a block link network, and each block link point device participates in block consensus in the block link network. It should be understood that the first block link point device, the second block link point device, and the third block link node device in the data processing system architecture diagram shown in fig. 1 are only used for illustration, and are not limited to the number of block link point devices in the present invention, and in an embodiment, a fourth block link point device, a fifth block link point device, and the like may also be present.
Smart contracts are a computer protocol intended to propagate, validate or execute contracts in an informational manner, allowing trusted transactions to be conducted without third parties, which transactions are traceable and irreversible. An intelligent contract is a set of commitments defined in digital form, including the protocol on which the contract participants can execute the commitments, and is a piece of code written on a blockchain. The first block-node device may verify a transaction signature of the transaction data using a smart contract, and the first block-node device may further convert the hash value to a random number using the smart contract.
In order to better understand the data processing method and apparatus disclosed in the embodiment of the present invention, first, a block chain network architecture to which the embodiment of the present invention is applicable is described below.
Referring to fig. 2 again, fig. 2 is a schematic diagram of a block chain network according to an embodiment of the present invention.
In one embodiment, the client 201 is any first client independent from the blockchain network, the first blockchain node device 203 may be a blockchain node device that receives the to-be-processed data information sent by the first client 201, and the first blockchain node device 203 may be any node device in the blockchain network. In another embodiment, the first client may further send the to-be-processed data information to the block link point device 203 closest to the first client, or the first client sends the to-be-processed data information to the block link node device 203 with the best communication quality with the client, where the block link point device 203 invokes the second data information of the second client 202 according to the identifier of the second client 202 associated with the to-be-processed data, and then analyzes and processes the first data information and the second data information according to an intelligent contract, so as to obtain result information.
In one embodiment, the first data information, the second data information, and the result information are sent to a common identification block chain node through a network interface 2, wherein after passing common identification through a second block chain node device 204 and a third block chain node device 205, the first data information, the second data information, and the result information are stored in each block chain node device, and common identification algorithms include, but are not limited to, a Proof of workload (Proof of Work, PoW) algorithm, a Proof of rights (PoS) algorithm, a Proof of authorized rights (DPoS) algorithm, a Practical Byzantine Fault Tolerance (PBFT) algorithm, and the like. The second blockchain link point device 204 and the third blockchain node device 205 may be any blockchain node device in a blockchain network, or may be target blockchain node devices selected according to a preset condition. It should be noted that the blockchain network shown in fig. 2 is composed of three blockchain node devices, namely, a first blockchain node device 203, a second blockchain node device 204, and a third blockchain node device 205, which are only used for illustration and do not constitute a limitation to the embodiment of the present invention. For example, in another example, a blockchain network may be comprised of five blockchain node devices.
It should be understood that the block chain system described in the embodiment of the present invention is for more clearly illustrating the technical solution of the embodiment of the present invention, and does not constitute a limitation to the technical solution provided in the embodiment of the present invention, and as a person having ordinary skill in the art knows that along with the evolution of the system architecture and the appearance of a new service scenario, the technical solution provided in the embodiment of the present invention is also applicable to similar technical problems.
Referring to fig. 3 again, fig. 3 is a schematic flow chart of a data processing method according to an embodiment of the present invention. The method includes, but is not limited to, steps S301-S304:
s301, a block chain node device receives to-be-processed data information sent by a first client, wherein the to-be-processed data information comprises first data information and at least one second client identifier associated with the first client, the block chain node device is any node device in a block chain network, and the first data information is generated when the first client detects that an interaction action is generated between the first client and the at least one second client;
the blockchain node device is the first blockchain link node device 203 shown in fig. 2.
Taking the data processing example in the game scenario, the first client may be all game participant terminals, which need to send data to be processed to the blockchain node device. The second client may be a terminal corresponding to a player who performs data information interaction with a player corresponding to the first client in a current game round, where the current game round is a game round in which the first client generates to-be-processed data information, and the to-be-processed data information is generated in real time in a data interaction process between the first client and the second client. The triggering condition of the data information interaction between the first client and the second client may be: under the current game round, the first client player actively initiates a fighting instruction to the player corresponding to the second client to cause the change of the life value or the attribute value of the player corresponding to the second client; the first client player may passively accept a change in a life value or an attribute value of the first client player caused by a combat instruction issued by the second client player, or may actively or passively cause another data change by the first client, where the data and a trigger condition for data interaction may have different forms according to different games.
That is to say, when any data of a first client player or a second client player changes in a current round and the reason of the data change is generated by interaction between the first client player and the second client player, it is determined that the first client reaches a trigger condition for sending to-be-processed data information to the block link node device in the current state, where when the trigger condition is reached, the first client needs to acquire a client identifier of at least one second client with which the first client currently interacts, and then acquire first data information that the first client needs to perform data calculation, and generate to-be-processed data information, where the first data information may be a player attribute, a fighting instruction, and the like of the first client contributing to the data change in the current round.
It can be understood that the second clients are clients interacting with the first client, and the number of the second clients is determined according to the game state in the current round, for example, the game state in the current round is an aligned state, and if it is detected that the number of the second clients interacting with the first client player is only 1, the number of the second clients is 1; for another example, if the game state of the current round is a group battle state, and 8 second client players who have detected interaction with the first client player correspond to 8 second clients associated therewith.
In an embodiment, after the first client generates the to-be-processed data information, the to-be-processed data information may be sent to any blockchain node device in the blockchain network, or the to-be-processed data information may be sent to a blockchain node device closest to the first client, or the to-be-processed data information may be sent to a blockchain node device with the best communication quality with the first client.
S302, the block chain node device acquires second data information of the second client from the second client corresponding to each client identifier, wherein the second data information is generated when the second client detects that an interaction action is generated between the second client and the first client;
the second data information is generated when an interaction action occurs between the second client and the first client, wherein the second data information is data generated when the second client interacts with the first client. Taking a game scenario as an example, the triggering condition for generating the second data information is the same as the triggering condition for generating the first data, where the triggering condition refers to a state in which a combat instruction is initiated by any one of the first client and the second client in a current game turn, so that data such as a life value or a player attribute of a player corresponding to the first client or the second client is changed. After the trigger condition is met, the second client generates second data information, wherein the second data information may refer to player attributes, combat instructions and the like of the second client contributing to data change in the current round.
S303, analyzing and processing the first data information and the second data information by the block chain node equipment to obtain result information, wherein the result information comprises a priority evaluation result;
smart contracts are a computer protocol intended to propagate, validate or execute contracts in an informational manner, allowing trusted transactions to be conducted without third parties, which transactions are traceable and irreversible. An intelligent contract is a set of commitments defined in digital form, including the protocol on which the contract participants can execute the commitments, and is a piece of code written on a blockchain.
In one embodiment, the game rules are first defined, game contracts are created in the form of intelligent contracts, the contracts are diffused through the P2P network and stored in the blockchain, and the intelligent contracts built by the blockchain automatically execute the contracts. The game development platform formulates game rules and creates an intelligent contract, the intelligent contract receives the first data information and the second data information, and the first data information and the second data information are automatically processed according to the information and contract content, and finally result information is obtained. Based on the property that the game is irreversible once executed by the intelligent contract, the disadvantage that the game data is artificially tampered to cause unfair games in the game process is avoided.
The result information comprises a priority evaluation result, and the priority evaluation result refers to a priority result of interaction between the first client and the at least one second client. Take data processing under a game scene as an example: the win-win situation of the first client player and at least one second client player in the current round can be directly judged according to result information obtained after the first data information and the second data information are analyzed and processed, wherein the win-win situation can be understood as loss of a life value or loss of an attack and defense attribute corresponding to each client after data interaction in the current round, and the like.
S304, the block link point device performs uplink processing on the first data information, the second data information, and the result information to distribute the first data information, the second data information, and the result information to the block link network.
In one embodiment, the blockchain network may include the second blockchain link point device and the third blockchain node device shown in fig. 2, and may also include any node device in other blockchain networks.
In an embodiment, when the first client sends the to-be-processed data information, the to-be-processed data information may carry the identity information of the client, and after the block chain node device receives the to-be-processed data information, the identity of the first client may be verified. For example, the to-be-processed data information may include a digital signature of the first client, where the digital signature is obtained by the first client performing signature processing on the to-be-processed data information according to a private key of the first client. After the block link node equipment receives the uploading request of the data information to be processed, the digital signature in the data information to be processed can be verified according to the public key of the first client, if the verification is successful, the block link node equipment passes the identity verification of the first client, and the block link node equipment generates a block according to the first data information, the second data information and the result information. In this way, the credibility of the transaction data is improved.
In one embodiment, the blockchain node device sends the block to a blockchain network, so that each blockchain node device in the blockchain network checks data in the block. The block can contain identity information of a sender, and when other block link point devices check data in the block, the identity of the block sender can be checked, so that the reliability of the block issued to the block link network is improved.
After the block chain node device calculates the result information, the first data information, the second data information and the result information are sent to each block chain node device in a block chain network, each block chain node device receives the first data information, the second data information and the result information, and then each block chain node device participates in the consensus of the blocks.
In one embodiment, before the blockchain node device sends the first data information, the second data information and the result information to each blockchain node device in the blockchain network, a key pair including a public key and a private key may be created for the random number by using an asymmetric encryption algorithm. And the block chain node equipment sends the public key to other block chain node equipment which needs to be identified in common except the block chain node equipment. And other block chain node equipment processes the information in the block by using a private key to obtain a digital signature. And the block chain node equipment sends the digital signature and the first data information, the second data information and the result information to other block chain node equipment, so that the block chain node equipment decrypts the digital signature by using a public key to obtain the first data information, the second data information and the result information.
For example, data processing in a game scene is used, in order to ensure that the game process is public and transparent and enable game players to clearly know the fighting process, data in the game needs to be sent to block chain nodes for analysis and processing, and finally the win and lose processes of the game are public and transparent. All computers or servers participating in the game can be used as first clients to join the blockchain network, and the non-falsifiable and public transparent combat process is realized through intelligent contracts in the blockchain; meanwhile, in a game scene, only data which are changed due to interaction among players are calculated in the block chain, so that the condition that the win-win or loss of the players is monitored by each block chain link point device is conveniently ensured, the fairness of the game is ensured, block chain resources are saved, and meanwhile, the privacy of the players is also protected by other data according to a traditional calculation mode.
In the embodiment shown in fig. 3, when the blockchain node obtains result information by analyzing and processing first data information of a first client and second data information of at least one second client, the blockchain node performs uplink processing on the first data information, the second data information, and the result information and distributes the result information to the blockchain network; the data are analyzed and processed by the block chain nodes together according to the intelligent contract, so that the data are not easy to be tampered, the data processing process is more transparent, and the data processing safety is improved.
Referring to fig. 4 again, fig. 4 is a schematic flow chart of another data processing method according to an embodiment of the present invention. The method includes, but is not limited to, steps S401 to S408, wherein some of the steps S401 to S408 may refer to steps S301 to S304:
s401, a block chain node device receives to-be-processed data information sent by a first client, wherein the to-be-processed data information comprises first data information and at least one second client identifier associated with the first client, the block chain node device is any node device in a block chain network, and the first data information is generated when the first client detects that an interaction action is generated between the first client and the at least one second client;
s402, the block chain node device acquires second data information of the second client from the second client corresponding to each client identifier, wherein the second data information is generated when the second client detects that an interaction action is generated between the second client and the first client;
s403, the block chain node equipment acquires client information of the second client;
in one embodiment, the client node information of the second client may be a geographical location of the second client and may also be quantity information of the second client. After the step S401, the blockchain device may obtain the geographic location of the second client or count the total number of the second clients according to the identifier of the second client carried by the information to be processed; or after the step S402, obtaining the geographic location of the second client after calling the second data information corresponding to at least one second client, or counting the total number of the second clients. And the geographic position of the second client is obtained, and the number sum of the second clients is counted.
S404, the block chain node device selects a target block chain node device from at least one block chain node device according to the client information, and the block chain node device and the target block chain node device form the block chain network.
In one embodiment, when the client information is the geographical location of at least one second client, the blockchain node device may select a target blockchain node device according to the geographical location of the client. Specifically, after the first client sends the to-be-processed data information to the blockchain network, the blockchain link point device receiving the first client may be any node device in the blockchain network; the node device may be a node device closest to the first client, or a blockchain node device with the best communication quality of the first client, or any node device in which the distance between the blockchain node device and the first client in the blockchain network is less than a preset distance threshold.
When the blockchain node device receives to-be-processed data information sent by a first client, then the to-be-processed data information is directly acquired according to second client information provided in the to-be-processed data information, the blockchain node device selects a target blockchain node device according to the geographical position information of the second client, and the target blockchain node device corresponding to each second client can be any one or more node devices, the distance between the target blockchain node device and the second client is smaller than a preset distance threshold; the preset distance threshold value can be set and changed by a user according to actual needs, or can be default by a system; the target block chain node device may include the block chain node device that receives the data information to be processed, or may not include the block chain node device, and when the block chain node device is not included, the block chain node device and the target block chain node device jointly form a block chain network; the target blockchain node device may be a second blockchain node device or a third blockchain node device as shown in fig. 2.
In one embodiment, when the client information is the sum of the number of at least one second client, the blockchain node device may synthetically select a target blockchain node device according to the number of clients, where the number of target blockchain node devices matches the sum of the number of the at least one second client. The block chain node device receiving the to-be-processed data information of the first client and the target block chain node device form a block chain network. The matching relation can be changed by the equipment according to the requirements of customers or can be default by the system; for example, in a game scene, when the number of the block link points may be in a multiple relationship with the number of the clients participating in the battle in the current round, when the number of the second clients is N, assuming that the multiple is twice, the block link point device determined according to the number of the clients is 2(N +1), where it needs to be explained that the 2(N +1) block link point devices include a node device corresponding to the data information to be processed sent by the first client, that is, the number of the target block link node devices is 2N + 1. It should be noted that the matching relationship between the target block chain node device and the second client is not limited to the multiple relationship in the above example, and different matching relationships may be adopted according to actual situations.
In an embodiment, the number of target blockchain nodes may also be determined according to the geographic location information of the at least one second client and a sum of the number of the second clients, for example, a set of blockchain node devices whose distance from each second client is less than a preset threshold may be determined according to the geographic location information of the at least one second client, and then, in the set of blockchain node devices, a target blockchain node device that matches the number of the second clients is selected according to the number of the second clients, it may be understood that the selection of the target blockchain node device has flexibility, and in a game scenario, the game platform may select the target blockchain node device according to actual needs of the game.
It can be understood that the target block chain node device is selected according to the geographic position of the second client, the distance between the target block chain node device and the second client is limited, the real-time performance of the target block chain node device in the data calculation process can be ensured, and the data calculation efficiency is improved; and target block chain link point equipment is selected according to the number of the second clients, so that block chain resources can be saved when the number of the second clients is small, and the number of matched target block chain nodes is large when the number of the second clients is large, so that the safety of the data calculation process can be improved. The public transparency of the calculation process is guaranteed, and the user experience is improved.
S405, the target block chain node device and the block chain node device analyze and process the first data information and the second data information to obtain result information;
in one embodiment, when a target block link point and the block link point device corresponding to the received to-be-processed data information jointly form a block link network, the block link device further needs to package and send first data information and second data information to each target block link node device, and after each block link point device passes through the consensus by the consensus mechanism, the target block link node device and the block link point device further need to calculate together according to the first data information and the second data information to obtain calculated result information. It can be understood that the same intelligent contract corresponding to the application scenario of this embodiment needs to exist in the target block chain node device and the block chain node device at the same time, and each block chain node device receives the first data information and the second data information and then calculates the result information at the same time according to the same intelligent contract.
In one embodiment, the result information may include a priority evaluation result, and may also include a data processing procedure of the first data information, where the data processing procedure is used to instruct the block link point device to perform an analysis processing procedure on the first data information and the second data information. The game scene illustrates, when the data information in the current round is analyzed, the received first data information and the received second data information are processed and analyzed to obtain the final result of who lost or lost, and the result information can be analyzed and calculated through the data to obtain the process of losing or losing result.
Take a game scene as an example: in the current round, player a corresponding to the first client competes with second client player B and player C, player a has experienced physical output 5000 from player B (converted to life value assuming that player a life value is lost at 2000 units), player a has experienced magic output 5000 from player C (converted to life value assuming that player a life value is lost at 1000 units), player a's life value is assumed to be 3500 units, if the current game rules are simple additions or subtractions, the life value calculation process of the current player a can be displayed as (3500-, in practical applications, the data processing procedure is not limited to the above example, and the specific calculation procedure is a data processing procedure processed by an intelligent contract created according to actual needs.
In an embodiment, the result information may further display a final data state of the current first client, for example, a game scene, and the result information may include data of a remaining life value, an attack and defense attribute, an economic state, and the like of the player a corresponding to the first client after the analysis processing, so as to return the data to the first client to output more intuitive data.
S406, the block chain node device generates a second random number according to the hash value of the first data information, wherein the second random number is used for identifying the first data information;
in one embodiment, the block link node device receives a first data message from the to-be-processed data message uploaded by the first client to generate a hash value of the first data message, wherein the hash algorithm may include, but is not limited to, a SHA512 algorithm, a SHA224 algorithm, a SHA384 algorithm, and the like; the first data information should include the generation time of the first data information or identification information in other forms for uniquely identifying the first data information, and in this way, the first data information and the second random number generated according to the first data information are in one-to-one correspondence, so that the first data information can be directly and quickly searched according to the second random number.
Hash value, also known as: a hash function (or hash algorithm, also known as a hash function) is a method of creating a small digital "fingerprint" from any kind of data. This function mixes the data shuffled and recreates a fingerprint called a hash value. The hash value is typically represented by a string of random letters and numbers. Each piece of information in the block chain network has a unique hash value, and whether the information is tampered or not can be judged through the hash value.
S407, the block link point device performs uplink processing on the second random number, the first data information, the second data information, and the result information, so as to issue the first data information, the second data information, and the result information to the block link network.
S408, the block link node device sends the second random number, the second data information, and the result information to the first client, so that the first client outputs the first data information, the second random number, the second data information, and the result information.
In an embodiment, the blockchain node device returns the second data information and the result information to the first client, and the client may directly obtain the result information of the data processing of this time according to the blockchain node device data. The result information of the data processing is generated according to the first data information and the second data information at the same time, and the second data information is used for the first client to check and generate the basis of the result information in real time when checking the result information, so that the user experience is improved.
In an embodiment, the block link point device returns the second random number to the client, where the second random number is generated according to the first data information, and is used for the client to directly and quickly locate the location of the block where the first data information is located according to the second random number, and call other data of the data processing process, for example, if the result information only includes the priority evaluation result, the processing process of the first data information and the processed data state may be called according to the second random number.
In the embodiment shown in fig. 4, the first data information and the second data information are sent to the intelligent contract of the target block link node device to be analyzed and processed together, and result information is obtained and stored, so that data is not easy to be tampered, the data processing process is more transparent, and the security of data processing is improved; and then the information is returned to the first client, and a user can directly check result information or call a data processing process in the block chain network according to the second random number, so that the user can know the data processing process more intuitively and comprehensively, and the user experience is improved.
Referring to fig. 5 again, fig. 5 is a schematic flow chart of another data processing method according to an embodiment of the present invention. The method includes, but is not limited to, steps S501-S508, wherein some of the steps S501-S508 may refer to steps S401-S408:
s501, a block chain node device receives to-be-processed data information sent by a first client, wherein the to-be-processed data information comprises first data information and at least one second client identifier associated with the first client, the block chain node device is any node device in a block chain network, and the first data information is generated when the first client detects that an interaction action is generated between the first client and the at least one second client;
s502, the block chain node device acquires second data information of the second client from the second client corresponding to each client identification, wherein the second data information is generated when the second client detects that an interaction action is generated between the second client and the first client;
s503, the block link node equipment analyzes and processes the first data information and the second data information to obtain result information;
s504, the block chain node equipment generates a second random number according to the hash value of the first data information, wherein the second random number is used for identifying the first data information;
s505, the block chain node equipment acquires client information of the second client; the client information may be a geographic location of the second client, or may be a sum of the number of clients of the second client.
S506, the block chain node equipment selects target block chain node equipment from at least one block chain node equipment according to the client information, and the block chain node equipment and the target block chain node equipment form the block chain network;
in one embodiment, the blockchain node device may select the target blockchain node device according to a geographic location of the second client, where a distance between any of the target blockchain node devices and any of the second clients is less than a preset distance threshold.
In one embodiment, the blockchain node device may select the target blockchain node device according to a sum of the number of clients of the second client, the number of target blockchain node devices matching the sum of the number of the at least one second client.
S507, the block link node device performs uplink processing on the first data information, the second random number, and the result information to issue the first data information, the second data information, and the result information to the block link network; the blockchain network may be formed by a target blockchain node device selected according to the number or the geographic location of the second clients and the blockchain node device receiving the to-be-processed data information.
The method provided by this embodiment is to select target block chain node equipment according to client information after the result information is generated, and the block chain node equipment and the target block chain node equipment jointly form a block chain network; and simultaneously issuing the first data information, the second random number and the result information in the blockchain network.
S508, the block link node device sends the second random number, the second data information, and the result information to the first client, so that the first client outputs the first data information, the second random number, the second data information, and the result information.
In the embodiment shown in fig. 5, the first data information, the second random number, and the result information are stored in a common manner through a plurality of block link points, so that the data are not easily tampered, the data processing process is more transparent, and the data processing security is improved. And then the information is returned to the first client, and a user can directly check result information or call a data processing process in the block chain network according to the second random number, so that the user can know the data processing process more intuitively and comprehensively, and the user experience is improved.
Referring to fig. 6 again, fig. 6 is a schematic flow chart of another data processing method according to an embodiment of the present invention. The method includes, but is not limited to, steps S601-S606, wherein some of the steps in steps S601-S606 may refer to the foregoing embodiments:
s601, a block chain node device receives to-be-processed data information sent by a first client, wherein the to-be-processed data information comprises first data information and at least one second client identifier associated with the first client, the block chain node device is any node device in a block chain network, and the first data information is generated when the first client detects that an interaction action is generated between the first client and the at least one second client;
s602, the block chain node device generates a first random number according to the first data information, wherein the first client interacts with the second client according to the first random number;
and generating the first random number according to the first data information, wherein the first random number is generated in the interaction process of the first client and the second client, and then enabling the first client and the second client to generate data interaction according to the first random number. Taking the game scene as an example: in most current multiplayer games, random numbers are often generated in the game process in order to improve the experience of users on the games, so that the randomness of the games is improved, and the wins and the losses of the games are ensured to be more interesting. In a game scene, random numbers are classified into true random numbers and pseudo random numbers, and generally, in game development, a pseudo random development mode is generally adopted.
In one embodiment, to illustrate the generation process of the random number in the game scene by a simple example, the final state of the random number presentation may be that the attack rate of player a is 20%, which can be understood as 2000 attacks within 10000. But does not mean that every 5 operations of player a can generate an attack, but from a statistical point of view, player a stabilizes at around 20% after thousands of tests. The calculation rule behind this effect is the generation principle of the random number, and it should be noted that the random number is "pseudo-random" in this embodiment. The first random number is generated as follows: the game developer firstly sets the exposure rate range of the player A to be 5% -20%, the initial exposure rate is assumed to be 5%, wherein the exposure rate is the probability of triggering exposure, the exposure rate is increased by two times of the initial exposure rate if the first operation of the player A does not trigger exposure, the exposure rate is increased by 3 times of the initial exposure rate if the second operation of the player A does not trigger exposure, and so on, and finally the player A can trigger exposure. However, after the trigger exposure of player A, the exposure rate is reset to 5%. From the above example, it can be seen that player a will always trigger a pop, but the specific pop triggered by which operation is random, wherein the specific number of operations for generating a pop needs to be automatically generated by a random algorithm, and the embodiment of the present invention does not make a relevant description on the code generated by the random number. It will be appreciated that, assuming that player a generates a pop in the current round, the pop may act directly on player B against which player a is playing, resulting in an output to player B, i.e. a data interaction between the first client and the second client. It should be noted that, the application of the random number in the game scene, including but not limited to the example provided in this embodiment, should be automatically generated according to the intelligent contract established by the actual game.
S603, the block chain node device acquires second data information of the second client from the second client corresponding to each client identifier, wherein the second data information is generated when the second client detects that an interaction action occurs with the first client;
s604, analyzing and processing the first random number, the first data information and the second data information by the block link node equipment to obtain result information;
in one embodiment, before performing analysis processing on the second data information, the blockchain node device may also generate a random number corresponding to the second data information according to the second data information, where the random number is used for interacting with the first client.
S605, the block chain node equipment generates a second random number according to the hash value of the first data information, wherein the second random number is used for identifying the first data information;
s605, the block link point device performs uplink processing on the first random number, the second random number, the first data information, the second data information, and the result information, so as to distribute the first random number, the second random number, the first data information, the second data information, and the result information to the block link network.
S606, the block link node device sends the first random number, the second data information, and result information to the first client, so that the first client outputs the first data information, the first random number, the second data information, the second random number, and the result information.
In the embodiment shown in fig. 6, the first data information, the second random number and the result information are stored in a common identification manner through a plurality of block link points, so that the data are not easy to be tampered, the data processing process is more transparent, the data processing safety is improved, and meanwhile, the randomness and the interestingness of the interaction process between the first client list and the second client are improved and the user experience is improved by generating the first random number. And finally, the information is returned to the first client, so that a user can directly check result information or call a data processing process in the block chain network according to the second random number, the user can know the data processing process more intuitively and comprehensively, and the user experience is improved.
Referring again to fig. 7, fig. 7 is a data processing apparatus, the block link point device being configured to perform the steps performed by the first block link point device in the method embodiment corresponding to fig. 3 to 6, where the block link point device 70 may include:
the receiving module 701: the system comprises a first client and at least one second client, wherein the first client is used for receiving to-be-processed data information sent by the first client, the to-be-processed data information comprises first data information and at least one second client identifier associated with the first client, the blockchain node device is any node device in a blockchain network, and the first data information is generated when the first client detects that an interaction behavior is generated between the first client and the at least one second client;
the retrieval module 702: the second data information is generated when the second client detects that an interaction action is generated with the first client;
the processing module 703: the first data information and the second data information are analyzed and processed to obtain result information, and the result information comprises a priority evaluation result;
the publishing module 704: the uplink processing module is configured to perform uplink processing on the first data information, the second data information, and the result information, so as to publish the first data information, the second data information, and the result information to the blockchain network.
In an embodiment, before the publishing module 704 performs uplink processing on the first data information, the second data information and the result information, the processing module 703 is further configured to obtain client information of the second client; and selecting target block chain node equipment from at least one block chain node equipment according to the client information, wherein the block chain node equipment and the target block chain node equipment form the block chain network.
In one embodiment, the processing module 703 is further configured to, when the client information of the second client is the geographic location of the second client, select the target blockchain node device at least one blockchain node device according to the second client information, where the blockchain node device selects the target blockchain node device according to the geographic location of the second client, and a distance between any one of the target blockchain node devices and any one of the second clients is smaller than a preset distance threshold.
In one embodiment, when the client information of the second client is the number of clients of the second client, the selecting a target blockchain node device from at least one blockchain node device according to the client information includes: counting the sum of the number of the at least one second client; the block link point device selects a target block link node device according to the sum of the numbers, wherein the number of the target block link point device is matched with the sum of the numbers of the at least one second client.
In an embodiment, when the processing module 703 analyzes and processes the first data information and the second data information, it is further configured to generate a first random number according to the first data information, where the first client interacts with the second client according to the first random number; analyzing and processing the first random number, the first data information and the second data information to obtain result information; the issuing module 704 is further configured to perform uplink processing on the first random number, the first data information, the second data information, and the result information.
In an embodiment, before the issuing module 704 performs uplink processing on the first data information, the second data information, and the result information, the processing module 703 is further configured to generate a second random number according to a hash value of the first data information, where the second random number is used to identify the first data information; the issuing module 704 is further configured to perform uplink processing on the second random number, the first data information, the second data information, and the result information.
In an embodiment, after performing uplink processing on the first data information, the second data information, and the result information, the publishing module 704 is further configured to send the second data information and the result information to the first ue, so that the first ue outputs the first data information, the second data information, and the result information.
It should be understood that, for specific implementation of each functional module in the embodiment of the present invention, reference may be made to the related description of the foregoing method embodiment, and details are not described herein.
In one embodiment, when the blockchain node obtains result information according to analysis and processing of first data information of a first client and second data information of at least one second client, uplink processing is performed on the first data information, the second data information and the result information, and the result information is distributed to a blockchain network; the data are analyzed and processed by the block chain nodes together according to the intelligent contract, so that the data are not easy to be tampered, the data processing process is more transparent, and the data processing safety is improved.
Referring to fig. 8, fig. 8 is a schematic structural diagram of another block chain node device according to an embodiment of the present invention, where the block chain node device is configured to execute steps executed by a first block chain node device in the method embodiments corresponding to fig. 3 to fig. 6, where the block chain node device 80 includes a processor 801, a memory 802, and a communication interface 803, and the processor 801, the memory 802, and the communication interface 803 are connected by one or more communication buses.
The processor 801 is configured to support the block-link point device to perform the corresponding functions of the first block-link point device in the embodiment shown in fig. 3-6. The processor 801 may be a Central Processing Unit (CPU), a Network Processor (NP), a hardware chip, or any combination thereof, where the hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or the like. The PLD may be a field-programmable gate array (FPGA), a General Array Logic (GAL), or the like.
The memory 802 is used for storing program codes and the like. The memory 802 may include volatile memory (volatile memory), such as Random Access Memory (RAM); the memory 802 may also include a non-volatile memory (non-volatile memory), such as a read-only memory (ROM), a flash memory (flash memory), a Hard Disk Drive (HDD), or a solid-state drive (SSD); the memory 802 may also comprise a combination of the above-described types of memory.
The communication interface 803 is used for receiving and sending data, for example, the communication interface 803 is used for receiving a check result from a second blockchain node device, or the communication interface 803 is used for issuing a block to each blockchain node device in a blockchain network, the communication interface 803 is also used for issuing a random number to each blockchain node device in the blockchain network, and the like.
In an embodiment of the present invention, the block link point device 80 includes a plurality of communication interfaces, wherein the communication interface for transmitting data and the communication interface for receiving data may not be the same communication interface.
The processor 801 and the communication interface 803 may call program code stored in the memory 802 to perform the following operations:
a communication interface 803, configured to receive to-be-processed data information sent by a first client, where the to-be-processed data information includes first data information and at least one second client identifier associated with the first client, the blockchain node device is any node device in a blockchain network, and the first data information is generated when the first client detects that an interaction behavior is generated with the at least one second client;
a processor 801, configured to obtain second data information of the second client from a second client corresponding to each client identifier, where the second data information is generated when the second client detects that an interaction behavior is generated with the first client;
the processor 801 is configured to analyze the first data information and the second data information to obtain result information, where the result information includes a priority evaluation result;
a processor 801, configured to perform uplink processing on the first data information, the second data information, and the result information, so as to publish the first data information, the second data information, and the result information to the blockchain network.
In one embodiment, before performing uplink processing on the first data information, the second data information and the result information, the processor 801 is further configured to: acquiring client information of the second client; and selecting target block chain node equipment from at least one block chain node equipment according to the client information, wherein the block chain node equipment and the target block chain node equipment form the block chain network.
In one embodiment, when the client information of the second client is the geographic location of the second client, the processor 801 is further configured to select the target blockchain node device according to the geographic location of the second client, where a distance between any of the target blockchain node devices and any of the second clients is smaller than a preset distance threshold.
In one embodiment, when the client information of the second client is the number of clients of the second client, the processor 801 is further configured to count a sum of the number of the at least one second client; selecting a target block link node device according to the sum of the numbers, wherein the number of the target block link node devices is matched with the sum of the numbers of the at least one second client.
In one embodiment, when analyzing and processing the first data information and the second data information to obtain result information, the processor 801 is further configured to generate a first random number according to the first data information, where the first client interacts with the second client according to the first random number; analyzing and processing the first random number, the first data information and the second data information to obtain result information; performing uplink processing on the first random number, the first data information, the second data information, and the result information.
In one embodiment, after performing uplink processing on the first data information, the second data information and the result information, the communication interface 803 is further configured to send the second data information and the result information to the first ue, so that the first ue outputs the first data information, the second data information and the result information.
In an embodiment, before performing uplink processing on the first data information, the second data information, and the result information, the processor 801 is further configured to generate a second random number according to a hash value of the first data information, where the second random number is used to identify the first data information; the communication interface 803 is further configured to perform uplink processing on the second random number, the first data information, the second data information, and the result information.
It is to be understood that, for the specific implementation of the processor 801 in the embodiment of the present invention, reference may be made to the description related to the foregoing method embodiment, which is not repeated herein.
In one embodiment, when the blockchain node obtains result information according to analysis and processing of first data information of a first client and second data information of at least one second client, uplink processing is performed on the first data information, the second data information and the result information, and the result information is distributed to a blockchain network; the data are analyzed and processed by the block chain nodes together according to the intelligent contract, so that the data are not easy to be tampered, the data processing process is more transparent, and the data processing safety is improved.
Embodiments of the present invention further provide a computer storage medium, where the computer storage medium stores program instructions, and the program instructions, when executed, are configured to implement the data processing method described in fig. 3, fig. 4, fig. 5, or fig. 6.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the invention has been described with reference to a number of embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

1. A method of data processing, the method comprising:
the method comprises the steps that block chain node equipment receives to-be-processed data information sent by a first client, wherein the to-be-processed data information comprises first data information and at least one second client identifier associated with the first client, the block chain node equipment is any node equipment in a block chain network, and the first data information is generated when the first client detects that an interaction action is generated between the first client and the at least one second client;
the block chain node equipment acquires second data information of the second client from the second client corresponding to each client identifier, wherein the second data information is generated when the second client detects that an interaction action is generated between the second client and the first client;
the block chain node equipment analyzes and processes the first data information and the second data information to obtain result information, wherein the result information comprises a priority evaluation result;
the block chain node equipment acquires client information of the second client;
the block chain node equipment selects target block chain node equipment from at least one block chain node equipment according to the client information, and the block chain node equipment and the target block chain node equipment form the block chain network;
the block link node equipment generates a second random number according to the hash value of the first data information, wherein the second random number is used for identifying the first data information;
the block link node equipment performs uplink processing on the second random number, the first data information, the second data information and the result information to issue the second random number, the first data information, the second data information and the result information to the block link network;
and the blockchain node equipment sends the second random number, the second data information and the result information to the first client, so that the first client acquires the relevant information of the first data information in the blockchain network based on the second random number.
2. The method of claim 1, wherein the client information of the second client is a geographic location of the second client;
the selecting a target blockchain node device at least one blockchain node device according to the client information includes:
and the block chain node equipment selects the target block chain node equipment according to the geographic position of the second client, wherein the distance between any target block chain node equipment and any second client is smaller than a preset distance threshold value.
3. The method of claim 1, wherein the client information is a number of second clients;
the selecting a target block link node device among at least one block link node device according to the client information includes:
the block link point device counts the sum of the number of the at least one second client;
the block link point device selects a target block link node device according to the sum of the numbers, wherein the number of the target block link point device is matched with the sum of the numbers of the at least one second client.
4. The method of claim 1, wherein the analyzing the first data information and the second data information by the blockchain node device to obtain result information comprises:
the block chain node equipment generates a first random number according to the first data information, wherein the first client interacts with the second client according to the first random number;
the block chain node equipment analyzes and processes the first random number, the first data information and the second data information to obtain result information;
the block-node equipment performs uplink processing on the second random number, the first data information, the second data information, and the result information, and includes:
the block link node equipment performs uplink processing on the first random number, the second random number, the first data information, the second data information and the result information.
5. The method according to any of claims 1-4, wherein the result information further comprises a data processing procedure for instructing the blockchain node device to perform an analysis processing procedure on the first data information and the second data information.
6. The method according to any of claims 1-4, wherein after the uplink processing of the first data information, the second data information and the result information by the blockchain node device, further comprising:
and the blockchain node equipment sends the second data information and result information to the first client so that the first client outputs the first data information, the second data information and the result information.
7. A block chain link point device is characterized by comprising a memory, a processor, an input device and an output device, wherein the memory stores a group of program codes, and the processor calls the program codes stored in the memory and is used for executing any one of 1-6 operations.
8. A computer storage medium, characterized in that the computer storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to perform the method according to any one of claims 1-6.
CN201911078442.7A 2019-11-06 2019-11-06 Data processing method, block chain link point equipment and computer storage medium Active CN110798529B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911078442.7A CN110798529B (en) 2019-11-06 2019-11-06 Data processing method, block chain link point equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911078442.7A CN110798529B (en) 2019-11-06 2019-11-06 Data processing method, block chain link point equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN110798529A CN110798529A (en) 2020-02-14
CN110798529B true CN110798529B (en) 2022-05-13

Family

ID=69442982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911078442.7A Active CN110798529B (en) 2019-11-06 2019-11-06 Data processing method, block chain link point equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN110798529B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111090888B (en) * 2020-03-18 2020-07-07 支付宝(杭州)信息技术有限公司 Contract verification method and device

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105288998A (en) * 2015-09-23 2016-02-03 腾讯科技(深圳)有限公司 Interaction method and apparatus of intelligent hardware
CN108721891A (en) * 2018-05-28 2018-11-02 天津鲁能置业有限公司 A kind of game interaction system and its exchange method
CN109302491A (en) * 2018-11-13 2019-02-01 爱普(福建)科技有限公司 A kind of industry internet framework and its operation method based on block chain
CN109289199A (en) * 2018-08-10 2019-02-01 杭州复杂美科技有限公司 Multiplayer method, equipment and storage medium
CN109345238A (en) * 2018-08-31 2019-02-15 杭州复杂美科技有限公司 A kind of card game method and system, equipment and storage medium
CN109377401A (en) * 2018-08-24 2019-02-22 腾讯科技(武汉)有限公司 A kind of data processing method, device, system, server and storage medium
CN109395394A (en) * 2018-09-29 2019-03-01 杭州复杂美科技有限公司 Predict guessing game dispositions method and method for gaming, equipment and storage medium
CN109510831A (en) * 2018-11-22 2019-03-22 杭州复杂美科技有限公司 Real-time game method, equipment and storage medium
CN109621404A (en) * 2018-11-21 2019-04-16 罗伊互娱(深圳)有限公司 Cross-platform interchange system, method, apparatus, computer equipment and storage medium
CN110064202A (en) * 2019-05-31 2019-07-30 杭州复杂美科技有限公司 A kind of method for gaming, equipment and storage medium
WO2019152892A1 (en) * 2018-02-02 2019-08-08 SquareLink, Inc. Technologies for private key recovery in distributed ledger systems
CN110175178A (en) * 2018-11-01 2019-08-27 华为终端有限公司 A kind of method of data processing, node device and system
CN110365686A (en) * 2017-02-08 2019-10-22 腾讯科技(深圳)有限公司 A kind of data processing method, system and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105288998A (en) * 2015-09-23 2016-02-03 腾讯科技(深圳)有限公司 Interaction method and apparatus of intelligent hardware
CN110365686A (en) * 2017-02-08 2019-10-22 腾讯科技(深圳)有限公司 A kind of data processing method, system and storage medium
WO2019152892A1 (en) * 2018-02-02 2019-08-08 SquareLink, Inc. Technologies for private key recovery in distributed ledger systems
CN108721891A (en) * 2018-05-28 2018-11-02 天津鲁能置业有限公司 A kind of game interaction system and its exchange method
CN109289199A (en) * 2018-08-10 2019-02-01 杭州复杂美科技有限公司 Multiplayer method, equipment and storage medium
CN109377401A (en) * 2018-08-24 2019-02-22 腾讯科技(武汉)有限公司 A kind of data processing method, device, system, server and storage medium
CN109345238A (en) * 2018-08-31 2019-02-15 杭州复杂美科技有限公司 A kind of card game method and system, equipment and storage medium
CN109395394A (en) * 2018-09-29 2019-03-01 杭州复杂美科技有限公司 Predict guessing game dispositions method and method for gaming, equipment and storage medium
CN110175178A (en) * 2018-11-01 2019-08-27 华为终端有限公司 A kind of method of data processing, node device and system
CN109302491A (en) * 2018-11-13 2019-02-01 爱普(福建)科技有限公司 A kind of industry internet framework and its operation method based on block chain
CN109621404A (en) * 2018-11-21 2019-04-16 罗伊互娱(深圳)有限公司 Cross-platform interchange system, method, apparatus, computer equipment and storage medium
CN109510831A (en) * 2018-11-22 2019-03-22 杭州复杂美科技有限公司 Real-time game method, equipment and storage medium
CN110064202A (en) * 2019-05-31 2019-07-30 杭州复杂美科技有限公司 A kind of method for gaming, equipment and storage medium

Also Published As

Publication number Publication date
CN110798529A (en) 2020-02-14

Similar Documents

Publication Publication Date Title
Conti et al. A survey on security and privacy issues of bitcoin
Baird The swirlds hashgraph consensus algorithm: Fair, fast, byzantine fault tolerance
Xu et al. A lightweight and attack-proof bidirectional blockchain paradigm for internet of things
Gondree et al. Geolocation of data in the cloud
US11212281B2 (en) Attacker detection via fingerprinting cookie mechanism
Lenstra et al. A random zoo: sloth, unicorn, and trx
Mittal et al. Shadowwalker: peer-to-peer anonymous communication using redundant structured topologies
KR20210135495A (en) A method for generating random numbers in blockchain smart contracts
KR20190097225A (en) Method and apparatus for distributed database enabling deletion of events
CN110597489B (en) Random number generation method, equipment and medium
US11362836B2 (en) Consensus protocol for permissioned ledgers
CN106060097B (en) A kind of management system and management method of information security contest
Clark et al. Dynamic, privacy-preserving decentralized reputation systems
CN112600671B (en) Data processing method, device, equipment and storage medium
CN112600678A (en) Data processing method, device, equipment and storage medium
CN111833062B (en) Credibility verification system for digital asset data packet
CN113507704A (en) Mobile crowd sensing privacy protection method based on double attribute decision
CN104378327B (en) Network attack protection method, apparatus and system
CN113139204A (en) Medical data privacy protection method using zero-knowledge proof and shuffling algorithm
Sudhan et al. Peer selection techniques for enhanced transaction propagation in Bitcoin peer-to-peer network
CN110798529B (en) Data processing method, block chain link point equipment and computer storage medium
Oh et al. Algorithm based on Byzantine agreement among decentralized agents (BADA)
Sathia Bhama et al. MetaInfoChain: Bi‐layered blockchain consensus for metadata aggregation in IoT and cloud environments
Andre et al. Smartor: Smarter tor with smart contracts: Improving resilience of topology distribution in the tor network
Jin et al. Proof of aliveness

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