# US 2021/0287269 A1 · Blockchain-based document registration for custom clearance

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

- Number: US 2021/0287269 A1
- Document ID: US20210287269A1
- Status: Published application
- Kind: A1
- Application number: 17/219,434
- Filed: 2021-03-31
- Published: 2021-09-16
- Earliest claimed: 2020-06-08
- Assignees: Alipay Labs (Singapore) Pte. Ltd.
- Applicants: Alipay Labs (Singapore) Pte. Ltd.
- Inventors: Hui Fang; Shengjiao Cao; Weitao Yang
- Web page: https://patentgrep.com/patent/US20210287269A1

## CPC

- G06Q 30/0609: {Qualifying participants for shopping transactions (payment transaction verification G06Q20/401)}
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- G06Q 10/0831: Overseas transactions
- G06Q 10/0841: {Compliance with shipping requirements}
- G06Q 10/087: Inventory or stock management, e.g. order filling, procurement or balancing against orders
- G06Q 20/389: {Keeping log of transactions for guaranteeing non-repudiation of a transaction}
- G06Q 20/401: {Transaction verification}
- G06Q 30/06: Buying, selling or leasing transactions
- G06Q 50/26: Government or public services (business processes related to the transportation industry G06Q50/40)
- H04L 9/0894: {Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage}
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- H04L 63/12: {Applying verification of the received information (cryptographic mechanisms or cryptographic arrangements for data integrity or data verification H04L9/32)}
- G06Q 2220/00: Business processing using cryptography
- 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

Disclosed herein are methods, systems, and apparatus, including computer programs encoded on computer storage media, for document registration. One of the methods includes: at a service platform, receiving first information related to an order, wherein the first information is provided, or to be provided, to a service authority for clearance of the order; at the service platform, encrypting at least a portion of the first information to generate encrypted first data; and sending the encrypted first data to a blockchain network to store the encrypted first data on a blockchain managed by the blockchain network, wherein the encrypted first data are stored on the blockchain through consensus of blockchain nodes of the blockchain network.

## Claims

### Claim 1

A computer-implemented method comprising:
at a service platform, receiving first information related to an order, wherein the first information is be provided to a service authority for requesting clearance for merchandize included in the order;
at the service platform, encrypting at least a portion of the first information to generate encrypted first data; and
sending the encrypted first data to a blockchain network to store the encrypted first data on a blockchain managed by the blockchain network, wherein the encrypted first data are stored on the blockchain through consensus of blockchain nodes of the blockchain network.

### Claim 2 (depends on 1)

The method of claim 1, comprising:
at the service platform, receiving second information related to the order, wherein the second information is to be provided to the service authority for requesting clearance for the merchandize included in the order;
at the service platform, encrypting at least a portion of the second information to generate encrypted second data;
sending the encrypted second data to the blockchain network to store the encrypted second data on the blockchain, wherein the encrypted second data are stored on the blockchain through consensus of blockchain nodes of the blockchain network; and
linking the first data with the second data.

### Claim 3 (depends on 2)

The method of claim 2, wherein:
the first data comprises order data, and the order data comprises an order identifier of an order document associated with the order;
the second data comprises logistics data, and the logistics data comprises a logistics transaction identifier of a logistics document associated with the order; and
linking the first data with the second data comprises invoking a smart contract on the blockchain to store the order identifier and the logistics transaction identifier in a data structure corresponding to the order, and linking the order identifier with the logistics transaction identifier.

### Claim 4 (depends on 3)

The method of claim 3, comprising:
at the service platform, receiving payment data related to the order, wherein the payment data are provided to the service authority for requesting clearance of the merchandize included in the order;
at the service platform, encrypting at least a portion of the payment data to generate encrypted payment data;
sending the encrypted payment data to the blockchain network to store the encrypted payment data on the blockchain, wherein the encrypted payment data are stored on the blockchain through consensus of blockchain nodes of the blockchain network;
wherein the payment data comprises a payment transaction identifier of a payment document associated with the order; and
the method comprises linking the order data with the payment data, including invoking the smart contract on the blockchain to store the order identifier and the payment transaction identifier in the data structure corresponding to the order, and linking the order identifier with the payment transaction identifier.

### Claim 5 (depends on 1)

The method of claim 1, comprising generating one or more zero-knowledge proofs (ZKPs) related to one or more values associated with the order.

### Claim 6 (depends on 5)

The method of claim 5, comprising, at a blockchain node of the blockchain network, verifying the one or more ZKPs and performing consensus based on the encrypted information after the one or more ZKPs are verified, and storing the encrypted information to the blockchain after the consensus is successfully performed.

### Claim 7 (depends on 1)

The method of claim 1, comprising:
generating a digital signature of the service platform; and
adding the digital signature of the service platform to the encrypted first data to generate digitally signed encrypted first data; and
wherein sending the encrypted first data to the blockchain network comprises sending the digitally signed encrypted first data to the blockchain network to store the digitally signed encrypted first data on the blockchain.

### Claim 8 (depends on 1)

The method of claim 1, wherein the first information comprises mutable data and immutable data;
the method comprises: storing the mutable data in a cache storage dedicated to storing smart contract data for executing a smart contract;
storing the immutable data on a blockchain; and
linking the mutable data and the immutable data based on index data identified by the service platform.

### Claim 9 (depends on 8)

The method of claim 8, wherein the mutable data is associated with a document for custom clearance,
the immutable data is associated with the document and include an encrypted version of at least a portion of content of the document encrypted by an encryption key associated with an owner of the document, and
the index data comprise at least one of (i) an identifier of the document, or (ii) hash values of a plurality of blockchain transactions associated with the document.

### Claim 10

A system, comprising:
one or more computers; and
a non-transitory computer readable medium storing instructions that are executable by the one or more computers and that upon such execution cause the one or more computers to perform operations as a service platform, the operations comprising:
at the service platform, receiving first information related to an order, wherein the first information is be provided to a service authority for requesting clearance for merchandize included in the order;
at the service platform, encrypting at least a portion of the first information to generate encrypted first data; and
sending the encrypted first data to a blockchain network to store the encrypted first data on a blockchain managed by the blockchain network, wherein the encrypted first data are stored on the blockchain through consensus of blockchain nodes of the blockchain network.

### Claim 11 (depends on 10)

The system of claim 10, the operations comprising:
at the service platform, receiving second information related to the order, wherein the second information is to be provided to the service authority for requesting clearance for the merchandize included in the order;
at the service platform, encrypting at least a portion of the second information to generate encrypted second data;
sending the encrypted second data to the blockchain network to store the encrypted second data on the blockchain, wherein the encrypted second data are stored on the blockchain through consensus of blockchain nodes of the blockchain network; and
linking the first data with the second data.

### Claim 12 (depends on 11)

The system of claim 11, wherein:
the first data comprises order data, and the order data comprises an order identifier of an order document associated with the order;
the second data comprises logistics data, and the logistics data comprises a logistics transaction identifier of a logistics document associated with the order; and
linking the first data with the second data comprises invoking a smart contract on the blockchain to store the order identifier and the logistics transaction identifier in a data structure corresponding to the order, and linking the order identifier with the logistics transaction identifier.

### Claim 13 (depends on 12)

The system of claim 12, the operations comprising:
at the service platform, receiving payment data related to the order, wherein the payment data are provided to the service authority for requesting clearance of the merchandize included in the order;
at the service platform, encrypting at least a portion of the payment data to generate encrypted payment data;
sending the encrypted payment data to the blockchain network to store the encrypted payment data on the blockchain, wherein the encrypted payment data are stored on the blockchain through consensus of blockchain nodes of the blockchain network;
wherein the payment data comprises a payment transaction identifier of a payment document associated with the order; and
the operations comprise linking the order data with the payment data, including invoking the smart contract on the blockchain to store the order identifier and the payment transaction identifier in the data structure corresponding to the order, and linking the order identifier with the payment transaction identifier.

### Claim 14 (depends on 10)

The system of claim 10, the operations comprising generating one or more zero-knowledge proofs (ZKPs) related to one or more values associated with the order and providing the ZKP to a blockchain network for verification.

### Claim 15 (depends on 10)

The system of claim 10, the operations comprising:
generating a digital signature of the service platform; and
adding the digital signature of the service platform to the encrypted first data to generate digitally signed encrypted first data; and
wherein sending the encrypted first data to the blockchain network comprises sending the digitally signed encrypted first data to the blockchain network to store the digitally signed encrypted first data on the blockchain.

### Claim 16 (depends on 10)

The system of claim 10, wherein the first information comprises mutable data and immutable data;
the operations further comprise:
storing the mutable data in a cache storage dedicated to storing smart contract data for executing a smart contract;
storing the immutable data on a blockchain; and
linking the mutable data and the immutable data based on index data identified by the service platform.

### Claim 17 (depends on 16)

The system of claim 16, wherein:
the mutable data is associated with a document for custom clearance;
the immutable data is associated with the document and includes an encrypted version of at least a portion of content of the document encrypted by an encryption key associated with an owner of the document; and
the index data comprise at least one of (i) an identifier of the document, or (ii) hash values of a plurality of blockchain transactions associated with the document.

### Claim 18

A non-transitory computer readable medium storing instructions that are executable by the one or more computers and that upon such execution cause the one or more computers to perform operations as a service platform, the operations comprising:
at the service platform, receiving first information related to an order, wherein the first information is be provided to a service authority for requesting clearance for merchandize included in the order;
at the service platform, encrypting at least a portion of the first information to generate encrypted first data; and
sending the encrypted first data to a blockchain network to store the encrypted first data on a blockchain managed by the blockchain network, wherein the encrypted first data are stored on the blockchain through consensus of blockchain nodes of the blockchain network.

### Claim 19 (depends on 18)

The non-transitory computer readable medium of claim 18, the operations comprising:
at the service platform, receiving second information related to the order, wherein the second information is to be provided to the service authority for requesting clearance for the merchandize included in the order;
at the service platform, encrypting at least a portion of the second information to generate encrypted second data;
sending the encrypted second data to the blockchain network to store the encrypted second data on the blockchain, wherein the encrypted second data are stored on the blockchain through consensus of blockchain nodes of the blockchain network; and
linking the first data with the second data.

### Claim 20 (depends on 19)

The non-transitory computer readable medium of claim 19, wherein:
the first data comprises order data, and the order data comprises an order identifier of an order document associated with the order;
the second data comprises logistics data, and the logistics data comprises a logistics transaction identifier of a logistics document associated with the order; and
linking the first data with the second data comprises invoking a smart contract on the blockchain to store the order identifier and the logistics transaction identifier in a data structure corresponding to the order, and linking the order identifier with the logistics transaction identifier.
