# US 11,445,030 B2 · Service processing method, device, and system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 11,445,030 B2
- Document ID: US11445030B2
- Status: Granted
- Kind: B2
- Application number: 16/137,306
- Filed: 2018-09-20
- Published: 2019-01-24
- Granted: 2022-09-13
- Earliest claimed: 2016-03-24
- Assignees: Advanced New Technologies Co., Ltd.
- Applicants: Advanced New Technologies Co., Ltd.
- Inventors: Juan Du
- Web page: https://patentgrep.com/patent/US11445030B2

## CPC

- H04L 67/51: Discovery or management thereof, e.g. service location protocol [SLP] or web services
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- H04L 67/60: Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources (admission control or resource allocation H04L47/70)
- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F 16/278: {Data partitioning, e.g. horizontal or vertical partitioning}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A service processing device receives a service processing request for a service event sent by a service requesting device, where the service processing request comprises service processing reference information, and where the service processing reference information is used by the service processing device to determine a storage location of data related to a current service in a database. A particular storage location is determined based on the service processing reference information. An idempotent check is performed on the particular storage location. A method of processing is determined to perform on the current service based on a result of the idempotent check.

## Claims

### Claim 1

A computer-implemented method, comprising:
providing, by a service processing device to a service requesting device, prior to receiving a service processing request for a service event, database running mode information used by the service processing device for processing service events;
receiving, by the service processing device, a first service processing request for a service event sent by the service requesting device, wherein the first service processing request comprises service processing reference information, wherein the service processing reference information comprises a particular time when the first service processing request was initiated by the service requesting device and the database running mode information used by the service processing device, wherein the service processing reference information is used by the service processing device to determine one of a plurality of databases and a first storage location in the one of the plurality of databases for performing idempotent check of the first service processing request, wherein the one of the plurality of databases is partitioned into a plurality of storage locations, wherein each storage location of the plurality of storage locations is associated with a corresponding range of time and a corresponding idempotent table, and wherein two corresponding ranges of time of any two storage locations of the plurality of storage locations do not overlap;
determining, by the service processing device, the first storage location based on the service processing reference information, comprising determining that the particular time in the service processing reference information is within a particular range of time associated with the first storage location;
performing, by the service processing device, based on a particular idempotent table associated with the first storage location, a first idempotent check on the first storage location, and updating the particular idempotent table associated with the first storage location after the first idempotent check to include unique transaction identification information of the first service processing request comprising a service request transaction number and a service request source;
determining, by the service processing device, a method of processing to perform on the service event based on a result of the first idempotent check;
receiving, by the service processing device, a second service processing request that is sent for the service event, wherein the second service processing request comprises the service processing reference information in the first service processing request;
determining the first storage location in the one of the plurality of databases for performing idempotent check of the second service processing request based on the service processing reference information, comprising determining that the particular time in the service processing reference information is within the particular range of time associated with the first storage location;
performing, by the service processing device, based on the updated particular idempotent table associated with the first storage location, a second idempotent check; and
rejecting, by the service processing device, the second service processing request based on a result of the second idempotent check.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein each subsequent service processing request that is received by the service processing device, comprises the service processing reference information in the first service processing request.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the database running mode information comprises a normal mode and a failover mode.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, wherein the one of the plurality of databases corresponds to the database running mode information based on the service processing reference information in the first service processing request.

### Claim 5

A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:
providing, by a service processing device to a service requesting device, prior to receiving a service processing request for a service event, database running mode information used by the service processing device for processing service events;
receiving, by the service processing device, a first service processing request for a service event sent by the service requesting device, wherein the first service processing request comprises service processing reference information, wherein the service processing reference information comprises a particular time when the first service processing request was initiated by the service requesting device and the database running mode information used by the service processing device, wherein the service processing reference information is used by the service processing device to determine one of a plurality of databases and a first storage location in the one of the plurality of databases for performing idempotent check of the first service processing request, wherein the one of the plurality of databases is partitioned into a plurality of storage locations, wherein each storage location of the plurality of storage locations is associated with a corresponding range of time and a corresponding idempotent table, and wherein two corresponding ranges of time of any two storage locations of the plurality of storage locations do not overlap;
determining, by the service processing device, the first storage location based on the service processing reference information, comprising determining that the particular time in the service processing reference information is within a particular range of time associated with the first storage location;
performing, by the service processing device, based on a particular idempotent table associated with the first storage location, a first idempotent check on the first storage location, and updating the particular idempotent table associated with the first storage location after the first idempotent check to include unique transaction identification information of the first service processing request comprising a service request transaction number and a service request source;
determining, by the service processing device, a method of processing to perform on the service event based on a result of the first idempotent check;
receiving, by the service processing device, a second service processing request that is sent for the service event, wherein the second service processing request comprises the service processing reference information in the first service processing request;
determining the first storage location in the one of the plurality of databases for performing idempotent check of the second service processing request based on the service processing reference information, comprising determining that the particular time in the service processing reference information is within the particular range of time associated with the first storage location;
performing, by the service processing device, based on the updated particular idempotent table associated with the first storage location, a second idempotent check; and
rejecting, by the service processing device, the second service processing request based on a result of the second idempotent check.

### Claim 6 (depends on 5)

The non-transitory, computer-readable medium of claim 5, wherein each subsequent service processing request that is received by the service processing device, comprises the service processing reference information in the first service processing request.

### Claim 7 (depends on 5)

The non-transitory, computer-readable medium of claim 5, wherein the database running mode information comprises a normal mode and a failover mode.

### Claim 8 (depends on 7)

The non-transitory, computer-readable medium of claim 7, wherein the one of the plurality of databases corresponds to the database running mode information based on the service processing reference information in the first service processing request.

### Claim 9

A computer-implemented system, comprising:
one or more computers; and
one or more computer memory devices interoperably coupled with the one or more computers and having tangible, non-transitory, machine-readable media storing one or more instructions that, when executed by the one or more computers, perform one or more operations comprising:
providing, by a service processing device to a service requesting device, prior to receiving a service processing request for a service event, database running mode information used by the service processing device for processing service events;
receiving, by the service processing device, a first service processing request for a service event sent by the service requesting device, wherein the first service processing request comprises service processing reference information, wherein the service processing reference information comprises a particular time when the first service processing request was initiated by the service requesting device and the database running mode information used by the service processing device, wherein the service processing reference information is used by the service processing device to determine one of a plurality of databases and a first storage location in the one of the plurality of databases for performing idempotent check of the first service processing request, wherein the one of the plurality of databases is partitioned into a plurality of storage locations, wherein each storage location of the plurality of storage locations is associated with a corresponding range of time and a corresponding idempotent table, and wherein two corresponding ranges of time of any two storage locations of the plurality of storage locations do not overlap;
determining, by the service processing device, the first storage location based on the service processing reference information, comprising determining that the particular time in the service processing reference information is within a particular range of time associated with the first storage location;
performing, by the service processing device, based on a particular idempotent table associated with the first storage location, a first idempotent check on the first storage location, and updating the particular idempotent table associated with the first storage location after the first idempotent check to include unique transaction identification information of the first service processing request comprising a service request transaction number and a service request source;
determining, by the service processing device, a method of processing to perform on the service event based on a result of the first idempotent check;
receiving, by the service processing device, a second service processing request that is sent for the service event, wherein the second service processing request comprises the service processing reference information in the first service processing request;
determining the first storage location in the one of the plurality of databases for performing idempotent check of the second service processing request based on the service processing reference information, comprising determining that the particular time in the service processing reference information is within the particular range of time associated with the first storage location;
performing, by the service processing device, based on the updated particular idempotent table associated with the first storage location, a second idempotent check; and
rejecting, by the service processing device, the second service processing request based on a result of the second idempotent check.

### Claim 10 (depends on 9)

The computer-implemented system of claim 9, wherein each subsequent service processing request that is received by the service processing device, comprises the service processing reference information in the first service processing request.

### Claim 11 (depends on 9)

The computer-implemented system of claim 9, wherein the database running mode information comprises a normal mode and a failover mode.

### Claim 12 (depends on 11)

The computer-implemented system of claim 11, wherein the one of the plurality of databases corresponds to the database running mode information based on the service processing reference information in the first service processing request.
