| Standard ID | Contents [version] | USD | STEP2 | [PDF] delivered in | Standard Title (Description) | Status | PDF |
| CY/T 58.1-2009 | English | 519 |
Add to Cart
|
3 days [Need to translate]
|
MPR publication. Part 1: Symbology specification of MPR code
| Obsolete |
CY/T 58.1-2009
|
PDF similar to CYT58.1-2009
Basic data | Standard ID | CY/T 58.1-2009 (CY/T58.1-2009) | | Description (Translated English) | MPR publication. Part 1: Symbology specification of MPR code | | Sector / Industry | Press & Publication Industry Standard (Recommended) | | Classification of Chinese Standard | A14 | | Classification of International Standard | 01.140.40 | | Word Count Estimation | 13,175 | | Date of Issue | 2009-04-10 | | Date of Implementation | 2009-04-10 | | Quoted Standard | GB/T 1988-1998; GB/T 12905-2000 | | Regulation (derived from) | 2009 No.6 (Total No.114) China Industry Standard Filing Announcement | | Issuing agency(ies) | State Press and Publication Administration | | Summary | This standard specifies the code symbol structure MPR MPR publications used, data coding and symbol generation method and symbolic quality ratings. This section applies to code generation and recognition symbol MPR. |
CYT58.1-2009: MPR publication. Part 1: Symbology specification of MPR code---This is a DRAFT version for illustration, not a final translation. Full copy of true-PDF in English version (including equations, symbols, images, flow-chart, tables, and figures etc.) will be manually/carefully translated upon your order.
MPR publication.Part 1. Symbology specification of MPR code
ICS 01.140.40
A14
Record number. 26103-2009
People's Republic of China Press and Publication Industry Standard
CY/T 58.1-2009
MPR publication
Part 1. MPR code symbol specification
Released on.2009-04-10
2009-04-10 implementation
Press and Publication Administration of the People's Republic of China
Content
Foreword III
1 Scope 1
2 Normative references 1
3 Terms and Definitions 1
4 Convention 2
5 symbol structure 2
6 data coding and symbol generation 4
7 MPR code quality 4
Appendix A (informative) Reference decoding method 7
Reference 9
CY/T 58.1-2009
Foreword
CY/T 58 "MPR Publications" aims to define and standardize the symbol structure, coding rules, publication production, printing, quality of MPR codes.
Inspection and coding management, etc. This standard currently includes the following sections.
--- Part 1. MPR code symbol specification;
--- Part 2. MPR code encoding rules;
--- Part 3. General production specifications;
--- Part 4. MPR code printing quality requirements and test methods;
--- Part 5. Basic management practices.
This part is the first part of CY/T 58.
The issuing body of this section draws attention to the fact that when the statement conforms to this section, the symbolic structure related to Chapter 5 of this part may be used.
Appendix A of this part refers to the related patents related to symbolic graphics, codeword layout and decoding algorithms.
The issuing organization in this section does not give any opinion on the scope, validity and verification of patents.
The patent holder has assured the issuing authority of this standard that he is willing to work with any applicant on reasonable and non-discriminatory terms and conditions.
Negotiate with an authorized license. In this regard, the patent holder's statement has been filed with the issuing body of this standard. Relevant information can
Obtained from the following units.
Shenzhen Tianlang Times Technology Co., Ltd.
Please note that in addition to the patents identified above, some of the contents of this standard may involve patents. The issuing body of this standard should not
Responsible for identifying these patents.
Appendix A in this section is an informative annex.
This part is proposed by the General Administration of Press and Publication of the People's Republic of China
This part is under the jurisdiction of the Technical Committee of the National Information and Document Standardization Technical Committee.
This section is mainly drafted by. China Publishing Science Institute, Shenzhen Tianlang Times Technology Co., Ltd.
The main drafters of this section. Lu Yingfeng, Cai Xun, Liu Yingli, Liu Yuzhu, Chen Lei.
CY/T 58.1-2009
MPR publication
Part 1. MPR code symbol specification
1 Scope
This part of CY/T 58 specifies the symbol structure, data encoding and symbol generation methods of the MPR codes used in MPR publications.
Symbol quality rating.
This section applies to the generation and recognition of MPR code symbols.
2 Normative references
The terms in the following documents become the provisions of this section by reference to this part of CY/T 58. For dated references,
All subsequent amendments (not including errata content) or revisions do not apply to this section, however, an agreement is reached under this section.
The parties are studying whether the latest version of these documents can be used. For undated references, the latest edition applies to this section.
GB/T 1988-1998 Seven-digit coded character set for information technology information exchange (eqv ISO /IEC 646.1991)
GB/T 12905-2000 Bar code terminology
3 Terms and definitions
The following terms and definitions established in GB/T 12905-2000 apply to this section.
3.1
A MPR code that associates digital media files such as audio and video with printed graphics to meet the reader's needs for reading and listening, by MPR
It is composed of printed matter such as newspapers and periodicals, and digital media files such as audio and video.
3.2
The matrix type 2D barcode is used as a structure to associate digital media files such as audio and video related to printed graphics, so that the reader can read the same
The digital encoding of the relevant electronic media content can be simultaneously listened to or viewed by the electronic device.
3.3
A bar marking the start and end position in the MPR code symbol. The shape of the anchor point is a circle or a regular polygon.
3.4
A bar representing valid data information in the MPR code symbol. The shape of the code point is a circle or a regular polygon.
3.5
The ratio of the maximum length in the horizontal or vertical direction of the code point to the center-to-center spacing of adjacent code points.
3.6
A parameter used to represent the size of a code point or anchor point in an MPR code symbol. It is in the horizontal or vertical direction and is located inside the module.
The longest line segment length of the center point of the module graphic.
CY/T 58.1-2009
3.7
In order to equalize the distribution of the dark and light modules in the symbol and reduce the occurrence of graphical patterns that interfere with image recognition, in the coding region
The domain is XORed with the pattern of the coded area using the mask pattern mode.
4 agreement
This section uses numbers starting with 0x to represent hexadecimal numbers.
This part uses 1 byte (8 bits) as the bit length width of the code word, W for the code word, W1 for the first code word, and W for the first code word.
A code word.
This section uses |犪| to represent the absolute value of the number 。.
5 symbol structure
The MPR code symbol is a matrix two-dimensional bar code with independent positioning and automatic identification.
5.1 Basic Features
5.1.1 Encoded character data types
The encoded character data type is the number in GB/T 1988-1998.
5.1.2 Symbol structure diagram
The symbol structure of the MPR code is shown in Figure 1.
Figure 1 MPR code symbol structure diagram
The symbol of the MPR code consists of 96 code points or spaces uniformly arranged and 4 positioning points. The module size of the positioning point should be the code point module.
2 times the size.
The side length duty ratio of the MPR code symbol is 1.3.
The length of the code side of the MPR code symbol should be 1.63 mm, and the average side length of the MPR code symbol after the connection should be 1.52 mm.
The nominal value of the code point module size is recommended to be 0.05mm.
The module size of the printed MPR code symbol code point allows a maximum value of 0.08 mm and a minimum value of 0.04 mm.
5.1.3 Data representation method
The code point represents a binary number of 1, and the null represents a binary number of zero. The symbol of the MPR code can represent a 96-bit binary number, corresponding to 12 8-bit two
Digital number. Among the 12 code words, W1 to W7 are valid data codes of the MPR code, and W8 to W12 are error correction code words of the MPR code.
5.1.4 Mask
The mask diagram of the MPR code symbol is shown in Figure 2.
CY/T 58.1-2009
Figure 2 Mask diagram of the MPR code symbol
The MPR code symbol uses a mask diagram as shown in Figure 2 (with dark dots for 1, no dark dots for 0) for 96-bit binary numbers in each
XOR processing at the same location.
5.1.5 Codeword layout
The 96-bit binary number corresponding to the MPR code symbol constitutes 12 code words according to the code word layout of Table 1.
Table 1 Codeword layout of MPR code symbols
The coordinates (狓, 狔) of the codeword sequence number word in the symbol are arranged from high to low (bit7 to bit0).
1 (1,0),(2,0),(0,1),(1,1),(2,1),(0,2),(1,2),(2,2)
2 (3,0),(4,0),(5,0),(6,0),(3,1),(4,1),(5,1),(6,1)
3 (7,0),(8,0),(7,1),(8,1),(9,1),(7,2),(8,2),(9,2)
4 (3,2), (4,2), (2,3), (3,3), (4,3), (2,4), (3,4), (4,4)
5 (5,2),(6,2),(5,3),(6,3),(7,3),(5,4),(6,4),(7,4)
6 (0,3),(1,3),(0,4),(1,4),(0,5),(1,5),(0,6),(1,6)
7 (8,3),(9,3),(8,4),(9,4),(8,5),(9,5),(8,6),(9,6)
8 (2,5), (3,5), (4,5), (2,6), (3,6), (4,6), (3,7), (4,7)
9 (5,5),(6,5),(7,5),(5,6),(6,6),(7,6),(5,7),(6,7)
10 (0,7),(1,7),(2,7),(0,8),(1,8),(2,8),(1,9),(2,9)
11 (3,8),(4,8),(5,8),(6,8),(3,9),(4,9),(5,9),(6,9)
12 (7,7), (8,7),(9,7),(7,8),(8,8),(9,8),(7,9),(8,9)
5.1.6 Encoding capacity
The MPR code does not need to perform multi-character set encoding processing, and the encoded character data can be directly converted into binary data for graphic encoding, 7
The effective coded character data codeword has a total of 56 binary bits, and the capacity of the MPR code is 256=72057594037927936 (data representation
Range. 0 to 72057594037927935).
5.1.7 Error Correction Method
The MPR code uses the Reed-Solomon error correction (referred to as RS error correction) algorithm of the Galois field GF (256), and the bit length of the codeword is 8 bits.
The MPR code uses a 5-byte error correction code and 7-byte encoded character data. It can correct 2-byte errors and can detect 3-byte errors.
error. The generator polynomial of the RS error correction code is 狓5-犪235狓4+犪207狓3-犪210狓2+犪244狓-犪15.
5.2 Symbol Map
The MPR code symbol illustration is shown, for example, in FIG.
CY/T 58.1-2009
Figure 3 MPR code symbol diagram example
5.3 Symbolic Link
The symbols of the plurality of MPR codes are arranged together, and the positioning points of the adjacent symbols are shared to form a large-area tile arrangement, and the arrangement is called
Symbolic link. A symbolic connection diagram of the MPR code is shown, for example, in FIG.
Figure 4 Example of symbolic link graph of MPR code
6 data coding and symbol generation
The steps for data encoding and generating MPR code symbols are as follows.
a) Enter the digitally encoded data and split the data into a 7-byte sequence of bytes. For example, enter the information code data as
0x123456789ABCDE, the divided byte sequence is 0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE.
b) Performing an RS error correction coding operation on the 7-byte sequence to generate a 5-byte error correction code word.
c) splicing the error correction code words in sequence after the sequence of 7-byte information code words to form a code word sequence of 12-byte MPR code symbols.
d) generate a basic bitmap according to 12 code words, according to the data representation method of 5.1.3 and the code word layout of the table 1 MPR code symbol,
The 96-bit stream of 12 code words corresponds to generate a basic bitmap.
e) Mask. Perform XOR operation on the basic bitmap with the mask diagram shown in Figure 2. The result is 1 in the output bitmap.
Place a code point (ie, a bar) at the location, otherwise the bit will be free of code points (ie, empty).
f) Finally, add the anchor points to the four corners of the output bitmap.
7 MPR code quality
7.1 Symbol Quality Rating
Obtain a high-resolution grayscale image of an MPR code symbol under given illumination and observation conditions, and then translate the stored image
Parameters such as code, symbol contrast, printing increment, and axial inconsistency are analyzed to determine the symbol quality level for evaluating the MPR code symbol.
The quality of the print. The quality classification of the symbols is shown in Table 2.
CY/T 58.1-2009
Table 2 Quality classification of symbols
Grade decoding symbol contrast printing incremental axial inconsistency quality determination
4.0(A) Success >70% -0.50≤D'≤0.50 AN≤0.06
3.0(B) - 70% ≥ SC > 55% -0.70 ≤ D' ≤ 0.70 AN ≤ 0.08
2.0(C) - 55%≥SC >40% -0.85≤D'≤0.85 AN≤0.10
1.0(D) - 40%≥SC >20% -1.00≤D'≤1.00 AN≤0.12
qualified
0.0(E) failure ≤20%
D'< -1.00
Or D' >1.00
AN >0.12 failed
The determination of the quality level of the entire symbol is the lowest level that can be achieved by each of the above parameters.
7.2 Evaluation of symbol parameters
7.2.1 Decoding
Decode according to the method in Appendix A. When the decoding is successful, the decoding level is "4.0", otherwise it is "0.0".
7.2.2 Symbol Contrast
In the test grayscale image, the grayscale distribution of the pixel values in the symbol region of the MPR code is counted, and the darkest 10% and the brightest pixel in the pixel are selected.
10%, calculate the arithmetic mean of the darkest 10% reflectance and the arithmetic mean of the brightest 10% reflectance, the difference between the two averages
It is the symbol contrast SC.
The symbol contrast level is determined as follows.
SC >70% 4.0(A)
70% ≥ SC > 55% 3.0 (B)
55% ≥ SC > 40% 2.0 (C)
40% ≥ SC > 20% 1.0 (D)
SC≤20% 0.0 (E is not qualified)
The symbol contrast parameter is used to measure whether the reflection state of the dark and light modules in the symbol is always sufficient throughout the symbol.
difference.
7.2.3 Print increment
Calculate the median value of the 10% bright and dark gray-scale arithmetic mean according to 7.2.2, and use the result as a threshold to apply to the gray-scale image to generate a binary value.
image.
The printing increment is the extent to which the edge of the dark module in the symbol encroaches on the light-colored module area due to ink diffusion, or the light-colored module encroaches to the depth.
The degree of the color module area, when the MPR code symbol is printed by the bottoming method, the printing increment is affecting the grayscale vision of the MPR code matrix image.
An important indicator of effectiveness. Calculate the target parameters with the module size of the code point as a reference, and calculate the module dimensions in both the horizontal and vertical directions.
Level of the two, the lower level of the two is used as the printing increment level of the code point; the printing increment level of the MPR code symbol is the composition of the symbol
All code points are printed at the lowest level of the incremental level. The nominal size of the code point module is DNOM, and the maximum allowable value is DMAX.
The small value is DMIN. Normalize the measured value D to its nominal and limit values.
If D >DNOM D'=(D-DNOM)/(DMAX-DMIN)
Otherwise D'=(D-DNOM)/(DNOM-DMIN)
The grade of the printed increment is determined as follows.
-0.50 ≤ D' ≤ 0.50 4.0 (A)
-0.70 ≤ D' ≤ 0.70 3.0 (B)
-0.85≤D'≤0.85 2.0(C)
-1.00≤D'≤1.00 1.0(D)
D'< -1.00 or D'>1.00 0.0 (E is unqualified)
CY/T 58.1-2009
7.2.4 Axial inconsistency
The MPR code symbol contains a data area consisting of code points whose center points are in a grid of regular polygons, and the decoding method must
Map the central location of these modules to get the data. Axial inconsistency refers to the distance to the center of the image, ie the water at the sampling point in the grid
Measurement and grading of the spacing in the flat and vertical axes. For each code point in the symbol, take its center point and then horizontally and vertically
The average values XAVG and YAVG of the distance between the center points of the code points on the adjacent code point bits are respectively counted in the Y direction, and the axial inconsistency parameters are as follows.
AN=|(XAVG-YAVG)/[(XAVG+YAVG)/2]|
Determination of the level of axial inconsistency.
When AN≤0.06 4.0(A)
When AN≤0.08 3.0(B)
When AN≤0.10 2.0(C)
When AN≤0.12 1.0(D)
When AN >0.12 0.0(E)
CY/T 58.1-2009
Appendix A
(informative appendix)
Reference decoding method
A. 1 MPR code decoding process
The decoding process of the MPR code is shown in Figure A. 1.
Figure A. 1 MPR code decoding flow chart
Note. Figure A. The same group mentioned in 1 means that it is in the same MPR code pattern.
A. 2 Find the same group of anchor points
Judgment basis. 4 sets of anchor points form a square. Methods as below.
a) First find the most central positioning point A1;
b) Find a positioning point A2 closest to A1;
CY/T 58.1-2009
c) Find the next anchor point A3, satisfying the line segment A3A2 perpendicular to the line segment A2A1 and their lengths are equal;
d) Find the next anchor point A4, satisfy the line segment A4A3 perpendicular to the line segment A3A2 and their lengths are equal, and the line segment A4A3 hangs
Straight to line A4A1 and they are equal in length.
Note. Equivalent length means equal within the error tolerance, vertical also means vertical within the error tolerance.
A. 3 Find the code points in the same group of anchor points
Judgment basis. The code point is located in a square formed by four positioning points of the same group.
A. 4 Get 12 code words of the MPR code according to the set of positioning points and code points
a) Find the closest anchor point A1 from the center of the image;
b) Find the closest anchor point A2 to A1;
c) Find the anchor point A3 farthest from A1, and the remaining one is named A4;
d) order D=A/10
Where A is the distance between A1 and A2;
e) Establish a relative position with A1 as the origin, A1 to A2 as the X direction, A1 to A4 as the Y direction, and D as the d
Mark the line, and then move the origin of the coordinate system to the X direction and the Y direction by D/2;
f) calculating the relative coordinates of each code point;
g) obtaining 12 code words from the relative coordinates of each code point against the code word layout of the MPR code;
h) XOR processing the 12 code words with the mask pattern of the MPR code.
A. 5 RS decoding the 12 code words to obtain the information code of the MPR code
The 12 code words are subjected to RS decoding operation, and the code words 1 to 7 are information codes of the MPR code.
Note. If the decoding fails, you can take step A. 4f) The relative coordinates of the obtained code points are rotated by 90° and the following steps are continued.
CY/T 58.1-2009
references
[1] SJ/T 11349-2006 2D Barcode Grid Matrix Code
[2] SJ/T 11350-2006 2D Barcode Compact Matrix Code
[3] GB/T 18284-2000 Fast Response Matrix Code (neq ISO /IEC 18004.2000)
CY/T 58.1-2009
|