Point-reading code, decoding method and decoding device thereof, and electronic equipment

By using honeycomb-shaped regular hexagonal functional units and rotation scanning technology in image indicators, the problem of square design not being able to effectively utilize space and low fault tolerance is solved, and higher data storage and fault tolerance are achieved.

CN119006768APending Publication Date: 2024-11-22ZGL
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411021251.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-08
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

In the prior art, image indicators based on square design cannot maximize the utilization of spatial location, resulting in the problems of small data volume and low system fault tolerance.

Method used

Using honeycomb-shaped image index, by using regular hexagonal functional units in the virtual coding grid, each functional unit includes a positioning area and an information area. The positioning area is used to obtain the center position and direction information of the functional unit, and the information area is used to store data. and obtain encoded information through rotation scanning to increase data volume and fault tolerance.

Benefits of technology

It improves data storage volume and system fault tolerance, and achieves more effective space utilization and information transmission capacity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119006768A_ABST
    Figure CN119006768A_ABST
Patent Text Reader

Abstract

The invention discloses a point-reading code, a decoding method and device thereof and electronic equipment, and relates to the technical field of point-reading codes. The point-reading code comprises a plurality of function units, each function unit comprises a positioning area used for indicating the orientation of the function unit and an information area used for storing data information, the information area is located outside the positioning area, the positioning area and the information area comprise a plurality of information units in the shape of a regular triangle, and the information units are used for storing the data information. Each information unit comprises at most one information point, acquiring the central position and direction information of the corresponding functional unit through the positioning area, and acquiring the coding information of the corresponding functional unit through the central position and the direction information. According to the point reading code, the storage data volume can be increased, and meanwhile the fault tolerance of the system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] The present invention is a divisional application of an application with an application date of June 8, 2023, application number 202310672326.8, and name “A honeycomb image indicator, its decoding method, device and equipment”. Technical Field

[0002] The present invention relates to the technical field of image recognition, and in particular to a point-reading code and a decoding method, a decoding device and an electronic device thereof. Background Art

[0003] As time and technology progress, the demand for multimedia-based education is growing, and image indicators have a wide range of uses in the field of audio books. Typically, image indicators are formed by selectively filling micro-image units within a virtual coding grid, where the filled micro-image units can be used to store information.

[0004] In the prior art, such as Figure 1a and Figure 1b As shown, the virtual coding grid of the image indicator is based on a square design. Different data information is represented according to the position and / or number of the micro-image units in the virtual coding grid. The square design cannot maximize the use of spatial position. The square has the characteristics of equilateral and equiangular. Although the equilateral and equiangular characteristics make the square beautiful and symmetrical in some cases, it also limits its flexibility in the use of space and cannot make full use of the space. Summary of the invention

[0005] The present invention provides a point-reading code and a decoding method, a decoding device and an electronic device thereof, which are used to solve the technical problems of the prior art that the point-reading code has a small amount of data and a low system fault tolerance.

[0006] In a first aspect, the present invention provides a point-read code, the point-read code comprising: a plurality of functional units, each of the functional units comprising a positioning area for indicating the orientation of the functional unit and an information area for storing data information, the information area being located outside the positioning area, the positioning area and the information area comprising a plurality of information units in the shape of regular triangles, each information unit comprising at most one information point, the center position and direction information of the corresponding functional unit being obtained through the positioning area, and the coding information of the corresponding functional unit being obtained through the center position and the direction information.

[0007] Preferably, the positioning area includes multiple positioning points and at least one direction point, wherein the positioning point is used to indicate the center of the functional unit, multiple positioning points are located on a first straight line, the spacing between adjacent positioning points is the same and is smaller than the spacing between information points in adjacent information units in the information area, and the direction point is used to indicate the direction of the functional unit.

[0008] Preferably, the functional unit is in a regular hexagon, the positioning area includes three positioning points, the three positioning points are located in the same straight line, wherein the positioning point is located at the center of the functional unit, the spacing between adjacent positioning points is the same and is less than a preset distance, and when there is an information point in the information unit of the information area, the information point is located at the geometric center of the information unit, assuming that the side length of the information unit is 1, then the spacing between information points in adjacent information units in the information area is The distance between adjacent positioning points is less than When identifying the positioning area, the positioning point information is enhanced by the shortest distance determination and providing two adjacent distance points of the same distance. Moreover, when the information point is located at the geometric center of the information unit, the minimum vertical distance of the information point in the information area is In extreme cases, the error range of straight line determination is increased to Unit length.

[0009] Preferably, when decoding, the point reading code obtains the center position and direction according to the positioning area of ​​the functional unit, and establishes a corresponding polar coordinate system. When performing rotation scanning, when it is determined that an information point exists in an information unit, the polar coordinates of the information point are obtained, and compared and calculated with the polar coordinates of the geometric center of this information unit. The offset of the information point is obtained through the polar coordinates of the two, and the encoding information of this information unit is obtained.

[0010] Preferably, the positioning area further includes auxiliary points, and the auxiliary points are used to classify the information carried by the information points in the information area, and different auxiliary points are used to classify the code points of the information points in the information area.

[0011] Preferably, the information points in the information area include a first information point carrying target information and a second information point storing redundant information, the redundant information is used to automatically detect and correct errors in the target information, the redundant information can be generated based on a cyclic redundancy check, and the generation method of the redundant information is determined based on the number of information units in the information area.

[0012] In a second aspect, the present invention further provides a method for decoding a point reading code based on any one of the above point reading codes, the method comprising:

[0013] S1. Acquire location information of a functional unit according to a positioning area, wherein the location information includes a center position and a direction of the functional unit;

[0014] S2, taking the central position as the rotation center and the functional unit direction as the starting point, rotating and scanning the information unit of each information area with a preset radius to obtain the coded information of each information unit;

[0015] S3. Obtain the encoding information of the functional unit according to the encoding information of each information unit.

[0016] Preferably, the S2 further comprises:

[0017] First, determine the starting point and direction of rotation, the starting point is the direction of the functional unit, and determine the radius range of the scan from the center of the functional unit according to the preset radius, wherein the preset radius determines the range and distance of the rotation scan, and the preset radius can be determined according to the size of the functional unit, only one layer of information area is included outside the positioning area, and the positioning area includes two layers of information areas. When the functional unit is rotationally scanned, the selected length range of the preset radius includes all information points in the first layer of information area and does not include information points of adjacent functional units; after rotating with a virtual radius of the length range, record the angle of each intersection with the information code starting from the direction point, and then the information code can be judged according to the specific angle; the second step is to select a virtual radius with a length range that includes all second information points and will not be interfered by information points in other adjacent information code areas, rotate in the same way, and record the angle information of the intersection, so as to obtain the coding information of each information unit; wherein the first layer of information code is determined starting from the direction point, and then the second layer of information code is judged, and then the two layers of information code can be combined.

[0018] In a third aspect, the present invention also provides a decoding device, comprising at least one processor and a memory for communicating with the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the point reading code decoding method described above.

[0019] In a fourth aspect, the present invention further provides an electronic device, comprising the decoding device described above.

[0020] In summary, the beneficial effects of the present invention are as follows:

[0021] The point reading code and its decoding method, decoding device, and electronic device provided by the present invention are provided with a plurality of functional units, each of which includes a positioning area for indicating the orientation of the functional unit and an information area for storing data information, the information area is located outside the positioning area, the positioning area and the information area include a plurality of information units, each of the information units of the information area includes at most one information point, when an information point exists in the information unit of the information area, the information point is located at the geometric center of the information unit, which can increase the amount of stored data and improve the fault tolerance of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the following briefly introduces the drawings required for use in the embodiment of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0023] Figure 1a It is a code point diagram in which the virtual coding grid is a square in the background technology of the present invention.

[0024] Figure 1b It is another code point diagram in which the virtual coding grid is a square in the background technology of the present invention.

[0025] Figure 2 It is a flow chart of the functional unit of the honeycomb image indicator of the present invention.

[0026] Figure 3 It is a schematic diagram of the information point setting position in the information unit of the present invention.

[0027] Figure 4 It is a schematic diagram of the information point setting position in another information unit of the present invention.

[0028] Figure 5 It is a schematic diagram of the location of information points in another information unit of the present invention.

[0029] Figure 6 It is a schematic diagram of an information unit with auxiliary points according to the present invention.

[0030] Figure 7 It is a schematic diagram of an information unit having two layers of information areas according to the present invention.

[0031] Figure 8 It is a flow chart of the decoding method of the honeycomb image index of the present invention.

[0032] Fig. 9 It is a structural schematic diagram of a decoding device for honeycomb image indicators of the present invention.

[0033] Fig.10 It is a schematic diagram of the structure of the decoding device of the present invention. DETAILED DESCRIPTION

[0034] The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and Examples. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by illustrating examples of the present invention.

[0035] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0036] Embodiment 1

[0037] In the prior art, such as Figure 1a and Figure 1b As shown, the virtual coding grid of the image indicator is based on a square design, and different data information is represented according to the position and / or number of the micro-image unit in the virtual coding grid. However, the square design cannot maximize the use of the spatial position because the square has the characteristics of equal sides and equal angles. Although the equal sides and equal angles make the square beautiful and symmetrical in some cases, it also limits its flexibility in the use of space;

[0038] Specifically, the virtual coding grid using a square-based design has the following drawbacks:

[0039] 1) Waste of space: Square-based coding grids may result in some corners or gaps not being fully utilized when filling the space. The diagonal of the square is long, which may cause the gaps between codes to increase, wasting available space.

[0040] 2) Not densely stacked: The square code grid cannot be stacked as densely as the regular hexagonal one. The hexagonal shape can be nested more closely and each corner can be used more effectively, while the square shape limits the dense connection between codes.

[0041] 3) Difficulty in achieving uniform distribution: A square coding grid may not be able to achieve uniform distribution like a regular hexagonal grid. The hexagonal shape allows the codes to be more evenly distributed in space, while the square shape may result in some areas being dense and others being sparse, causing non-uniformity.

[0042] In order to solve the above technical problems, the present invention provides a honeycomb image indicator, comprising: a plurality of regular hexagonal functional units, wherein each of the functional units comprises a positioning area for indicating the orientation of the functional unit and an information area for storing data information, the positioning area is a regular hexagon, the information area is located outside the positioning area, the positioning area and the information area comprise a plurality of information units, the information units are regular triangles, and each information unit of the information area comprises at most one information point;

[0043] The honeycomb image indicator of this embodiment includes a plurality of regular hexagonal functional units, each of which includes a positioning area for indicating the orientation information of the corresponding functional unit, and an information area for storing data information. The positioning area and the information area include a plurality of regular triangle information units, each of which includes at most one information point. After acquiring the image of the functional unit, the center position and direction information of the functional unit can be obtained through the positioning area, and the coding information of the functional unit can be obtained through the center position and direction information, such as Figure 2 As shown, Figure 2 is a schematic diagram of a regular hexagonal functional unit. In this specific embodiment, the positioning area is located at the center of the functional unit and is composed of six information units. The information area surrounds the positioning area to form a regular hexagonal functional unit;

[0044] Specifically, the information unit of the information area includes at most one information point, that is, the information unit of the information area includes only one information point or no information point exists. When decoding, firstly, the corresponding position information is obtained according to the positioning area, and the position information includes a center position and a direction. Then, the functional unit is rotated and scanned with the center position as the center and the direction as the starting point, so as to obtain the encoding information of each information unit in the information area;

[0045] Preferably, Figure 3 As shown, when an information point exists in the information unit of the information area, the information point is located at the geometric center of the information unit;

[0046] Specifically, when there is an information point in the information unit of the information area, the information point is fixedly set at the geometric center of the information unit, and placing the information point at the geometric center of the information unit can improve the accuracy of point-reading code. When the user scans or touches the point-reading code, the position of the information point is easier to identify and locate, thereby reducing the possibility of identification error and position offset. Since the code reading needs to be performed by the above-mentioned rotation scanning method, if the information point is set at a fixed position, due to the characteristics of the regular hexagon, each rotation during the rotation scanning can be rotated by a fixed angle to determine whether there is an information point in the information unit of the information area, thereby obtaining the coded information. For example, but not limitation, when there is an information point, the coded information of this information unit is 1, and when there is no information point, the coded information of this information unit is 0;

[0047] In this embodiment, the positioning area includes multiple positioning points and at least one direction point, wherein the positioning point is used to indicate the center of the functional unit, the multiple positioning points are located on a first straight line, the spacing between adjacent positioning points is the same and is smaller than the spacing between information points in adjacent information units in the information area, and the direction point is used to indicate the direction of the functional unit;

[0048] Specifically, Figure 2 As shown, the positioning area includes three positioning points, the three positioning points are located in the same straight line, wherein the positioning point is located at the center of the functional unit, the spacing between adjacent positioning points is the same and is less than a preset distance, and the preset distance is set according to the situation. For example, when there is an information point in the information unit of the information area, the information point is located at the geometric center of the information unit, and the side length of the information unit is 1. Since the position of the information point is fixed, the spacing between the information points in adjacent information units in the information area is The distance between adjacent positioning points is less than When identifying the positioning area, the positioning point information can enhance the determination of the positioning information by determining the shortest distance and providing two adjacent distance points of the same distance. In addition, when the information point is located at the geometric center of the information unit, the minimum vertical distance of the information point in the information area is In extreme cases, such as when there is a problem with printing accuracy, the error range of straight line determination can be increased to Unit length, by expanding the error range, the system has a higher tolerance for the position deviation of the positioning point. Even if there is a certain position error, the positioning information can still be accurately judged, which improves the fault tolerance of the system;

[0049] In one embodiment, when an information point exists in an information unit of the information area, the information point is located at the geometric center of the information unit, or, along a first direction, the information point is offset by a first preset distance relative to the geometric center of the information unit, or, along a direction opposite to the first direction, the information point is offset by a first preset distance relative to the geometric center of the information unit, wherein the first direction is parallel to any center line of the information unit;

[0050] Specifically, in this embodiment, if Figure 4 As shown, when there is an information point in the information unit of the information area, the position of the information point is not fixed, and may be located at the geometric center of the information unit, or may generate a first preset distance in a first direction or in a direction opposite to the first direction relative to the geometric center of the information unit. The advantage of such a setting is that the information unit of the information area can transmit more information;

[0051] By way of example and not limitation, when there is no information point in the information unit, the corresponding coding information is 00, when the information point is located at the geometric center, the corresponding coding information is 01, when along a first direction, the information point is offset by a first preset distance relative to the geometric center of the information unit, the corresponding coding information is 10, and when along a direction opposite to the first direction, the information point is offset by a first preset distance relative to the geometric center of the information unit, the corresponding coding information is 11;

[0052] Since the positions of the information dots are set relative to the geometric center, more information can be transmitted in a single information unit by setting different coding information at different offset positions while ensuring the accuracy of the image during printing. Compared with only two coding information (information dot presence and information dot absence), four coding information (00, 01, 10, 11) can provide more coding combinations, thereby increasing the information transmission capacity;

[0053] When decoding, the center position and direction can be obtained according to the positioning area of ​​the functional unit, and a corresponding polar coordinate system can be established. When performing rotation scanning, when it is determined that an information unit has an information point, the polar coordinates of the information point can be obtained, and compared with the polar coordinates of the geometric center of the information unit. The offset of the information point is obtained through the polar coordinates of the two, thereby obtaining the coded information of the information unit;

[0054] In another embodiment, when an information point exists in an information unit of the information area, the information point is located at the geometric center of the information unit, or, along the second direction, the information point is offset by a second preset distance relative to the geometric center of the information unit, or, along the third direction, the information point is offset by a second preset distance relative to the geometric center of the information unit, or, along the fourth direction, the information point is offset by a second preset distance relative to the geometric center of the information unit, wherein the second direction is parallel to any midline of the information unit, and the angles between the second direction, the third direction, and the fourth direction are 120°;

[0055] For details, see Figure 5 This embodiment provides another way to set the position of the information point. This position setting method is also based on the offset of the geometric center of the information unit. By offsetting the information point in different directions, multi-dimensional coded information can be provided. In addition to indicating the existence of the information point, the offset in different directions can encode and transmit richer information content, such as direction, distance, angle, etc., and the multi-dimensional coded information can increase the fault tolerance of the point reading system. Even if the information point is slightly offset or distorted, the reading device can still correctly identify the information content by interpreting the multi-dimensional coded information. This improves the system's ability to resist interference, noise and deformation, and increases the reliability of decoding.

[0056] Preferably, the positioning area further includes auxiliary points, which can be used to indicate the direction of adjacent functional units, or the auxiliary points are used to classify the information carried by the information points in the information area;

[0057] Specifically, the auxiliary point can provide directional indication information of the functional unit. Through the position and state of the auxiliary point, the directional relationship of the functional unit relative to the adjacent functional unit, such as the left side, the right side, etc., can be determined. This helps to determine the spatial layout and arrangement between the functional units, improve the system's understanding and interpretation of the overall coding structure, and combine the two minimum complete functional units on the left and right for group coding processing to enhance the information capacity and stability of the coding. By combining two functional units, a larger coding unit can be formed, providing richer information expression capabilities. At the same time, joint processing can increase the redundancy of the coding and improve the system's ability to resist interference factors such as noise and deformation.

[0058] like Figure 6As shown, in the positioning area, two additional auxiliary points are set below the positioning point to determine the direction relationship of the functional unit relative to the adjacent functional unit, and the left and right minimum complete functional units are combined for group coding. After group coding, the amount of data will be greatly increased. For example, the binary two-layer code of a complete unit can express data of 2 to the 48th power. If the group coding function is used to combine the left and right minimum complete units, the amount of data is 2 to the 144th power, and the amount of stored data is greatly increased.

[0059] In another embodiment, the auxiliary points are used to classify the information carried by the information points in the information area. Using different auxiliary points to classify the information points in the information area can enhance the security performance of the information code points and can also be used for enhanced judgment of the information code;

[0060] By way of example and not limitation, the auxiliary points include first auxiliary points and / or second auxiliary points arranged at different positions, the first auxiliary points correspond to a first code value range, and the second auxiliary points correspond to a second code value range; when the code value of the information point in the information area is within the first code value range, the auxiliary points only include the first auxiliary points, and when the code value of the information point in the information area is within the second code value range, the auxiliary points only include the second auxiliary points;

[0061] Specifically, the first code value range is 11110000 to 11111111, and the second code value range is 11000000 to 11101111. When the code value of the information point in the identification information area is 11000001, and the auxiliary point includes the first auxiliary point or does not include the second auxiliary point, it can be determined that the information code in the information area of ​​the functional unit is an error code. The first advantage of this is to prevent the code point from being cracked and increase security, and the second is to enhance the judgment of the information and prevent misjudgment.

[0062] It should be noted that the corresponding auxiliary points may be in random order and may be specifically set according to the information carried by the information points, and no specific limitation is made here.

[0063] In one embodiment, the information point of the information area includes a first information point carrying target information and a second information point storing redundant information, the redundant information is used to automatically detect and correct errors of the target information, and the redundant information can be generated based on a cyclic redundancy check. The cyclic redundancy check is a redundant information generation and detection method, which uses the principle of polynomial division to generate redundant information. First, a generating polynomial is selected, which is usually represented by a binary number, such as the CRC-32 generating polynomial is 0x04C11DB7; then, sufficient zero bits are filled after the data to generate redundant information, and polynomial division is performed using the generating polynomial to calculate the redundant information; the generated redundant information is added to the end of the original data to form a point-to-point code with redundant information. When scanning and decoding, the same generating polynomial and division algorithm can be used to calculate the redundant information and perform verification to detect whether an error occurs;

[0064] In another embodiment, the redundant information is generated based on the number of information units in the information area. Specifically, under normal circumstances, the code length is proportional to the error correction capability, that is, a longer code length can provide a stronger error correction capability. Therefore, a longer point-read code often has a higher error correction capability and can correct more error bits. Therefore, when the number of information units in the information area is greater than the first threshold, the redundant information is generated based on the Reed-Solomon code. The Reed-Solomon code is a forward error correction channel coding for valid polynomials generated by correcting oversampled data. The encoding process first calculates the redundancy of these polynomials at multiple points, and then transmits or stores them. The sampling of the polynomials beyond the necessary value makes the polynomials overdetermined (over-defined). When the receiver correctly receives enough points, it can restore the original polynomial, even if many points on the received polynomial are damaged by noise interference. It is suitable for processing multiple errors and burst errors. It can detect and correct multiple error bits and can restore the original data in most cases. When the number of information units in the information area is greater than the first threshold, it means that the coding length of the information area is longer and can accommodate more redundant information and target information. It requires stronger error correction capability, so the Reed-Solomon code with strong error correction capability is used; when the number of information units in the information area is greater than the first threshold, the redundant information is generated based on the Hamming code. The Hamming code is a relatively simple error correction code, which is usually used to detect and correct fewer error bits. It can detect a single error bit and correct the error of a single error bit. The Hamming code has good performance in some application scenarios, but the error correction capability is relatively weak when processing multiple error bits. When the number of information units in the information area is less than or equal to the first threshold, it means that the coding length of the information area is short and does not require a strong error correction capability, so the Hamming code is used, where the first threshold is set by the user according to the actual situation and is not specifically limited here;

[0065] This embodiment takes into account the relationship between the code length and error correction capability of the error correction code. A longer code length can provide higher error correction capability, but will increase storage and transmission overhead. The balance between code length and error correction capability is evaluated and an appropriate code length is selected to meet error correction requirements.

[0066] In summary, the honeycomb image indicator provided by the present application can realize the positioning of the corresponding functional unit through the positioning area, and then obtain the information carried by each information area through the information point of the information area. Since each functional unit is designed as a regular hexagon, the side length and angle of the regular hexagon are equal, and they can be more closely nested with each other, so that the entire space is more effectively utilized, and when it is necessary to divide the space into multiple areas or accommodate multiple elements, the uniformity of the regular hexagon makes the distance and interval between each area or element consistent, while maintaining the arrangement of the image indicator unchanged, that is, maintaining the whole row arrangement of visual habits, the information capacity of the unit area is increased; if the side length of the smallest information unit in the complete functional unit is the same as the unit length, compared with the existing square similar code points, the present invention has obvious advantages in the information transmission ratio per unit area, wherein the information transmission ratio per unit area can be calculated by the following formula:

[0067]

[0068] Wherein, F is the information transmission ratio per unit area, Information is the amount of information carried by the unit area, and area is the area of ​​the unit area;

[0069] like Figure 1b As shown in the figure, a functional unit of a code point diagram with a virtual coding grid of a square includes a header area and an information area. The header area is in the shape of "7", represented by a black dot in the figure, and is used for positioning, which is equivalent to the positioning area in the present invention. The information area is used to carry information. The information points in the information area can be set at 4 different positions to express different coded information. The information area of ​​this code point diagram can include at most 9 information points, so the maximum amount of information that can be carried by a functional unit is 2 36 , assuming that the side length of the smallest unit square is 500um, then the area of ​​the functional unit is 5*10 6 um, through the above formula, we can get its information transmission ratio per unit area as 1.374*10 4 ;

[0070] like Figure 7 FIG. 1 is a schematic diagram of a functional unit in an embodiment of the present invention, which includes a positioning area located at the center of the functional unit and composed of 6 information units, and an information area composed of 48 information units. Assuming that the side length of the regular triangle information unit is 500 um, the area of ​​the functional unit is 5.845x10 6The information area includes at least 48 information points and can carry 2 48 , calculated by the above formula, its information transmission ratio per unit area is 4.815*10;

[0071] The information transmission ratio per unit area reflects the capacity of information that can be transmitted per unit area. By comparing the information transmission ratios per unit area of ​​the two, it can be found that the present invention has obvious advantages in transmitting data per unit area.

[0072] Embodiment 2

[0073] This embodiment provides a method for decoding a honeycomb image indicator, including:

[0074] S1. Acquire location information of a functional unit according to a positioning area, wherein the location information includes a center position and a direction of the functional unit;

[0075] Specifically, the positioning points in the positioning area are detected and identified by image processing algorithms or computer vision technology. The positioning points are used to indicate the center position of the functional unit. According to the design of the positioning area, the positioning points are located on the first straight line, and the spacing between adjacent positioning points is the same. The position information of the positioning area can be accurately obtained through these two conditions. Alternatively, since the spacing between adjacent positioning points is the same and is smaller than the spacing between information points in adjacent information units in the information area, the positioning points can also be determined by the spacing between the information points, thereby obtaining the position information of the positioning area. The position information includes the center position of the functional unit and the direction of the functional unit. The direction of the functional unit is the direction from the center position of the functional unit to the direction point.

[0076] S2, taking the central position as the rotation center and the functional unit direction as the starting point, rotating and scanning the information unit of each information area with a preset radius to obtain the coded information of each information unit;

[0077] In one embodiment, the step of rotating and scanning the information unit of each information area with a preset radius with the center position as the rotation direction and the functional unit direction as the starting point to obtain the coded information of the functional unit includes:

[0078] S21, according to a preset rotation angle, taking the central position as the rotation center and the direction of the functional unit as the starting point, rotating with a preset radius to determine whether there is an information point in the information unit of each information area;

[0079] S22. When the information unit does not have an information point, the encoding information of the information unit is a first preset value;

[0080] S23, when there is an information point in the information unit, a polar coordinate system is established with the center position as the pole and the direction of the functional unit as the polar axis;

[0081] S24, obtaining the polar coordinates of the information point in the polar coordinate system;

[0082] S25. Obtain coding information of the corresponding information unit according to the polar coordinates of the information point.

[0083] S3. Acquire the coding information of the functional unit according to the coding information of each information unit;

[0084] First, determine the starting point and direction of rotation. The starting point is the direction of the functional unit, which can be determined by the direction point. The rotation direction can be determined according to the specific design, such as clockwise or counterclockwise. According to the preset radius, start from the center of the functional unit and determine the radius range of the scan. This radius determines the range and distance of the rotation scan. The preset radius can be determined according to the size of the functional unit, such as Figure 2 The functional unit shown in FIG. 1 includes only one layer of information area outside the positioning area. Figure 7 In the functional unit shown, the positioning area includes two layers of information areas. Figure 2 When the functional unit of is rotated and scanned, the selected length range of the preset radius includes all the information points in the first layer information area and does not include the information points of the adjacent functional units; when Figure 7 When the functional unit is rotated and scanned, a virtual radius with a length range that includes all the information codes of the first layer and does not include any information codes of the second layer can be first selected. After rotating with the virtual radius of this length range, the angle of each intersection with the information code starting from the direction point is recorded, and then the information code can be judged according to the specific angle. The second step is to select a virtual radius with a length range that includes all the second information points and will not be interfered by information points in other adjacent information code areas, rotate in the same way, and record the angle information of the intersection, so as to obtain the coding information of each information unit; Figure 7 As shown, the first layer of information code starting from the direction point can be judged as 1111111110111111110, and then the second layer of information code is judged as 110111111111111111110111111111, and then the two layers of information codes can be combined to form a 48-bit binary code value.

[0085] Embodiment 3

[0086] This embodiment provides a decoding device for a honeycomb image indicator, including:

[0087] A position acquisition module, used to acquire the position information of the functional unit according to the positioning area, wherein the position information includes the center position and direction of the functional unit;

[0088] A first coded information acquisition module, configured to use the central position as a rotation center and the functional unit direction as a starting point to rotate and scan the information units of each information area with a preset radius to obtain the coded information of each information unit;

[0089] The second coding information acquisition module is used to acquire the coding information of the functional unit according to the coding information of each information unit.

[0090] It should be noted that the modules and units in the decoding device for the honeycomb image indicator in the present embodiment correspond one-to-one to the steps in the decoding method for the honeycomb image indicator in the aforementioned embodiment. Therefore, the specific implementation of the present embodiment may refer to the implementation of the aforementioned decoding method for the honeycomb image indicator, which will not be repeated here.

[0091] Embodiment 4

[0092] In addition, combined Fig.10 The method for decoding the honeycomb image indicator according to the embodiment of the present invention described above may be implemented by a decoding device. Fig.10 A schematic diagram of the hardware structure of a decoding device provided by an embodiment of the present invention is shown.

[0093] The decoding device may include at least one image acquisition device, a processor 401 and a memory 402 storing computer program instructions.

[0094] Specifically, the processor 401 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiment of the present invention.

[0095] Memory 402 may include a large capacity memory for data or instructions. For example, but not limitation, memory 402 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, memory 402 may include a removable or non-removable (or fixed) medium. In appropriate cases, memory 402 may be inside or outside a data processing device. In a specific embodiment, memory 402 is a non-volatile solid-state memory. In a specific embodiment, memory 402 includes a read-only memory (ROM). In appropriate cases, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.

[0096] The image acquisition device is used to acquire a target image including a honeycomb image indicator. The processor 401 reads and executes computer program instructions stored in the memory 402 to implement any one of the honeycomb image indicator decoding methods in the above embodiments to acquire the encoding information of the honeycomb image indicator in the target image.

[0097] In one example, the decoding device may further include a communication interface 403 and a bus 410. Fig.10 As shown, the processor 401, the memory 402, and the communication interface 403 are connected via a bus 410 and communicate with each other.

[0098] The communication interface 403 is mainly used to implement the communication between the modules, devices, units and / or equipment in the embodiment of the present invention.

[0099] Bus 410 includes hardware, software or both, and the components for arbitrary multiple ink output are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransmission (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 410 may include one or more buses. Although the embodiment of the present invention describes and shows a specific bus, the present invention considers any suitable bus or interconnection.

[0100] Embodiment 5

[0101] In addition, in combination with the decoding method of the honeycomb image indicator in the above embodiment, the embodiment of the present invention can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any one of the decoding methods of the honeycomb image indicator in the above embodiment is implemented.

[0102] The above is a detailed introduction to the decoding method, device, equipment and storage device of the honeycomb image indicator provided by the embodiments of the present invention.

[0103] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.

[0104] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0105] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.

[0106] The above is only a specific implementation of the present invention. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the system, module and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be covered within the protection scope of the present invention.

Claims

1. A point reading code, characterized in that: The point reading code includes: multiple functional units, each of the functional units includes a positioning area for indicating the orientation of the functional unit and an information area for storing data information, the information area is located outside the positioning area, the positioning area and the information area include multiple information units in the shape of regular triangles, each information unit includes at most one information point, the center position and direction information of the corresponding functional unit are obtained through the positioning area, and the coding information of the corresponding functional unit is obtained through the center position and the direction information.

2. The point reading code according to claim 1, characterized in that: The positioning area includes multiple positioning points and at least one direction point, wherein the positioning point is used to indicate the center of the functional unit, multiple positioning points are located on a first straight line, the spacing between adjacent positioning points is the same and is smaller than the spacing between information points in adjacent information units in the information area, and the direction point is used to indicate the direction of the functional unit.

3. The point-reading code according to claim 2, characterized in that: The functional unit is in a regular hexagon, the positioning area includes three positioning points, the three positioning points are located in the same straight line, wherein the positioning point is located at the center of the functional unit, the spacing between adjacent positioning points is the same and is less than a preset distance, when there is an information point in the information unit of the information area, the information point is located at the geometric center of the information unit, assuming that the side length of the information unit is 1, then the spacing between information points in adjacent information units in the information area is The distance between adjacent positioning points is less than When identifying the positioning area, the positioning point information is enhanced by the shortest distance determination and providing two adjacent distance points of the same distance. Moreover, when the information point is located at the geometric center of the information unit, the minimum vertical distance of the information point in the information area is In extreme cases, the error range of straight line determination is increased to Unit length.

4. The point-reading code according to claim 1, characterized in that: When decoding, the point reading code obtains the center position and direction according to the positioning area of ​​the functional unit, and establishes a corresponding polar coordinate system. When performing rotation scanning, when it is determined that an information unit has an information point, the polar coordinates of the information point are obtained, and compared with the polar coordinates of the geometric center of the information unit. The offset of the information point is obtained through the polar coordinates of the two, and the encoding information of the information unit is obtained.

5. The point-reading code according to claim 1, characterized in that: The positioning area also includes auxiliary points, and the auxiliary points are used to classify the information carried by the information points in the information area. Different auxiliary points are used to classify the code points of the information points in the information area.

6. The point-reading code according to claim 5, characterized in that: The information points in the information area include a first information point carrying target information and a second information point storing redundant information, the redundant information is used to automatically detect and correct errors in the target information, the redundant information can be generated based on a cyclic redundancy check, and the generation method of the redundant information is determined based on the number of information units in the information area.

7. A method for decoding the point-reading code according to any one of claims 1 to 6, characterized in that: The decoding method comprises: S1. Acquire location information of a functional unit according to a positioning area, wherein the location information includes a center position and a direction of the functional unit; S2, taking the central position as the rotation center and the functional unit direction as the starting point, rotating and scanning the information unit of each information area with a preset radius to obtain the coded information of each information unit; S3. Obtain the encoding information of the functional unit according to the encoding information of each information unit.

8. The decoding method according to claim 7, characterized in that: The S2 further comprises: First, determine the starting point and direction of rotation, the starting point is the direction of the functional unit, and determine the radius range of the scan from the center of the functional unit according to the preset radius, wherein the preset radius determines the range and distance of the rotation scan, and the preset radius can be determined according to the size of the functional unit, only one layer of information area is included outside the positioning area, and the positioning area includes two layers of information areas. When the functional unit is rotationally scanned, the selected length range of the preset radius includes all information points in the first layer of information area and does not include information points of adjacent functional units; after rotating with a virtual radius of the length range, record the angle of each intersection with the information code starting from the direction point, and then the information code can be judged according to the specific angle; the second step is to select a virtual radius with a length range that includes all second information points and will not be interfered by information points in other adjacent information code areas, rotate in the same way, and record the angle information of the intersection, so as to obtain the coding information of each information unit; wherein the first layer of information code is determined starting from the direction point, and then the second layer of information code is judged, and then the two layers of information code can be combined.

9. A decoding device, characterized in that: It comprises at least one processor and a memory for communicating with the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the decoding method of the point reading code as described in claim 7 or 8.

10. An electronic device, characterized in that: Includes the decoding device as claimed in claim 9.