Optical anti-counterfeiting method and system of intelligent card

By setting multiple surface anti-counterfeiting patterns on the surface of the smart card and embedded smart card chips, using multiplicative cyclic groups and deep learning algorithms, the problems of low recognition efficiency, large data volume and insufficient security in optical anti-counterfeiting technology are solved, and the smart card is realized. Efficient verification and traceability improve anti-counterfeiting and security.

CN118536173APending Publication Date: 2024-08-23THE FIRST RES INST OF MIN OF PUBLIC SECURITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410571098.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-09
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing optical anti-counterfeiting technology has problems such as low recognition efficiency, single display effect of encrypted images, difficulty in storage and transmission due to large data volume, and insufficient security. In particular, there is a lack of mature solutions for rapid inspection of smart cards and card traceability.

Method used

By setting multiple surface anti-counterfeiting patterns on the surface of the smart card, combined with the embedded smart card chip, the public key and private key in the multiplication cycle group are used to generate the communication protection key, and combined with the deep learning algorithm to identify the encoded information, rapid verification and traceability determination are achieved. Improve anti-counterfeiting strength and security.

Benefits of technology

It achieves efficient smart card optical anti-counterfeiting verification, reduces data storage requirements, enhances card traceability and security, and takes into account user acceptance and information privacy protection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118536173A
    Figure CN118536173A
Patent Text Reader

Abstract

The invention discloses an optical anti-counterfeiting method and an optical anti-counterfeiting system for a smart card. The method comprises the following steps: arranging at least two surface anti-counterfeiting patterns on the surface of the intelligent card; initializing parameters of the intelligent card and the mobile computing terminal; the mobile computing terminal obtains a public key according to the at least two surface anti-counterfeiting patterns; the intelligent card generates a communication protection key and authentication information; the mobile computing terminal completes authentication and restores the communication protection key, and anti-fake verification is completed. According to the invention, uniqueness determination of card body traceability is realized through a mode of combining the surface anti-counterfeiting pattern and the embedded intelligent card chip, and the anti-counterfeiting strength is improved; through the form of replacing characters with patterns, while acceptability of a user to the surface of the card is considered, de-informatization and information dissimilation of the surface of the card are realized, and the privacy protection requirement of personal information can be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an optical anti-counterfeiting method for a smart card and also to a corresponding optical anti-counterfeiting system, belonging to the technical field of data identification. Background Art

[0002] Optical anti-counterfeiting technology is a physical technology widely used in product anti-counterfeiting, with the advantages of easy identification, rich information, high precision, batch replication and low cost. It is mainly used for primary and secondary anti-counterfeiting of products and is one of the most widely used technologies with strong anti-counterfeiting power. However, optical anti-counterfeiting technology also has some obvious defects, mainly including:

[0003] 1. The lack of key information makes it difficult to accurately capture image features, resulting in low efficiency in identification and verification, and the accuracy of identification also needs to be improved.

[0004] 2. The main identification methods currently include visual inspection, inspection with a magnifying glass and laser beam irradiation. These methods all rely on manual operation and have limited efficiency and accuracy.

[0005] 3. Encrypted images are usually presented as black and white noise images, which limits the variety of holographic techniques and optical effects that can be used.

[0006] Despite the above problems, optical anti-counterfeiting technology is still being explored and improved, especially in improving the automation and electronicization of identification and verification. At present, the rapid electronic semi-automatic / automatic recognition technology of holographic optical physical anti-counterfeiting features is not yet mature, and there is a lot of room for development and demand both in technical research and market application. The existing technology still faces some challenges and shortcomings, including:

[0007] 1. Encrypted images require the collection and storage of a large number of patterns, which results in a huge amount of data, places high demands on the storage and transmission systems, and limits the practical application of the technology.

[0008] 2. Ghost imaging encryption technology has security issues. There is a linear relationship between its input and output, which is vulnerable to theft and interference by attackers. Therefore, the security of the encryption system needs to be further improved.

[0009] 3. The display effect of encrypted images is usually relatively simple, which limits the application scope and effect of optical anti-counterfeiting technology. In order to improve the performance and application prospects of optical anti-counterfeiting technology, further research and innovation are needed in these aspects.

[0010] In the Chinese invention application with application number 202310660046.5, a compressed optical encryption and decryption method based on ghost imaging and image authentication is disclosed. This method uses Hadamard speckle to illuminate the target object and collect the reflected light intensity of the object. A steganographic algorithm is introduced to encode the collected light intensity signal and hide it in the projection pattern used to authenticate the image, generate an authentication key, and the receiver restores the image based on the authentication key. The encrypted pattern appears as a noise image. However, the encryption and decryption process of this method depends on the network environment and professional equipment, and it is difficult to use for rapid card inspection. Summary of the invention

[0011] The primary technical problem to be solved by the present invention is to provide an optical anti-counterfeiting method for a smart card.

[0012] Another technical problem to be solved by the present invention is to provide an optical anti-counterfeiting system for a smart card.

[0013] In order to achieve the above technical objectives, the present invention adopts the following technical solutions:

[0014] According to a first aspect of an embodiment of the present invention, there is provided an optical anti-counterfeiting method for a smart card, comprising the following steps:

[0015] S1: Setting at least two surface anti-counterfeiting patterns on the surface of the smart card;

[0016] S2: Initialize the parameters of the smart card and the mobile computing terminal;

[0017] S3: The mobile computing terminal obtains Pk based on at least two surface anti-counterfeiting patterns se ; Among them, Pk se is the public key;

[0018] S4: The smart card generates a communication protection key and authentication information;

[0019] S5: The mobile computing terminal completes the authentication and restores the communication protection key, and the anti-counterfeiting verification is completed.

[0020] Preferably, the step of setting the surface anti-counterfeiting pattern comprises the following sub-steps:

[0021] S11: Generate a coding symbol with a preset pattern;

[0022] S12: Encoding according to the coding symbols to form at least two coding matrices;

[0023] S13: Design of optical anti-counterfeiting patterns;

[0024] S14: Filling the optical anti-counterfeiting pattern with the coding matrix to form at least two surface anti-counterfeiting patterns.

[0025] Preferably, the parameters include p, K, Sk0, ID, K′, Pk se , Sk se and g;

[0026] where p is a prime number; is a multiplicative cyclic group of order p - 1; K is a random integer element in the multiplicative cyclic group, and 0 < K < p; Sk0 is a random integer element in the multiplicative cyclic group; ID is a unique identifier; K′ is an integer element in the multiplicative cyclic group, and 0 < K′ < p; Pk se is a public key, which is an integer element in the multiplicative cyclic group, and 0 < Pk se < p; Sk se is a private key, which is a random integer element in the multiplicative cyclic group, and 0 < Sk se < p; g is a generator in the multiplicative cyclic group.

[0027] Preferably, the mobile computing terminal obtains the public key according to the surface anti-counterfeiting pattern, including the following sub-steps:

[0028] S31: The mobile computing terminal collects at least two surface anti-counterfeiting patterns of the smart card;

[0029] S32: The mobile computing terminal identifies and analyzes at least two surface anti-counterfeiting patterns to obtain ID and K′;

[0030] where K′ is the result of calculating K and Sk0 in the multiplicative cyclic group, denoted as

[0031] S33: Obtain Pk according to the unique identifier se .

[0032] Preferably, the smart card generates a communication protection key and authentication information, including the following sub-steps:

[0033] S41: The mobile computing terminal sends Pk se to the smart card, initiates an authentication request, and requests the smart chip to generate a first communication protection key;

[0034] S42: The smart card generates a communication protection key;

[0035] S43: The smart card generates authentication information.

[0036] Preferably, the smart card generates a communication protection key, including the following sub-steps:

[0037] S421: The smart card generates Pk c and Sk c ;

[0038] Among them, Pk c is a temporary public key, an integer element in the multiplication cyclic group, and 0 <Pk c <p;Sk c is a temporary private key, an integer element in the multiplication cyclic group, and 0 <Sk c <p;

[0039] Among them, Sk c Is randomly generated in the smart card; Pk c It is through Sk c Calculated in the multiplication cycle group, the calculation formula is:

[0040] S422: The smart card generates R;

[0041] Where R is a random number, an integer element in the multiplicative cyclic group, and 0 <R<p;

[0042] S423: The smart card calculates Sk0+R in the multiplication cycle group, which is recorded as Sk;

[0043] S424: The smart card calculates the communication protection key, and the calculation formula is:

[0044] Key=G(ID||K Sk )

[0045] Among them, K Sk is the result of K and Sk calculated in the multiplication cycle group; || is the byte splicing symbol; G is the key generation function.

[0046] Preferably, the smart card generates authentication information, comprising the following sub-steps:

[0047] S431: The smart card calculates d using the following formula:

[0048]

[0049] Where d is PK se , Pk c and The result of the hash function computed within the multiplication cycle group;

[0050] in, Pk se and Sk c The result of computing within the multiplication cycle group;

[0051] S432: The smart card calculates authentication information, and the calculation formula is:

[0052] R se =R*d -1

[0053] Among them, d -1 is the inverse of d.

[0054] Preferably, the mobile computing terminal completes the authentication and restores the communication protection key, including the following sub-steps:

[0055] S51: The smart card sends a first parameter set to the mobile computing terminal;

[0056] The first parameter set is {K, Rk se , Pk c};

[0057] S52: The mobile computing terminal calculates K″;

[0058] Where K″ is K and Rk se The result calculated in the multiplication cycle group is recorded as

[0059] S53: The mobile computing terminal generates a second parameter set;

[0060] The second parameter set is {K′, K″, Pk c};

[0061] S54: The mobile computing terminal restores the communication protection key.

[0062] Preferably, the mobile computing terminal restores the communication protection key, including the following sub-steps:

[0063] S541: The mobile computing terminal calculates d1 using the following formula:

[0064]

[0065] Where d1 is Pk se , Pk c and The result of the hash function computed within the multiplication cycle group;

[0066] in, Pk c and Sk se The result of the hash function computed within the multiplication cycle group;

[0067] S542: The mobile computing terminal calculates Kr;

[0068] Among them, Kr is the result of K″ and d1 calculated in the multiplication cycle group, which is recorded as

[0069] S543: The mobile computing terminal restores the communication protection key, and the calculation formula is:

[0070] Key′=G(ID||Kr*K′)=Key.

[0071] According to a second aspect of an embodiment of the present invention, there is provided an optical anti-counterfeiting system for a smart card, comprising: a smart card and a mobile computing terminal; wherein:

[0072] The smart card comprises: an embedded smart card chip, the first surface anti-counterfeiting pattern and the second surface anti-counterfeiting pattern;

[0073] The mobile computing terminal comprises: a trusted computing module, an anti-counterfeiting pattern recognition and analysis module, a built-in camera and a chip authentication module; the trusted computing module is coupled to the anti-counterfeiting pattern recognition and analysis module and the chip authentication module respectively; the anti-counterfeiting pattern recognition and analysis module is coupled to the built-in camera;

[0074] The mobile computing terminal communicates with the smart card via short-range wireless communication and is used to store an anti-counterfeiting identification application. When the anti-counterfeiting identification application is executed by the mobile computing terminal, the mobile computing terminal implements the above-mentioned optical anti-counterfeiting method.

[0075] Compared with the prior art, the present invention uses a combination of surface anti-counterfeiting patterns and embedded smart card chips to encode the surface with different holographic optical features, transfers the holographic optical anti-counterfeiting features containing the coded information onto the anti-counterfeiting film, identifies and verifies the coded information through a deep learning algorithm, and compares it with the chip encryption information in the smart card, thus solving the technical problem of large data storage in the development and verification process of the prior art. On the other hand, the present invention achieves uniqueness determination of card body traceability by comparing the surface anti-counterfeiting pattern with the embedded smart card chip information, thereby improving the anti-counterfeiting strength; by replacing text with a pattern, while taking into account the user's acceptance of the card surface, the card surface is de-informed and information alienated, which can meet the privacy protection needs of personal information. BRIEF DESCRIPTION OF THE DRAWINGS

[0076] Figure 1 A flow chart of an optical anti-counterfeiting method for a smart card provided by an embodiment of the present invention;

[0077] Figure 2 A schematic diagram of a coding symbol with a preset pattern in an embodiment of the present invention;

[0078] Figure 3 A schematic diagram of a coding matrix in an embodiment of the present invention;

[0079] Figure 4 A schematic diagram of an optical anti-counterfeiting pattern in an embodiment of the present invention;

[0080] Figure 5This is a schematic diagram of a first surface anti-counterfeiting pattern in an embodiment of the present invention;

[0081] Figure 6 A schematic diagram of a second surface anti-counterfeiting pattern in an embodiment of the present invention;

[0082] Figure 7 This is a logical schematic diagram of identifying optical anti-counterfeiting information in an embodiment of the present invention. DETAILED DESCRIPTION

[0083] The technical content of the present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0084] First embodiment

[0085] like Figure 1 As shown, the first embodiment of the present invention provides an optical anti-counterfeiting method for a smart card, which at least includes the following steps:

[0086] S1: Set at least two surface anti-counterfeiting patterns on the surface of the smart card.

[0087] In one embodiment of the present invention, setting the surface anti-counterfeiting pattern includes the following sub-steps:

[0088] S11: Figure 2 As shown, a coded symbol with a preset pattern is generated.

[0089] In one embodiment of the present invention, 16 different coding symbols can be designed, representing numbers 0 to 9 and letters A to F. It should be noted that the present invention only uses 16 different coding symbols as an example for illustration, and the specific situation depends on the actual scenario, and the present invention is not limited to this.

[0090] S12: Figure 3 As shown, encoding is performed according to the encoding symbols to form at least two encoding matrices.

[0091] According to the relevant information, the coding symbols are combined in a matrix structure of 8 rows*8 columns to form at least two coding matrices containing relevant information. The size of a single coding pattern is 0.1 mm, and the size of the coding matrix is ​​1.5*1.5 mm.

[0092] It should be noted that the embodiments of the present invention only take 8 rows * 8 columns, two coding matrices containing relevant information, a single coding pattern size of 0.1mm and a coding matrix size of 1.5*1.5mm as examples for illustration. The specific situation depends on the actual scenario and the present invention is not limited to this.

[0093] S13: Figure 4 As shown, an optical anti-counterfeiting pattern is designed.

[0094] According to the characteristics of pixel lithography technology and zero-order diffraction, an optical anti-counterfeiting pattern with high user acceptance is designed, which can hide the coding matrix through pixel lithography technology and the coding matrix can be recognized by the terminal.

[0095] This pixel lithography technology is a dot matrix lithography anti-counterfeiting technology and a type of holographic technology. It uses ultra-high-speed lithography to produce ultra-high-resolution images. When observed under a high-power magnifying glass, each pixel in the image is composed of specific graphics or letters.

[0096] The zero-order diffraction is the interference phenomenon of light intensity when light propagates through two points where the phase difference of the light waves is zero in an optical system.

[0097] S14: Filling the optical anti-counterfeiting pattern with a coding matrix to form at least two surface anti-counterfeiting patterns.

[0098] Different positions of the optical anti-counterfeiting pattern are selected, and the coding matrix is ​​photolithographically processed using pixel photolithography technology and zero-order diffraction to form at least two surface anti-counterfeiting patterns.

[0099] like Figure 5 As shown, the first surface anti-counterfeiting pattern is a copy and fill of the first coding matrix. The first coding matrix is ​​photolithographically processed using pixel lithography technology and zero-order diffraction. When observed at a horizontal angle along the X-axis, the first surface anti-counterfeiting pattern area appears in color, and the coding matrix is ​​visible using special recognition software. When observed at a vertical angle along the X-axis, it is colorless, and the coding matrix is ​​invisible using special recognition software.

[0100] like Figure 6 As shown, the second surface anti-counterfeiting pattern is a copy and fill of the second coding matrix. The second coding matrix is ​​photolithographically processed using pixel lithography technology and zero-order diffraction. When observed at a horizontal angle along the X-axis, the second surface anti-counterfeiting pattern area appears in color, and the coding matrix is ​​visible using special recognition software. When observed at a vertical angle along the X-axis, it is colorless, and the coding matrix is ​​invisible using special recognition software.

[0101] like Figure 7 As shown, the information of the first surface anti-counterfeiting pattern and the second surface anti-counterfeiting pattern are combined to form complete encrypted information.

[0102] S2: Initialize the parameters of the smart card and the mobile computing terminal.

[0103] The parameters include p, K, Sk0, ID, K′, Pk se ,Sk se and g.

[0104] Where p is a prime number. is a multiplicative cyclic group of order p - 1. K is a random integer element in the multiplicative cyclic group, and 0 < K < p. Sk0 is a random integer element in the multiplicative cyclic group. ID is a unique identifier. K′ is an integer element in the multiplicative cyclic group, and 0 < K′ < p. Pk se is the public key, which is an integer element in the multiplicative cyclic group, and 0 < Pk se < p. Sk se is the private key, which is a random integer element in the multiplicative cyclic group, and 0 < Sk se < p. g is a generator in the multiplicative cyclic group.

[0105] S3: The mobile computing terminal obtains the public key according to at least two surface anti-counterfeiting patterns.

[0106] The mobile computing terminal obtains the public key according to the surface anti-counterfeiting pattern, including the following sub-steps:

[0107] S31: The mobile computing terminal collects at least two surface anti-counterfeiting patterns of the smart card.

[0108] S32: The mobile computing terminal identifies and analyzes at least two surface anti-counterfeiting patterns to obtain ID and K′.

[0109] Among them, K′ is the result of the calculation of K and Sk0 in the multiplicative cyclic group, denoted as

[0110] S33: Obtain Pk according to the unique identifier se .

[0111] S4: The smart card generates a communication protection key and authentication information.

[0112] The smart card generates a communication protection key and authentication information, including the following sub-steps:

[0113] S41: The mobile computing terminal sends Pk se to the smart card, initiates an authentication request, and requests the smart chip to generate a first communication protection key.

[0114] The function of the communication protection key is to build a secure channel between the smart card and the mobile computing terminal. After both parties obtain the communication protection key, all service interactions are carried through the secure channel.

[0115] S42: The smart card generates a communication protection key.

[0116] The smart card generates a communication protection key, including the following sub-steps:

[0117] S421: The smart card generates Pk c and Sk c .

[0118] Among them, Pk c is a temporary public key, an integer element in the multiplication cyclic group, and 0 <Pk c <p。Sk c is a temporary private key, an integer element in the multiplication cyclic group, and 0 <Sk c <p。

[0119] Among them, Sk c It is randomly generated in the smart card. c It is through Sk c Calculated in the multiplication cycle group, the calculation formula is:

[0120] S422: The smart card generates R.

[0121] Where R is a random number, an integer element in the multiplicative cyclic group, and 0 <R<p。

[0122] S423: The smart card calculates Sk0+R in a multiplication cycle group, denoted as Sk.

[0123] S424: The smart card calculates the communication protection key.

[0124] The formula for calculating the communication protection key by the smart card is:

[0125] Key=G(ID||K Sk )

[0126] Among them, K Sk is the result of K and SK calculated in the multiplication cycle group. || is the byte concatenation symbol. G is the key generation function.

[0127] S43: The smart card generates authentication information.

[0128] The smart card generates authentication information, including the following sub-steps:

[0129] S431: The smart card calculates d.

[0130] The calculation formula of the smart card to calculate d is:

[0131]

[0132] Where d is Pk se , Pk c and The result of the hash function computed within the multiplicative cycle group.

[0133] in, Pk se and Sk c The result of computing within the multiplication cycle group.

[0134] S432: The smart card calculates authentication information.

[0135] The formula for calculating authentication information of the smart card is:

[0136] P se =R*d -1

[0137] Among them, d -1 is the inverse of d.

[0138] S5: The mobile computing terminal completes the authentication and restores the communication protection key, and the anti-counterfeiting verification is completed.

[0139] The mobile computing terminal completes authentication and restores the communication protection key, including the following sub-steps:

[0140] S51: The smart card sends a first parameter set to the mobile computing terminal.

[0141] The first parameter set is {K, Rk se , Pk c}.

[0142] S52: The mobile computing terminal calculates K″.

[0143] Where K″ is K and Rk se The result calculated in the multiplication cycle group is recorded as

[0144] S53: The mobile computing terminal generates a second parameter set.

[0145] The second parameter set is {K′, K″, Pk c}.

[0146] S54: The mobile computing terminal restores the communication protection key.

[0147] The mobile computing terminal restores the communication protection key, including the following sub-steps:

[0148] S541: The mobile computing terminal calculates d1.

[0149] The formula used by the mobile computing terminal to calculate d1 is:

[0150]

[0151] Where d1 is Pk se , Pk c and The result of the hash function computed within the multiplicative cycle group.

[0152] in, Pk c and Sk se The result of the hash function computed within the multiplicative cycle group.

[0153] S542: The mobile computing terminal calculates Kr.

[0154] Among them, Kr is the result of K″ and d1 calculated in the multiplication cycle group, which is recorded as

[0155] S543: The mobile computing terminal restores the communication protection key.

[0156] The formula for calculating the communication protection key by the mobile computing terminal is:

[0157] Key′=G(ID||Kr*K′)=Key

[0158] Because the private keys of both communicating parties and information such as physical anti-counterfeiting of certificates are used in the calculation and restoration of the communication protection key, if the mobile computing terminal can restore the communication protection key through calculation, the authentication effect can be achieved at the same time.

[0159] It should be noted that the proof process of Key′=Key is as follows:

[0160] By: Key′=G(ID||Kr*K′), and

[0161] but:

[0162] By: Rk se =R*d -1

[0163] but:

[0164] Depend on: and

[0165] And by:

[0166] Then: d = d1, d -1 *d1=1

[0167] By: Sk=Sk0+R

[0168] but:

[0169] From: Kr*K′=K Sk and Key = G(ID||K Sk )

[0170] Then: Key′=Key, the proof is obtained.

[0171] Second embodiment

[0172] On the basis of the above method, the second embodiment of the present invention further provides an optical anti-counterfeiting system for a smart card, including: a smart card and a mobile computing terminal.

[0173] The mobile computing terminal and the smart card communicate via near field communication (NFC), but are not limited thereto. They may also communicate via RFID, Bluetooth, infrared communication, Wi-Fi, ZigBee or other similar short-range wireless communication methods.

[0174] The smart card comprises: an embedded smart card chip, the first surface anti-counterfeiting pattern and the second surface anti-counterfeiting pattern.

[0175] The mobile computing terminal includes: a trusted computing module (TCM), an anti-counterfeiting pattern recognition and analysis module, a built-in camera and a chip authentication module. The trusted computing module is coupled to the anti-counterfeiting pattern recognition and analysis module and the chip authentication module respectively. The anti-counterfeiting pattern recognition and analysis module is coupled to the built-in camera.

[0176] The mobile computing terminal stores an anti-counterfeiting identification application program, and when the anti-counterfeiting identification application program is executed, the method in the above embodiment is implemented.

[0177] The trusted computing module is a hardware module of a trusted computing platform, which provides cryptographic operation functions for the trusted computing platform and has a protected storage space.

[0178] The anti-counterfeiting pattern recognition and analysis module is based on the principle of deep learning and is used to collect, recognize and analyze the information of the first surface anti-counterfeiting pattern and the second surface anti-counterfeiting pattern. In one embodiment of the present invention, the anti-counterfeiting pattern recognition and analysis module is trained and generated by more than 1,000 coding matrix pictures with 16-bit special symbols.

[0179] The built-in camera recognizes the anti-counterfeiting information in the surface anti-counterfeiting pattern through optical character recognition (OCR) technology.

[0180] The chip authentication module is used to collect, identify and analyze the information in the embedded smart card chip.

[0181] It should be noted that the above-mentioned multiple embodiments are only examples, and the technical solutions of various embodiments can be combined, all of which are within the protection scope of the present invention.

[0182] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0183] The optical anti-counterfeiting method and system for smart cards provided by the present invention are described in detail above. For those skilled in the art, any obvious changes made to it without departing from the essence of the present invention will constitute an infringement of the patent right of the present invention and will bear corresponding legal liabilities.

Claims

1. An optical anti-counterfeiting method for smart cards, characterized in that The steps include: S1: Setting at least two surface anti-counterfeiting patterns on the surface of the smart card; S2: Initialize the parameters of the smart card and the mobile computing terminal; S3: The mobile computing terminal obtains Pk based on at least two surface anti-counterfeiting patterns se ; Among them, Pk se is the public key; S4: The smart card generates a communication protection key and authentication information; S5: The mobile computing terminal completes the authentication and restores the communication protection key, and the anti-counterfeiting verification is completed.

2. The optical anti-counterfeiting method according to claim 1, characterized in that The step of setting the surface anti-counterfeiting pattern comprises the following sub-steps: S11: Generate a coding symbol with a preset pattern; S12: Encoding according to the coding symbols to form at least two coding matrices; S13: Design of optical anti-counterfeiting patterns; S14: Filling the optical anti-counterfeiting pattern with a coding matrix to form at least two surface anti-counterfeiting patterns.

3. The optical anti-counterfeiting method according to claim 1, characterized in that The parameters include p, K, SK0, ID, K′, Pk se ,Sk se and g; where p is a prime number; is a multiplicative cyclic group of order p - 1; K is a random integer element in the multiplicative cyclic group, and 0 < K < p; Sk0 is a random integer element in the multiplicative cyclic group; ID is a unique identifier; K' is an integer element in the multiplicative cyclic group, and 0 < K' < p; Pk se is a public key, which is an integer element in the multiplicative cyclic group, and 0 < Pk se < p; Sk se is a private key, which is a random integer element in the multiplicative cyclic group, and 0 < Sk se < p; g is a generator in the multiplicative cyclic group.

4. The optical anti-counterfeiting method according to claim 1, characterized in that The mobile computing terminal obtains the public key according to the surface anti-counterfeiting pattern, including the following sub-steps: S31: The mobile computing terminal collects at least two surface anti-counterfeiting patterns of the smart card; S32: The mobile computing terminal identifies and analyzes at least two surface anti-counterfeiting patterns to obtain ID and K′; Among them, K′ is the result of K and Sk0 calculated in the multiplication cycle group, denoted as S33: Get Pk based on the unique identifier se .

5. The optical anti-counterfeiting method according to claim 1, characterized in that The smart card generates a communication protection key and authentication information, including the following sub-steps: S41: The mobile computing terminal sends Pk to the smart card se , initiate an authentication request and require the smart chip to generate a first communication protection key; S42: The smart card generates a communication protection key; S43: The smart card generates authentication information.

6. The optical anti-counterfeiting method according to claim 5, characterized in that The smart card generates a communication protection key, including the following sub-steps: S421: Smart card generates PK c and Sk c ; Among them, Pk c is a temporary public key, an integer element in the multiplication cyclic group, and 0 <Pk c <p;Sk c is a temporary private key, an integer element in the multiplication cyclic group, and 0 <Sk c <p; Among them, Sk c Is randomly generated in the smart card; Pk c It is through Sk c Calculated in the multiplication cycle group, the calculation formula is: S422: The smart card generates R; Where R is a random number, an integer element in the multiplicative cyclic group, and 0 <R<p; S423: The smart card calculates Sk0+R in the multiplication cycle group, which is recorded as Sk; S424: The smart card calculates the communication protection key, and the calculation formula is: Key=G(ID||K Sk ) Among them, K Sk is the result of K and Sk calculated in the multiplication cycle group; || is the byte splicing symbol; G is the key generation function.

7. The optical anti-counterfeiting method according to claim 5, characterized in that The smart card generates authentication information, including the following sub-steps: S431: The smart card calculates d using the following formula: Where d is Pk se , Pk c and The result of the hash function computed within the multiplication cycle group; in, Pk se and Sk c The result of computing within the multiplication cycle group; S432: The smart card calculates authentication information, and the calculation formula is: Rk se =R*d -1 Among them, d -1 is the inverse of d.

8. The optical anti-counterfeiting method according to claim 1, characterized in that The mobile computing terminal completes authentication and restores the communication protection key, including the following sub-steps: S51: The smart card sends a first parameter set to the mobile computing terminal; The first parameter set is {K, Rk se , Pk c }; S52: The mobile computing terminal calculates K″; Where K″ is K and Rk se The result calculated in the multiplication cycle group is recorded as S53: The mobile computing terminal generates a second parameter set; The second parameter set is {K′, K″, Pk c }; S54: The mobile computing terminal restores the communication protection key.

9. The optical anti-counterfeiting method according to claim 8, characterized in that The mobile computing terminal restores the communication protection key, including the following sub-steps: S541: The mobile computing terminal calculates d1 using the following formula: Where d1 is Pk se , Pk c and The result of the hash function computed within the multiplication cycle group; in, Pk c and Sk se The result of the hash function computed within the multiplication cycle group; S542: The mobile computing terminal calculates Kr; Among them, Kr is the result of K″ and d1 calculated in the multiplication cycle group, which is recorded as S543: The mobile computing terminal restores the communication protection key, and the calculation formula is: Key′=G(ID||Kr*K′)=Key.

10. An optical anti-counterfeiting system for smart cards, characterized in that include: Smart cards and mobile computing terminals; wherein, The smart card comprises: an embedded smart card chip, the first surface anti-counterfeiting pattern and the second surface anti-counterfeiting pattern; The mobile computing terminal comprises: a trusted computing module, an anti-counterfeiting pattern recognition and analysis module, a built-in camera and a chip authentication module; the trusted computing module is coupled to the anti-counterfeiting pattern recognition and analysis module and the chip authentication module respectively; the anti-counterfeiting pattern recognition and analysis module is coupled to the built-in camera; The mobile computing terminal communicates with the smart card via short-range wireless communication and is used to store an anti-counterfeiting identification application. When the anti-counterfeiting identification application is executed by the mobile computing terminal, the mobile computing terminal implements the optical anti-counterfeiting method according to any one of claims 1 to 9.