Blockchain-based transaction data clearing after synchronization

US12401531B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12401531-B2
Application numberUS-202218071225-A
CountryUS
Kind codeB2
Filing dateNov 29, 2022
Priority dateMar 16, 2021
Publication dateAug 26, 2025
Grant dateAug 26, 2025

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Embodiments of this disclosure disclose a data processing method and apparatus, a device, and a storage medium. The method includes: after receiving a block synchronization request carrying a target block height transmitted by a first service node, transmitting a compact block identification and the block synchronization request to a consensus node; the compact block identification being used for instructing the consensus node to determine structural information of a compact block corresponding to a block to be synchronized; searching for a local transaction identifier matching a target transaction identifier in a first relay cache; and in the first relay cache, taking local transaction data corresponding to the found local transaction identifier as first key transaction data, and performing data clearing on the first key transaction data successfully synchronized to the first service node.

First claim

Opening claim text (preview).

What is claimed is: 1. A data processing method, comprising: after receiving a block synchronization request carrying a target block height transmitted by a first service node and determined by the first service node based on a maximum block height on a local block chain and a maximum block height on a target block chain in a core consensus network in a block chain network, transmitting, by a first relay node used for network isolation on a first service network and the core consensus network in the block chain network, a compact block identification and the block synchronization request to a consensus node in the core consensus network, the first service node being a service node in the first service network managed by the first relay node, and the compact block identification being used for instructing the consensus node to: determine a block to be synchronized associated with the target block height based on the block synchronization request; and determine structural information of a compact block corresponding to the block to be synchronized; after receiving a target transaction identifier, determined by the consensus node performing hash identification conversion on target transaction data associated with the first service node, in the structural information returned by the consensus node, searching, by the first relay node, for a local transaction identifier matching the target transaction identifier in a first relay cache of the first relay node; when the local transaction identifier matching the target transaction identifier is found, then taking local transaction data corresponding to the local transaction identifier in the first relay cache as first key transaction data; transmitting the first key transaction data and block header information in the structural information to the first service node for the first service node performing block synchronization based on the first key transaction data and the block header information; and performing data clearing on the first key transaction data successfully synchronized to the first service node. 2. The method according to claim 1 , the method further comprising: acquiring initial transaction data transmitted by the first service node based on a relay node list, wherein the relay node list comprises N relay nodes, N being a positive integer and the first relay node is determined by the first service node from the N relay nodes according to a first address hash value of the first service node; acquiring a first identifier determination rule to perform hash identification conversion on the initial transaction data based on the first identifier determination rule to obtain an initial transaction identifier corresponding to the initial transaction data; and storing the initial transaction data and the initial transaction identifier to the first relay cache, taking the initial transaction data stored in the first relay cache as the local transaction data, and taking the initial transaction identifier stored in the first relay cache as the local transaction identifier. 3. The method according to claim 2 , wherein the first address hash value is determined by the first service node based on a region attribute of the first service node, the local transaction data is generated by the first service node when transmitting a cross-regional e-note to a second service node in a second service network, the first service node and the second service node have different region attributes; and after storing the initial transaction data and the initial transaction identifier to the first relay cache, the method further comprises: determining a second address hash value of the second service node; acquiring the relay node list from a gateway registration service associated with the block chain network to take relay nodes except the first relay node in the relay node list as relay nodes to be processed, each relay node to be processed in the relay node list having a corresponding address hash interval and an address hash value in the address hash interval corresponding to the relay node to be processed corresponding to a service node in the second service network; determining an address hash interval to which the second address hash value belongs as a target address hash interval to take the relay node to be processed corresponding to the target address hash interval in the relay node list as a second relay node associated with the second service node; and transmitting the local transaction data to the second relay node for the second relay node to determining a transaction identifier corresponding to the local transaction data and store the local transaction data and the transaction identifier corresponding to the local transaction data to a second relay cache of the second relay node. 4. The method according to claim 3 , wherein a number of the consensus nodes is M, M being an integer greater than or equal to 3, and after transmitting the local transaction data to the second relay node, the method further comprises: transmitting the local transaction data to the M consensus nodes for the M consensus nodes to write the local transaction data to the target block chain upon reaching a consensus. 5. The method according to claim 2 , further comprising: after storing the initial transaction data and the initial transaction identifier to the first relay cache, acquiring a system public key of the core consensus network to perform encryption processing on the local transaction data based on the system public key to obtain system encrypted data information; transmitting the system encrypted data information to the consensus node for the consensus node to perform decryption processing on the system encrypted data information based on a system private key corresponding to the system public key to obtain the local transaction data; after consensus node successfully writes a target block comprising the local transaction data into the target block chain, receiving the maximum block height on the target block chain returned by the consensus node, the maximum block height on the target block chain being a block height of the target block; and based on a node private key of the first relay node, performing signature processing on the maximum block height on the target block chain to obtain data signature information, and returning the data signature information and the maximum block height on the target block chain to the first service node, so that when the data signature information is successfully verified, the first service node determines the target block height based on the maximum block height on the target block chain and the maximum block height on the local block chain and generates the block synchronization request based on the target block height. 6. The method according to claim 1 , wherein transmitting the compact block identification and the block synchronization request to the consensus node in the core consensus network comprises: receiving the block synchronization request carrying the target block height transmitted by the first service node, the block synchronization request also carrying node identification information of the first service node; acquiring an illegal node identification list and querying the illegal node identification list for illegal node identification information matching the node identification information; when the illegal node identification information matching the node identification information is not found in the illegal node identification list, generating a clearing request for performing data clearing based on the compact block identification and the block synchronization request; and transmitting the clearing request to the consensus node in the core consensus network. 7. The method according to c

Assignees

Inventors

Classifications

  • Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes · CPC title

  • Transmitting and receiving encryption devices synchronised or initially set up in a particular manner · CPC title

  • using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates · CPC title

  • wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption (cryptographic mechanisms or cryptographic arrangements for public-key encryption H04L9/30) · CPC title

  • received data contents, e.g. message integrity · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12401531B2 cover?
Embodiments of this disclosure disclose a data processing method and apparatus, a device, and a storage medium. The method includes: after receiving a block synchronization request carrying a target block height transmitted by a first service node, transmitting a compact block identification and the block synchronization request to a consensus node; the compact block identification being used f…
Who is the assignee on this patent?
Tencent Tech Shenzhen Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04L9/50. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Aug 26 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 5 related publications on this page (citations in our corpus or others sharing the same primary CPC).