IP Library › Granted Patent US 12,654,107
Granted Patent B2
US 12,654,107 · App. 18/378,566 · Granted Jun 16, 2026

Game data verification method and apparatus, device, computer-readable storage medium, and computer program product

Inventors: Jianfeng Chu (Shenzhen, CN); Jie Gong (Shenzhen, CN); Chunyan Ren (Shenzhen, CN); Mingwen Zou (Shenzhen, CN); Jingyi Hu (Shenzhen, CN); Wenhui Zhang (Shenzhen, CN)
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
A63F13/71A63F13/35A63F13/73A63F2300/401
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,654,107
App. No.
18/378,566
Granted
Jun 16, 2026
Kind
B2
Abstract

Disclosed are a game data verification method performed by an electronic device. The method includes: generating a target sequence of target nodes in response to a game start instruction; acquiring target game data corresponding to each of the target nodes, the target game data including game state data and encrypted state data; performing authenticity verification on the target game data of a current target node according to the encrypted state data of a previous target node and the game state data of the current target node; performing accuracy verification on the target game data of the current target node according to the game state data of the current target node and game logic; and after determining that all the target game data corresponding to the target sequence is authentic data and accurate data based on an authenticity verification result and an accuracy verification result, determining that the game verification succeeds.

Claims (86)

1 . A game data verification method performed by an electronic device, the method comprising:

acquiring a load parameter of a server device according to a time interval parameter:

determining a target verification factor based on the load parameter in response to a game start instruction;

determining a quantity of target nodes according to the target verification factor;

selecting a plurality of target nodes from a game node sequence according to the quantity of target nodes;

generating a target sequence based on the plurality of selected target nodes;

acquiring target game data corresponding to each of the plurality of selected target nodes, the target game data comprising game state data and encrypted state data, the encrypted state data of adjacent target nodes in the target sequence having an association relationship;

performing authenticity verification on the target game data of a current target node according to the encrypted state data of a previous target node and the game state data of the current target node, the previous target node being immediately preceding the current target node in the target sequence;

performing accuracy verification on the target game data of the current target node according to the game state data of the current target node and game logic; and

after determining that all the target game data corresponding to the target sequence is authentic data and accurate data based on an authenticity verification result and an accuracy verification result, determining that game verification indicated by the game start instruction succeeds.

2 . The method according to claim 1 , wherein the determining a target verification factor based on the load parameter comprises:

acquiring a mapping relationship between load ranges and verification factors;

determining a load range within which the load parameter falls as a target load range; and

determining a verification factor corresponding to the target load range as the target verification factor according to the mapping relationship.

3 . The method according to claim 1 , wherein the selecting the plurality of target nodes from a game node sequence according to the quantity of target nodes, and generating the target sequence based on the plurality of selected target nodes comprises:

acquiring a node priority corresponding to each game node in the game node sequence;

selecting the plurality of target nodes from the game node sequence based on the node priorities and the quantity of target nodes; and

generating the target sequence by using the plurality of selected target nodes according to a chronological order of the target nodes in a game.

4 . The method according to claim 1 , wherein the encrypted state data comprises a first hash value and a second hash value, the first hash value being obtained by performing a first hash calculation on the game state data of the current target node by a client device, and the second hash value being obtained by performing a second hash calculation on the encrypted state data of the previous target node by the client device;

the performing authenticity verification on the target game data of a current target node according to the encrypted state data of a previous target node and the game state data of the current target node comprises:

performing the first hash calculation on the game state data of the current target node to obtain a first target hash value;

performing the second hash calculation on the encrypted state data of the previous target node to obtain a second target hash value; and

performing authenticity verification on the target game data of the current target node by verifying the first target hash value and the first hash value, and the second target hash value and the second hash value; and

after the performing authenticity verification on the target game data of the current target node by verifying the first target hash value and the first hash value, and the second target hash value and the second hash value, the method further comprises:

determining that the target game data of the current target node is the authentic data when it is found through verification that the first target hash value is consistent with the first hash value, and the second target hash value is consistent with the second hash value.

5 . The method according to claim 4 , wherein after the performing authenticity verification on the target game data of the current target node by verifying the first target hash value and the first hash value, and the second target hash value and the second hash value, the method further comprises:

determining that the target game data of the current target node is forged data when any one of the following is found through verification: the first target hash value is inconsistent with the first hash value, or the second target hash value is inconsistent with the second hash value.

6 . The method according to claim 1 , wherein the game state data comprises an initial state, an operation state, and an end state, and the performing accuracy verification on the target game data of the current target node according to the game state data of the current target node and game logic comprises:

superimposing the operation state of the current target node on the initial state of the current target node according to the game logic, to obtain a target state; and

performing accuracy verification on the target game data of the current target node by verifying the target state and the end state of the current target node; and

after the performing accuracy verification on the target game data of the current target node by verifying the target state and the end state of the current target node, the method further comprises:

determining that the target game data of the current target node is the accurate data when it is found through verification that the target state is consistent with the end state of the current target node.

7 . The method according to claim 6 , wherein after the performing accuracy verification on the target game data of the current target node by verifying the target state and the end state of the current target node, the method further comprises:

determining that the target game data of the current target node is inaccurate data when it is found through verification that the target state is inconsistent with the end state of the current target node.

8 . An electronic device, comprising a processor and a memory, the memory storing a plurality of instructions that, when executed by the electronic device, cause the electronic device to perform a game data verification method including:

acquiring a load parameter of a server device according to a time interval parameter:

determining a target verification factor based on the load parameter in response to a game start instruction:

determining a quantity of target nodes according to the target verification factor;

selecting a plurality of target nodes from a game node sequence according to the quantity of target nodes;

generating a target sequence based on the plurality of selected target nodes:

acquiring target game data corresponding to each of the plurality of selected target nodes, the target game data comprising game state data and encrypted state data, the encrypted state data of adjacent target nodes in the target sequence having an association relationship;

performing authenticity verification on the target game data of a current target node according to the encrypted state data of a previous target node and the game state data of the current target node, the previous target node being immediately preceding the current target node in the target sequence;

performing accuracy verification on the target game data of the current target node according to the game state data of the current target node and game logic; and

after determining that all the target game data corresponding to the target sequence is authentic data and accurate data based on an authenticity verification result and an accuracy verification result, determining that game verification indicated by the game start instruction succeeds.

9 . The electronic device according to claim 8 , wherein the determining a target verification factor based on the load parameter comprises:

acquiring a mapping relationship between load ranges and verification factors;

determining a load range within which the load parameter falls as a target load range; and

determining a verification factor corresponding to the target load range as the target verification factor according to the mapping relationship.

10 . The electronic device according to claim 8 , wherein the selecting the plurality of target nodes from a game node sequence according to the quantity of target nodes, and generating the target sequence based on the plurality of selected target nodes comprises:

acquiring a node priority corresponding to each game node in the game node sequence;

selecting the plurality of target nodes from the game node sequence based on the node priorities and the quantity of target nodes; and

generating the target sequence by using the plurality of selected target nodes according to a chronological order of the target nodes in a game.

11 . The electronic device according to claim 8 , wherein the encrypted state data comprises a first hash value and a second hash value, the first hash value being obtained by performing a first hash calculation on the game state data of the current target node by a client device, and the second hash value being obtained by performing a second hash calculation on the encrypted state data of the previous target node by the client device;

the performing authenticity verification on the target game data of a current target node according to the encrypted state data of a previous target node and the game state data of the current target node comprises:

performing the first hash calculation on the game state data of the current target node to obtain a first target hash value;

performing the second hash calculation on the encrypted state data of the previous target node to obtain a second target hash value; and

performing authenticity verification on the target game data of the current target node by verifying the first target hash value and the first hash value, and the second target hash value and the second hash value; and

after the performing authenticity verification on the target game data of the current target node by verifying the first target hash value and the first hash value, and the second target hash value and the second hash value, the method further comprises:

determining that the target game data of the current target node is the authentic data when it is found through verification that the first target hash value is consistent with the first hash value, and the second target hash value is consistent with the second hash value.

12 . The electronic device according to claim 11 , wherein after the performing authenticity verification on the target game data of the current target node by verifying the first target hash value and the first hash value, and the second target hash value and the second hash value, the method further comprises:

determining that the target game data of the current target node is forged data when any one of the following is found through verification: the first target hash value is inconsistent with the first hash value, or the second target hash value is inconsistent with the second hash value.

13 . The electronic device according to claim 8 , wherein the game state data comprises an initial state, an operation state, and an end state, and the performing accuracy verification on the target game data of the current target node according to the game state data of the current target node and game logic comprises:

superimposing the operation state of the current target node on the initial state of the current target node according to the game logic, to obtain a target state; and

performing accuracy verification on the target game data of the current target node by verifying the target state and the end state of the current target node; and

after the performing accuracy verification on the target game data of the current target node by verifying the target state and the end state of the current target node, the method further comprises:

determining that the target game data of the current target node is the accurate data when it is found through verification that the target state is consistent with the end state of the current target node.

14 . The electronic device according to claim 13 , wherein after the performing accuracy verification on the target game data of the current target node by verifying the target state and the end state of the current target node, the method further comprises:

determining that the target game data of the current target node is inaccurate data when it is found through verification that the target state is inconsistent with the end state of the current target node.

15 . A non-transitory computer-readable storage medium, storing a plurality of instructions that, when executed by a processor of an electronic device, cause the electronic device to perform a game data verification method including:

acquiring a load parameter of a server device according to a time interval parameter;

determining a target verification factor based on the load parameter in response to a game start instruction;

determining a quantity of target nodes according to the target verification factor;

selecting a plurality of target nodes from a game node sequence according to the quantity of target nodes;

generating a target sequence based on the plurality of selected target nodes;

acquiring target game data corresponding to each of the plurality of selected target nodes, the target game data comprising game state data and encrypted state data, the encrypted state data of adjacent target nodes in the target sequence having an association relationship;

performing authenticity verification on the target game data of a current target node according to the encrypted state data of a previous target node and the game state data of the current target node, the previous target node being immediately preceding the current target node in the target sequence;

performing accuracy verification on the target game data of the current target node according to the game state data of the current target node and game logic; and

after determining that all the target game data corresponding to the target sequence is authentic data and accurate data based on an authenticity verification result and an accuracy verification result, determining that game verification indicated by the game start instruction succeeds.

16 . The non-transitory computer-readable storage medium according to claim 15 , wherein the determining a target verification factor based on the load parameter comprises:

acquiring a mapping relationship between load ranges and verification factors;

determining a load range within which the load parameter falls as a target load range; and

determining a verification factor corresponding to the target load range as the target verification factor according to the mapping relationship.

17 . The non-transitory computer-readable storage medium according to claim 15 , wherein the selecting the plurality of target nodes from a game node sequence according to the quantity of target nodes, and generating the target sequence based on the plurality of selected target nodes comprises:

acquiring a node priority corresponding to each game node in the game node sequence;

selecting the plurality of target nodes from the game node sequence based on the node priorities and the quantity of target nodes; and

generating the target sequence by using the plurality of selected target nodes according to a chronological order of the target nodes in a game.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 4, 2026
From: HU, JINGYI; ZHANG, WENHUI
To: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Reel/Frame 074852/0499 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 12, 2023
From: CHU, JIANFENG; GONG, JIE; REN, CHUNYAN; ZOU, MINGWEN
To: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Reel/Frame 065203/0630 →
Priority Claims (1)
CN 202211376603.2 · Nov 4, 2022 · national
Continuity (2)
Continuation PCTCN2023111933 · Aug 9, 2023
Related Publication 20240149170A1 · May 9, 2024
References Cited (15)
US 12003647B2 · Jayachandran · 2024 [cited by examiner]
US 20080125217A1 · Pavlovski · 2008 [cited by examiner]
US 20190168124A1 · Haile · 2019 [cited by examiner]
US 20220032184A1 · Zhang et al. · 2022 [cited by applicant]
US 20220410014A1 · Yu · 2022 [cited by examiner]
US 20230122552A1 · Meyers · 2023 [cited by examiner]
CN 105214310A · 2016 [cited by applicant]
CN 105641930A · 2016 [cited by applicant]
CN 108111464A · 2018 [cited by applicant]
CN 110598481A · 2019 [cited by applicant]
CN 112717417A · 2021 [cited by applicant]
CN 113827955A · 2021 [cited by applicant]
CN 114504827A · 2022 [cited by applicant]
Tencent Technology, ISR, PCT/CN2023/111933, Nov. 9, 2023, 3 pgs. [cited by applicant]
Yuan Chenjuan et al., “Credible Depository Chain System of Card Games”, Journal of Applied Sciences, vol. 38, Issue 1, DOI: 10.3969/j.issn.0255-8297.2020.01.006, Jan. 2020, 12 pgs. [cited by applicant]