IP Library Granted Patent US 10,554,388
Granted Patent B2
US 10,554,388 · App. 16/507,896 · Granted Feb 4, 2020

Service execution method and device

Inventor: Qiang Tang (Hangzhou, CN)
Assignee: Alibaba Group Holding Limited
H04L9/0637H04L9/0861H04L67/325H04L67/10H04L2209/38
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 10,554,388
App. No.
16/507,896
Granted
Feb 4, 2020
Kind
B2
Abstract

After receiving a qualification acquisition request sent by an end-user device, a service platform can return a block generation rule to the end-user device, instead of returning the block generation rule only when a predetermined moment arrives. Even if the end-user device sends the qualification acquisition request to the service platform before the predetermined moment, the service platform still returns the block generation rule. The service platform can separate, in terms of time, users who participate in obtaining service qualification, so that some users can obtain the block generation rule before the predetermined moment, and then participate in a service based on the obtained block generation rule when the predetermined moment arrives. Access pressure faced by the service platform when the predetermined moment arrives is relieved, and normal running of the service platform after the predetermined moment arrives is ensured.

Claims (48)

1. A service execution method, comprising:

continuously generating, by a node, first blocks, storing the first blocks on a blockchain;

providing the blockchain for an end-user device that obtains a block generation rule;

obtaining, by the end-user device, the block generation rule from a service platform;

generating, based on the blockchain, a preprocessing block that matches the block generation rule;

performing, by the end-user device, a consensus procedure on the preprocessing block by using one or more other end-user devices and the node;

storing the preprocessing block on the blockchain as a second block in response to determining that the consensus on the preprocessing block is achieved;

obtaining, by the service platform, at least a part of the blockchain at a current moment from at least one end-user device or at least one node in response to determining that a predetermined condition is met;

determining, by the service platform, a first block from the obtained blockchain at the current moment based on a predetermined moment;

selecting a second block based on the determined first block; and

executing, by the service platform, a service based on a user identifier comprised in the selected second block.

2. A service execution method, wherein a node continuously generates first blocks, stores the first blocks on a blockchain, and provides the blockchain for an end-user device that obtains a block generation rule, and wherein the method comprises:

receiving, by a service platform, a qualification acquisition request sent by the end-user device;

returning the block generation rule to the end-user device based on the qualification acquisition request, so that the end-user device generates a second block based on the blockchain and the block generation rule;

stores the second block on the blockchain;

obtaining at least a part of the blockchain at a current moment from at least one end-user device or at least one node in response to determining that a predetermined condition is met;

determining a first block from the obtained blockchain at the current moment based on a predetermined moment;

selecting a second block based on the determined first block; and

executing a service based on a user identifier comprised in the selected second block.

3. The service execution method according to claim 2 , wherein the determining a first block from the obtained blockchain at the current moment based on a predetermined moment, and selecting a second block based on the determined first block comprises:

determining generation times of all the first blocks on the blockchain;

determining a first block whose generation time is closest to the predetermined moment;

determining the first block as a marked block; and

selecting a second block that is located after the marked block from the obtained blockchain at the current moment.

4. The service execution method according to claim 3 , wherein the selecting a second block that is located after the marked block from the obtained blockchain at the current moment comprises:

selecting a predetermined number of second blocks that are located after the marked block from the blockchain at the current moment in a ranking sequence of blocks on the blockchain at the current moment.

5. A service execution method, wherein a node continuously generates first blocks, stores the first blocks on a blockchain, and provides the blockchain for an end-user device that obtains a block generation rule, and wherein the method comprises:

sending, by the end-user device, a qualification acquisition request to a service platform, so that the service platform returns the block generation rule to the end-user device;

generating a preprocessing block based on the blockchain and the block generation rule;

performing a consensus procedure on the preprocessing block by using one or more other end-user devices and the node;

storing the preprocessing block on which the consensus is achieved on the blockchain as a second block; and

in response to receiving qualification confirmation information sent by the service platform, sending the blockchain at a current moment that is stored by the end-user device to the service platform, so that the service platform executes a service based on a first block and a second block on the blockchain at the current moment.

6. The service execution method according to claim 5 , wherein the generating a preprocessing block based on the blockchain and the block generation rule comprises:

determining a block feature value of the last block on the blockchain;

determining an adjustment parameter, so that a to-be-verified feature value generated by using the adjustment parameter, the block feature value, and a user identifier satisfies the block generation rule; and

generating the preprocessing block based on the to-be-verified feature value, the block feature value, the adjustment parameter, and the user identifier.

7. A service execution device, wherein a node continuously generates first blocks, stores the first blocks on a blockchain, and provides the blockchain for an end-user device that obtains a block generation rule, and wherein the device comprises:

a receiving module, configured to receive a qualification acquisition request sent by the end-user device;

a returning module, configured to return the block generation rule to the end-user device based on the qualification acquisition request, so that the end-user device generates a second block based on the blockchain and the block generation rule, and stores the second block on the blockchain;

an acquisition module, configured to obtain at least a part of the blockchain at a current moment from at least one end-user device or at least one node in response to determining that a predetermined condition is met;

a selection module, configured to determine a first block from the obtained blockchain at the current moment based on a predetermined moment, and select a second block based on the determined first block; and

an execution module, configured to execute a service based on a user identifier comprised in the selected second block.

8. The service execution device according to claim 7 , wherein the selection module is configured to:

determine generation times of all the first blocks on the blockchain;

determine a first block whose generation time is closest to the predetermined moment;

determine the first block as a marked block; and

select a second block that is located after the marked block from the obtained blockchain at the current moment.

9. The service execution device according to claim 8 , wherein the selection module is configured to select a predetermined number of second blocks that are located after the marked block from the blockchain at the current moment in a ranking sequence of blocks on the blockchain at the current moment.

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 Sep 30, 2019
From: TANG, QIANG
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 050560/0883 →
Priority Claims (1)
CN 2017 1 0362074 · May 22, 2017 · national
Continuity (2)
Continuation PCTCN2018087601 · May 21, 2018
Related Publication 20190334699A1 · Oct 31, 2019
Cited By (1)
US 12,254,435