# US 2026/0088978 A1 · Message processing method and apparatus, product, device, and medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0088978 A1
- Document ID: US20260088978A1
- Status: Published application
- Kind: A1
- Application number: 19/211,661
- Filed: 2025-05-19
- Published: 2026-03-26
- Earliest claimed: 2023-04-17
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Zimin CHEN; Rui GUO; Jun LIANG; Like SHU; Hu LAN; Zongyou WANG; Hui ZHANG; Yang MO; Hanqing LIU
- Web page: https://patentgrep.com/patent/US20260088978A1

## CPC

- H04L 9/085: {Secret sharing or secret splitting, e.g. threshold schemes}
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- H04L 9/3026: {details relating to polynomials generation, e.g. generation of irreducible polynomials}
- H04L 9/3247: {involving digital signatures}
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/34: {involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416)}
- H04L 67/55: Push-based network services
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

This application discloses a message processing method and apparatus, a product, a device, and a medium. The method is applicable to a first client, and includes: obtaining N pieces of shard information of a client key of a second client, each piece of shard information being processed by one corresponding shard processing device, and the second client being disposed on a shard processing device; obtaining a message topic configured at a relay cluster by each shard processing device; generating a configuration message of each shard processing device according to the shard information corresponding to each shard processing device and the message topic configured by each shard processing device; and transmitting the generated N configuration messages to the relay cluster, to enable each shard processing device to obtain the respective configuration message from the relay cluster and process the corresponding shard information based on the respective configuration message.

## Claims

### Claim 1

A message processing method, applicable to a first client, the method comprising:
obtaining N pieces of shard information of a client key of a second client, N being a positive integer, and the N pieces of shard information being configured for generating the client key, each piece of shard information being processed by one corresponding shard processing device, and the second client being disposed on a shard processing device;
obtaining a message topic configured at a relay cluster by each shard processing device, a relay connection existing between the first client and each shard processing device, and the relay cluster being configured to perform a relay service operation between the first client and any shard processing device having the relay connection with the first client;
generating a configuration message of each shard processing device according to the shard information corresponding to each shard processing device and the message topic configured by each shard processing device; and
transmitting the generated N configuration messages to the relay cluster, to enable each shard processing device to obtain the respective configuration message from the relay cluster and process the corresponding shard information based on the respective configuration message.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the first client has a secure environment, and the obtaining N pieces of shard information of a client key of a second client comprises:
obtaining the client key in the secure environment;
generating an M−1 degree polynomial in the secure environment based on the client key, wherein M is a positive integer and M is less than N; and
obtaining the N pieces of shard information in the secure environment based on the M−1 degree polynomial.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the obtaining the N pieces of shard information in the secure environment based on the M−1 degree polynomial comprises:
generating a target curve in the secure environment based on the M−1 degree polynomial; and
obtaining coordinate information of N points on the target curve, and using the coordinate information of the N points as the N pieces of shard information, wherein
the client key being generated by using M pieces of shard information in the N pieces of shard information.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the second client has a target service resource; and the method further comprises:
obtaining resource transfer service data for the target service resource, wherein the resource transfer service data is configured for instructing to perform transfer processing on the target service resource;
setting, for the resource transfer service data, the message topic that is configured at the relay cluster by the shard processing device to which the second client belongs, to obtain a target configuration message; and
transmitting the target configuration message to the relay cluster, to enable the second client to obtain the target configuration message from the relay cluster and sign the resource transfer service data in the target configuration message.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the resource transfer service data belongs to service data in a blockchain network, and the target service resource belongs to resources in the blockchain network; and the method further comprises:
obtaining, from the relay cluster, a signature configuration message returned by the second client, wherein the signature configuration message is obtained by the second client after setting, for signed resource transfer service data, the message topic configured at the relay cluster by the first client, and is transmitted to the relay cluster; and
transmitting the signed resource transfer service data in the signature configuration message to the blockchain network, to enable the blockchain network to perform consensus processing on the signed resource transfer service data, and after successful consensus, perform transfer processing on the target service resource according to an instruction of the resource transfer service data.

### Claim 6 (depends on 4)

The method according to claim 4, wherein the client key supports being generated by using the M pieces of shard information of the N pieces of shard information, M being a positive integer and M being less than N; and a method for signing, by the second client, the resource transfer service data in the target configuration message comprises:
obtaining, by the second client, corresponding shard information from M−1 shard processing devices, wherein the M−1 shard processing devices are any M−1 shard processing devices other than the shard processing device to which the second client belongs among the shard processing devices respectively corresponding to the N pieces of shard information;
generating, by the second client, the client key based on shard information corresponding to the shard processing device to which the second client belongs and M−1 pieces of shard information obtained from the M−1 shard processing devices; and
signing, by the second client, the resource transfer service data in the target configuration message based on the generated client key.

### Claim 7 (depends on 1)

The method according to claim 1, wherein a communication key exists between the first client and each shard processing device, and any shard processing device is represented as a target shard processing device; and
the generating a configuration message of the target shard processing device according to shard information corresponding to the target shard processing device and a message topic configured by the target shard processing device comprises:
setting, for the shard information corresponding to the target shard processing device, the message topic configured by the target shard processing device, and generating an initial configuration message of the target shard processing device; and
performing encryption processing on the initial configuration message of the target shard processing device by using the communication key between the first client and the target shard processing device, to obtain the configuration message of the target shard processing device.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the communication key exists between the first client and each shard processing device, and any shard processing device is represented as the target shard processing device; and the communication key between the first client and the target shard processing device is a symmetric key, and the relay cluster comprises a plurality of relay devices; and
after the first client transmits the generated configuration message of the target shard processing device to the relay cluster, a method performed by the target shard processing device comprises:
obtaining, by the target shard processing device, the configuration message of the target shard processing device from any relay device in the relay cluster; and
performing, by the target shard processing device, decryption processing on the obtained configuration message by using the communication key between the first client and the target shard processing device, to obtain the shard information corresponding to the target shard processing device.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the relay cluster comprises the plurality of relay devices; and
the transmitting the generated N configuration messages to the relay cluster comprises:
transmitting the generated N configuration messages to any relay device in the relay cluster, to enable the any relay device to broadcast the received N configuration messages to other relay devices in the relay cluster.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the first client is configured with the message topic at the relay cluster;
the relay connection between the first client and any shard processing device is established based on the message topic configured at the relay cluster by the first client and the message topic configured at the relay cluster by the any shard processing device; and
the relay cluster comprises the plurality of relay devices, and the relay service operation performed by the relay cluster comprises a decentralized service operation performed by one or more relay devices in the relay cluster.

### Claim 11 (depends on 1)

The method according to claim 1, wherein the first client is configured with the message topic at the relay cluster; and the method further comprises:
transmitting a persistent connection establishment request to the relay cluster, and establishing a persistent connection between the relay cluster and the first client based on the persistent connection establishment request;
receiving new message prompt information that is transmitted by the relay cluster based on the persistent connection between the relay cluster and the first client, wherein the new message prompt information is transmitted to the first client by the relay cluster when obtaining a new message related to the message topic configured by the first client; and
pulling, from the relay cluster based on the new message prompt information, the new message related to the message topic configured by the first client.

### Claim 12

A computer device, comprising a memory and a processor, the memory having a computer program stored therein, and the computer program, when executed by the processor, causing the processor to perform a message processing method, applicable to a first client, the method comprising:
obtaining N pieces of shard information of a client key of a second client, N being a positive integer, and the N pieces of shard information being configured for generating the client key, each piece of shard information being processed by one corresponding shard processing device, and the second client being disposed on a shard processing device;
obtaining a message topic configured at a relay cluster by each shard processing device, a relay connection existing between the first client and each shard processing device, and the relay cluster being configured to perform a relay service operation between the first client and any shard processing device having the relay connection with the first client;
generating a configuration message of each shard processing device according to the shard information corresponding to each shard processing device and the message topic configured by each shard processing device; and
transmitting the generated N configuration messages to the relay cluster, to enable each shard processing device to obtain the respective configuration message from the relay cluster and process the corresponding shard information based on the respective configuration message.

### Claim 13 (depends on 12)

The computer device according to claim 12, wherein the first client has a secure environment, and the obtaining N pieces of shard information of a client key of a second client comprises:
obtaining the client key in the secure environment;
generating an M−1 degree polynomial in the secure environment based on the client key, wherein M is a positive integer and M is less than N; and
obtaining the N pieces of shard information in the secure environment based on the M−1 degree polynomial.

### Claim 14 (depends on 13)

The computer device according to claim 13, wherein the obtaining the N pieces of shard information in the secure environment based on the M−1 degree polynomial comprises:
generating a target curve in the secure environment based on the M−1 degree polynomial; and
obtaining coordinate information of N points on the target curve, and using the coordinate information of the N points as the N pieces of shard information, wherein
the client key being generated by using M pieces of shard information in the N pieces of shard information.

### Claim 15 (depends on 12)

The computer device according to claim 12, wherein the second client has a target service resource; and the method further comprises:
obtaining resource transfer service data for the target service resource, wherein the resource transfer service data is configured for instructing to perform transfer processing on the target service resource;
setting, for the resource transfer service data, the message topic that is configured at the relay cluster by the shard processing device to which the second client belongs, to obtain a target configuration message; and
transmitting the target configuration message to the relay cluster, to enable the second client to obtain the target configuration message from the relay cluster and sign the resource transfer service data in the target configuration message.

### Claim 16 (depends on 15)

The computer device according to claim 15, wherein the resource transfer service data belongs to service data in a blockchain network, and the target service resource belongs to resources in the blockchain network; and the method further comprises:
obtaining, from the relay cluster, a signature configuration message returned by the second client, wherein the signature configuration message is obtained by the second client after setting, for signed resource transfer service data, the message topic configured at the relay cluster by the first client, and is transmitted to the relay cluster; and
transmitting the signed resource transfer service data in the signature configuration message to the blockchain network, to enable the blockchain network to perform consensus processing on the signed resource transfer service data, and after successful consensus, perform transfer processing on the target service resource according to an instruction of the resource transfer service data.

### Claim 17 (depends on 16)

The computer device according to claim 16, wherein the client key supports being generated by using the M pieces of shard information of the N pieces of shard information, M being a positive integer and M being less than N; and a method for signing, by the second client, the resource transfer service data in the target configuration message comprises:
obtaining, by the second client, corresponding shard information from M−1 shard processing devices, wherein the M−1 shard processing devices are any M−1 shard processing devices other than the shard processing device to which the second client belongs among the shard processing devices respectively corresponding to the N pieces of shard information;
generating, by the second client, the client key based on shard information corresponding to the shard processing device to which the second client belongs and M−1 pieces of shard information obtained from the M−1 shard processing devices; and
signing, by the second client, the resource transfer service data in the target configuration message based on the generated client key.

### Claim 18 (depends on 12)

The computer device according to claim 12, wherein a communication key exists between the first client and each shard processing device, and any shard processing device is represented as a target shard processing device; and
the generating a configuration message of the target shard processing device according to shard information corresponding to the target shard processing device and a message topic configured by the target shard processing device comprises:
setting, for the shard information corresponding to the target shard processing device, the message topic configured by the target shard processing device, and generating an initial configuration message of the target shard processing device; and
performing encryption processing on the initial configuration message of the target shard processing device by using the communication key between the first client and the target shard processing device, to obtain the configuration message of the target shard processing device.

### Claim 19 (depends on 12)

The computer device according to claim 12, wherein the communication key exists between the first client and each shard processing device, and any shard processing device is represented as the target shard processing device; and the communication key between the first client and the target shard processing device is a symmetric key, and the relay cluster comprises a plurality of relay devices; and
after the first client transmits the generated configuration message of the target shard processing device to the relay cluster, a method performed by the target shard processing device comprises:
obtaining, by the target shard processing device, the configuration message of the target shard processing device from any relay device in the relay cluster; and
performing, by the target shard processing device, decryption processing on the obtained configuration message by using the communication key between the first client and the target shard processing device, to obtain the shard information corresponding to the target shard processing device.

### Claim 20

A non-transitory computer-readable storage medium, having a computer program stored therein, the computer program being adapted to be loaded by a processor to perform a message processing method, applicable to a first client, the method comprising:
obtaining N pieces of shard information of a client key of a second client, N being a positive integer, and the N pieces of shard information being configured for generating the client key, each piece of shard information being processed by one corresponding shard processing device, and the second client being disposed on a shard processing device;
obtaining a message topic configured at a relay cluster by each shard processing device, a relay connection existing between the first client and each shard processing device, and the relay cluster being configured to perform a relay service operation between the first client and any shard processing device having the relay connection with the first client;
generating a configuration message of each shard processing device according to the shard information corresponding to each shard processing device and the message topic configured by each shard processing device; and
transmitting the generated N configuration messages to the relay cluster, to enable each shard processing device to obtain the respective configuration message from the relay cluster and process the corresponding shard information based on the respective configuration message.
