IP Library › Granted Patent US 12,405,966
Granted Patent B2
US 12,405,966 · App. 18/128,144 · Granted Sep 2, 2025

Data processing method, apparatus, and system, computer device, readable storage medium, and computer program product

Inventor: Zenghui Bao (Shenzhen, CN)
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
G06F16/258G06F7/14G06F16/245
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,405,966
App. No.
18/128,144
Granted
Sep 2, 2025
Kind
B2
Abstract

A data processing method, apparatus, and system, a computer device, a readable storage medium, and a computer program product relate to the field of cloud technologies and a blockchain technology, and the method includes: receiving, by using a transceiver component, collection indicator data sent by an edge cluster; performing pre-aggregation processing on the collection indicator data to obtain pre-aggregated indicator data, and sending the pre-aggregated indicator data to a coordinated write component; converting, by the coordinated write component, the pre-aggregated indicator data into conversion indicator data that has a target storage format, and performing merging processing on the conversion indicator data to obtain storage indicator data; writing the storage indicator data into a database component; and writing, by the database component, the storage indicator data into a storage disk.

Claims (88)

1. A data processing method performed by a computer network acting as a central cluster, the central cluster comprising multiple computer devices, the central cluster is communicatively connected to multiple edge clusters that are configured to dynamically start and destroy instances served by the central cluster, and each computer device being configured to run at least one of a transceiver component, a coordinated write component, and a database component, the transceiver component including an indicator proxy node; and the method comprising:

establishing, by the indicator proxy node, a persistent network connection to an edge cluster of the multiple edge clusters and maintaining, by the indicator proxy node, the persistent connection with the edge cluster via heartbeat packets;

receiving, by the transceiver component via the persistent network, collection indicator data sent by the edge cluster;

performing pre-aggregation processing on the collection indicator data to obtain pre-aggregated indicator data, including:

acquiring indicator information of the collection indicator data, wherein the collection indicator data includes round trip time (RTT) data and the indicator information includes an indicator attribute tag for the RTT data, and acquiring an indicator aggregation attribute;

performing indicator conversion on at least a subset of the collection indicator data that includes the round trip time (RTT) data whose indicator attribute tag matches the indicator aggregation attribute, to obtain the pre-aggregated indicator data, wherein the pre-aggregated indicator data has a size smaller than that of the subset of the collection indicator data; and

sending the pre-aggregated indicator data to the coordinated write component;

converting, by the coordinated write component, the pre-aggregated indicator data into conversion indicator data that has a target storage format supported by the database component;

performing, by the coordinated write component, merging processing on the conversion indicator data to obtain storage indicator data; and

writing, by the database component, the storage indicator data into a storage disk.

2. The method according to claim 1 , wherein the receiving, by using the transceiver component, collection indicator data sent by an edge cluster comprises:

establishing a connection to a service endpoint in the edge cluster by using the transceiver component, acquiring endpoint information of the service endpoint, and generating a connection random number based on the endpoint information;

acquiring a connection establishment range; and

receiving, when the connection random number is within the connection establishment range, collection indicator data sent by the service endpoint in the edge cluster.

3. The method according to claim 1 , wherein the performing merging processing on the conversion indicator data to obtain storage indicator data comprises:

performing downsampling processing on the conversion indicator data to obtain downsampling indicator data; and

acquiring a conversion storage period of the conversion indicator data, and performing combination processing on downsampling indicator data that has a same conversion storage period to obtain storage indicator data.

4. The method according to claim 1 , wherein the writing, by the database component, the storage indicator data into a storage disk comprises:

acquiring a storage indicator name and a storage indicator attribute tag of the storage indicator data, and generating a storage hash value of the storage indicator data based on the storage indicator name and the storage indicator attribute tag; and

determining a storage fragment identifier based on the storage hash value, and writing the storage indicator data into the database component corresponding to the storage fragment identifier.

5. The method according to claim 1 , wherein the writing, by the database component, the storage indicator data into a storage disk comprises:

performing, by the database component, cold and hot analysis processing on the storage indicator data to obtain hot indicator data and cold indicator data that are comprised in the storage indicator data; and

determining a hot data storage area and a cold data storage area in the storage disk, writing the hot indicator data into the hot data storage area, and writing the cold indicator data into the cold data storage area.

6. The method according to claim 1 , wherein the receiving, by using the transceiver component, collection indicator data sent by an edge cluster comprises:

receiving, by using the transceiver component, initial indicator data sent by the edge cluster; and

acquiring a to-be-collected indicator type, and generating collection indicator data based on indicator data corresponding to the to-be-collected indicator type and acquired from the initial indicator data.

7. The method according to claim 1 , wherein the computer device is further configured to run an indicator query component, and the method further comprises:

receiving, by the central cluster, indicator query information sent by user equipment, and sending an indicator query request to the indicator query component based on the indicator query information, the indicator query request comprising the indicator query information;

splitting, by the indicator query component, the indicator query request into M fragment query requests, M being a positive integer;

determining a query database component based on the M fragment query requests, and acquiring query indicator fragment data respectively corresponding to the M fragment query requests from the query database component; and

integrating M pieces of query indicator fragment data to obtain an indicator query result, and sending the indicator query result to the user equipment.

8. A computer network acting as a central cluster, the central cluster comprising multiple computer devices, the central cluster is communicatively connected to multiple edge clusters that are configured to dynamically start and destroy instances served by the central cluster, each computer device comprising a processor, a memory, and a computer program being configured to run at least one of a transceiver component that includes an indicator proxy node, a coordinated write component, and a database component and collectively causing the central cluster to perform a data processing method including:

establishing, by the indicator proxy node, a persistent network connection to an edge cluster of the multiple edge clusters and maintaining, by the indicator proxy node, the persistent connection with the edge cluster via heartbeat packets;

receiving, by the transceiver component via the persistent network, collection indicator data sent by the edge cluster;

performing pre-aggregation processing on the collection indicator data to obtain pre-aggregated indicator data, including:

acquiring indicator information of the collection indicator data, wherein the collection indicator data includes round trip time (RTT) data and the indicator information includes an indicator attribute tag for the RTT data, and acquiring an indicator aggregation attribute;

performing indicator conversion on at least a subset of the collection indicator data that includes the round trip time (RTT) data whose indicator attribute tag matches the indicator aggregation attribute, to obtain the pre-aggregated indicator data, wherein the pre-aggregated indicator data has a size smaller than that of the subset of the collection indicator data; and

sending the pre-aggregated indicator data to the coordinated write component;

converting, by the coordinated write component, the pre-aggregated indicator data into conversion indicator data that has a target storage format, and performing merging processing on the conversion indicator data to obtain storage indicator data; and

writing, by the database component, the storage indicator data into a storage disk.

9. The computer network according to claim 8 , wherein the receiving, by using the transceiver component, collection indicator data sent by an edge cluster comprises:

establishing a connection to a service endpoint in the edge cluster by using the transceiver component, acquiring endpoint information of the service endpoint, and generating a connection random number based on the endpoint information;

acquiring a connection establishment range; and

receiving, when the connection random number is within the connection establishment range, collection indicator data sent by the service endpoint in the edge cluster.

10. The computer network according to claim 8 , wherein the performing merging processing on the conversion indicator data to obtain storage indicator data comprises:

performing downsampling processing on the conversion indicator data to obtain downsampling indicator data; and

acquiring a conversion storage period of the conversion indicator data, and performing combination processing on downsampling indicator data that has a same conversion storage period to obtain storage indicator data.

11. The computer network according to claim 8 , wherein the writing, by the database component, the storage indicator data into a storage disk comprises:

acquiring a storage indicator name and a storage indicator attribute tag of the storage indicator data, and generating a storage hash value of the storage indicator data based on the storage indicator name and the storage indicator attribute tag; and

determining a storage fragment identifier based on the storage hash value, and writing the storage indicator data into the database component corresponding to the storage fragment identifier.

12. The computer network according to claim 8 , wherein the writing, by the database component, the storage indicator data into a storage disk comprises:

performing, by the database component, cold and hot analysis processing on the storage indicator data to obtain hot indicator data and cold indicator data that are comprised in the storage indicator data; and

determining a hot data storage area and a cold data storage area in the storage disk, writing the hot indicator data into the hot data storage area, and writing the cold indicator data into the cold data storage area.

13. The computer network according to claim 8 , wherein the receiving, by using the transceiver component, collection indicator data sent by an edge cluster comprises:

receiving, by using the transceiver component, initial indicator data sent by the edge cluster; and

acquiring a to-be-collected indicator type, and generating collection indicator data based on indicator data corresponding to the to-be-collected indicator type and acquired from the initial indicator data.

14. The computer network according to claim 8 , wherein the computer device is further configured to run an indicator query component, and the method further comprises:

receiving, by the central cluster, indicator query information sent by user equipment, and sending an indicator query request to the indicator query component based on the indicator query information, the indicator query request comprising the indicator query information;

splitting, by the indicator query component, the indicator query request into M fragment query requests, M being a positive integer;

determining a query database component based on the M fragment query requests, and acquiring query indicator fragment data respectively corresponding to the M fragment query requests from the query database component; and

integrating M pieces of query indicator fragment data to obtain an indicator query result, and sending the indicator query result to the user equipment.

15. A non-transitory computer readable storage medium, storing a plurality of computer programs being configured to run, respectively, a transceiver component that includes an indicator proxy node, a coordinated write component, and a database component, and each computer program being loaded and executed by a processor of a respective one of a plurality of computer devices constituting a computer network acting as a central cluster communicatively connected to multiple edge clusters that are configured to dynamically start and destroy instances served by the central cluster, causing the central cluster to perform a data processing method including:

establishing, by the indicator proxy node, a persistent network connection to an edge cluster of the multiple edge clusters and maintaining, by the indicator proxy node, the persistent connection with the edge cluster via heartbeat packets;

receiving, by the transceiver component via the persistent network, collection indicator data sent by the edge cluster;

performing pre-aggregation processing on the collection indicator data to obtain pre-aggregated indicator data, including:

acquiring indicator information of the collection indicator data, wherein the collection indicator data includes round trip time (RTT) data and the indicator information includes an indicator attribute tag for the RTT data, and acquiring an indicator aggregation attribute;

performing indicator conversion on at least a subset of the collection indicator data that includes the round trip time (RTT) data whose indicator attribute tag matches the indicator aggregation attribute, to obtain the pre-aggregated indicator data, wherein the pre-aggregated indicator data has a size smaller than that of the subset of the collection indicator data; and

sending the pre-aggregated indicator data to the coordinated write component;

converting, by the coordinated write component, the pre-aggregated indicator data into conversion indicator data that has a target storage format, and performing merging processing on the conversion indicator data to obtain storage indicator data; and

writing, by the database component, the storage indicator data into a storage disk.

16. The non-transitory computer readable storage medium according to claim 15 , wherein the receiving, by using the transceiver component, collection indicator data sent by an edge cluster comprises:

establishing a connection to a service endpoint in the edge cluster by using the transceiver component, acquiring endpoint information of the service endpoint, and generating a connection random number based on the endpoint information;

acquiring a connection establishment range; and

receiving, when the connection random number is within the connection establishment range, collection indicator data sent by the service endpoint in the edge cluster.

17. The non-transitory computer readable storage medium according to claim 15 , wherein the performing merging processing on the conversion indicator data to obtain storage indicator data comprises:

performing downsampling processing on the conversion indicator data to obtain downsampling indicator data; and

acquiring a conversion storage period of the conversion indicator data, and performing combination processing on downsampling indicator data that has a same conversion storage period to obtain storage indicator data.

18. The non-transitory computer readable storage medium according to claim 15 , wherein the writing, by the database component, the storage indicator data into a storage disk comprises:

performing, by the database component, cold and hot analysis processing on the storage indicator data to obtain hot indicator data and cold indicator data that are comprised in the storage indicator data; and

determining a hot data storage area and a cold data storage area in the storage disk, writing the hot indicator data into the hot data storage area, and writing the cold indicator data into the cold data storage area.

19. The non-transitory computer readable storage medium according to claim 15 , wherein the receiving, by using the transceiver component, collection indicator data sent by an edge cluster comprises:

receiving, by using the transceiver component, initial indicator data sent by the edge cluster; and

acquiring a to-be-collected indicator type, and generating collection indicator data based on indicator data corresponding to the to-be-collected indicator type and acquired from the initial indicator data.

20. The non-transitory computer readable storage medium according to claim 15 , wherein the computer device is further configured to run an indicator query component, and the method further comprises:

receiving, by the central cluster, indicator query information sent by user equipment, and sending an indicator query request to the indicator query component based on the indicator query information, the indicator query request comprising the indicator query information;

splitting, by the indicator query component, the indicator query request into M fragment query requests, M being a positive integer;

determining a query database component based on the M fragment query requests, and acquiring query indicator fragment data respectively corresponding to the M fragment query requests from the query database component; and

integrating M pieces of query indicator fragment data to obtain an indicator query result, and sending the indicator query result to the user equipment.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 10, 2023
From: BAO, ZENGHUI
To: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Reel/Frame 063279/0269 →
Priority Claims (1)
CN 202110772159.5 · Jul 8, 2021 · national
Continuity (2)
Continuation PCTCN2022097848 · Jun 9, 2022
Related Publication 20230237064A1 · Jul 27, 2023
References Cited (17)
US 11100051B1 · Mao · 2021 [cited by examiner]
US 20090006648A1 · Gopalakrishnan · 2009 [cited by examiner]
US 20130346533A1 · Agrawal et al. · 2013 [cited by applicant]
US 20140046952A1 · McPhail · 2014 [cited by examiner]
US 20140114994A1 · Lindblad · 2014 [cited by examiner]
US 20160266920A1 · Atanasov · 2016 [cited by examiner]
US 20190121899A1 · Kim · 2019 [cited by examiner]
US 20210234782A1 · Ganapathi · 2021 [cited by examiner]
CN 102291269A · 2011 [cited by applicant]
CN 102316025A · 2012 [cited by applicant]
CN 109977077A · 2019 [cited by applicant]
CN 112671602A · 2021 [cited by applicant]
CN 113220715A · 2021 [cited by applicant]
JP 2011172026A · 2011 [cited by applicant]
Tencent Technology, WO, PCT/CN2022/097848, Sep. 7, 2022, 5 pgs. [cited by applicant]
Tencent Technology, IPRP, PCT/CN2022/097848, Dec. 14, 2023, 6 pgs. [cited by applicant]
Tencent Technology, ISR, PCT/CN2022/097848, Sep. 7, 2022, 2 pgs. [cited by applicant]