IP Library Granted Patent US 11,003,879
Granted Patent B2
US 11,003,879 · App. 16/915,658 · Granted May 11, 2021

Two-dimensional code generation and processing

Inventors: Xi Sun (Hangzhou, CN); Hongwei Luo (Hangzhou, CN)
Assignee: Advanced New Technologies Co., Ltd.
G06K7/1417G06K19/06037
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,003,879
App. No.
16/915,658
Granted
May 11, 2021
Kind
B2
Abstract

Techniques for generating and processing two-dimensional barcodes are described. One example method includes identifying original content to be encoded in a two-dimensional (2D) barcode structure; and generating a 2D barcode associated with the original content based on at least the 2D barcode structure and the original content, wherein the 2D barcode structure includes at least an identification field and a data field, and the identification field indicates one or more data elements in the data field.

Claims (42)

1. A computer-implemented method, comprising:

identifying original content to be encoded in a two-dimensional (2D) barcode structure, wherein the 2D barcode structure includes at least an identification field and a data field, the identification field indicating a presence or absence of one or more data elements in the data field, and the identification field including one or more bits as a bitmap field, wherein each bit in the bitmap field corresponds to a specific data element in the data field, wherein a particular bit of the one or more bits in the bitmap field having a first value indicates a presence of a corresponding data element of the one or more data elements in the data field, and the particular bit having a second value, different from the first value, indicates an absence of the corresponding data element in the data field, wherein the data field is adjacent to the bitmap field in the 2D barcode structure, and wherein each data element in the data field includes a length of the particular data element and a value; and

generating a 2D barcode associated with the original content based on at least the 2D barcode structure and the original content.

2. The computer-implemented method of claim 1 , wherein at least one of:

the identification field indicates the presence of the one or more data elements in the data field;

the identification field indicates corresponding service definitions of the one or more data elements in the data field;

the identification field indicates corresponding locations of the one or more data elements in the data field; and

the identification field indicates a matching relationship between one or more service scenarios and the one or more data elements in the data field.

3. The computer-implemented method of claim 1 , wherein the identification field includes a definition field to define the bitmap field, and the 2D barcode structure further includes at least one of a header field indicating a developer of the 2D barcode structure, a version filed indicating a version of the 2D barcode structure, and a verification field used to perform content verification.

4. The computer-implemented method of claim 1 , further comprising:

scanning the generated 2D barcode;

obtaining a character string represented by the scanned 2D barcode;

parsing the character string based on the 2D barcode structure to obtain one or more data elements that match a current service scenario; and

executing a service in the current service scenario based on the obtained one or more data elements.

5. The computer-implemented method of claim 1 , wherein the 2D barcode is a Quick Response (QR) code.

6. A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:

identifying original content to be encoded in a two-dimensional (2D) barcode structure, wherein the 2D barcode structure includes at least an identification field and a data field, the identification field indicating a presence or absence of one or more data elements in the data field, and the identification field including one or more bits as a bitmap field, wherein each bit in the bitmap field corresponds to a specific data element in the data field, wherein a particular bit of the one or more bits in the bitmap field having a first value indicates a presence of a corresponding data element of the one or more data elements in the data field, and the particular bit having a second value, different from the first value, indicates an absence of the corresponding data element in the data field, wherein the data field is adjacent to the bitmap field in the 2D barcode structure, and wherein each data element in the data field includes a length of the particular data element and a value; and

generating a 2D barcode associated with the original content based on at least the 2D barcode structure and the original content.

7. The non-transitory, computer-readable medium of claim 6 , wherein at least one of:

the identification field indicates the presence of the one or more data elements in the data field;

the identification field indicates corresponding service definitions of the one or more data elements in the data field;

the identification field indicates corresponding locations of the one or more data elements in the data field; and

the identification field indicates a matching relationship between one or more service scenarios and the one or more data elements in the data field.

8. The non-transitory, computer-readable medium of claim 6 , wherein the identification field includes a definition field to define the bitmap field, and the 2D barcode structure further includes at least one of a header field indicating a developer of the 2D barcode structure, a version filed indicating a version of the 2D barcode structure, and a verification field used to perform content verification.

9. The non-transitory, computer-readable medium of claim 6 , the operations further comprising:

scanning the generated 2D barcode;

obtaining a character string represented by the scanned 2D barcode;

parsing the character string based on the 2D barcode structure to obtain one or more data elements that match a current service scenario; and

executing a service in the current service scenario based on the obtained one or more data elements.

10. The non-transitory, computer-readable medium of claim 6 , wherein the 2D barcode is a Quick Response (QR) code.

11. A computer-implemented system, comprising:

one or more computers; and

one or more computer memory devices interoperably coupled with the one or more computers and having tangible, non-transitory, machine-readable media storing one or more instructions that, when executed by the one or more computers, cause the one or more computers to perform one or more operations comprising:

identifying original content to be encoded in a two-dimensional (2D) barcode structure, wherein the 2D barcode structure includes at least an identification field and a data field, the identification field indicating a presence or absence of one or more data elements in the data field, and the identification field including one or more bits as a bitmap field, wherein each bit in the bitmap field corresponds to a specific data element in the data field, wherein a particular bit of the one or more bits in the bitmap field having a first value indicates a presence of a corresponding data element of the one or more data elements in the data field, and the particular bit having a second value, different from the first value, indicates an absence of the corresponding data element in the data field, wherein the data field is adjacent to the bitmap field in the 2D barcode structure, and wherein each data element in the data field includes a length of the particular data element and a value; and

generating a 2D barcode associated with the original content based on at least the 2D barcode structure and the original content.

12. The computer-implemented system of claim 11 , wherein at least one of:

the identification field indicates the presence of the one or more data elements in the data field;

the identification field indicates corresponding service definitions of the one or more data elements in the data field;

the identification field indicates corresponding locations of the one or more data elements in the data field; and

the identification field indicates a matching relationship between one or more service scenarios and the one or more data elements in the data field.

13. The computer-implemented system of claim 11 , wherein the identification field includes a definition field to define the bitmap field, and the 2D barcode structure further includes at least one of a header field indicating a developer of the 2D barcode structure, a version filed indicating a version of the 2D barcode structure, and a verification field used to perform content verification.

14. The computer-implemented system of claim 11 , wherein the 2D barcode is a Quick Response (QR) code.

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 Aug 11, 2020
From: SUN, XI; LUO, HONGWEI
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 053463/0469 →