Code generating, decoding and anti-counterfeiting method of dot matrix code

By using randomly distributed positioning points and data storage areas in the QR code, combined with server legality verification, the problem that existing QR codes are easily copied and destroyed is solved, and the concealment and anti-counterfeiting of dot matrix codes are achieved. The effect is suitable for anti-counterfeiting marks of goods.

CN118569289APending Publication Date: 2024-08-30SHANGHAI BLOKS TECHNOLOGY GROUP CO LTD +1
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410681000.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing QR codes are not suitable as anti-counterfeiting marks for goods due to the open source algorithm and easy recognition of position detection graphics, and are easily copied and destroyed.

Method used

Randomly distributed anchor points and data storage areas are used, and the dot matrix code is generated and printed on the carbon-free packaging, combined with server legality verification to improve the concealment of the anchor points and the protection of the data storage area.

Benefits of technology

It effectively protects the anti-counterfeiting information in the dot matrix code, making it difficult to be identified and destroyed, and improves the widespread use of product anti-counterfeiting labels.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118569289A
    Figure CN118569289A
Patent Text Reader

Abstract

The invention provides a code generating, decoding and anti-counterfeiting method for a dot matrix code. The method comprises the following steps: generating the dot matrix code; printing the generated dot matrix code according to a preset anti-counterfeiting mode; identifying dot matrix codes on the printed matter, mapping the dot matrix codes into corresponding numerical values, and converting the numerical values into decoded data; and carrying out legality verification on the decoded data through the server. The position of the positioning point in the dot matrix code is randomized, so that the position of the positioning point in the dot matrix code is more hidden, the positioning point is not easy to identify and damage, the anti-counterfeiting information of the data storage area is effectively protected, and the dot matrix code can be widely used as an anti-counterfeiting label of a product.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of dot matrix code anti-counterfeiting, and in particular, relates to a method for generating, decoding and anti-counterfeiting a dot matrix code. Background Art

[0002] With the popularization of terminal electronic devices, QR codes are also widely used as a common label. QR codes have the advantages of high information density and high readability, so they are often used as an anti-counterfeiting mark for goods.

[0003] However, some characteristics of existing QR codes make them unsuitable as anti-counterfeiting marks for commodities. Specifically, there are the following reasons: 1) the QR code algorithm is open source, which allows counterfeiters to directly use the open source algorithm to generate QR codes; 2) the position detection graphics in the QR code are easily recognizable by the human eye, and there is a blank area at the edge of the QR code, so counterfeiters can directly determine the position and range of the anti-counterfeiting mark, and thus copy the QR code by printing and other methods.

[0004] In summary, it can be seen that a new type of dot matrix code suitable for commodity anti-counterfeiting identification is needed to overcome the above shortcomings. Summary of the invention

[0005] In view of the defects in the prior art, the object of the present invention is to provide a method for generating, decoding and anti-counterfeiting of a dot matrix code.

[0006] In a first aspect, the present invention provides a method for generating, decoding and preventing counterfeiting of a dot matrix code, comprising:

[0007] Generate dot matrix code;

[0008] Printing the generated dot matrix code according to a preset anti-counterfeiting method;

[0009] Identify the dot matrix code on the printed matter, map it to the corresponding value, and then convert it into decoded data;

[0010] The legitimacy of the decoded data is verified by the server.

[0011] In a second aspect, the present invention further provides an anti-counterfeiting mark, including a dot matrix code;

[0012] The dot matrix code is mapped to a corresponding numerical value after being identified, so as to be converted into decoded data;

[0013] The decoded data is used by the server for legitimacy verification.

[0014] Optionally, according to the method for generating, decoding and preventing counterfeiting of a dot matrix code described in the first aspect, or the anti-counterfeiting mark described in the second aspect, the dot matrix code includes: a positioning point and a data storage area; wherein the positioning point is used to indicate the starting position of the data storage area, and the data storage area is used to store anti-counterfeiting information;

[0015] The positions of the positioning points are randomly distributed, and the positioning points include a specified shape composed of three or more points. Exemplarily, the specified shape is composed of three points, such as the positioning points of 110, 010. Another example is the positioning points of 0110, 0100. The specified shape is composed of four points, such as the positioning points of 0100, 0111. The specified shape is composed of five points, such as the positioning points of 0101, 0111.

[0016] It should be noted that this application does not limit the number of positioning points, nor does it limit the length of the binary string.

[0017] In a preferred embodiment, in a 2-row matrix composed of two binary strings, at least two numbers 1 are located in the same column. Correspondingly, if the 1 in the binary string represents a black dot in the dot matrix, and the 0 in the binary string represents a white dot in the dot matrix, it is equivalent to setting at least two black dots in the same column in the dot matrix. Such a setting can effectively prevent misreading of the positioning point and improve the recognition accuracy of the positioning point.

[0018] Optionally, according to the method for generating, decoding and preventing counterfeiting of a dot matrix code described in the first aspect, or the anti-counterfeiting mark described in the second aspect, the points in the positioning points are located in multiple rows; there are alternate rows between at least two rows in the multiple rows;

[0019] The plurality of rows are different odd-numbered rows, or are located in different even-numbered rows.

[0020] Optionally, according to the dot matrix code generation, decoding and anti-counterfeiting method of the first aspect, or the anti-counterfeiting mark of the second aspect, the dot matrix code includes a plurality of positioning points, and the positioning points are randomly distributed as a whole. Preferably, a uniform distribution is adopted, such as a spiral distribution.

[0021] Optionally, according to the method for generating, decoding and preventing counterfeiting of a dot matrix code described in the first aspect, or the anti-counterfeiting mark described in the second aspect, in the data storage area, data is converted into binary form for encoding and storage, wherein: a value 1 is represented by black dots in the dot matrix code, a value 0 is represented by white dots in the dot matrix code, and the dots in the dot matrix code are kept at fixed intervals in the horizontal and vertical directions;

[0022] Valid data appears evenly and multiple times in the data storage area, wherein the valid data refers to data containing anti-counterfeiting information;

[0023] The dot matrix code is printed onto the carbonless packaging by carbon printing.

[0024] Optionally, according to the dot code generation, decoding and anti-counterfeiting method described in the first aspect, or the anti-counterfeiting mark described in the second aspect, identifying the dot code on the printed matter and mapping it to a corresponding value includes:

[0025] Grayscale the dot code image collected by the camera to obtain a grayscale image;

[0026] Performing contour detection on the grayscale image to obtain contour information of each code point in the image;

[0027] Determining the position of each code point according to the contour information;

[0028] Map each code point to binary data;

[0029] The conversion into decoded data comprises:

[0030] Traverse to find the positioning point;

[0031] Starting from the starting position determined by the positioning point, the data is read in the encoding order and decoded.

[0032] In a third aspect, the present invention further provides an article, wherein the article or the packaging of the article has the anti-counterfeiting mark described in any one of the first aspect or the second aspect.

[0033] In a fourth aspect, the present invention further provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the dot code generation, decoding and anti-counterfeiting method described in any one of the first aspect or the second aspect.

[0034] In a fifth aspect, the present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the dot code generation, decoding, and anti-counterfeiting method described in any one of the first aspect or the second aspect.

[0035] Compared with the prior art, the present invention has the following beneficial effects:

[0036] The method for generating, decoding and preventing counterfeiting of a dot matrix code provided by the present invention generates a dot matrix code; prints the generated dot matrix code according to a preset anti-counterfeiting method; identifies the dot matrix code on the printed matter, maps it to a corresponding numerical value, and converts it into decoded data; and verifies the legitimacy of the decoded data through a server. Thus, the position of the positioning point in the dot matrix code can be randomized, making the position of the positioning point in the dot matrix code more concealed, making the positioning point difficult to be identified, effectively protecting the anti-counterfeiting information of the data storage area, and enabling the dot matrix code to be widely used as an anti-counterfeiting label for products. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0038] Figure 1 A flowchart of a method for generating, decoding and preventing counterfeiting of a dot code provided in an embodiment of the present application;

[0039] Figure 2 The dot matrix code provided in the embodiment of the present application is shown in FIG. Figure 1 ;

[0040] Figure 3 The dot matrix code provided in the embodiment of the present application is shown in FIG. Figure 2 ;

[0041] Figure 4 A schematic diagram of the principle of dot matrix code decoding provided in an embodiment of the present application;

[0042] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0043] The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several changes and improvements can also be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

[0044] At present, most dot matrix codes use fixed-position positioning points to locate data. This method makes it easy for people to find the positioning points, which causes the positioning points in the dot matrix code to be destroyed, resulting in the inability to recognize the correct information.

[0045] In view of the problems existing in the prior art, the present invention provides a method for generating, decoding and anti-counterfeiting of a dot matrix code, aiming to solve the problem that the dot matrix code is easily located and destroyed, improve the concealment of the dot matrix code, and enable it to be used as an anti-counterfeiting label for a product.

[0046] Figure 1 A flowchart of a dot code generation, decoding and anti-counterfeiting method provided in an embodiment of the present application, such as Figure 1 As shown, the method in this embodiment may include:

[0047] Step S101, generating a dot matrix code.

[0048] Exemplarily, in this embodiment, the dot matrix code includes: a positioning point and a data storage area; wherein the positioning point is used to indicate the starting position of the data storage area, and the data storage area is used to store anti-counterfeiting information.

[0049] Exemplarily, in this embodiment, the positions of the positioning points may be randomly distributed, and the positioning points include a specified shape composed of three or more points, thereby increasing the difficulty of the positioning points being recognized by the human eye.

[0050] For example, a specified shape is composed of three points, for example, using the positioning points of 110, 010, using the positioning points of 011, 010, and another example of using the positioning points of 0110, 0100. A specified shape is composed of four points, for example, using the positioning points of 0100, 0111. A specified shape is composed of five points, for example, using the positioning points of 0101, 0111.

[0051] It should be noted that this application does not limit the number of positioning points, nor does it limit the length of the binary string.

[0052] In a preferred embodiment, in a 2-row matrix composed of two binary strings, at least two numbers 1 are located in the same column. Correspondingly, if the 1 in the binary string represents a black dot in the dot matrix, and the 0 in the binary string represents a white dot in the dot matrix, it is equivalent to setting at least two black dots in the same column in the dot matrix. Such a setting can effectively prevent misreading of the positioning point and improve the recognition accuracy of the positioning point.

[0053] Exemplarily, the points in the positioning points are located in multiple rows; and there are alternate rows between at least two of the multiple rows; the multiple rows are different odd rows, or are located in different even rows; data can be stored in multiple groups to improve redundancy, and even if part of the data is damaged, the correct reading of the data can still be guaranteed.

[0054] Exemplarily, in this embodiment, the row data are grouped in pairs, and each group contains a positioning point.

[0055] It should be noted that, in this embodiment, multiple consecutive rows refer to multiple rows arranged from top to bottom, for example, row 1, row 2, and row 3 are consecutive rows, row 2 and row 3 are consecutive rows, and so on. In this embodiment, alternate rows refer to an N+1th row between row N and row N+2. Similarly, in addition to alternate rows, any row greater than 1 may be alternated, for example, 2 rows, 4 rows, and more preferably, any odd number of rows may be alternated, for example, 3 rows, 5 rows, and so on.

[0056] The points in the positioning points are located in multiple rows, for example, in the 3rd row, the 4th row, and the 6th row, or in the 3rd row, the 4th row, and the 5th row, or in the 3rd row, the 5th row, and in the 7th row.

[0057] Exemplarily, the positioning point in this embodiment may include a specified shape composed of at least three black dots, and the shape needs to be able to identify the direction from left to right. Figure 2 The dot matrix code provided in the embodiment of the present application is shown in FIG. Figure 1 , Figure 3 The dot matrix code provided in the embodiment of the present application is shown in FIG. Figure 2 .like Figure 2 As shown in the figure, the positioning points include three points. The 2nd and 4th rows in the even-numbered rows form a T shape (see the black dots in the box for details), and the 18th and 20th rows form a T shape; the 5th and 7th rows in the odd-numbered rows form a T shape, and the 17th and 19th rows form a T shape. Figure 3 As shown, the positioning points include three points. The 2nd and 4th rows in the even rows form a shape similar to the number 7 (see the black dots in the box for details), and the 18th and 20th rows form a shape similar to the number 7; the 5th and 7th rows in the odd rows form a shape similar to the number 7, and the 17th and 19th rows form a shape similar to the number 7.

[0058] It should be noted that this embodiment does not limit the number of specific points constituting the positioning points, nor the graphics formed by the points.

[0059] In an optional implementation, the points in the positioning points are located in different odd rows, or in different even rows. Specifically, the odd rows or even rows can be set to have an interval of half the overall offset to distinguish rows and columns during identification.

[0060] In this embodiment, the data is composed of alternate lines as a whole, so that the dot matrix code has no regularity visually, is more concealed, and is not easy to be imitated or destroyed.

[0061] In another optional embodiment, the dot matrix code includes multiple positioning points, and the positioning points are distributed alternately in the left and right regions as a whole. This arrangement is a redundant design. If the left region is defiled, the positioning points can still be identified from the right region, thereby improving the recognition rate of valid data.

[0062] Exemplarily, in the data storage area, data is converted into binary form for encoding and storage, wherein: the value 1 is represented by black dots in the dot code, the value 0 is represented by white dots in the dot code, and the dots in the dot code maintain fixed intervals in the horizontal and vertical directions.

[0063] In yet another optional implementation, valid data appears evenly and multiple times in the data storage area, wherein the valid data refers to data containing anti-counterfeiting information.

[0064] Step S102: Print the generated dot matrix code according to a preset anti-counterfeiting method.

[0065] In this embodiment, the dot matrix code can be printed on the carbonless packaging by carbon printing, which is not easily recognized by the naked eye and difficult to copy. Then, the code is scanned by a special infrared device to read the data.

[0066] Step S103: Identify the dot matrix code on the printed matter, map it to a corresponding value, and convert it into decoded data.

[0067] In this embodiment, the dot code image captured by the camera can be gray-scaled to obtain a grayscale image; then, the grayscale image can be contour detected to obtain contour information of each code point in the image; based on the contour information, the position of each code point is determined; finally, each code point is mapped to binary data based on the position.

[0068] For example, Figure 4 The schematic diagram of the principle of dot matrix code decoding provided in the embodiment of the present application is as follows: Figure 4 As shown, firstly, a device including a camera is used to scan a dot matrix code image, and then the scanned image is perspective corrected to obtain a dot matrix code; the contours of each dot code in the dot matrix code are obtained, and further mapped into numerical values, and finally decoded data is obtained.

[0069] Step S104: The server verifies the legitimacy of the decoded data.

[0070] In this embodiment, the decoded data is sent to a server, which verifies whether it is legal.

[0071] Specifically, the server pre-stores the data to be encoded, and the anti-counterfeiting information in the data to be encoded is associated with the product identification information; the server queries the anti-counterfeiting information based on the received product identification information, and compares the received anti-counterfeiting information with the anti-counterfeiting information stored locally. If the comparison result is consistent, the dot matrix code is considered to be authentic; otherwise, the dot matrix code is considered to be a counterfeit.

[0072] In this embodiment, a dot matrix code is generated; the generated dot matrix code is printed according to a preset anti-counterfeiting method; the dot matrix code on the printed matter is identified, mapped to a corresponding numerical value, and converted into decoded data; and the decoded data is verified for legitimacy by a server. As a result, the positions of the positioning points in the dot matrix code are not fixedly stacked, and are highly random and difficult to be manually identified, which indirectly raises the threshold for being counterfeited. When the position of the positioning point cannot be accurately identified, the area storing the data is effectively protected, so that the dot matrix code can be widely used as an anti-counterfeiting label for products.

[0073] The present invention also provides an anti-counterfeiting mark, comprising a dot matrix code; the dot matrix code is mapped to a corresponding numerical value after being identified, so as to be converted into decoded data; wherein the decoded data is used by a server for legitimacy verification.

[0074] It should be noted that the anti-counterfeiting mark in this embodiment can be applied to the above Figure 1 The method shown is used to generate. The dot matrix code of the anti-counterfeiting mark includes: a positioning point and a data storage area; wherein the positioning point is used to indicate the starting position of the data storage area, and the data storage area is used to store anti-counterfeiting information; the position of the positioning point is randomly distributed, and the positioning point includes a specified shape composed of at least three black dots.

[0075] Exemplarily, the points in the positioning points are located in multiple rows; there are alternate rows between at least two rows in the multiple rows; the multiple rows are different odd-numbered rows, or are located in different even-numbered rows.

[0076] It should be noted that, in this embodiment, multiple consecutive rows refer to multiple rows arranged from top to bottom, for example, the 2nd row, the 3rd row, and the 4th row are consecutive rows, the 2nd row and the 3rd row are consecutive rows, and so on. In this embodiment, alternate rows refer to an N+1th row between the Nth row and the N+2th row. Similarly, in addition to alternate rows, there may be an interval of more than 1 row, such as an interval of 2 rows, an interval of 4 rows, and more preferably an interval of an odd number of rows greater than 1, such as an interval of 3 rows, an interval of 5 rows, and so on.

[0077] In this embodiment, the dot matrix code includes a plurality of positioning points, and the positioning points are distributed alternately in a spiral shape as a whole. In the data storage area, the data is converted into binary form for encoding and storage, wherein: the value 1 is represented by a black dot in the dot matrix code, the value 0 is represented by a white dot in the dot matrix code, and the dots in the dot matrix code maintain a fixed interval in the horizontal and vertical directions; valid data appears uniformly and multiple times in the data storage area, wherein the valid data refers to data containing anti-counterfeiting information; the dot matrix code is printed on the carbonless packaging by carbon printing.

[0078] Furthermore, the dot code image captured by the camera can be gray-scaled to obtain a grayscale image; contour detection can be performed on the grayscale image to obtain contour information of each code point in the image; the position of each code point can be determined based on the contour information; the position of each code point can be mapped into binary data; then, the positioning point can be traversed to find it; starting from the starting position determined by the positioning point, the data can be read in the encoding order.

[0079] The anti-counterfeiting mark in this embodiment can randomize the position of the positioning points in the dot matrix code, making the position of the positioning points in the dot matrix code more concealed and difficult to identify, thereby effectively protecting the anti-counterfeiting information of the data storage area, so that the dot matrix code can be widely used as an anti-counterfeiting label for products.

[0080] The present invention also provides an article, wherein the article or the packaging of the article has the anti-counterfeiting mark. For example, the article is a toy.

[0081] The present invention also provides a dot code generation, decoding and anti-counterfeiting system, that is, an electronic device. The dot code generation, decoding and anti-counterfeiting system can be implemented by executing the process steps of the dot code generation, decoding and anti-counterfeiting method, that is, those skilled in the art can understand the dot code generation, decoding and anti-counterfeiting method as a preferred implementation of the dot code generation, decoding and anti-counterfeiting system.

[0082] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, it includes at least one processor 501; and a memory 502 that is communicatively connected to the at least one processor 501; wherein the memory 502 stores instructions that can be executed by the at least one processor 501, and the instructions are executed by the at least one processor 501, so that the at least one processor 501 can execute the above-mentioned dot code generation, decoding and anti-counterfeiting methods.

[0083] The memory 502 and the processor 501 are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors 501 and the memory 502 together. The bus can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor 501 is transmitted on a wireless medium via an antenna, and further, the antenna also receives data and transmits the data to the processor 501.

[0084] Processor 501 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces,

[0085] Voltage regulation, power management and other control functions. The memory 502 can be used to store data used by the processor 501 when performing operations.

[0086] The present invention also provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the above-mentioned dot matrix code generation, decoding and anti-counterfeiting methods.

[0087] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0088] Those skilled in the art will appreciate that the above-mentioned embodiments are specific examples for implementing the present invention, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present invention.

[0089] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art can make various changes or modifications within the scope of the claims, which does not affect the essence of the present invention. In the absence of conflict, the embodiments of the present application and the features in the embodiments can be combined with each other arbitrarily.

Claims

1. A method for generating, decoding and preventing counterfeiting of a dot matrix code, characterized in that: include: Generate dot matrix code; Printing the generated dot matrix code according to a preset anti-counterfeiting method; Identify the dot matrix code on the printed matter, map it to the corresponding value, and then convert it into decoded data; The legitimacy of the decoded data is verified by the server.

2. An anti-counterfeiting mark, characterized in that: Including dot matrix code; The dot matrix code is mapped to a corresponding numerical value after being identified, so as to be converted into decoded data; The decoded data is used by the server for legitimacy verification.

3. The method for generating, decoding and preventing counterfeiting of a dot matrix code according to claim 1 or the anti-counterfeiting mark according to claim 2, characterized in that: The dot matrix code includes: a positioning point and a data storage area; wherein the positioning point is used to indicate the starting position of the data storage area, and the data storage area is used to store anti-counterfeiting information; The positions of the positioning points are randomly distributed, and the positioning points include a specified shape composed of more than three points.

4. The method for generating, decoding and preventing counterfeiting of a dot matrix code or the anti-counterfeiting mark according to claim 3, characterized in that: The points in the said anchor points are located in a plurality of rows; There are alternate lines between at least two of the multiple lines; The plurality of rows are different odd-numbered rows, or are located in different even-numbered rows.

5. The method for generating, decoding and preventing counterfeiting of a dot matrix code or the anti-counterfeiting mark according to claim 3, characterized in that: The dot matrix code includes a plurality of positioning points, and the positioning points are randomly distributed as a whole.

6. The method for generating, decoding and preventing counterfeiting of a dot matrix code according to claim 3, characterized in that: In the data storage area, the data is converted into binary form for encoding and storage, wherein: a value 1 is represented by a black dot in a dot matrix code, a value 0 is represented by a white dot in a dot matrix code, and the dots in the dot matrix code are kept at a fixed interval in the horizontal direction and the vertical direction; Valid data appears evenly and multiple times in the data storage area, wherein the valid data refers to data containing anti-counterfeiting information; The dot matrix code is printed onto the carbonless packaging by carbon printing.

7. The method for generating, decoding and preventing counterfeiting of a dot matrix code or an anti-counterfeiting mark according to any one of claims 1 to 6, characterized in that: Identify the dot code on the printed material and map it to the corresponding value, including: Grayscale the dot code image collected by the camera to obtain a grayscale image; Performing contour detection on the grayscale image to obtain contour information of each code point in the image; Determining the position of each code point according to the contour information; Map each code point to binary data; The conversion into decoded data comprises: Traverse to find the positioning point; Starting from the starting position determined by the positioning point, the data is read in the encoding order and decoded.

8. An article, characterized in that The article or the packaging of the article has the anti-counterfeiting mark according to any one of claims 1 to 7.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of generating, decoding and anti-counterfeiting methods of the dot code according to any one of claims 1 to 7 are implemented.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the computer program is executed by a processor, the steps of generating, decoding and anti-counterfeiting methods of the dot code according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Anti-counterfeiting code, generation method and identification method

    CN120579568A

  • Anti-counterfeiting code and generation method, identification method

    CN120579568B

  • Code generation, decoding and Anti-counterfeiting method for dot matrix code

    WO2025247122A1