An intelligent QR code anti-counterfeiting verification system
Through the intelligent QR code anti-counterfeiting verification system, optical encryption and chaos mapping technology are used to solve the shortcomings of traditional QR code anti-counterfeiting technology, high-precision QR code authenticity verification, and improved the security and reliability of anti-counterfeiting.
Patent Information
- Application Number
- CN202510136096.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-07
- Publication Date
- 2025-06-06
- Estimated Expiration
- 2045-02-07
AI Technical Summary
Traditional QR code anti-counterfeiting technology has problems such as easy copying of patterns, unreliable verification methods and lack of dynamic monitoring and encryption protection, resulting in poor anti-counterfeiting effect.
The intelligent QR code anti-counterfeiting verification system is adopted, and through information encoding and encryption modules, phase conversion and encryption modules, optical instruction generation modules, scanning and instruction execution modules, and decryption and verification modules, optical encryption and chaos mapping technology are realized, dynamic optical encryption instructions and optical response data are embedded to perform high-precision verification.
It significantly improves the security and reliability of anti-counterfeiting verification, prevents forgery and copying, ensures the normal scanning and reading functions of QR codes, and provides more powerful technical guarantees.
Smart Images

Figure CN119579202B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of anti-counterfeiting technology, and in particular to an intelligent two-dimensional code anti-counterfeiting verification system. Background Art
[0002] In today's market economy, authenticity identification of goods has become an important part of safeguarding consumer rights and protecting corporate brand reputation. With the continuous development of science and technology, anti-counterfeiting technology is also constantly evolving, aiming to provide a more secure, reliable and difficult-to-copy verification method. As a medium for information storage and transmission, QR code has been widely used in the field of product anti-counterfeiting due to its convenience and efficiency.
[0003] Traditional QR code anti-counterfeiting technology mainly relies on the uniqueness of the QR code pattern and the information verification after scanning. However, this technology has significant shortcomings. First, the QR code pattern itself does not have an encryption function and is easily copied or tampered with maliciously, thus losing its anti-counterfeiting significance. Secondly, traditional verification methods often rely on network or database queries. Once the query interface is attacked or the data is tampered with, the verification result will be unreliable. In addition, traditional technology lacks dynamic monitoring and encryption protection during the use of the QR code, which greatly reduces the anti-counterfeiting effect.
[0004] Therefore, the development of an intelligent QR code anti-counterfeiting verification system provides a new solution for product anti-counterfeiting and has broad application prospects and market value. Summary of the invention
[0005] The purpose of the present invention is to make up for the shortcomings of the prior art and to provide an intelligent QR code anti-counterfeiting verification system. The system collects comprehensive product information and embeds key information of optical encryption, combines dynamic optical encryption instructions and optical operations on the user side, and realizes high-precision verification of the authenticity of the QR code. It not only improves the security and reliability of anti-counterfeiting technology, but also effectively prevents counterfeiting and copying through optical encryption algorithms and chaotic mapping technology.
[0006] In order to solve the above technical problems, the present invention provides the following technical solutions: an intelligent two-dimensional code anti-counterfeiting verification system, the system comprising: an information encoding and encryption module, a phase conversion and encryption module, an optical instruction generation module, a scanning and instruction execution module, and a decryption and verification module;
[0007] The information encoding and encryption module collects comprehensive information of the product, including but not limited to the detailed contents of the product name, model, specification, material, manufacturer, production date, shelf life, batch number, and place of origin, generates a basic two-dimensional pattern according to the two-dimensional code encoding standard, and in the encoding process, collaborates with the phase conversion and encryption module to embed the key information processed by the phase conversion and encryption module into a specific area of the two-dimensional code;
[0008] The phase conversion and encryption module: converts the key information into an ASCII code sequence, preprocesses it, converts the preprocessed ASCII code sequence into phase information, and normalizes it in combination with the laser wavelength, designs a phase mask corresponding to a specific area of the two-dimensional code, and makes the laser beam carry the encrypted phase information by irradiating the phase mask corresponding to the specific area of the two-dimensional code with a laser beam, and uses the laser beam carrying the encrypted phase information to irradiate the specific area of the two-dimensional code, so that the phase of the reflected light in the area changes accordingly, and the key information is stored in the two-dimensional code;
[0009] The optical instruction generation module: records relevant data, collects multiple types of information closely related to the user and the QR code, integrates the information using the UBT chaos integration formula, generates random numbers based on the value of the UBT chaos integration formula using an algorithm to determine the optical instruction parameters of the wavelength, illumination angle and illumination intensity of the irradiated light, combines the parameters into an instruction set, sends the instruction set to the user terminal device with the help of a secure WebSocket protocol, assigns a unique identifier to each instruction set, and records the unique identifier of the instruction, the instruction set, the sending time and the MAC address of the receiving device in a database;
[0010] The scanning and instruction execution module has optical detection and decryption functions, is used to scan the QR code and extract the encrypted information therein, and can receive dynamic optical encryption instructions and guide the user to perform corresponding optical operations;
[0011] The decryption and verification module receives the encrypted information and decryption results transmitted by the optical detection device or mobile phone application, as well as the optical response data of the QR code, decrypts the encrypted information, compares the decrypted information with the original information, and calculates the matching degree. When the matching degree reaches 95%, it is determined that the encrypted information matches successfully. At the same time, the optical response data is analyzed to verify whether it meets expectations according to preset rules. Combined with the results of the encrypted information matching and the optical response verification, when both pass, the QR code is determined to be true, otherwise it is false.
[0012] Furthermore, the specific area of the QR code in the information encoding and encryption module refers to an area used to embed encrypted information and does not affect the normal scanning and reading functions of the QR code, specifically: a corner area, an edge area, and an internal regular area.
[0013] Furthermore, the phase conversion and encryption module converts the key information into an ASCII code sequence through the conversion formula of information entropy and quantum fluctuation. Suppose the key information is , calculate the information entropy of key information , the formula is: , let the fluctuation of quantum state be expressed by random variable , Normal distribution , It is related to a certain feature of the product. Let the transformation matrix be , whose elements Information Entropy and quantum fluctuations Relevant, for key information Each character in , convert it into an ASCII code sequence The formula is: ,in is a constant associated with the key information structure.
[0014] Furthermore, the phase conversion formula based on chaotic mapping and Hilbert space projection in the phase conversion and encryption module converts the preprocessed ASCII code sequence into phase information. Each value in , using chaotic mapping for processing, the formula is: ,in is the chaos control parameter, is a small disturbance term related to the product, As initial value ,go through The chaotic sequence is obtained by the chaotic iteration , define a Hilbert space , the chaotic sequence Considered as a vector in Hilbert space , choose a set of orthogonal basis , the vector Projecting onto these orthogonal bases, we get the projection coefficients , phase information It is calculated by the projection coefficient, the formula is: ,in is a set of phase factors associated with the product.
[0015] Furthermore, the generation of the phase mask in the phase conversion and encryption module assumes that the specific area of the QR code is The matrix structure corresponds to the phase mask matrix Likewise , assuming that the key information to be encrypted has been converted into a two-dimensional phase value matrix ,in , introduce a random disturbance factor based on product characteristics, taking the production year of the product as , Batch No. The chaotic sequence is generated based on the formula: ,in As coefficient, The last digit of is normalized to (0, 1) and used as the initial value , iteratively generate row-wise chaotic sequences , ,by The value of is normalized to (0, 1) as the initial value Iterative generation of column-wise chaotic sequences , , phase mask element The calculation formula is: ,in It means to perform a modulo operation on the result obtained by the previous calculation, and the modulus is .
[0016] Furthermore, the phase conversion and encryption module calculates the encrypted phase information carried by the laser beam through the laser beam and phase mask formula, assuming that the electric field intensity of the laser beam is: ,in is the amplitude, is the wave number, is the laser wavelength, For the direction of propagation, is the angular frequency, is the time when the laser beam is perpendicular to the phase mask When the light field passes through the phase mask for: ,in and is the Dirac function, which means that in the phase mask coordinates Phase mutation at .
[0017] Furthermore, the optical instruction generation module uses the UBT chaos integration formula to integrate the information. The unique identifier of the user device collected is , the production batch number of the product associated with the QR code is , the current timestamp is , for user device identifiers , take the sum of all its numbers and record it as , for production batch number , calculate the product of its digits, recorded as , from the current timestamp Extract the seconds part , and make an even / odd judgment on it. is an even number, , is an odd number, , introduce a random factor based on the characteristics of the QR code itself, and set the size of the QR code to , its side length As the basis of the randomization factor, the randomization factor calculation formula is: ,by As initial value , after one iteration, the randomization factor is obtained , construct the integration function , the calculation formula is: .
[0018] Furthermore, the optical instruction generation module uses an algorithm based on the value of the UBT chaos integration formula to generate random numbers to determine the optical instruction parameters of the wavelength, illumination angle and illumination intensity of the irradiated light. The value calculated by the UBT chaos integration formula is , generate three random numbers in (0, 1) through the formula , the calculation formula is: , , ,in Indicates taking The decimal part of the generated random number determines the wavelength, illumination angle and illumination intensity. The wavelength is determined by: the preset wavelength range is ,wavelength The calculation formula is: ; Determination of illumination angle: The preset illumination angle range is , lighting angle The calculation formula is: ; Determination of light intensity: The preset light intensity range is , light intensity The calculation formula is: .
[0019] Furthermore, the decryption and verification module decrypts the encrypted information, assuming that the light field carrying the encrypted information is received as , use the interferometry method to extract the phase information, assuming the reference light field is: , using the reference light field With the received light field Interference, light intensity distribution after interference for: ,in means and Multiply, take the real part of the product, and finally multiply the real part by 2, and use the phase recovery algorithm to calculate the interference light intensity distribution. For analysis, assume that the interference light intensity distribution is known. In the detection area, the initial guess phase is ,go through Iterations, update phase The formula is: ,in is the iteration step, and the phase distribution carrying the encrypted information is gradually restored through multiple iterations, and the original key information is restored according to the coding relationship.
[0020] Furthermore, the preset rules for optical response data analysis in the decryption and verification module are:
[0021] Light intensity related rules: reasonable numerical range of reflected light intensity, light intensity changes remain relatively stable during optical operations;
[0022] Phase correlation rule: The phase change must match the encryption setting mode, and the recovered phase distribution must meet the requirements of continuity, smoothness and consistency with the original encoding relationship;
[0023] Wavelength-related rules: The conditions that the absorption, reflection or transmission characteristics of the QR code for light of a specific wavelength should meet at different verification stages.
[0024] Compared with the prior art, this intelligent two-dimensional code anti-counterfeiting verification system has the following beneficial effects:
[0025] 1. The present invention achieves a major breakthrough in the two-dimensional code anti-counterfeiting verification technology by introducing a phase conversion and encryption module. The module can convert key information into phase information and perform normalization processing in combination with the laser wavelength. The phase of the reflected light in a specific area of the two-dimensional code is changed through a phase mask, thereby embedding encrypted information. This optical encryption method not only greatly improves the security and reliability of anti-counterfeiting verification, but also ensures that the normal scanning and reading functions of the two-dimensional code are not affected, providing a more powerful technical guarantee for product anti-counterfeiting.
[0026] 2. The present invention can collect various types of information closely related to users and QR codes by utilizing an optical instruction generation module, and integrate the information using the UBT chaotic integration formula to generate random optical instruction parameters. These parameters are sent to the user-end device through a secure WebSocket protocol to guide the user to perform corresponding optical operations. This method of generating dynamic encrypted instructions makes each anti-counterfeiting verification process unique, increasing the difficulty of forgery and copying. At the same time, combined with the analysis of optical response data by the information processing and verification module, the present invention can accurately determine the authenticity of the QR code, providing consumers and enterprises with a more convenient and efficient anti-counterfeiting verification method.
[0027] Other advantages, objectives and features of the present invention will be set forth in part in the following description and, in part, will be apparent to those skilled in the art based on an examination of the following or may be taught from the practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0029] Figure 1 It is a flow chart of an intelligent QR code anti-counterfeiting verification system;
[0030] Figure 2 This is a process framework diagram of an intelligent QR code anti-counterfeiting verification system. DETAILED DESCRIPTION
[0031] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the specific implementation mode, structure, characteristics and effects of the present invention are described in detail below in combination with the accompanying drawings and preferred embodiments.
[0032] Embodiment 1
[0033] Electronic product anti-counterfeiting verification
[0034] An electronic product manufacturer enters detailed product information into the system, including product name "XX smartphone", model "XX100", specifications "6.7-inch screen, 128GB storage", material "aluminum alloy shell", manufacturer "XX Electronics Co., Ltd.", production date "May 10, 2023", shelf life "2 years", batch number "202305A", and place of origin "Shenzhen, China".
[0035] Based on this information, the information encoding and encryption module generates a basic two-dimensional pattern in accordance with the two-dimensional code encoding standard. During the encoding process, it collaborates with the phase conversion and encryption module to embed the key information (such as product model and batch number) processed by the phase conversion and encryption module into the corner area of the two-dimensional code.
[0036] The phase conversion and encryption module converts the key information into an ASCII code sequence, such as the product model "XX100". , calculate the information entropy of key information , the formula is: ,in is the probability of each symbol appearing in the key information, and the fluctuation of the quantum state is assumed to be a random variable , Normal distribution , It is related to a certain feature of the product. Let the transformation matrix be , whose elements Information Entropy and quantum fluctuations Relevant, for key information Each character in , convert it into an ASCII code sequence The formula is: Then, based on the phase conversion formula of chaotic mapping and Hilbert space projection, the preprocessed ASCII code sequence is converted into phase information. Each value in , using chaotic mapping for processing, the formula is: ,by As initial value ,go through The chaotic sequence is obtained by the chaotic iteration , define a Hilbert space , the chaotic sequence Considered as a vector in Hilbert space , choose a set of orthogonal basis , the vector Projecting onto these orthogonal bases, we get the projection coefficients , phase information It is calculated by the projection coefficient, the formula is: .
[0037] Then, a phase mask corresponding to the corner area of the QR code is designed, and the specific area of the QR code is set as The matrix structure corresponds to the phase mask matrix Likewise , assuming that the key information to be encrypted has been converted into a two-dimensional phase value matrix , introduce a random disturbance factor based on product characteristics, taking the production year of the product as , Batch No. The chaotic sequence is generated based on the formula: ,by The last digit of is normalized to (0, 1) and used as the initial value , iteratively generate row-wise chaotic sequences ,by The value of is normalized to (0, 1) as the initial value Iterative generation of column-wise chaotic sequences , phase mask element The calculation formula is: , by letting the laser beam illuminate the phase mask, the laser beam carries the encrypted phase information. Suppose the electric field intensity of the laser beam is: , when the laser beam is irradiated perpendicularly to the phase mask When the light field passes through the phase mask for: , and then use this laser beam to illuminate the corner area of the QR code, changing the phase of the reflected light in that area, thereby storing the key information in the QR code.
[0038] When the user uses a mobile phone to scan the QR code of the electronic product, the optical instruction generation module collects the unique identifier of the user's device (such as the IMEI number of the mobile phone), the production batch number "202305A" of the product associated with the QR code, and the current timestamp, and integrates this information using the UBT chaotic integration formula. Let the collected unique identifier of the user's device be , the production batch number of the product associated with the QR code is , the current timestamp is , introduce a random factor based on the characteristics of the QR code itself, and set the size of the QR code to , its side length As the basis of the randomization factor, the randomization factor calculation formula is: ,by As initial value , after one iteration, the randomization factor is obtained , construct the integration function , the calculation formula is: Based on V, an algorithm is used to generate random numbers to determine the optical instruction parameters of the wavelength, illumination angle and illumination intensity of the irradiated light, and three random numbers in (0, 1) are generated by the formula , the calculation formula is: , , ,in Indicates taking The wavelength, illumination angle and illumination intensity are determined based on the decimal part of the generated random number. The calculation formula is: , lighting angle The calculation formula is: , light intensity The calculation formula is: , assuming that the preset wavelength range is [400nm, 700nm], the illumination angle range is [0°, 90°], and the illumination intensity range is [100lx, 500lx], the specific wavelength, illumination angle, and illumination intensity values will be calculated and combined into an instruction set.
[0039] The command set is sent to the user's mobile application with the help of a secure WebSocket protocol. A unique identifier is assigned to the command set, and the unique identifier, command set, sending time and MAC address of the recipient device are recorded in the database.
[0040] After receiving the dynamic optical encryption instruction, the application on the user's mobile phone guides the user to perform corresponding optical operations, such as adjusting the lighting angle and intensity of the mobile phone's flashlight to meet the instruction requirements.
[0041] The mobile phone application scans the QR code and extracts the encrypted information from it, while receiving the optical response data of the QR code. Let the light field carrying the encrypted information be , use the interferometry method to extract the phase information, assuming the reference light field is: , using the reference light field With the received light field Interference, light intensity distribution after interference for: , using the phase retrieval algorithm to analyze the interference light intensity distribution For analysis, assume that the interference light intensity distribution is known. In the detection area, the initial guess phase is ,go through Iterations, update phase The formula is: , and then restore the original key information. The information processing and verification module compares the decrypted information with the original information and calculates the matching degree. If the matching degree reaches 95%, it is determined that the encrypted information matches successfully. At the same time, the optical response data is analyzed to verify whether it meets expectations according to the preset rules, such as whether the reflected light intensity is within a reasonable value range and the change is relatively stable, whether the phase change matches the encryption setting mode and satisfies the continuity, smoothness and consistency with the original encoding relationship. If the encrypted information match and the optical response verification are passed, the QR code is determined to be true, that is, the electronic product is authentic; otherwise, it is false and may be a counterfeit product.
[0042] In summary, in the anti-counterfeiting verification of electronic products, the present invention generates a QR code by entering detailed product information, stores key information through optical encryption, generates dynamic optical encryption instructions based on user and product information to guide mobile phone operations, and the mobile phone application scans, decrypts and combines optical response data for verification, thereby effectively ensuring the authenticity identification of electronic products, preventing counterfeit products from entering the market, and safeguarding consumer rights and interests and corporate brand image.
[0043] Embodiment 2:
[0044] Pharmaceutical manufacturers enter drug information into the system. Taking a certain drug as an example, it includes the product name "XX cold medicine", model "none" (the drug may not have the concept of model, and the key information can be determined based on actual conditions), specification "10 tablets per box", material "packaging material is paper box", manufacturer "XX Pharmaceutical Factory", production date "June 15, 2023", shelf life "3 years", batch number "202306B", and place of origin "Shanghai, China".
[0045] The information encoding and encryption module generates a basic two-dimensional pattern, and in collaboration with the phase conversion and encryption module, embeds key information (such as batch number and production date) into the edge area of the QR code.
[0046] The phase conversion and encryption module converts the key information into an ASCII code sequence and calculates the information entropy of the key information. , the formula is: , let the fluctuation of quantum state be expressed by random variable , Normal distribution , It is related to a certain feature of the product. Let the transformation matrix be , whose elements Information Entropy and quantum fluctuations Relevant, for key information Each character in , convert it into an ASCII code sequence The formula is: , and normalized by combining the laser wavelength, a phase mask is designed for the edge area of the QR code, and the specific area of the QR code is set as The matrix structure corresponds to the phase mask matrix Likewise , assuming that the key information to be encrypted has been converted into a two-dimensional phase value matrix , introduce a random disturbance factor based on product characteristics, taking the production year of the product as , Batch No. The chaotic sequence is generated based on the formula: ,by The last digit of is normalized to (0, 1) and used as the initial value , iteratively generate row-wise chaotic sequences ,by The value of is normalized to (0, 1) as the initial value Iterative generation of column-wise chaotic sequences , phase mask element The calculation formula is: , using the interaction between the laser beam and the phase mask, the laser beam carries the encrypted phase information and irradiates the edge area of the QR code to complete the information storage. The encrypted phase information carried by the laser beam is calculated by the formula of the laser beam and the phase mask. Assume that the electric field intensity of the laser beam is: , when the laser beam is irradiated perpendicularly to the phase mask When the light field passes through the phase mask for: ,For the batch number “202306B”, it is stored in the edge area of the QR code after a series of encryption ,processes.
[0047] After purchasing medicines, consumers scan the QR code. The optical instruction generation module collects user device information (such as mobile device number), drug batch number "202306B" and current timestamp information, and integrates the information through the UBT chaos integration formula to obtain the V value. Let the unique identifier of the user device collected be , the production batch number of the product associated with the QR code is , the current timestamp is , introduce a random factor based on the characteristics of the QR code itself, and set the size of the QR code to , its side length As the basis of the randomization factor, the randomization factor calculation formula is: ,by As initial value , after one iteration, the randomization factor is obtained , construct the integration function , the calculation formula is: , based on V, a random number is generated, and the wavelength, illumination angle and illumination intensity are determined according to the generated random number. The calculation formula is: , lighting angle The calculation formula is: , light intensity The calculation formula is: For example, if the preset wavelength range is [600nm, 900nm] (drugs may have better optical response characteristics to a specific wavelength range), the illumination angle range is [30°, 60°], and the illumination intensity range is [200lx, 600lx], an instruction set is generated and sent to the user's mobile phone application, and the relevant information is recorded in the database.
[0048] The user's mobile phone application receives instructions and guides the user to operate, scan the QR code to extract the encrypted information and decrypt, and obtain the optical response data at the same time. The information processing and verification module decrypts the information. Suppose the light field carrying the encrypted information is received as , use the interferometry method to extract the phase information, assuming the reference light field is: , using the reference light field With the received light field Interference, light intensity distribution after interference for: , using the phase retrieval algorithm to analyze the interference light intensity distribution For analysis, assume that the interference light intensity distribution is known. In the detection area, the initial guess phase is ,go through Iterations, update phase The formula is: , through multiple iterations, the phase distribution carrying the encrypted information is gradually restored, and the original key information and original information are restored according to the previous coding relationship. The decrypted information is compared with the original information, and the matching degree is calculated. When the matching degree reaches 95%, the encrypted information is determined to be matched successfully. The comparison and optical response data are analyzed, such as verifying whether the light intensity is stable, whether the phase change meets the requirements, whether the response of the drug QR code to the specific wavelength of light is correct, and whether the optical response is consistent when verified by different devices. If all verifications are passed, the drug is determined to be authentic; otherwise, it is a counterfeit and inferior product, thereby realizing drug anti-counterfeiting verification and protecting consumer rights and the safety of the drug market.
[0049] To sum up, in terms of drug anti-counterfeiting verification, the present invention uses the system to input drug information to generate an encrypted QR code, and dynamic optical encryption instructions assist the mobile phone to complete optical operations. With the help of scanning, decryption and optical response analysis, the authenticity of drugs can be accurately determined to ensure the quality and safety of drugs. It is of great significance to standardize the order of the drug market and ensure the safety of public drug use.
[0050] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technical personnel in this field can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present invention. However, any brief modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention are still within the scope of the technical solution of the present invention.
Claims
1. An intelligent two-dimensional code anti-counterfeiting verification system, characterized in that: The system includes: an information encoding and encryption module, a phase conversion and encryption module, an optical instruction generation module, a scanning and instruction execution module, and a decryption and verification module; The information encoding and encryption module: collects comprehensive information of the product, including but not limited to the detailed contents of the product name, model, specification, material, manufacturer, production date, shelf life, batch number, and place of origin, generates a basic two-dimensional pattern according to the two-dimensional code encoding standard, and in the encoding process, collaborates with the phase conversion and encryption module to embed the key information processed by the phase conversion and encryption module into an area for embedding encrypted information and not affecting the normal scanning and reading functions of the two-dimensional code, specifically: a corner area, an edge area, and an internal regular area; The phase conversion and encryption module: converts the key information into an ASCII code sequence, preprocesses it, converts the preprocessed ASCII code sequence into phase information, normalizes it in combination with the laser wavelength, designs a phase mask corresponding to a specific area of the two-dimensional code, and makes the laser beam carry the encrypted phase information by irradiating the phase mask corresponding to the specific area of the two-dimensional code with a laser beam, and irradiates the specific area of the two-dimensional code with the laser beam carrying the encrypted phase information, so that the phase of the reflected light in the specific area of the two-dimensional code changes accordingly, and the key information is stored in the two-dimensional code; The optical instruction generation module: records relevant data, collects multiple types of information closely related to the user and the QR code, integrates the information using the UBT chaos integration formula, and uses an algorithm to generate random numbers based on the value of the UBT chaos integration formula to determine the optical instruction parameters of the wavelength, illumination angle and illumination intensity of the irradiated light. The value calculated by the UBT chaos integration formula is , generate three random numbers in (0, 1) through the formula , the calculation formula is: , , ,in Indicates taking The decimal part of the generated random number determines the wavelength, illumination angle and illumination intensity. The wavelength is determined by: the preset wavelength range is ,wavelength The calculation formula is: ; Determination of illumination angle: The preset illumination angle range is , lighting angle The calculation formula is: ; Determination of light intensity: The preset light intensity range is , light intensity The calculation formula is: , combine the parameters into an instruction set, send the instruction set to the user device with the help of a secure WebSocket protocol, assign a unique identifier to each instruction set, and record the unique identifier of the instruction, instruction set, sending time, and MAC address of the receiving device in the database; The scanning and instruction execution module has optical detection and decryption functions, is used to scan the QR code and extract the encrypted information therein, and can receive dynamic optical encryption instructions and guide the user to perform corresponding optical operations; The decryption and verification module receives the encrypted information and decryption results transmitted by the optical detection device or mobile phone application, as well as the optical response data of the QR code, decrypts the encrypted information, compares the decrypted information with the original information, calculates the matching degree, and determines that the encrypted information matches successfully when the matching degree reaches 95%. At the same time, the optical response data is analyzed to verify whether it meets expectations according to preset rules, and the results of the encrypted information matching and the optical response verification are combined. When both pass, the QR code is determined to be true, otherwise it is false; The preset rules for the optical response data analysis are: Light intensity related rules: reasonable numerical range of reflected light intensity, light intensity changes remain relatively stable during optical operations; Phase correlation rule: The phase change must match the encryption setting mode, and the recovered phase distribution must meet the requirements of continuity, smoothness and consistency with the original encoding relationship; Wavelength-related rules: The conditions that the absorption, reflection or transmission characteristics of the QR code for light of a specific wavelength should meet at different verification stages.
Citation Information
Patent Citations
Generation and authentication method of secure two-dimensional code
CN108537315A
Method and System for Verification and Authentication Using Optically Encoded QR Codes
US20150295711A1