IP Library Granted Patent US 11,258,612
Granted Patent B2
US 11,258,612 · App. 16/661,735 · Granted Feb 22, 2022

Method, apparatus, and electronic device for blockchain-based recordkeeping

Inventors: Fuqiang Li (Hangzhou, CN); Linqing Wang (Hangzhou, CN); Hong Zhang (Hangzhou, CN); Haitao Jiang (Hangzhou, CN); Xinyu Weng (Hangzhou, CN); Zongru Zhan (Hangzhou, CN)
Assignee: ADVANCED NEW TECHNOLOGIES CO., LTD.
H04L9/3247G06Q20/3829H04L9/0637H04L9/3239H04L2209/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 11,258,612
App. No.
16/661,735
Granted
Feb 22, 2022
Kind
B2
Abstract

A method for blockchain-based data verification is provided. The method includes: obtaining target data submitted by a data submitter, wherein a first data digest of the target data is recorded in a blockchain; computing a second data digest of the target data; determining whether the second data digest matches the first data digest of the target data recorded in the blockchain; and determining that the target data submitted by the data submitter is valid in response to determining that the second data digest matches the first data digest of the target data recorded in the blockchain.

Claims (64)

1. A method for blockchain-based data verification, the method comprising:

receiving, by a terminal device, data to be recorded on a blockchain, wherein the data is stream data to be recorded in fragments, a private key of the terminal device is stored in a secure operation environment of the terminal device, and the terminal device comprises a body worn camera or an event data recorder;

signing, by the terminal device in the secure operation environment based on the private key, a first data digest of a fragment of the data to generate a signature;

verifying, by the terminal device, the signature based on a public key corresponding to the private key;

recording, by the terminal device, the first data digest of the fragment of the data based on a chronological order of the fragment of the data to be recorded and other fragments of the data to be recorded in response to the signature being verified to be valid;

obtaining, by the terminal device, target data from a data submitter, wherein the target data is stream data divided into fragments and the target data comprises video data, audio data, or image data, or a combination thereof, which is acquired by the body worn camera or the event data recorder;

obtaining, by the terminal device from the blockchain based on the chronological order, the first data digest of the fragment of the data from the blockchain;

computing, by the terminal device, a second data digest of a fragment of the target data;

determining, by the terminal device, whether the second data digest matches the first data digest recorded in the blockchain; and

determining, by the terminal device, that the fragment of the target data from the data submitter is valid in response to determining that the second data digest matches the first data digest recorded in the blockchain.

2. The method according to claim 1 , further comprising:

determining that the fragment of the target data from the data submitter is invalid in response to determining that the second data digest does not match the first data digest recorded in the blockchain.

3. The method according to claim 1 , wherein determining whether the second data digest matches the first data digest recorded in the blockchain comprises:

verifying whether the second data digest has been recorded in the blockchain; and

determining that the second data digest matches the first data digest recorded in the blockchain in response to verifying that the second data digest has been recorded in the blockchain.

4. The method according to claim 3 , wherein determining whether the second data digest matches the first data digest recorded in the blockchain further comprises:

determining that the second data digest does not match the first data digest recorded in the blockchain in response to verifying that the second data digest has not been recorded in the blockchain.

5. The method according to claim 1 , wherein determining whether the second data digest matches the first data digest recorded in the blockchain comprises:

determining whether the first data digest is the same as the second data digest; and

determining that the second data digest matches the first data digest recorded in the blockchain in response to determining that the first data digest is the same as the second data digest.

6. The method according to claim 5 , wherein determining whether the second data digest matches the first data digest recorded in the blockchain further comprises:

determining that the second data digest does not match the first data digest recorded in the blockchain in response to determining that the first data digest is different from the second data digest.

7. The method according to claim 1 , wherein description data of the data to be recorded is recorded in the blockchain; and

determining that the fragment of the target data from the data submitter is valid in response to determining that the second data digest matches the first data digest recorded in the blockchain comprises:

in response to determining that the second data digest matches the first data digest recorded in the blockchain, determining whether description data of the target data from the data submitter matches the description data recorded in the blockchain; and

determining that the fragment of the target data from the data submitter is valid in response to determining that the description data of the target data from the data submitter matches the description data recorded in the blockchain.

8. The method according to claim 7 , wherein the description data comprises: an acquisition time of the target data, an acquisition location of the target data, or an object related to the target data, or a combination thereof.

9. A system for blockchain-based data verification, comprising:

one or more processors; and

one or more computer-readable memories coupled to the one or more processors and having instructions stored thereon that are executable by the one or more processors to perform operations comprising:

receiving data to be recorded on a blockchain, wherein the data is stream data to be recorded in fragments, a private key of a terminal device is stored in a secure operation environment of the terminal device, and the terminal device comprises a body worn camera or an event data recorder;

signing, in the secure operation environment based on the private key, a first data digest of a fragment of the data based on the private key to generate a signature;

verifying the signature based on a public key corresponding to the private key;

recording the first data digest of the fragment of the data based on a chronological order of the fragment of the data to be recorded and other fragments of the data to be recorded in response to the signature being verified to be valid;

obtaining target data from a data submitter, wherein the target data is stream data divided into fragments and the target data comprises video data, audio data, or image data, or a combination thereof, which is acquired by the body worn camera or the event data recorder;

obtaining, from the blockchain based on the chronological order, the first data digest of the fragment of the data from the blockchain;

computing a second data digest of a fragment of the target data;

determining whether the second data digest matches the first data digest recorded in the blockchain; and

determining that the fragment of the target data from the data submitter is valid in response to determining that the second data digest matches the first data digest recorded in the blockchain.

10. The system according to claim 9 , wherein determining whether the second data digest matches the first data digest recorded in the blockchain comprises:

determining whether the first data digest is the same as the second data digest; and

determining that the second data digest matches the first data digest recorded in the blockchain in response to determining that the first data digest is the same as the second data digest.

11. The system according to claim 10 , wherein determining whether the second data digest matches the first data digest recorded in the blockchain further comprises:

determining that the second data digest does not match the first data digest recorded in the blockchain in response to determining that the first data digest is different from the second data digest.

12. The system according to claim 9 , wherein description data of the data to be recorded is recorded in the blockchain; and

determining that the fragment of the target data from the data submitter is valid in response to determining that the second data digest matches the first data digest recorded in the blockchain comprises:

in response to determining that the second data digest matches the first data digest recorded in the blockchain, determining whether description data of the target data from the data submitter matches the description data recorded in the blockchain; and

determining that the fragment of the target data from the data submitter is valid in response to determining that the description data of the target data from the data submitter matches the description data recorded in the blockchain.

13. The system according to claim 12 , wherein the description data comprises: an acquisition time of the target data, an acquisition location of the target data, or an object related to the target data, or a combination thereof.

14. A non-transitory computer-readable storage medium configured with instructions executable by one or more processors to cause the one or more processors to perform operations comprising:

receiving data to be recorded on a blockchain, wherein the data is stream data to be recorded in fragments, a private key of a terminal device is stored in a secure operation environment of the terminal device, and the terminal device comprises a body worn camera or an event data recorder;

signing, in the secure environment based on the private key, a first data digest of a fragment of the data to generate a signature;

verifying the signature based on a public key corresponding to the private key;

recording the first data digest of the fragment of the data based on a chronological order of the fragment of the data to be recorded and other fragments of the data to be recorded in response to the signature being verified to be valid;

obtaining target data from a data submitter, wherein the target data is stream data divided into fragments and the target data comprises video data, audio data, or image data, or a combination thereof, which is acquired by the body worn camera or the event data recorder;

obtaining, from the blockchain based on the chronological order, the first data digest of the fragment of the data from the blockchain;

computing a second data digest of a fragment of the target data;

determining whether the second data digest matches the first data digest recorded in the blockchain; and

determining that the target data from the data submitter is valid in response to determining that the second data digest matches the first data digest recorded in the blockchain.

15. The non-transitory computer-readable storage medium according to claim 14 , the operations further comprising:

determining that the fragment of the target data from the data submitter is invalid in response to determining that the second data digest does not match the first data digest recorded in the blockchain.

16. The non-transitory computer-readable storage medium according to claim 14 , wherein determining whether the second data digest matches the first data digest recorded in the blockchain comprises:

verifying whether the second data digest has been recorded in the blockchain; and

determining that the second data digest matches the first data digest recorded in the blockchain in response to verifying that the second data digest has been recorded in the blockchain.

Assignments (4)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 14, 2025
From: ADVANCED NEW TECHNOLOGIES CO., LTD.
To: ANTCHAIN TECHNOLOGY PTE. LTD.
Reel/Frame 069862/0432 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 16, 2020
From: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
To: ADVANCED NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053796/0281 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 3, 2020
From: ALIBABA GROUP HOLDING LIMITED
To: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053702/0392 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 23, 2019
From: LI, FUQIANG; WANG, LINQING; ZHANG, HONG; JIANG, HAITAO; WENG, XINYU; ZHAN, ZONGRU
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 050810/0023 →