Unlock instant, AI-driven research and patent intelligence for your innovation.

Methods and devices for encoding and decoding two-dimension code and terminal

A coding method and two-dimensional code technology, which is applied to record carriers used in machines, instruments, induction record carriers, etc., can solve problems such as limited capacity of two-dimensional codes

Active Publication Date: 2013-08-28
HUAWEI TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The capacity of QR codes in the prior art is limited

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Methods and devices for encoding and decoding two-dimension code and terminal
  • Methods and devices for encoding and decoding two-dimension code and terminal
  • Methods and devices for encoding and decoding two-dimension code and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] Embodiment 1 of the present invention provides a two-dimensional code encoding method, such as figure 1 shown, including:

[0044] 101. Obtain the data to be encoded;

[0045] 102. Determine whether the data size exceeds the capacity of a two-dimensional code after being encoded by the two-dimensional code, if "no", turn to "103", and if "yes", turn to "104";

[0046] The encoded QR code includes splicing area and information data area. Since the encoding method is determined, the size of the added area after encoding, such as the splicing character area, can be determined. Then the size of the data after encoding the QR code can be calculated in advance. Each 2D The coding capacity that the code can carry = the size of the splicing area + the size of the information data area, that is, for a set of two-dimensional codes generated by encoding, each two-dimensional code satisfies: the size of the information data area = each two-dimensional code The information encodin...

Embodiment 2

[0081] Embodiment 2 of the present invention provides a two-dimensional code encoding method, such as Figure 5 shown, including:

[0082] 501. Obtain data to be encoded;

[0083] 502. Determine whether the size of the encoded data exceeds the capacity of a two-dimensional code, if "No", turn to "503", and if "Yes", turn to "504";

[0084] The encoded QR code includes splicing area and information data area. Since the encoding method is determined, the size of the added area after encoding, such as the splicing character area, can be determined. Then the size of the data after encoding the QR code can be calculated in advance. Each 2D The coding capacity that the code can carry = the size of the splicing area + the size of the information data area, that is, for a set of two-dimensional codes generated by encoding, each two-dimensional code satisfies: the size of the information data area = each two-dimensional code The information encoding capacity that can be carried - the...

Embodiment 3

[0127] Embodiment 3 of the present invention provides a two-dimensional code encoding method, such as Figure 9 shown, including:

[0128] The following is a flow example of the two-dimensional code generation method of the present invention:

[0129] 901. Obtain the data to be encoded;

[0130] 902. Determine whether the size of the data exceeds the capacity of a two-dimensional code after being encoded by the two-dimensional code. If "No", turn to "903", and if "Yes", turn to "904";

[0131] The encoded QR code includes splicing area and information data area. Since the encoding method is determined, the size of the added area after encoding, such as the splicing character area, can be determined. Then the size of the data after encoding the QR code can be calculated in advance. Each 2D The coding capacity that the code can carry = the size of the splicing area + the size of the information data area, that is, for a set of two-dimensional codes generated by encoding, each ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention relates to two-dimensional barcode technologies and provide a method, apparatus, and terminal for encoding and decoding two-dimensional barcodes to extend the upper-layer application scope supported by the two-dimensional barcodes and break through the capacity bottleneck of the two-dimensional barcodes. The method for generating two-dimensional barcodes includes: obtaining upper-layer application data; and encoding the upper-layer application data into two-dimensional barcodes. The two-dimensional barcodes include a splicer area and an information data area. Through the splicer area in the two-dimensional barcodes, the capacity of the upper-layer application data supported by the two-dimensional barcodes is extended.

Description

technical field [0001] The invention relates to communication technology and computer technology, in particular to two-dimensional code technology. Background technique [0002] With the development of modern high-tech, it is urgent to use bar codes to express more information in a limited geometric space, so as to meet the needs of ever-changing information. Two-dimensional barcodes were born to solve the problems that one-dimensional barcodes could not solve. ) distribution of black and white graphics to record data symbol information; cleverly use the concept of "0" and "1" bit streams that form the internal logic basis of the computer in the coding, and use several geometric shapes corresponding to binary to represent Text value information is automatically read by image input equipment or photoelectric scanning equipment to realize automatic information processing: it has some common features of barcode technology: each code system has its specific character set; each ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06K19/06G06K7/00
CPCG06K19/06037
Inventor 王雷杨健范姝男董挺陈国乔张惠萍
Owner HUAWEI TECH CO LTD