Patent ID: 11886225
Assignee: HUAWEI CLOUD COMPUTING TECHNOLOGIES CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G  H | IPC G

Claim 0:
1. A method implemented by a message stream platform and comprising:
receiving, from a production platform, log messages that record information about a first service executed by the production platform;
allocating time segment marks to the log messages, wherein the time segment marks identify segments of time;
storing the log messages in a log file based on time segments and the time segment marks, wherein the time segments comprise a first time segment;
sending, to a consumption platform, the log messages that are related to the first service and that are in the first time segment;
receiving, from the production platform, an association request comprising a shard identifier of a second shard, wherein the second shard is based on splitting a first shard or aggregating the first shard and a third shard, and wherein the first shard and the third shard are a subset formed by the log messages during execution of the first service; and
setting, according to the association request, new time segment marks for subsequently received log messages related to the first service.