# US 2021/0082014 A1 · Service verification method and apparatus

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

- Number: US 2021/0082014 A1
- Document ID: US20210082014A1
- Status: Published application
- Kind: A1
- Application number: 16/959,911
- Filed: 2019-01-29
- Published: 2021-03-18
- Earliest claimed: 2018-03-19
- Assignees: Alibaba Group Holding Limited
- Applicants: Alibaba Group Holding Limited
- Inventors: Jian Peng
- Web page: https://patentgrep.com/patent/US20210082014A1

## CPC

- G06Q 30/0609: {Qualifying participants for shopping transactions (payment transaction verification G06Q20/401)}
- H04L 67/2895: Intermediate processing functionally located close to the data provider application, e.g. reverse proxies
- H04L 67/306: User profiles
- H04L 67/568: Storing data temporarily at an intermediate stage, e.g. caching
- G06Q 30/0633: {Managing shopping lists, e.g. compiling or processing purchase lists (shipping orders G06Q10/083; order filling G06Q10/087)}
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Embodiments of the present disclosure provide a service-verification method and apparatus, wherein the method comprises: respectively receiving service parameters sent by a same user account on different terminals, respectively calculating corresponding service data according to the service parameters sent by each terminal; storing a plurality of corresponding relationships, each corresponding relationship comprising: service parameters sent by one terminal and corresponding calculated service data; when a service-processing request sent by any one of the different terminals is received and the service-processing request carries a target service parameter and target service data used in a current service, obtaining service data corresponding to the target service parameter according to the corresponding relationships; and acquiring a verification result according to a comparison between the obtained service data and the target service data.

## Claims

### Claim 1

A service-verification method, the method comprising:
respectively receiving service parameters sent by a same user account on different terminals, service parameters sent by the different terminals being different;
respectively calculating corresponding service data according to the service parameters sent by each terminal;
storing a plurality of corresponding relationships, each corresponding relationship comprising: the service parameter sent by one terminal and the corresponding calculated service data;
when a service-processing request sent by any one of the different terminals is received and the service processing-request carries a target service parameter and target service data used in a current service, obtaining service data corresponding to the target service parameter according to the corresponding relationship; and
acquiring a verification result according to a comparison between the obtained service data and the target service data.

### Claim 2 (depends on 1)

The method according to claim 1, wherein when one terminal sends a plurality of service parameters, storing a plurality of corresponding relationships comprises:
performing hashing for a sum of the plurality of service parameters to acquire a hash value; and
storing a corresponding relationship between the hash value and the service data.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the plurality of corresponding relationships are stored in a distributed cache.

### Claim 4 (depends on 1)

The method according to claim 1, wherein acquiring the verification result according to the comparison between the obtained service data and the target service data comprises:
if the obtained service data is the same as the target service data, then determining that the verification succeeds, executing a service corresponding to the service-processing request using the target service data, and saving the target service data to a database; and
if the obtained service data is different from the target service data, then determining that the verification fails, and rejecting the service-processing request.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the method further comprises:
if the target service parameter does not exist in the corresponding relationships, then calculating the corresponding service data according to the target service parameter; and
determining whether the service data corresponding to the target service parameter is the same as the target service data, and if they are the same, then the verification succeeds; otherwise, the verification fails.

### Claim 6 (depends on 1)

The method according to claim 1, wherein respectively receiving service parameters sent by the same user account on different terminals, respectively calculating corresponding service data according to the service parameters sent by each terminal, and storing a plurality of corresponding relationships comprise:
receiving a first service parameter sent by a first terminal, and calculating corresponding first service data according to the first service parameter, the first terminal corresponding to the user account;
storing a corresponding relationship between the first service parameter and the first service data in a storage space corresponding to the user account;
receiving a second service parameter sent by a second terminal, and calculating corresponding second service data according to the second service parameter; storing a corresponding relationship between the second service parameter and the second service data in the storage space; and
wherein obtaining the service data corresponding to the target service parameter comprises: obtaining the service data corresponding to the target service parameter from the storage space of the user account corresponding to the service-processing request.

### Claim 7

A service-verification apparatus, the apparatus comprising:
a parameter-receiving module configured to respectively receive service parameters sent by a same user account on different terminals, the service parameters sent by the different terminals being different;
a data-calculation module configured to respectively calculate corresponding service data according to the service parameter sent by each terminal;
a relationship-storage module configured to store a plurality of corresponding relationships, each corresponding relationship comprising: service parameters sent by one terminal and corresponding calculated service data;
a data-obtaining module configured to: when a service-processing request sent by any one of the different terminals is received and the service-processing request carries a target service parameter and target service data used in a current service, obtaining service data corresponding to the target service parameter according to the corresponding relationships; and
a comparison verification module configured to acquire a verification result according to a comparison between the obtained service data and the target service data.

### Claim 8 (depends on 7)

The apparatus according to claim 7, wherein
the relationship-storage module is specifically configured to: when one terminal sends a plurality of service parameters, perform hashing for a sum of the plurality of service parameters to acquire a hash value; and store a corresponding relationship between the hash value and the service data.

### Claim 9 (depends on 7)

The apparatus according to claim 7, wherein the comparison-verification module is specifically configured to:
if the obtained service data is same as the target service data, then determine that the verification succeeds, execute a service corresponding to the service-processing request using the target service data, and saving the target service data to a database; and
if the obtained service data is different from the target service data, then determine that the verification fails, and reject the service-processing request.

### Claim 10

A service-verification device, the device comprising: a memory, a processor, and computer instructions stored on the memory and executable on the processor, when executing the instructions, the processor implementing following operations:
respectively receiving service parameters sent by a same user account on different terminals, the service parameters sent by the different terminals being different;
respectively calculating corresponding service data according to service parameters sent by each terminal;
storing a plurality of corresponding relationships, each corresponding relationship comprising: service parameters sent by one terminal and corresponding calculated service data;
when a service-processing request sent by any one of the different terminals is received and the service-processing request carries a target service parameter and target service data used in a current service, obtaining service data corresponding to the target service parameter according to the corresponding relationships; and
acquiring a verification result according to a comparison between the obtained service data and the target service data.

### Claim 11 (depends on 10)

The service-verification device according to claim 10, wherein when one terminal sends a plurality of service parameters, storing a plurality of corresponding relationships comprises:
performing hashing for a sum of the plurality of service parameters to acquire a hash value; and
storing a corresponding relationship between the hash value and the service data.

### Claim 12 (depends on 10)

The service-verification device according to claim 10, wherein the plurality of corresponding relationships are stored in a distributed cache.

### Claim 13 (depends on 10)

The service-verification device according to claim 10, wherein acquiring the verification result according to the comparison between the obtained service data and the target service data comprises:
if the obtained service data is the same as the target service data, then determining that the verification succeeds, executing a service corresponding to the service-processing request using the target service data, and saving the target service data to a database; and
if the obtained service data is different from the target service data, then determining that the verification fails, and rejecting the service-processing request.

### Claim 14 (depends on 10)

The service-verification device according to claim 10, wherein the operations further comprise:
if the target service parameter does not exist in the corresponding relationships, then calculating the corresponding service data according to the target service parameter; and
determining whether the service data corresponding to the target service parameter is the same as the target service data, and if they are the same, then the verification succeeds; otherwise, the verification fails.

### Claim 15 (depends on 10)

The service-verification device according to claim 10, wherein respectively receiving service parameters sent by the same user account on different terminals, respectively calculating corresponding service data according to the service parameters sent by each terminal, and storing a plurality of corresponding relationships comprise:
receiving a first service parameter sent by a first terminal, and calculating corresponding first service data according to the first service parameter, the first terminal corresponding to the user account;
storing a corresponding relationship between the first service parameter and the first service data in a storage space corresponding to the user account;
receiving a second service parameter sent by a second terminal, and calculating corresponding second service data according to the second service parameter; storing a corresponding relationship between the second service parameter and the second service data in the storage space; and
wherein obtaining the service data corresponding to the target service parameter comprises: obtaining the service data corresponding to the target service parameter from the storage space of the user account corresponding to the service-processing request.

### Claim 16 (depends on 7)

The apparatus according to claim 7, wherein the relationship-storage module is configured to store the plurality of corresponding relationships in a distributed cache.

### Claim 17 (depends on 7)

The apparatus according to claim 7, wherein, in response to the data-obtaining module determines that the target service parameter does not exist in the corresponding relationships, the data-calculation module is configured to calculate the corresponding service data according to the target service parameter; and
wherein the comparison verification module is configured to determine whether the service data corresponding to the target service parameter is the same as the target service data, and if they are the same, the comparison verification module determines that the verification succeeds; otherwise, the comparison verification module determines that the verification fails.

### Claim 18 (depends on 7)

The apparatus according to claim 7,
wherein, while respectively receiving service parameters sent by the same user account on different terminals, respectively calculating corresponding service data according to the service parameters sent by each terminal, and storing a plurality of corresponding relationships, the parameter-receiving module, the data-calculation module, and the relationship-storage module are configured to:
receive a first service parameter sent by a first terminal, calculate corresponding first service data according to the first service parameter, the first terminal corresponding to the user account, and store a corresponding relationship between the first service parameter and the first service data in a storage space corresponding to the user account; and
receive a second service parameter sent by a second terminal, calculate corresponding second service data according to the second service parameter, and store a corresponding relationship between the second service parameter and the second service data in the storage space; and
wherein, while obtaining the service data corresponding to the target service parameter, the data-obtaining module is configured to obtain the service data corresponding to the target service parameter from the storage space of the user account corresponding to the service-processing request.
