IP Library Granted Patent US 11,445,030
Granted Patent B2
US 11,445,030 · App. 16/137,306 · Granted Sep 13, 2022

Service processing method, device, and system

Inventor: Juan Du (Hangzhou, CN)
Assignee: Advanced New Technologies Co., Ltd.
H04L67/16H04L67/1097H04L67/32G06F16/27G06F16/278
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 11,445,030
App. No.
16/137,306
Granted
Sep 13, 2022
Kind
B2
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 (41)

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.

2. 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.

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

4. 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.

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.

6. 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.

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

8. 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.

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.

10. 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.

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

12. 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.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 10, 2020
From: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
To: ADVANCED NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053754/0625 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 31, 2020
From: ALIBABA GROUP HOLDING LIMITED
To: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053743/0464 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 21, 2019
From: DU, JUAN
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 048672/0526 →