An anti-counterfeiting label based on variable distance calculation of security line

By filling in the window-type security lines in the QR code and recording the line length information between the positioning point and the analysis point, the problems of large information processing volume and insufficient anti-counterfeiting strength in the existing QR code anti-counterfeiting technology are solved, and efficient anti-counterfeiting verification and the authenticity of the QR code are achieved.

CN119558338BActive Publication Date: 2025-04-22GUIZHOU ZHAOXIN DIGITAL TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510096473.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-22
Publication Date
2025-04-22
Estimated Expiration
2045-01-22

AI Technical Summary

Technical Problem

The existing QR code anti-counterfeiting technology has a large amount of information processing during the verification process, which is difficult to effectively reduce, and the anti-counterfeiting strength is insufficient, making it easy to be copied and forged.

Method used

An anti-counterfeiting label based on variable distance calculation based on security lines is used. By filling the window-type security line in the QR code, and recording the line length information between the positioning point and the security line analysis point on the QR code, pre-store and compare to verify the authenticity of the QR code.

Benefits of technology

The amount of information processing during the anti-counterfeiting verification process is reduced, the anti-counterfeiting strength is improved, and it is difficult to successfully copy and forge, ensuring the authenticity of the QR code and the authenticity of the product.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119558338B_ABST
    Figure CN119558338B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of two-dimensional code anti-counterfeiting, and in particular to an anti-counterfeiting label based on variable distance calculation of security line. The invention comprises a two-dimensional code body and a server, wherein the two-dimensional code body comprises a two-dimensional code pattern and a security line, wherein the security line is a window-type security line, and the position of the window-type security line is randomly generated on the two-dimensional code pattern; the server comprises an image acquisition module, which is used to acquire the two-dimensional code pattern scanned and recognized by an identification device; a pattern recognition module, which is used to recognize the two-dimensional code pattern, and to recognize commodity information associated with the two-dimensional code pattern and the position information of the security line according to the two-dimensional code pattern; an information judgment module, which retrieves the position information of the security line pre-stored with the commodity information according to the commodity information, and judges whether the acquired position information is consistent with the stored position information; and an identification feedback module, which is used to feedback the recognition to the identification device when the acquired position information is consistent with the stored position information and send the commodity information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of two-dimensional code anti-counterfeiting, and in particular to an anti-counterfeiting label based on security line variable distance calculation. Background Art

[0002] A QR code is a black and white graphic that records data symbol information distributed in a plane using certain geometric shapes according to certain rules. In the field of commodity trading, the characteristics of QR codes in recording information can be used to automatically identify and read information through image input devices or photoelectric scanning devices to achieve self-processing of information, so as to achieve the purpose of collecting and tracing the original data of commodities. However, since ordinary QR codes are reproducible, this leaves room for counterfeit goods, and various types of anti-counterfeiting QR codes have been derived.

[0003] At present, the common anti-counterfeiting method of QR code is to set a number of dot arrays in the black area of ​​the QR code. The size of the dots in the dot array is measured in pixels. Since the dots in the dot array are small, they cannot be completely copied when copied. After scanning the code, the authenticity of the QR code is verified by identifying the obtained dot array arrangement. However, this method requires the recognition equipment to have a high accuracy in order to obtain the dot array in the QR code, and when processing information, the QR code needs to be enlarged as much as possible to identify the anti-counterfeiting dot array, and the amount of information processing is large. The Chinese patent "Over-limit ink dot anti-counterfeiting method and printed matter" with application number 201811064985.9 discloses this anti-counterfeiting method.

[0004] Some QR codes use the burrs formed on the edges during cutting or the randomly distributed short fluff for anti-counterfeiting. Since the cutting burrs are randomly generated, the burrs on the edge of each QR code are unique; however, since the burrs are composed of fine fibers, the recognition accuracy is still high when identifying them. The QR code needs to be magnified as much as possible to obtain the burr information, and there is also the problem of large information processing volume. The technical solution disclosed in the Chinese patent "Fluff Noise Reduction Over-Limit Anti-Counterfeiting Product" with application number 201711265927.8 is similar to the above method.

[0005] Another method is to embed a security thread on the QR code to prevent counterfeiting. The security thread is often used on banknotes. This security thread cannot be copied. Using the security thread will cause the copied QR code to be defective; however, the fault tolerance mechanism of the QR code allows the incomplete QR code to be read, which leaves room for the re-manufacturing of the QR code. Therefore, embedding the security thread alone is not enough to prevent counterfeiting.

[0006] In summary, under the premise of ensuring that the anti-counterfeiting QR code has sufficient anti-counterfeiting strength, there is still room for optimization to further reduce the amount of information processing in the anti-counterfeiting verification process. Summary of the invention

[0007] The technical problem solved by the present invention is to provide an anti-counterfeiting label based on variable distance calculation of security line, which can reduce the amount of information processing during anti-counterfeiting verification while performing anti-counterfeiting verification through a two-dimensional code.

[0008] The basic solution provided by the present invention is:

[0009] A two-dimensional code anti-counterfeiting identification method based on a security thread comprises the following steps:

[0010] S1. Filling a window-type security thread in the QR code pattern, where the window-type security thread is randomly generated on the QR code pattern;

[0011] S2. Set an analysis point on the security line, record the length information of at least three straight lines connecting the three positioning points of the QR code to the analysis point, and bind the length information to the QR code pattern as pre-stored information;

[0012] S3. When the user scans the code to obtain the pre-stored information, the length information of the straight line connecting each positioning point of the current QR code pattern to the analysis point on the security line is obtained at the same time;

[0013] S4. Compare the length information obtained in S3 with the pre-stored information to determine whether the information is consistent. If the information is consistent, feedback to the user that the verification is successful is given. If the information is inconsistent, feedback to the user that the verification is unsuccessful is given.

[0014] An anti-counterfeiting label based on variable distance calculation of security thread, comprising a two-dimensional code body and a server, wherein the two-dimensional code body comprises a two-dimensional code pattern and a security thread, wherein the security thread is a window-type security thread, and the position of the window-type security thread is randomly generated on the two-dimensional code pattern;

[0015] The server includes an information storage module, a pattern acquisition module, a pattern recognition module, an information judgment module and a recognition feedback module;

[0016] An information storage module is used to identify straight lines connecting at least three positioning points on the two-dimensional code pattern and preset analysis points on the security line after the two-dimensional code is produced, determine first length information of each straight line connection, and associate the first length information of each straight line connection with the two-dimensional code pattern for storage;

[0017] An image acquisition module is used to acquire the QR code pattern when the recognition device scans and recognizes it;

[0018] A pattern recognition module is used to recognize the two-dimensional code pattern obtained during scanning, respectively recognize each positioning point on the obtained two-dimensional code pattern and the analysis point on the security strip according to the two-dimensional code pattern, and analyze the second length information of the straight line connecting each positioning point and the analysis point;

[0019] An information determination module, configured to retrieve first length information stored in association with the two-dimensional code pattern according to a recognition result of the two-dimensional code pattern, and determine whether the first length information is consistent with the second length information;

[0020] The recognition feedback module is used to feedback to the recognition device that the recognition is successful and send the commodity information when the first length information and the second length information are consistent, and to feedback to the recognition device that the recognition is unsuccessful when they are inconsistent.

[0021] The principles and advantages of the present invention are: a security line is buried on the anti-counterfeiting two-dimensional code, and the security line adopts a window design. During the mass production of the two-dimensional code, the window position is not controllable and random, and the position on each two-dimensional code is random. The security line is the anti-copying security line production technology used on existing banknotes. It is made of metal or plastic material and is embedded in the paper during the papermaking process. It can be observed with the naked eye but is difficult to be copied.

[0022] The QR code itself will be provided with a starting position to help the decoder identify and locate the QR code. The positioning points are usually located at the three corners of the QR code. After the QR code is produced, this scheme records the straight length between each positioning point on the QR code and the analysis point set on the security strip as the first length information. The number of positioning points is at least three. When there are three positioning points, there are three straight lines between the positioning points and the analysis points. When the length information of the three straight lines is fixed, there is only one analysis point. The analysis point can be the center of the security line window, a corner of the window, or the shortest distance from the positioning point to the window.

[0023] When a consumer scans a QR code, after obtaining the QR code pattern, the QR code pattern is identified to obtain the second length information of the straight lines connecting each positioning point and the analysis point in the QR code pattern scanned by the consumer. Since the QR code pattern itself is unique, after retrieving the first length information of each straight line connected with the QR code pattern, if the first length information (the length information of each straight line connected in the system after the QR code pattern is produced) and the second length information (the length information of each straight line connected in the QR code pattern uploaded by the consumer when scanning) are consistent, it means that the position of the security line in the QR code pattern is the same as the position at the time of production, and it can be determined that the QR code scanned by the consumer is a real QR code produced by the enterprise, and the product is authentic. If the first length information and the second length information are inconsistent, it means that the position of the security line in the QR code pattern is different from the position at the time of production, the QR code is remanufactured, and the product is not authentic.

[0024] Compared with existing technologies:

[0025] In this scheme, if the security line is buried in the copied QR code through remanufacturing, since the position of each security line is randomly generated in this scheme, it is difficult to accurately reproduce the security line window position when it is forged through remanufacturing. Therefore, by comparing the security line position with the pre-stored security line position, the comparison result is inconsistent and the verification cannot be passed, and the consumer knows that the product is a counterfeit product.

[0026] At the same time, in this solution, only the length information of three line segments needs to be identified. Compared with the existing method of identifying the dot matrix in the QR code, dot matrix identification usually requires the identification of the arrangement of hundreds of dots, which has high requirements for the identification equipment and large amount of calculation. In this solution, only the position information of the security line needs to be identified. The security line itself occupies a large area, so there is no requirement for the identification equipment, and the amount of calculation required for position identification is also small.

[0027] Further, the information judgment module includes a distance recognition module and a judgment module, and the length information includes an actual length;

[0028] A distance recognition module, used to respectively recognize the first actual length of the positioning point of each two-dimensional code and the analysis point of the security line;

[0029] The consistency judgment module is used to judge whether the first actual length of each positioning point and analysis point is consistent with the second actual length of the positioning point and analysis point pre-stored in the commodity information. If they are consistent, the recognition is passed; if they are inconsistent, the recognition fails.

[0030] By identifying the distance between each positioning point and the analysis point on the QR code, the identified distance is then compared with the pre-stored distance to determine whether the actual security line position is consistent with the pre-stored security line position. The number of positioning points is at least three. When the number of positioning points is three, the length from the three positioning points to the analysis point is fixed. Some have only one analysis point position. If the obtained length is the same as the pre-stored length, the security line position is correct and the QR code is a real QR code.

[0031] Further, the distance identification module includes a standard management module and a length calculation module;

[0032] A standard management module, used for determining the actual length of a reference object on a pre-stored QR code pattern;

[0033] The length calculation module is used to respectively identify the ratio of the length of the straight line between each positioning point and the analysis point in the acquired two-dimensional code pattern to the actual length of the reference object, and calculate the actual length between each positioning point and the analysis point;

[0034] The consistency judgment module is used to judge the actual length between each positioning point and the analysis point and the stored actual length respectively. If they are consistent, the recognition is passed; if they are inconsistent, the recognition fails.

[0035] By selecting a reference object on the QR code as a reference standard, for example, selecting the side length of the QR code, the actual length between each positioning point and the analysis point in the acquired QR code pattern is converted according to the ratio of the reference object to the straight line connecting the positioning point and the analysis point in the acquired QR code pattern.

[0036] Further, the distance recognition module includes a standard selection module and a ratio recognition module, and the length information includes a line segment ratio;

[0037] The standard selection module is used to select one of the straight lines connecting each positioning point and the analysis point as a standard line;

[0038] A ratio recognition module, used to recognize the length ratio of the standard line and other straight line connections, and obtain the first line segment ratio of the straight line connection between each positioning point and the analysis point;

[0039] The consistency judgment module is used to judge whether the first line segment ratio of the straight line connecting each positioning point and the analysis point is consistent with the stored second line segment ratio. If they are consistent, the recognition is passed; if they are inconsistent, the recognition is failed.

[0040] By pre-storing the length ratio of the straight lines from each positioning point to the analysis point, during recognition, it is only necessary to directly identify the length ratio of the straight lines from each positioning point to the analysis point, without calculating the actual length from each positioning point to the analysis point, thereby further reducing the amount of calculation in the QR code anti-counterfeiting verification and recognition process.

[0041] Further, the server also includes a posture acquisition module;

[0042] The posture acquisition module is used to obtain the posture information when the recognition device scans the QR code;

[0043] The pattern correction module is used to correct the QR code image according to the posture information of the recognition device.

[0044] When users scan the code, if the recognition device they use has a certain inclination angle, the acquired QR code pattern will change on the two-dimensional plane, causing the distance between the positioning point and the analysis point to change, resulting in recognition errors. Therefore, through sensing devices such as gyroscopes, the posture information of the recognition device when scanning the QR code is obtained, and the QR code image is corrected based on the posture information to ensure recognition accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1It is a logic block diagram of an anti-counterfeiting label embodiment based on security line variable distance calculation of the present invention;

[0046] Figure 2 It is a schematic diagram of a two-dimensional code in an anti-counterfeiting label embodiment based on security line variable distance calculation of the present invention. DETAILED DESCRIPTION

[0047] The following is further described in detail through specific implementation methods:

[0048] The embodiment is basically as shown in the attached Figure 1 As shown:

[0049] An anti-counterfeiting label based on variable distance calculation of security line includes a two-dimensional code body and a server, wherein the two-dimensional code body is as follows: Figure 2 As shown, it includes a QR code pattern and a security thread. The security thread is a window-type security thread, and the position of the window-type security thread is randomly generated on the QR code pattern. The security thread is the anti-copying security thread production technology used on existing banknotes. It is made of metal or plastic and is embedded in the paper during the papermaking process.

[0050] like Figure 2 As shown in the figure, there are three positioning points on the QR code pattern, located at the upper left corner, upper right corner and lower left corner of the QR code. After the QR code is produced, a point is selected on the security line as the analysis point. In this embodiment, the upper left corner of the security line is selected as the analysis point. Then the actual length of the straight line connecting the upper left corner positioning point to the analysis point is recorded. , the actual length of the straight line connecting the upper right corner positioning point to the analysis point , and the actual length of the straight line from the lower left corner positioning point to the analysis point .Will , , The package is stored in association with the QR code pattern.

[0051] The server includes a pattern acquisition module, a pattern recognition module, an information judgment module, a recognition feedback module and a posture acquisition module.

[0052] The image acquisition module is used to acquire the two-dimensional code pattern scanned and recognized by the recognition device. When the user scans, the two-dimensional code pattern uploaded by the recognition device is acquired. In this embodiment, the recognition device is specifically a smart phone.

[0053] The posture acquisition module is used to acquire the posture information when the recognition device scans the QR code. Specifically, in this embodiment, the posture information is obtained by acquiring the inclination information sensed by the gyroscope of the mobile phone.

[0054] The pattern correction module is used to correct the QR code image according to the posture information of the recognition device.

[0055] The pattern recognition module is used to recognize the QR code pattern, and recognize the commodity information associated with the QR code pattern and the position information of the security thread according to the QR code pattern. Specifically, the pattern recognition module includes a position recognition module, which is used to recognize the position of the positioning point in the QR code pattern and the position of the preset analysis point of the security thread. Specifically, the distance between the positioning point and the analysis point in the uploaded pattern can be recognized through the existing image recognition technology.

[0056] The information judgment module retrieves the location information of the security line pre-stored with the product information according to the product information, and judges whether the acquired location information is consistent with the stored location information. It includes a distance recognition module and a judgment module.

[0057] The distance recognition module is used to respectively recognize the distance between the positioning point of each two-dimensional code and the analysis point of the security line. The distance recognition module includes a standard management module and a length calculation module.

[0058] The standard management module is used to select a reference object in the QR code body and record the actual length of the reference object, such as the side length of the positioning point and the side length of the QR code, according to the actual length of the reference object on the pre-stored QR code pattern.

[0059] The length calculation module identifies the ratio of the length of the straight line between each positioning point and the analysis point in the acquired two-dimensional code pattern to the actual length of the reference object, and calculates the actual length between each positioning point and the analysis point. After selecting the reference object, the ratio of the straight line between each positioning point and the analysis point to the reference object is determined through image recognition technology, and the distance from each positioning point to the analysis point in the acquired two-dimensional code pattern is converted. For example, if the side length of the two-dimensional code is selected as a reference object, its actual length is 3cm. Through image recognition, the ratio of the side length of the two-dimensional code to the straight line from the upper left corner positioning point to the analysis point is 4:1. Therefore, in the acquired two-dimensional code pattern, the actual length of the straight line from the upper left corner positioning point to the analysis point is In the same way, the actual length of the straight line connecting the upper right corner positioning point to the analysis point is obtained. , the actual length of the straight line connecting the lower left corner positioning point to the analysis point .

[0060] The consistency judgment module is used to judge whether the distance between each positioning point and the analysis point is consistent with the distance between the positioning point and the analysis point pre-stored in the product information. If they are consistent, the recognition is passed; if they are inconsistent, the recognition fails.

[0061] At this time, after the QR code pattern is recognized, the product information corresponding to the QR code is obtained, and the length of the straight line connecting the upper left corner positioning point to the analysis point stored in association with the product information is retrieved according to the product information. , the length of the straight line connecting the upper right corner positioning point to the analysis point , and the length of the straight line from the lower left corner positioning point to the analysis point . Compare and Are they equal? and Are they equal? and Are they equal? ​​If they are equal, the verification is successful, the product is authentic, and feedback to the user is verification successful. Otherwise, feedback to the user is verification failed.

[0062] A security thread is buried on the anti-counterfeiting QR code. The security thread adopts a window design. During the mass production of QR codes, the window position is not controllable and random, and the position on each QR code is random. The security thread is the anti-copying security thread production technology used on existing banknotes. It is made of metal or plastic material and is embedded in the paper during the papermaking process. It can be observed with the naked eye, but is difficult to copy.

[0063] The QR code itself will be provided with a starting position to help the decoder identify and locate the QR code. The positioning points are usually located at the three corners of the QR code. After the QR code is produced, this solution records the straight length between each positioning point on the QR code and the analysis point set on the security bar as the first length information. The number of positioning points is at least three. When there are three positioning points, there are three straight lines connecting the positioning points and the analysis points. When the length information of the three straight lines is fixed, there is only one analysis point.

[0064] When a consumer scans a QR code, after obtaining the QR code pattern, the QR code pattern is identified to obtain the second length information of the straight lines connecting each positioning point and the analysis point in the QR code pattern scanned by the consumer. Since the QR code pattern itself is unique, after retrieving the first length information of each straight line connected with the QR code pattern, if the first length information (the length information of each straight line connected in the system after the QR code pattern is produced) and the second length information (the length information of each straight line connected in the QR code pattern uploaded by the consumer when scanning) are consistent, it means that the position of the security line in the QR code pattern is the same as the position at the time of production, and it can be determined that the QR code scanned by the consumer is a real QR code produced by the enterprise, and the product is authentic. If the first length information and the second length information are inconsistent, it means that the position of the security line in the QR code pattern is different from the position at the time of production, the QR code is remanufactured, and the product is not authentic.

[0065] Compared with existing technologies:

[0066] In this solution, if the code is remanufactured, the security line is buried in the copied QR code. However, in this solution, the position of each security line is randomly generated. It is difficult to accurately reproduce the security line window position when the code is remanufactured forged. Therefore, when comparing the security line position with the pre-stored security line position, the comparison result is inconsistent, and the verification fails, so that the consumer knows that the product is a counterfeit product.

[0067] At the same time, in this solution, only the length information of three line segments needs to be identified. Compared with the existing method of identifying the dot matrix in the QR code, dot matrix identification usually requires the identification of the arrangement of hundreds of dots, which has high requirements for the identification equipment and large amount of calculation. In this solution, only the position information of the security line needs to be identified. The security line itself occupies a large area, so there is no requirement for the identification equipment, and the amount of calculation required for position identification is also small.

[0068] The present invention also discloses a two-dimensional code anti-counterfeiting identification method based on a security thread, comprising the following steps:

[0069] S1. Create a QR code pattern and fill the QR code pattern with a window-type security thread, where the window-type security thread is randomly generated on the QR code pattern;

[0070] S2. After the two-dimensional code pattern is produced, an analysis point is set on the security line, and first length information of straight lines connecting at least three positioning points on the two-dimensional code pattern to the analysis point is recorded respectively, and the first length information is bound to the two-dimensional code pattern;

[0071] S3, obtaining the QR code pattern scanned by the user, identifying each positioning point on the obtained QR code pattern and the analysis point on the security line, and analyzing the second length information from each positioning point to the analysis point;

[0072] S4. According to the acquired QR code pattern, the first length information bound thereto is obtained, and whether the first length information and the second length information are consistent is analyzed. When the first length information and the second length information are consistent, feedback is given to the user that the verification is passed; when the first length information and the second length information are inconsistent, feedback is given to the user that the verification is failed.

[0073] Embodiment 2

[0074] The difference between this embodiment and the first embodiment is that in this embodiment, after the QR code is produced, the actual length is not recorded. , , , but records the line segment ratio of each positioning point and the straight line connecting the analysis point : : , the line segment ratio is the first line segment ratio.

[0075] In this embodiment, the distance recognition module includes a standard selection module and a ratio recognition module.

[0076] The standard selection module is used to select one of the straight lines connecting the positioning points and the analysis points as the standard line. In this embodiment, the shortest straight line is selected as the standard line.

[0077] The ratio recognition module is used to identify the length ratio of the standard line and other straight lines, and obtain the ratio of the straight lines between each positioning point and the analysis point. For example, if the straight line from the upper left corner positioning point to the analysis point is selected as the standard line, the line segment ratio between it and the straight line from the upper right corner positioning point to the analysis point is identified through image recognition technology. : , and the line segment ratio connecting the lower corner positioning point to the analysis point : , and finally get the line segment ratio of the three straight lines : : , the line segment ratio is the second line segment ratio.

[0078] Then compare the first line segment ratio : : Proportional to the second line segment : : Are they consistent? If they are consistent, the verification passes. If they are inconsistent, the verification fails.

[0079] By pre-storing the length ratio of the straight lines from each positioning point to the analysis point, during recognition, it is only necessary to directly identify the length ratio of the straight lines from each positioning point to the analysis point, without having to calculate the acquired QR code pattern, thereby further reducing the amount of calculation during recognition.

[0080] The above are only embodiments of the present invention. Common knowledge such as the known specific structures and characteristics in the scheme is not described in detail here. Ordinary technicians in the relevant field know all the common technical knowledge in the technical field to which the invention belongs before the application date or priority date, can obtain all the existing technologies in the field, and have the ability to apply conventional experimental means before that date. Ordinary technicians in the relevant field can improve and implement this scheme in combination with their own abilities under the enlightenment given by this application. Some typical known structures or known methods should not become obstacles for ordinary technicians in the relevant field to implement this application. It should be pointed out that for those skilled in the art, without departing from the structure of the present invention, several deformations and improvements can be made, which should also be regarded as the scope of protection of the present invention, and these will not affect the effect of the implementation of the present invention and the practicality of the patent. The scope of protection required by this application shall be based on the content of its claims, and the specific implementation methods and other records in the specification can be used to interpret the content of the claims.

Claims

1. An anti-counterfeiting label based on security line variable distance calculation, characterized in that: It includes a two-dimensional code body and a server, wherein the two-dimensional code body includes a two-dimensional code pattern and a security line, wherein the security line is a window-type security line, and the position of the window-type security line is randomly generated on the two-dimensional code pattern; The server includes an information storage module, a pattern acquisition module, a pattern recognition module, an information judgment module and a recognition feedback module; An information storage module is used to identify straight lines connecting at least three positioning points on the two-dimensional code pattern and preset analysis points on the security line after the two-dimensional code is produced, determine first length information of each straight line connection, and associate the first length information of each straight line connection with the two-dimensional code pattern for storage; An image acquisition module is used to acquire the QR code pattern when the recognition device scans and recognizes it; A pattern recognition module is used to recognize the two-dimensional code pattern obtained during scanning, respectively recognize each positioning point on the obtained two-dimensional code pattern and the analysis point on the security strip according to the two-dimensional code pattern, and analyze the second length information of the straight line connecting each positioning point and the analysis point; An information determination module, configured to retrieve first length information stored in association with the two-dimensional code pattern according to a recognition result of the two-dimensional code pattern, and determine whether the first length information is consistent with the second length information; The recognition feedback module is used to feedback to the recognition device that the recognition is successful and send the commodity information when the first length information and the second length information are consistent, and to feedback to the recognition device that the recognition is unsuccessful when they are inconsistent.

2. The anti-counterfeiting label based on security line variable distance calculation according to claim 1, characterized in that: The information judgment module includes a distance recognition module and a judgment module, and the length information includes an actual length; A distance recognition module, used to respectively recognize the first actual length of the positioning point of each two-dimensional code and the analysis point of the security line; The consistency judgment module is used to judge whether the first actual length of each positioning point and analysis point is consistent with the second actual length of the positioning point and analysis point pre-stored in the commodity information. If they are consistent, the recognition is passed; if they are inconsistent, the recognition fails.

3. The anti-counterfeiting label based on security line variable distance calculation according to claim 2, characterized in that: The distance recognition module includes a standard management module and a length calculation module; A standard management module, used for determining the actual length of a reference object on a pre-stored QR code pattern; The length calculation module is used to respectively identify the ratio of the length of the straight line between each positioning point and the analysis point in the acquired two-dimensional code pattern to the actual length of the reference object, and calculate the actual length between each positioning point and the analysis point; The consistency judgment module is used to judge the actual length between each positioning point and the analysis point and the stored actual length respectively. If they are consistent, the recognition is passed; if they are inconsistent, the recognition fails.

4. The anti-counterfeiting label based on security line variable distance calculation according to claim 3, characterized in that: The distance recognition module includes a standard selection module and a ratio recognition module, and the length information includes the line segment ratio; The standard selection module is used to select one of the straight lines connecting each positioning point and the analysis point as a standard line; A ratio recognition module, used to recognize the length ratio of the standard line and other straight line connections, and obtain the first line segment ratio of the straight line connection between each positioning point and the analysis point; The consistency judgment module is used to judge whether the first line segment ratio of the straight line connecting each positioning point and the analysis point is consistent with the stored second line segment ratio. If they are consistent, the recognition is passed; if they are inconsistent, the recognition is failed.

5. The anti-counterfeiting label based on security line variable distance calculation according to claim 1, characterized in that: The server also includes a posture acquisition module and a pattern correction module; The posture acquisition module is used to obtain the posture information when the recognition device scans the QR code; The pattern correction module is used to correct the QR code image according to the posture information of the recognition device.

Citation Information

Patent Citations

  • Fluff noise-reduction out-of-gauge anti-counterfeit product

    CN108009615A

  • Anti-counterfeit method for out-of-limit ink dot and printing matter

    CN109426971A

  • Anti-counterfeiting system and anti-counterfeiting method

    CN109978574A

  • Two-dimensional code generation method and device, equipment, storage medium and product

    CN119005236A