Patent ID: 11914579
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G  H | IPC G

Claim 10:
11. A computer device, corresponding to a first node, the computer device comprising: one or more processors; and memory storing one or more programs, the one or more programs comprising instructions that, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
transmitting, to a second node, first consensus voting information for a target block in a blockchain;
receiving, from the second node, second consensus voting information for the target block of blockchain;
determining a consensus result for the target block of blockchain according to the first consensus voting information and the second consensus voting information;
in accordance with a determination that the consensus result is a consensus success result, activating an accounting duration window having a predetermined time duration, wherein the activating the accounting duration window comprises:
obtaining a quantity of approval votes according to the second consensus voting information;
obtaining a quantity of second nodes as a second target quantity; and
in accordance with a determination that a ratio of the quantity of approval votes is less than the second target quantity:
opening the accounting duration window; and
performing accounting processing on the target block of blockchain in the predetermined time duration of the accounting duration window;

receiving, from the second node, a first accounting completion messages for the target block of the blockchain in the predetermined time duration of the accounting duration window;
in accordance with a determination that accounting processing on the target block of the blockchain is completed in the accounting duration window, transmitting a second accounting completion messages to the second node; and
in accordance with a determination that a sum of total quantities of the first accounting completion messages and the second accounting completion messages is greater than or equal to a quantity threshold:
closing the accounting duration window; and
entering a consensus service process of a subsequent block of the target block of blockchain.