Battle data processing method and system based on blockchain distributed consensus algorithm

A data processing and distributed technology, applied in the field of game software, can solve problems such as heavy game server load, untrustworthy client, and game server not having graphics computing capabilities, saving resource consumption and solving untrustworthy effects.

Active Publication Date: 2022-07-19
广州炫动信息科技有限公司
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The first object of the present invention is to provide a combat data processing method based on the blockchain distributed consensus algorithm, which introduces the blockchain distributed consensus algorithm into the combat data processing to solve the problem of untrustworthy clients. And by putting the calculation of the battle result on the client, it solves the problems that the game server has too much load caused by the calculation of the battle result on the game server, and the game server does not have the graphics computing capability

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Battle data processing method and system based on blockchain distributed consensus algorithm
  • Battle data processing method and system based on blockchain distributed consensus algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] figure 1 A schematic flowchart of a method for processing battle data based on a blockchain distributed consensus algorithm provided by the present invention. In this embodiment, as figure 2 As shown in the figure, the battle data processing method based on the blockchain distributed consensus algorithm mainly involves three subjects: each client participating in the battle, the game server and the third-party client. The specific steps are as follows:

[0040] (1) Before the battle starts, the game server collects the user behavior information related to the battle of the clients participating in the battle. Hereinafter, n represents the number of clients participating in the current battle.

[0041] User behavior information includes: user id, nickname, level, combat power, activated combat skills, HP, attack, defense, hit, dodge, speed, crit and other attributes related to combat calculation. The specific information will vary according to the game design. differe...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The present invention relates to a battle data processing method based on a blockchain distributed consensus algorithm, comprising: S1. the game server collects the battle data of the client; S2. the game server sequentially sends the collected battle data to each client participating in the current battle S3. each client calculates the battle result of the current battle based on the battle data received; and transmits the battle result to the game server; S4. the game server sequentially sends the battle result calculated by each client to participate in the current battle S5. Each client participating in the current battle compares and counts the battle results received by other clients with the battle results calculated by itself; judges whether there is a battle result that is consistent with the client's statistical comparison results The number is greater than or equal to n / 2; if it is, the battle result calculated by the client is taken as the battle result of the current battle, and is synchronized to other clients participating in the current battle.

Description

technical field [0001] The present invention relates to the technical field of game software, and more particularly, to a method and system for processing battle data based on a distributed consensus algorithm of blockchain. Background technique [0002] At present, the core content of high-end game software lies in game battles. For the processing of game battle data, most of the existing methods use the state synchronization method, that is, the game server completes the battle data processing and the calculation of the battle result, the client is only responsible for the input of the player's instructions, and the game server transmits the battle result to the client , the client displays the battle result. [0003] However, in the above-mentioned battle data processing method, when the number of game players increases, the load of the game server will also increase synchronously, which greatly increases the load and cost of the game server. In addition, the game serve...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): A63F13/33A63F13/352H04L67/1097
CPCA63F13/33A63F13/352H04L67/1097
Inventor 潘希健
Owner 广州炫动信息科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products