# US 2021/0065110 A1 · Method and apparatus for storing information

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

- Number: US 2021/0065110 A1
- Document ID: US20210065110A1
- Status: Published application
- Kind: A1
- Application number: 16/961,523
- Filed: 2019-01-29
- Published: 2021-03-04
- Earliest claimed: 2018-02-11
- Assignees: Beijing Jingdong Shangke Information Technology Co., Ltd.; Beijing Jingdong Century Trading Co., Ltd.
- Applicants: Beijing Jingdong Shangke Information Technology, Co., Ltd.; Beijing Jingdong Century Trading Co., Ltd.
- Inventors: Hongxu Li
- Web page: https://patentgrep.com/patent/US20210065110A1

## CPC

- G06Q 10/0838: {Historical data}
- G06Q 30/018: Certifying business or products
- G06F 9/54: Interprogram communication
- G06F 16/284: {Relational databases}
- G06K 7/10861: {sensing of data fields affixed to objects or articles, e.g. coded labels (postal sorting B07C3/14, conveying articles B65G47/48)}
- G06Q 10/0833: Tracking
- G06Q 10/087: Inventory or stock management, e.g. order filling, procurement or balancing against orders
- G06Q 10/0877: {by inventory control or reporting using inventory tracking or counting}
- G06Q 30/0185: {Product, service or business identity fraud}
- G06Q 30/0201: Market modelling; Market analysis; Collecting market data
- G06Q 50/04: Manufacturing
- H04L 9/3236: {using cryptographic hash functions}
- G06K 2007/10504: {Data fields affixed to objects or articles}
- 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
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06K: GRAPHICAL DATA READING (image or video recognition or understanding G06V); PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method and apparatus for storing information. The method comprises: generating a traceability code of an article, and associating the traceability code of the article with the article (201); collecting circulation information of the article (202); determining a form data item corresponding to the circulation information of the article (203); and according to the traceability code of the article, and a correlation between the form data item corresponding to the circulation information of the article and the circulation information of the article, storing the traceability code of the article, the form data item corresponding to the circulation information of the article and the circulation information of the article (204).

## Claims

### Claim 1

A method for storing information, comprising:
generating a source tracing code of an item, and associating the source tracing code of the item with the item;
collecting flow information of the item;
determining a form data item corresponding to the flow information of the item; and
storing the source tracing code of the item, the form data item corresponding to the flow information of the item, and the flow information of the item according to a corresponding relationship between the source tracing code of the item, the form data item corresponding to the flow information of the item, and the flow information of the item.

### Claim 2 (depends on 1)

The method of claim 1, wherein the generating a source tracing code of an item comprises:
acquiring a producer identification code of a producer of the item;
generating an item identification code of the item; and
combining the producer identification code of the producer of the item with the item identification code of the item to obtain the source tracing code of the item.

### Claim 3 (depends on 1)

The method of claim 1, wherein the flow information comprises at least one of: production information of the item, purchasing information of the item, producer shipment information of the item, warehousing information of the item, order placing information of the item, packing information of the item, logistics information of the item, or sign-in information of the item.

### Claim 4 (depends on 3)

The method of claim 3, wherein the collecting flow information of the item comprises:
collecting the production information of the item by electronic data interchange;
collecting the producer shipment information of the item by inter-process communication;
collecting the purchasing information, the warehousing information, the order placing information, the packing information and the sign-in information of the item by using a message queue message subscription method; and
collecting the logistics information of the item by utilizing an application programming interface docking mode.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the storing the source tracing code of the item, the form data item corresponding to the flow information of the item, and the flow information of the item according to a corresponding relationship between the source tracing code of the item, the form data item corresponding to the flow information of the item, and the flow information of the item comprises:
storing the source tracing code of the item, the form data item corresponding to the flow information of the item, and the flow information of the item in a relational database according to the corresponding relationship between the source tracing code of the item, the form data item corresponding to the flow information of the item, and the flow information of the item;
performing a hash operation on the flow information of the item to obtain a hash value of the flow information of the item; and
storing the hash value of the flow information of the item in a blockchain.

### Claim 6 (depends on 5)

The method of claim 5, wherein the method further comprises:
receiving an acquisition request for the flow information of the item sent by a terminal device, wherein the terminal device transmits the acquisition request by scanning a label carrying the source tracing code of the item;
finding the form data item corresponding to the flow information of the item and the flow information of the item from the relational database;
finding a blockchain transaction identifier corresponding to the hash value of the flow information of the item from the blockchain; and
sending the form data item corresponding to the flow information of the item, the flow information of the item, and the blockchain transaction identifier corresponding to the hash value of the flow information of the item to the terminal device, so that the terminal device displays the form data item corresponding to the flow information of the item, the flow information of the item, and the blockchain transaction identifier corresponding to the hash value of the flow information of the item.

### Claim 7

An apparatus for storing information, comprising:
at least one processor; and
a memory storing instructions, wherein the instructions when executed by the at least one processor, cause the at least one processor to perform operations, the operations comprising:
generating a source tracing code of an item, and associate the source tracing code of the item with the item;
collecting flow information of the item;
determining a form data item corresponding to the flow information of the item; and
storing the source tracing code of the item, the form data item corresponding to the flow information of the item, and the flow information of the item according to a corresponding relationship between the source tracing code of the item, the form data item corresponding to the flow information of the item, and the flow information of the item.

### Claim 8 (depends on 7)

The apparatus of claim 7, wherein the storing the source tracing code of the item, the form data item corresponding to the flow information of the item, and the flow information of the item according to a corresponding relationship between the source tracing code of the item, the form data item corresponding to the flow information of the item, and the flow information of the item comprises:
storing the source tracing code of the item, the form data item corresponding to the flow information of the item, and the corresponding relationship of the flow information of the item in a relational database according to the corresponding relationship between the source tracing code of the item, the form data item corresponding to the flow information of the item, and the flow information of the item;
performing a hash operation on the flow information of the item to obtain a hash value of the flow information of the item; and
storing the hash value of the flow information of the item in a blockchain.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the operations further comprise:
receiving an acquisition request for the flow information of the item sent by a terminal device, wherein the terminal device transmits the acquisition request by scanning a label carrying the source tracing code of the item;
finding the form data item corresponding to the flow information of the item and the flow information of the item from the relational database;
finding a blockchain transaction identifier corresponding to the hash value of the flow information of the item from the blockchain; and
sending the form data item corresponding to the flow information of the item, the flow information of the item, and the blockchain transaction identifier corresponding to the hash value of the flow information of the item to the terminal device, so that the terminal device displays the form data item corresponding to the flow information of the item, the flow information of the item, and the blockchain transaction identifier corresponding to the hash value of the flow information of the item.

### Claim 10

(canceled)

### Claim 11

A non-transitory computer readable storage medium, storing a computer program thereon, wherein the computer program, when executed by a processor, causes the processor to perform operations, the operations comprising:
generating a source tracing code of an item, and associate the source tracing code of the item with the item;
collecting flow information of the item;
determining a form data item corresponding to the flow information of the item; and
storing the source tracing code of the item, the form data item corresponding to the flow information of the item, and the flow information of the item according to a corresponding relationship between the source tracing code of the item, the form data item corresponding to the flow information of the item, and the flow information of the item.

### Claim 12 (depends on 11)

The non-transitory computer readable storage medium of claim 11, wherein the generating a source tracing code of an item comprises:
acquiring a producer identification code of a producer of the item;
generating an item identification code of the item; and
combining the producer identification code of the producer of the item with the item identification code of the item to obtain the source tracing code of the item.

### Claim 13 (depends on 11)

The non-transitory computer readable storage medium of claim 11, wherein the flow information comprises at least one of: production information of the item, purchasing information of the item, producer shipment information of the item, warehousing information of the item, order placing information of the item, packing information of the item, logistics information of the item, or sign-in information of the item.

### Claim 14 (depends on 13)

The non-transitory computer readable storage medium of claim 13, wherein the collecting flow information of the item comprises:
collecting the production information of the item by electronic data interchange;
collecting the producer shipment information of the item by inter-process communication;
collecting the purchasing information, the warehousing information, the order placing information, the packing information and the sign-in information of the item by using a message queue message subscription method; and
collecting the logistics information of the item by utilizing an application programming interface docking mode.

### Claim 15 (depends on 11)

The non-transitory computer readable storage medium of claim 11, wherein the storing the source tracing code of the item, the form data item corresponding to the flow information of the item, and the flow information of the item according to a corresponding relationship between the source tracing code of the item, the form data item corresponding to the flow information of the item, and the flow information of the item comprises:
storing the source tracing code of the item, the form data item corresponding to the flow information of the item, and the flow information of the item in a relational database according to the corresponding relationship between the source tracing code of the item, the form data item corresponding to the flow information of the item, and the flow information of the item;
performing a hash operation on the flow information of the item to obtain a hash value of the flow information of the item; and
storing the hash value of the flow information of the item in a blockchain.

### Claim 16 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the operations further comprise:
receiving an acquisition request for the flow information of the item sent by a terminal device, wherein the terminal device transmits the acquisition request by scanning a label carrying the source tracing code of the item;
finding the form data item corresponding to the flow information of the item and the flow information of the item from the relational database;
finding a blockchain transaction identifier corresponding to the hash value of the flow information of the item from the blockchain; and
sending the form data item corresponding to the flow information of the item, the flow information of the item, and the blockchain transaction identifier corresponding to the hash value of the flow information of the item to the terminal device, so that the terminal device displays the form data item corresponding to the flow information of the item, the flow information of the item, and the blockchain transaction identifier corresponding to the hash value of the flow information of the item.

### Claim 17 (depends on 7)

The apparatus of claim 7, wherein the generating a source tracing code of an item comprises:
acquiring a producer identification code of a producer of the item;
generating an item identification code of the item; and
combining the producer identification code of the producer of the item with the item identification code of the item to obtain the source tracing code of the item.

### Claim 18 (depends on 7)

The apparatus of claim 7, wherein the flow information comprises at least one of: production information of the item, purchasing information of the item, producer shipment information of the item, warehousing information of the item, order placing information of the item, packing information of the item, logistics information of the item, or sign-in information of the item.

### Claim 19 (depends on 18)

The apparatus of claim 18, wherein the collecting flow information of the item comprises:
collecting the production information of the item by electronic data interchange;
collecting the producer shipment information of the item by inter-process communication;
collecting the purchasing information, the warehousing information, the order placing information, the packing information and the sign-in information of the item by using a message queue message subscription method; and
collecting the logistics information of the item by utilizing an application programming interface docking mode.
