CPC G06F 16/2282 (2019.01) [G06F 16/235 (2019.01); G06F 16/2358 (2019.01); G06F 16/2365 (2019.01)] | 12 Claims |
1. A data processing method, comprising:
generating a service serial number for a target service according to a preset naming rule, wherein the service serial number comprises two portions, one of the two portions comprises random numbers generated randomly, another of the two portions comprises a number set including database index information, date information, and table index information, and the random numbers generated randomly comprises numbers indicating uniqueness of the target service and a number indicating a service type to which the target service belongs;
obtaining a target database from M databases according to the database index information;
obtaining a portion from the target database according to the date information, wherein the number of portions in the target database relates to a number of days in each month and each portion comprises L target data tables;
obtaining a target data table from the L target data tables of the portion according to the table index information, wherein there are N data tables in the M databases, N=M*the number of portions*L, and N, M, and L are all positive integers;
obtaining service data of the target service; and
storing the service data to the target data table.
|