IP Library Granted Patent US 10,594,489
Granted Patent B2
US 10,594,489 · App. 16/507,822 · Granted Mar 17, 2020

Method and device for processing service request

Inventors: Weiming Zhuang (Hangzhou, CN); Ning Li (Hangzhou, CN)
Assignee: Alibaba Group Holding Limited
H04L9/3236H04L9/008H04L9/0637H04L9/3247H04L2209/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,594,489
App. No.
16/507,822
Granted
Mar 17, 2020
Kind
B2
Abstract

Implementations of the present application disclose a method and device for processing a service request. If a service request passes consensus verification, each consensus node stores a digest of service data in a blockchain, instead of storing the service data in the blockchain. As such, the digest of the service data is stored in the trustworthy blockchain, and authenticity of the service data can still be verified. In addition, the service data is not stored in the blockchain so that the service data cannot be obtained by a blockchain node irrelevant to the target service. Therefore, each consensus node does not need to consume computing resources to encrypt the service data any more, thereby improving efficiency of performing consensus verification on the service request by each consensus node.

Claims (27)

1. A method for processing a service request, comprising:

receiving, by a consensus node, a service request corresponding to a target service, wherein the service request comprises service data of the target service and a digest of the service data;

performing, by the consensus node, consensus verification on the service request based on the service data and the digest;

storing, by the consensus node, the digest in a blockchain in response to determining that the service request passes the consensus verification; and

sending, by the consensus node, the service data to at least one service node so that the service node stores the service data in a private database corresponding to the service node; or

sending, by the consensus node, a storage instruction to at least one service node so that the service node stores the service data in a private database corresponding to the service node; or

sending, by the consensus node, an acknowledgement instruction to a service node initiating the target service so that the service node stores the service data in a private database corresponding to the service node; and sending the service data to another service node so that the other service node stores the service data in a private database corresponding to the other service node, wherein the service node is a blockchain node participating in the target service.

2. A method for processing a service request, comprising:

receiving, by a consensus node, a service request corresponding to a target service, wherein the service request comprises service data of the target service and a digest of the service data;

performing, by the consensus node, consensus verification on the service request based on the service data and the digest;

instructing, by the consensus node, each non-consensus node to store the digest in a blockchain in response to determining that the service request passes the consensus verification; and

sending, by the consensus node, the service data to at least one service node so that the service node stores the service data in a private database corresponding to the service node; or

sending, by the consensus node, a storage instruction to at least one service node so that the service node stores the service data in a private database corresponding to the service node; or

sending, by the consensus node, an acknowledgement instruction to a service node initiating the target service so that the service node stores the service data in a private database corresponding to the service node; and sending the service data to another service node so that the other service node stores the service data in a private database corresponding to the other service node, wherein the service node is a blockchain node participating in the target service.

3. The method according to claim 2 , wherein the instructing each non-consensus node to store the digest in a blockchain comprises:

sending the digest to each non-consensus node so that each non-consensus node stores the digest in the blockchain.

4. An apparatus for processing a service request, comprising:

a receiving module, configured to receive a service request corresponding to a target service and received by a consensus node, wherein the service request comprises service data of the target service and a digest of the service data;

a consensus verification module, configured to perform consensus verification on the service request based on the service data and the digest;

a storage module, configured to store the digest in a blockchain in response to determining that the service request passes the consensus verification; and

a sending module, configured to: in response to determining that the service request passes the consensus verification, send the service data to at least one service node so that the service node stores the service data in a private database corresponding to the service node; or send a storage instruction to at least one service node so that the service node stores the service data in a private database corresponding to the service node; or send an acknowledgement instruction to a service node initiating the target service so that the service node stores the service data in a private database corresponding to the service node, and send the service data to another service node so that the other service node stores the service data in a private database corresponding to the other service node, wherein the service node is a blockchain node participating in the target service.

5. An apparatus for processing a service request, comprising:

a receiving module, configured to receive a service request corresponding to a target service, wherein the service request comprises service data of the target service and a digest of the service data;

a consensus module, configured to perform consensus verification on the service request based on the service data and the digest;

a storage module, configured to instruct each non-consensus node to store the digest in a blockchain in response to determining that the service request passes the consensus verification; and

a sending module, configured to: send the service data to at least one service node so that the service node stores the service data in a private database corresponding to the service node; or send a storage instruction to at least one service node so that the service node stores the service data in a private database corresponding to the service node; or send an acknowledgement instruction to a service node initiating the target service so that the service node stores the service data in a private database corresponding to the service node, and send the service data to another service node so that the other service node stores the service data in a private database corresponding to the other service node, wherein the service node is a blockchain node participating in the target service.

6. The apparatus according to claim 5 , wherein the storage module sends the digest to each non-consensus node so that each non-consensus node stores the digest in the blockchain.

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 13, 2019
From: ZHUANG, WEIMING; LI, NING
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 050372/0181 →