IP Library Granted Patent US 11,816,714
Granted Patent B2
US 11,816,714 · App. 16/959,911 · Granted Nov 14, 2023

Service verification method and apparatus

Inventor: Jian Peng (Hangzhou, CN)
Assignee: ADVANCED NEW TECHNOLOGIES CO., LTD.
G06Q30/0609H04L67/2895H04L67/306H04L67/568G06Q30/0633
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,816,714
App. No.
16/959,911
Granted
Nov 14, 2023
Kind
B2
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 (62)

1. A service-verification method, the method comprising:

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 the service parameters sent by each of the different terminals;

storing a plurality of corresponding relationships, each of the plurality of corresponding relationships comprising: the service parameter sent by one of the different terminals 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 the calculated 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 calculated service data and the target service data,

wherein in response to one terminal of the different terminals sends a plurality of service parameters, the storing the plurality of corresponding relationships includes:

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.

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

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

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

5. The method according to claim 1 , wherein respectively receiving the service parameters sent by the same user account on the different terminals, respectively calculating the corresponding service data according to the service parameters sent by the each of the different terminals, and storing the 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 same user account;

storing a corresponding relationship between the first service parameter and the first service data in a storage space corresponding to the same 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 same user account corresponding to the service-processing request.

6. 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 of the different terminals;

a relationship-storage module configured to store a plurality of corresponding relationships, each of the plurality of corresponding relationships comprising: the service parameters sent by one of the different terminals 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 the calculated 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 calculated service data and the target service data,

wherein in response to one terminal of the different terminals sends a plurality of service parameters, the storing the plurality of corresponding relationships includes:

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.

7. The apparatus according to claim 6 , 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.

8. 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 the 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 of the different terminals;

storing a plurality of corresponding relationships, each of the plurality of corresponding relationships comprising: the service parameters sent by one of the different terminals 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 the calculated 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 calculated service data and the target service data,

wherein in response to one terminal of the different terminals sends a plurality of service parameters, the storing the plurality of corresponding relationships includes:

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.

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

10. The service-verification device according to claim 8 , 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.

11. The service-verification device according to claim 8 , 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.

12. The service-verification device according to claim 8 , wherein respectively receiving the service parameters sent by the same user account on the different terminals, respectively calculating the corresponding service data according to the service parameters sent by the each of the different terminal, and storing the 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 same user account;

storing a corresponding relationship between the first service parameter and the first service data in a storage space corresponding to the same 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 same user account corresponding to the service-processing request.

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

14. The apparatus according to claim 6 , 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 the service data corresponding to the target service parameter is the same as the target service data, the comparison verification module determines that the verification succeeds; otherwise, the comparison verification module determines that the verification fails.

15. The apparatus according to claim 6 ,

wherein, while respectively receiving the service parameters sent by the same user account on the different terminals, respectively calculating the corresponding service data according to the service parameters sent by the each of the different terminals, and storing the 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 same user account, and store a corresponding relationship between the first service parameter and the first service data in a storage space corresponding to the same 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 same user account corresponding to the service-processing request.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 11, 2024
From: ADVANCED NEW TECHNOLOGIES CO., LTD.
To: ADVANCED NOVA TECHNOLOGIES (SINGAPORE) HOLDING PTE. LTD.
Reel/Frame 067081/0260 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 11, 2020
From: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
To: ADVANCED NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053745/0667 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 1, 2020
From: ALIBABA GROUP HOLDING LIMITED
To: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053663/0280 →
Priority Claims (1)
CN 201810224144.3 · Mar 19, 2018 · national
Continuity (1)
Related Publication 20210082014A1 · Mar 18, 2021
Cited By (1)
US 12,510,402