Client Key Sharding via Relay Cluster for Secure Message Processing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The leakage of client keys exposes service resources to significant security risks, as clients often store and manage these keys, making them vulnerable to malicious attacks.

Innovation Solution

A method involving a first client obtaining shard information of a second client's key, distributed across multiple shard processing devices, using a relay cluster for secure communication and interaction, generating configuration messages, and transmitting these messages to enable each shard processing device to process the corresponding shard information.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If the client key is stored and managed by a single client, then the client can access and use the key conveniently, but the security of the client key is compromised due to vulnerability to malicious attacks

Engineering Contradiction:
Improveconvenience of key accessVSAvoidsecurity of client key
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The client key is segmented into multiple shard information pieces and distributed across multiple shard processing devices. Each device holds only a portion of the key, making it impossible for any single device or attacker to obtain the complete key, thus improving security while maintaining accessibility through coordinated retrieval.

Inventive Principle:
Principle #1Segmentation

2Reliability

If the client key is distributed across multiple shard processing devices, then the security and fault tolerance are improved, but the complexity of key management increases

Engineering Contradiction:
Improvesecurity and fault toleranceVSAvoidcomplexity of key management
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The first client acts as an intermediary that manages the complexity of distributing and coordinating shard information across multiple shard processing devices. It generates configuration messages that guide each device on how to process and store its respective shard, centralizing the management complexity in a single entity while distributing the actual key storage.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If shard information is distributed across multiple devices, then fault tolerance and security are enhanced, but the communication and coordination overhead increases

Engineering Contradiction:
Improvefault toleranceVSAvoidcommunication overhead
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The first client performs preliminary actions by pre-generating and distributing configuration messages to each shard processing device before the actual key usage. This preliminary configuration establishes the communication channels and processing rules in advance, reducing the coordination overhead during actual key operations and retrieval processes.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20260088978A1Message processing method and apparatus, product, device, and medium
Publication Date: 2026.03.26 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US20260088978A1 patent drawing
  • US20260088978A1 patent drawing
  • US20260088978A1 patent drawing

AI summary

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.