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
A data processing system relates to network communications technologies. A data buffering layer receives an operation request of a follower of a user having a long relation and of a client. The data buffer layer pushes the operation request to a service layer. The service layer receives the operation request pushed by the data buffering layer and caches the operation request according to a minimum storage unit. The minimum storage unit is determined by using the user having a long relation chain as a unit. The service layer determines a specified database that belongs to the user having a long relation chain and performs an operation on the specified database according to the operation request. The service layer determines the specified database according to a preset routing configuration when data cached in the minimum storage unit reaches a preset condition.
11 Citations
9 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 (2, 3)
-
-
4. 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 (5, 6)
- 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;
-
7. A non-transitory 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 (8, 9)
-
Specification