DATA PROCESSING METHOD AND SYSTEM
First Claim
1. A data processing method, the method comprising:
- receiving, by a data buffering layer, an operation request of a follower of a user, having a long relation chain, of a client, and pushing the operation request to a service layer;
receiving, by the service layer, the operation request pushed by the data buffering layer, and caching the operation request according to a minimum storage unit, the minimum storage unit being divided by using the user having a long relation chain as a unit; and
finding, by the service layer according to a preset routing configuration when data cached in the minimum storage unit reaches a preset condition, a specified database that belongs to the user having a long relation chain, and performing an operation on the specified database according to the operation request;
wherein the pushing the operation request to a service layer comprises;
calculating, by the data buffering layer, a minimum operating unit of the user having a long relation chain, and routing the operation request to the minimum operating unit of the service layer;
wherein the receiving, by the service layer, the operation request pushed by the data buffering layer, and caching the operation request according to a minimum storage unit comprises;
receiving, by a receiving process at the service layer, the operation request pushed by the data buffering layer, and caching a log of the operation request to the minimum operating unit; and
reading, by a storage process at the service layer, the minimum operating unit to obtain the operation request in the minimum operating unit, calculating the minimum storage unit of the operation request, and caching the operation request to the minimum storage unit.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure discloses a data processing method and system, and belongs to the field of network communications technologies. The method includes: receiving, by a data buffering layer, an operation request of a follower of a user, having a long relation chain, of a client, and pushing the operation request to a service layer; receiving, by the service layer, the operation request pushed by the data buffering layer, and caching the operation request according to a minimum storage unit, where the minimum storage unit is divided by using the user having a long relation chain as a unit; and finding, by the service layer according to a preset routing configuration when data cached in the minimum storage unit reaches a preset condition, a specified database that belongs to the user having a long relation chain, and performing an operation on the specified database according to the operation request.
13 Citations
21 Claims
-
1. A data processing method, the method comprising:
-
receiving, by a data buffering layer, an operation request of a follower of a user, having a long relation chain, of a client, and pushing the operation request to a service layer; receiving, by the service layer, the operation request pushed by the data buffering layer, and caching the operation request according to a minimum storage unit, the minimum storage unit being divided by using the user having a long relation chain as a unit; and finding, by the service layer according to a preset routing configuration when data cached in the minimum storage unit reaches a preset condition, a specified database that belongs to the user having a long relation chain, and performing an operation on the specified database according to the operation request; wherein the pushing the operation request to a service layer comprises; calculating, by the data buffering layer, a minimum operating unit of the user having a long relation chain, and routing the operation request to the minimum operating unit of the service layer; wherein the receiving, by the service layer, the operation request pushed by the data buffering layer, and caching the operation request according to a minimum storage unit comprises; receiving, by a receiving process at the service layer, the operation request pushed by the data buffering layer, and caching a log of the operation request to the minimum operating unit; and reading, by a storage process at the service layer, the minimum operating unit to obtain the operation request in the minimum operating unit, calculating the minimum storage unit of the operation request, and caching the operation request to the minimum storage unit. - View Dependent Claims (4, 5)
-
-
2-3. -3. (canceled)
-
6-10. -10. (canceled)
-
11. A terminal, the terminal comprising:
- a touch screen display, one or more processors, a memory, and one or more programs, the one or more programs being stored in the memory and configured to be executed by the one or more processors, and the one or more programs containing an instruction used for performing the following operations;
receiving, by a data buffering layer, an operation request of a follower of a user, having a long relation chain, of a client, and pushing the operation request to a service layer; receiving, by the service layer, the operation request pushed by the data buffering layer, and caching the operation request according to a minimum storage unit, the minimum storage unit being divided by using the user having a long relation chain as a unit; and finding, by the service layer according to a preset routing configuration when data cached in the minimum storage unit reaches a preset condition, a specified database that belongs to the user having a long relation chain, and performing an operation on the specified database according to the operation request; the terminal comprising an instruction used for performing the following operations; calculating, by the data buffering layer, a minimum operating unit of the user having a long relation chain, and routing the operation request to the minimum operating unit of the service layer; the terminal comprising an instruction used for performing the following operations; receiving, by a receiving process at the service layer, the operation request pushed by the data buffering layer, and caching a log of the operation request to the minimum operating unit; and reading, by a storage process at the service layer, the minimum operating unit to obtain the operation request in the minimum operating unit, calculating the minimum storage unit of the operation request, and caching the operation request to the minimum storage unit. - View Dependent Claims (14, 15)
- a touch screen display, one or more processors, a memory, and one or more programs, the one or more programs being stored in the memory and configured to be executed by the one or more processors, and the one or more programs containing an instruction used for performing the following operations;
-
12-13. -13. (canceled)
-
16. A computer readable storage medium, the computer readable storage medium storing one or more programs, the one or more programs being used for executing a data processing method by one or more processors, and the method comprising:
-
receiving, by a data buffering layer, an operation request of a follower of a user, having a long relation chain, of a client, and pushing the operation request to a service layer; receiving, by the service layer, the operation request pushed by the data buffering layer, and caching the operation request according to a minimum storage unit, the minimum storage unit being divided by using the user having a long relation chain as a unit; and finding, by the service layer according to a preset routing configuration when data cached in the minimum storage unit reaches a preset condition, a specified database that belongs to the user having a long relation chain, and performing an operation on the specified database according to the operation request; wherein the pushing the operation request to a service layer comprises; calculating, by the data buffering layer, a minimum operating unit of the user having a long relation chain, and routing the operation request to the minimum operating unit of the service layer; wherein the receiving, by the service layer, the operation request pushed by the data buffering layer, and caching the operation request according to a minimum storage unit comprises; receiving, by a receiving process at the service layer, the operation request pushed by the data buffering layer, and caching a log of the operation request to the minimum operating unit; and reading, by a storage process at the service layer, the minimum operating unit to obtain the operation request in the minimum operating unit, calculating the minimum storage unit of the operation request, and caching the operation request to the minimum storage unit. - View Dependent Claims (19, 20)
-
-
17-18. -18. (canceled)
-
21. (canceled)
Specification