# US 2025/0156864 A1 · Method and device for commodity anti-counterfeiting and tracing based on blockchain and elastic compute service

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

- Number: US 2025/0156864 A1
- Document ID: US20250156864A1
- Status: Published application
- Kind: A1
- Application number: 18/506,233
- Filed: 2023-11-10
- Published: 2025-05-15
- Earliest claimed: 2023-11-10
- Inventors: CHAK KIN CHAN
- Web page: https://patentgrep.com/patent/US20250156864A1

## CPC

- G06Q 20/401: {Transaction verification}
- G06Q 20/389: {Keeping log of transactions for guaranteeing non-repudiation of a transaction}
- G06Q 30/018: Certifying business or products
- G06Q 30/0185: {Product, service or business identity fraud}
- G06Q 30/0255: {based on user history}
- G06Q 30/0261: {based on user location}
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- 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

An embodiment of the present application discloses a method and device for commodity anti-counterfeiting and tracing based on a blockchain and an elastic compute service, the method is applied to the elastic compute service with a blockchain module. The method includes: receiving an anti-counterfeiting code of a commodity sent by a terminal; searching commodity information corresponding to the anti-counterfeiting code in the blockchain module; when the commodity information is unavailable in the block module, feeding commodity query failure information back to the terminal and when the commodity information is available, feeding the commodity information back to the terminal, wherein the commodity information includes factory information and a serial number of the commodity. Through the above method, the present application can provide a reliable method for anti-counterfeiting and tracing.

## Claims

### Claim 1

A method for commodity anti-counterfeiting and tracing based on blockchain being applied to an elastic compute service, being characterized in that, a blockchain module is arranged in the elastic compute service, and the method comprises:
receiving an anti-counterfeiting code of a commodity sent by a terminal;
searching a commodity information corresponding to the anti-counterfeiting code in the blockchain module;
when the commodity information corresponding to the anti-counterfeiting code is unavailable in the blockchain module, feeding a commodity query failure information back to the terminal; and
when the commodity information corresponding to the anti-counterfeiting code is available in the blockchain module, feeding the commodity information back to the terminal, wherein the commodity information comprises a factory information and a serial number of the commodity.

### Claim 2 (depends on 1)

The method according to claim 1, being characterized in that, before the step of receiving the anti-counterfeiting code of the commodity sent by the terminal, the method further comprises:
receiving and storing the anti-counterfeiting code of the commodity and a first commodity information corresponding to the anti-counterfeiting code uploaded by the commodity manufacturer into the blockchain module, wherein the first commodity information comprises the factory information and the serial number of the commodity.

### Claim 3 (depends on 2)

The method according to claim 2, being characterized in that, the method further comprises:
receiving and storing the anti-counterfeiting code of the commodity and a second commodity information corresponding to the anti-counterfeiting code uploaded by a commodity distributor into the blockchain module, wherein the second commodity information comprises circulation information of the commodity;
wherein the commodity information fed back to the terminal further comprises the circulation information of the commodity, when the commodity information corresponding to the anti-counterfeiting code is available in the blockchain module.

### Claim 4 (depends on 1)

The method according to claim 1, being characterized in that, after the step of feeding the commodity information back to the terminal, the method further comprises: Receiving a buyer information sent by the terminal and storing the buyer information in the blockchain module, wherein the buyer information comprises a personal information, a location information and a contact information of the buyer.

### Claim 5 (depends on 4)

The method according to claim 4, being characterized in that, the method further comprises:
sending a promotion information related to the commodity to the contact information, according to the personal information and the location information of the buyer information.

### Claim 6 (depends on 1)

The method according to claim 1, being characterized in that, the anti-counterfeiting code is obtained by the terminal through scanning a 2-dimensional bar code on the commodity.

### Claim 7 (depends on 1)

An elastic compute service, being characterized in that, comprising:
at least one processor; and a memory being in communication with the at least one processor, wherein the memory stores a computer program executable by the processor, and the at least one processor implements the method for commodity anti-counterfeiting and tracing according to claim 1 when executing the program.

### Claim 8 (depends on 1)

A nonvolatile computer-readable storage medium, being characterized in that, the computer-readable storage medium storing a computer program, and when the computer program is executed by at least one processor of an elastic compute service, the processor executes the method for commodity anti-counterfeiting and tracing according to claim 1.
