CN111582421A - Method and system for preventing smart card from being copied - Google Patents

Method and system for preventing smart card from being copied Download PDF

Info

Publication number
CN111582421A
CN111582421A CN201910122094.2A CN201910122094A CN111582421A CN 111582421 A CN111582421 A CN 111582421A CN 201910122094 A CN201910122094 A CN 201910122094A CN 111582421 A CN111582421 A CN 111582421A
Authority
CN
China
Prior art keywords
card
copy
current
identification
smart card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910122094.2A
Other languages
Chinese (zh)
Inventor
杨文伟
康卫昌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201910122094.2A priority Critical patent/CN111582421A/en
Publication of CN111582421A publication Critical patent/CN111582421A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/073Special arrangements for circuits, e.g. for protecting identification code in memory
    • G06K19/07309Means for preventing undesired reading or writing from or onto record carriers

Abstract

The application discloses a smart card anti-copy method, which comprises the steps of obtaining a current card number and a current anti-copy identification when a smart card is read in a current real-time reading state; inquiring a first anti-copy identification corresponding to the card number according to the current card number; the first anti-copy identification is an identification set by authorization; and comparing the current anti-copy identification with the first anti-copy identification, if the current anti-copy identification is the same as the first anti-copy identification, judging that the smart card is not copied, and otherwise, judging that the smart card is copied. The embodiment of the invention distinguishes the copy card and the non-copy card by obtaining the current card number and the current anti-copy identification of the IC card and comparing the current anti-copy identification with the authorized first anti-copy identification, thereby locking the copy card and avoiding the use of the copy card.

Description

Method and system for preventing smart card from being copied
Technical Field
The invention relates to the field of smart card security, in particular to a smart card anti-copy method and a smart card anti-copy system.
Background
An IC Card (Integrated Circuit Card), also called Smart Card (Smart Card), Smart Card (Intelligent Card), Microcircuit Card (Microcircuit Card) or microchip Card, etc. A microelectronic chip is embedded into a card base conforming to the ISO 7816 standard to be made into a card form. Because of the inherent advantages of information security, portability, relatively perfect standardization and the like, IC cards are increasingly used in the fields of identity authentication, banks, telecommunications, public transportation, parking lot management and the like, such as second-generation identity cards, electronic purses of banks, SIM cards of telecommunications mobile phones, bus cards and subway cards of public transportation, parking cards for collecting parking fees and the like, and all play an important role in daily life of people.
In general situations with security requirements, mifare cards (one kind of IC cards) are frequently used as access cards in communities, schools, and the like. However, because the IC is easy to be completely decoded at present, no matter how the sector in the card is encrypted, a third party can buy the corresponding equipment to decode, and after the decoding, the third party can completely copy the IC card through the UID card or the FUID card and the like.
In order to prevent the duplication or cloning of the IC card and improve the security of the IC card, the IC card body is mostly improved by adopting a complex encryption and decryption algorithm and technology, which results in increasing the cost of the IC, for example, a CPU card, an HID card, and the like, which are not decoded at present and have high security, but the cost is higher than that of a general IC card, and it is difficult to completely replace the IC card in a place with low security requirement, such as a cell, a school, and the like.
Disclosure of Invention
The invention provides an anti-copy method of a smart card, which aims to improve the security of the smart card.
The invention provides a method for preventing a smart card from being copied, which comprises the steps that at the network side,
acquiring a current card number and a current anti-copy identifier of the smart card read in a current real-time reading state;
inquiring a first anti-copy identification corresponding to the card number according to the current card number; the first anti-copy identification is an identification set by authorization;
and comparing the current anti-copy identification with the first anti-copy identification, if the current anti-copy identification is the same as the first anti-copy identification, judging that the smart card is not copied, and otherwise, judging that the smart card is copied.
Wherein the identifier of the authorization setting is set when the intelligent card is initialized by the operation and maintenance side of the intelligent card,
the initialization comprises the steps of configuring a storage area of a smart card, writing a generated initial first anti-copy identifier into the configured storage area for storage, storing at least the first anti-copy identifier and a first card number in an operation and maintenance side of the smart card, and sending the first anti-copy identifier and the first card number to a network side for storage;
the inquiring of the first anti-copy identification corresponding to the card number according to the current card number comprises the steps that the network side matches the current card number with the stored first card number, and searches the corresponding first anti-copy identification according to the matched first card number.
Preferably, the obtaining the current card number and the current anti-copy identifier of the smart card read in the current real-time reading state includes that the network side receives a message carrying the current card number and the current anti-copy identifier of the smart card sent when the card reading side reads the smart card.
Preferably, the determining as a non-duplicate smart card further comprises,
the network side judges whether a first anti-copy identification updating condition is met, when the updating condition is met, the first anti-copy identification is updated and stored, and the updated first anti-copy identification is sent to the card reading side so as to write the updated first anti-copy identification into the smart card in the current real-time reading state; and when the updating condition is not met, sending the judgment result to the card reading side.
Preferably, the updating condition is to determine whether the time for updating at regular time is reached according to the system time, or the smart card is read each time;
the network side is a server or cloud service, the card reading side is card reading equipment, and the intelligent card operation and maintenance side is a server or a PC or an intelligent terminal which runs intelligent card management application software.
Wherein the determining to duplicate the smart card further comprises,
the network side sends the judgment result to the card reading side so as to send a reporting event generated by the card reading side to the operation and maintenance side, wherein the reporting event carries the current card number and the event attribute information;
and the operation and maintenance side locks the intelligent card according to the received current card number and the event attribute information.
The method comprises the steps of obtaining a current card number and a current anti-copy identification when the smart card is read in a current real-time reading state, judging whether the current smart card has a corresponding right according to the smart card number, if so, executing the step of inquiring a first anti-copy identification corresponding to the card number according to the current card number, and if not, finishing the process.
The invention provides a system for preventing a smart card from being copied, which comprises,
the server is used for acquiring a current card number and a current anti-copy identifier when the smart card is read in a current real-time reading state; inquiring a first anti-copy identification corresponding to the card number according to the current card number; the first anti-copy identification is an identification set by authorization; and comparing the current anti-copy identification with the first anti-copy identification, if the current anti-copy identification is the same as the first anti-copy identification, judging that the smart card is not copied, and otherwise, judging that the smart card is copied.
Preferably, the system further comprises a control unit,
the intelligent card operation and maintenance equipment initializes the intelligent card, wherein the initialization comprises the steps of configuring a storage area of the intelligent card, writing the generated initial first anti-copy identification into the configured storage area, at least storing the first anti-copy identification and the first card number in the operation and maintenance side of the intelligent card, and sending the initial first anti-copy identification and the first card number to a server for storage;
the server further comprises a step of matching the current card number with a pre-stored first card number and finding out a corresponding first anti-copy identifier according to the matched first card number.
Preferably, the system further comprises a control unit,
reading information stored in the smart card by at least more than one card reading device to obtain the current card number and the current anti-copy identification of the smart card, and sending the current card number and the current anti-copy identification to a server.
Preferably, the server further includes, when it is determined that the smart card is not copied, determining whether a first anti-copy identifier update condition is satisfied, when the update condition is satisfied, updating and storing the first anti-copy identifier, and sending the updated first anti-copy identifier to the card reading device; when the updating condition is not met, the judgment result is sent to the card reading equipment;
the card reading equipment further comprises a first anti-copy identifier which is received from the server after being updated, whether the first anti-copy identifier of the smart card in the current real-time reading state is updated successfully is judged, and if the first anti-copy identifier of the smart card in the current real-time reading state is not updated successfully, a card reading prompt is output again until the first anti-copy identifier is updated successfully.
The card reading device is a card reader, and a main chip of the card reader is respectively connected with the server and the intelligent card operation and maintenance device through a communication module.
The card reading equipment comprises a host and a card reader, the card reader is connected with a controller in the host through a first communication module, and the host controller is respectively connected with the server and the intelligent card operation and maintenance equipment through a second communication module.
The embodiment of the invention distinguishes the copy card and the non-copy card by obtaining the current card number and the current anti-copy identification of the IC card and comparing the current anti-copy identification with the authorized first anti-copy identification, thereby locking the copy card and avoiding the use of the copy card.
Drawings
Fig. 1 is a schematic view of a system using an IC card applied to a door access as an embodiment.
Fig. 2 is another schematic diagram of a system using an IC card applied to a door lock as an embodiment.
Fig. 3 is a block diagram of an integrated machine of a host of an access control device and a card reading device.
Fig. 4 is a block diagram of the door access device with the host separated from the card reader.
FIG. 5 is a flowchart illustrating a method for preventing IC card duplication according to an embodiment of the present invention.
FIG. 6 is a flowchart illustrating another embodiment of the present invention for preventing IC card duplication.
Detailed Description
For the purpose of making the objects, technical means and advantages of the present application more apparent, the present application will be described in further detail with reference to the accompanying drawings.
In the embodiment of the invention, the anti-copy identification is written in when the IC card authorized to be issued is initialized, and the card number (ID) of the IC card and the anti-copy identification corresponding to the ID are stored in the server; the anti-copy check flow is introduced in the process of reading the IC card, namely, when the IC card is read each time, the anti-copy identification stored in the card is matched with the anti-copy identification of the card stored in the server, if the anti-copy identification is matched with the anti-copy identification, the card is judged to be a non-copy card, namely a normal card, further, the server updates the anti-copy identification, and synchronously writes the updated anti-copy identification into the currently read IC card, and if the anti-copy identification is not matched with the anti-copy identification, the card is judged to be a copy card. Therefore, through the updating of the anti-copy identification and the management of the IC card, the IC card can be compatible with various IC cards, the practicability is high, the application range is wide, and the operation and maintenance cost of the IC card is reduced.
The following description is given of an access card as an example of a method for preventing an IC card from being copied according to an embodiment of the present invention.
Referring to fig. 1, fig. 1 is a schematic view of a system using an IC card applied to a door access as an embodiment. The network side comprises an anti-copy check server, the server can be a system integration server, for example, a PC, an access control device and the like can be used as the anti-copy check server after integrating corresponding services, are connected with each access control device through a network or a serial port, generate and store a first anti-copy identifier of each card according to the configuration condition of the IC card, and update the identifier to a configuration area in the IC card through the access control device; when the IC card is read by the access control equipment, the read anti-copy identification in the IC card is compared with the first anti-copy identification stored in the server, so that anti-copy check is provided for the access control equipment in the whole system;
the management platform is a server or a PC running IC card management application software, or an intelligent card operation and maintenance device of an intelligent terminal, and is responsible for the management of the whole access control system and the IC card, such as the issuing, updating, locking, logout and the like of the IC card; configuring an anti-copy identification storage area of the entrance guard equipment during the initialization of the IC card, and updating related records and parameters of an anti-copy check server;
the entrance guard equipment reads information in the IC card, transmits the read information to the anti-copy check server, and controls the entrance guard to be opened and closed according to a check result fed back by the anti-copy check server.
The server, the access control equipment and the intelligent card operation and maintenance equipment can be connected with each other through a wireless or wired network or a serial port so as to realize information transmission among the server, the access control equipment and the intelligent card operation and maintenance equipment. The number of the access control devices can be determined by referring to the access capacity of the server.
Referring to fig. 2, fig. 2 is another schematic diagram of a system using an IC card applied to a door lock as an embodiment. The anti-copy check service is provided through the cloud service, the access control equipment and the intelligent card operation and maintenance equipment are respectively accessed into the cloud service through a wireless communication network, and the access control equipment and the intelligent card operation and maintenance equipment are connected through a wireless or wired network or a serial port so as to realize information transmission among the access control equipment, the intelligent card operation and maintenance equipment and the cloud service.
Referring to fig. 3, fig. 3 is a block diagram illustrating an integrated machine of a host of an access control device and a card reading device. The main chip outputs prompt information to the light prompt module and the sound prompt module respectively, and outputs an access control opening and closing instruction to the relay output module; receiving an alarm signal input by an alarm input module; reading information (an ID number and a copy prevention identification of the IC card) stored by the IC card or writing an updated copy prevention identification into a storage area of the IC card by the card swiping module; performing human-computer interaction through an input module; and the communication module is respectively connected with the network side server and the intelligent card operation and maintenance equipment.
Referring to fig. 4, fig. 4 is a block diagram illustrating a host of an access control device and a card reader being separated from each other. The host is equivalent to an upper computer and used for controlling the opening and closing of an access control and controlling the information reading of a card reader, and the host is respectively connected with a network side server and intelligent card operation and maintenance equipment through a second communication module in the host;
the card reader comprises a main chip, a first communication module, a light prompt module, a sound prompt module, a card swiping module and an input module; the main chip receives a control command from the controller through the first communication module and outputs prompt information to the light prompt module and the sound prompt module respectively; sending the read IC card information (the ID number and the anti-copy identification of the IC card) to a controller in the host through a first communication module by a card swiping module, and writing the information (the updated anti-copy identification) received by the first communication module from the controller in the host into the IC card; under the control of the host controller, the main chip realizes the machine interaction with the host through the input module.
Example one
Referring to fig. 5, fig. 5 is a flowchart illustrating a method for preventing IC card duplication according to an embodiment of the present invention. The network side comprises server equipment, the card reading side comprises card reading equipment, for example, access control equipment comprising a card reader, and the smart card operation and maintenance side comprises a server or a PC or an intelligent terminal running smart card management application software.
When the IC card is issued, namely when the IC card is initialized, configuring an IC card storage area through intelligent card operation and maintenance equipment, generating an initial first anti-copy identifier, writing the initial first anti-copy identifier into the IC card storage area, storing the first anti-copy identifier and a first card number in the intelligent card operation and maintenance equipment, and also storing other information such as writing time, the current state of the IC card, the association between the card number and a card owner and the like in the intelligent card operation and maintenance equipment; and sending the first card number of the IC card and the initial first anti-copy identification corresponding to the card number to a server, thereby finishing the initialization of the IC card. And the server receives the first card number of the IC card and the initial first anti-copy identification corresponding to the card number and then stores the card number and the initial first anti-copy identification. The first copy protection identification can be any integer of 1 byte or a plurality of bytes; for example: can be defined as: 4 bytes RTC time +2 bytes random number, and each IC card is different from each other.
During use of the IC card, i.e., when the IC card is in a real-time reading state,
step 501, the access control device reads information in an IC card through a card swiping module to obtain a current card number and a current anti-copy identifier of the swiped IC card, and sends the obtained card number and the current anti-copy identifier to a server;
step 502, the server obtains a first anti-copy identifier corresponding to the card number according to the current card number, namely, matching the current card number with a prestored first card number, and finding out the corresponding first anti-copy identifier according to the matched first card number; then, the current anti-copy identifier is compared with the searched first anti-copy identifier, if the current anti-copy identifier is the same as the searched first anti-copy identifier, the current anti-copy identifier is determined as a normal card, that is, a non-copy card, step 503 is executed, otherwise, the current anti-copy identifier is determined as a copy card, the determination result is notified to the access control device, and then step 504 is executed.
Step 503, the server determines whether a first anti-copy identifier update condition is satisfied, where the update condition may be that whether a time for updating at regular time is reached is determined according to the system time, or that updating is triggered every time a card is swiped, or that a logic needs to be run according to the server.
And if the updating condition is met, updating the first anti-copy identification of the IC card, storing the updated first anti-copy identification, sending the updated first anti-copy identification to the access control equipment, writing the updated first anti-copy identification into the current IC card by the access control equipment, and sending the judged result to the access control equipment to trigger the access control equipment to judge the access right, namely judging whether the current IC card has the access right for opening the current access control.
And if the updating condition is not met, sending the judged result to the access control equipment so as to trigger the access control equipment to judge the access control authority.
When the access control equipment receives the updated first anti-copy identification from the server, the access control equipment writes the updated first anti-copy identification into the card through the card swiping module, when the updating is successful, the door opening authentication permission result is prompted, the access control is controlled to be opened, and when the updating is unsuccessful, the card swiping is prompted again to ensure that the updating is completed.
When the access control equipment only receives the judgment result from the server and does not have the updated first anti-copy identification, the access control equipment prompts an access authentication permission result and controls the access control to be opened.
And step 504, when the judgment result is the copy card, the access control equipment generates a report event, and reports the current card number and the event attribute of the copy card carried in the report event to the intelligent card operation and maintenance equipment, and simultaneously outputs a prompt through a light prompt module and/or a sound prompt module.
Step 505, the smart card operation and maintenance device records the current card number according to the received reported event, and identifies the corresponding state, so as to lock and manage the IC card, for example, for the locked IC card, it can be determined according to the circumstances that the locked card is deleted and invalidated, or the locking is released.
By checking the anti-copy identifier, the method reduces the harm of malicious decoding of the IC card, improves the safety of the system, improves the decoding cost of the IC card and has wide compatibility with the existing IC card on the basis of the existing IC card; in the application of access control management, the intellectualization of property management and operation and maintenance is realized, the proprietary duplication of an IC card by an owner is avoided, and the management of issuing the card is facilitated.
Example two
In order to reduce the resource occupation of the server, the invention provides another embodiment two, and referring to fig. 6, fig. 6 is a flowchart of preventing the IC card from being copied according to another embodiment two of the invention. The initialization process of the IC card is the same as that of the first embodiment.
In the course of use of the IC card,
step 601, the entrance guard equipment reads information in the IC card through the card swiping module to obtain a current card number of the swiped IC card and a current anti-copy identifier, judges the entrance guard authority of the current IC card according to the current card number, sends the obtained card number of the current IC card and the current anti-copy identifier to a server to judge the anti-copy if the entrance guard authority exists, and otherwise, ends.
Step 602, after receiving the card number of the current IC card and the current anti-copy identifier, the server obtains a first anti-copy identifier corresponding to the card number according to the current card number, compares the current anti-copy identifier with the found first anti-copy identifier, if the current anti-copy identifier is the same as the found first anti-copy identifier, determines that the card is a normal card, that is, a non-copy card, performs step 603, otherwise determines that the card is a copy card, notifies the access control device of the determination result, and performs step 604.
Step 603, the server determines whether a first anti-copy identifier update condition is met, wherein the update condition may be that whether the time for updating at regular time is reached is determined according to the system time, or that updating is triggered every time a card is swiped, or that the server runs logic requirements according to the server.
And if the updating condition is met, updating the first anti-copy identification of the IC card, storing the updated first anti-copy identification, sending the updated first anti-copy identification to the access control equipment, writing the updated first anti-copy identification into the current IC card by the access control equipment, and sending the judged result to the access control equipment.
And if the updating condition is not met, sending the judged result to the access control equipment.
When the access control equipment receives the updated first anti-copy identification from the server, the access control equipment writes the updated first anti-copy identification into the card through the card swiping module, controls the access control equipment to be opened when the updating is successful, and prompts card swiping again when the updating is unsuccessful so as to ensure that the updating is completed.
When the access control equipment only receives the judgment result from the server and does not have the updated first anti-copy identification, the access control equipment controls the access control to be opened.
And step 604, when the judgment result is that the card is a copy card, the access control equipment generates a reporting event, and reports the current card number and the event attribute that the copy card is carried in the reporting event to the intelligent card operation and maintenance equipment, and simultaneously, outputs a prompt through a light prompt module and/or a sound prompt module.
Step 605, the smart card operation and maintenance device records the current card number according to the received reported event, and identifies the corresponding state, so as to lock and manage the IC card, for example, for the locked IC card, it may be determined according to the circumstances that the locked card is deleted and invalidated, or the locking is released.
According to the embodiment, the entrance guard permission is recognized firstly, and then the anti-copy check is carried out, so that interaction between entrance guard equipment and the server can be reduced, processing resources of the server can be saved, the burden of a network side is reduced for a system adopting cloud service, and the processing efficiency of the network side equipment can be improved.
An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps:
acquiring a current card number and a current anti-copy identifier when the smart card is read in a current real-time reading state;
inquiring a first anti-copy identification corresponding to the card number according to the current card number; the first anti-copy identification is an identification set by authorization;
and comparing the current anti-copy identification with the first anti-copy identification, if the current anti-copy identification is the same as the first anti-copy identification, judging that the smart card is not copied, and otherwise, judging that the smart card is copied.
It should be understood that the embodiment of the invention can be applied to the copy prevention of the IC card of the entrance guard system and the IC cards of other systems; in addition, the network side, the card reading side and the operation and maintenance side can be combined into a whole, or can be combined arbitrarily, for example, the smart card operation and maintenance device and the server are integrated into one device, or the card reading device and the smart card operation and maintenance device are integrated into one device, or the card reading device and the server device are integrated into one device.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (19)

1. A method for preventing a smart card from being copied is characterized by comprising the steps of, on the network side,
acquiring a current card number and a current anti-copy identifier of the smart card read in a current real-time reading state;
inquiring a first anti-copy identification corresponding to the card number according to the current card number; the first anti-copy identification is an identification set by authorization;
and comparing the current anti-copy identification with the first anti-copy identification, if the current anti-copy identification is the same as the first anti-copy identification, judging that the smart card is not copied, and otherwise, judging that the smart card is copied.
2. The method of claim 1, wherein the identification of the authorization setting is set when the smart card is initialized by the smart card operation side,
the initialization comprises the steps of configuring a storage area of a smart card, writing a generated initial first anti-copy identifier into the configured storage area for storage, storing at least the first anti-copy identifier and a first card number in an operation and maintenance side of the smart card, and sending the first anti-copy identifier and the first card number to a network side for storage;
the inquiring of the first anti-copy identification corresponding to the card number according to the current card number comprises the steps that the network side matches the current card number with the stored first card number, and searches the corresponding first anti-copy identification according to the matched first card number.
3. The method of claim 2, wherein the obtaining the current card number and the current anti-copy identifier of the smart card read in the current real-time reading state comprises the network side receiving a message carrying the current card number and the current anti-copy identifier of the smart card sent when the card reader side reads the smart card.
4. The method of any of claims 1 to 3, wherein the determining that the smart card is non-duplicate further comprises,
the network side judges whether a first anti-copy identification updating condition is met, when the updating condition is met, the first anti-copy identification is updated and stored, and the updated first anti-copy identification is sent to the card reading side so as to write the updated first anti-copy identification into the smart card in the current real-time reading state; and when the updating condition is not met, sending the judgment result to the card reading side.
5. The method of claim 4, wherein the method further comprises,
and judging whether the first anti-copy identification of the smart card in the current real-time reading state is updated successfully, if not, outputting a card reading prompt again until the first anti-copy identification is updated successfully.
6. The method of claim 4, wherein the update condition is that it is determined whether a time for a timed update has been reached based on a system time, or that the smart card is read each time;
the network side is a server or cloud service, the card reading side is card reading equipment, and the intelligent card operation and maintenance side is a server or a PC or an intelligent terminal which runs intelligent card management application software.
7. The method of any of claims 1 to 3, wherein the determining to duplicate a smart card further comprises,
the network side sends the judgment result to the card reading side so as to send a reporting event generated by the card reading side to the operation and maintenance side, wherein the reporting event carries the current card number and the event attribute information;
and the operation and maintenance side locks the intelligent card according to the received current card number and the event attribute information.
8. The method of any one of claims 1 to 3, wherein the obtaining of the current card number and the current anti-copy identifier when the smart card is read in the current real-time reading state further comprises determining whether the current smart card has a corresponding right according to the smart card number, if so, executing the step of querying the first anti-copy identifier corresponding to the card number according to the current card number, otherwise, ending the process.
9. A smart card anti-copy system, comprising,
the server is used for acquiring a current card number and a current anti-copy identifier when the smart card is read in a current real-time reading state; inquiring a first anti-copy identification corresponding to the card number according to the current card number; the first anti-copy identification is an identification set by authorization; and comparing the current anti-copy identification with the first anti-copy identification, if the current anti-copy identification is the same as the first anti-copy identification, judging that the smart card is not copied, and otherwise, judging that the smart card is copied.
10. The system of claim 9, further comprising,
the intelligent card operation and maintenance equipment initializes the intelligent card, wherein the initialization comprises the steps of configuring a storage area of the intelligent card, writing the generated initial first anti-copy identification into the configured storage area, at least storing the first anti-copy identification and the first card number in the operation and maintenance side of the intelligent card, and sending the initial first anti-copy identification and the first card number to a server for storage;
the server further comprises a step of matching the current card number with a pre-stored first card number and finding out a corresponding first anti-copy identifier according to the matched first card number.
11. The system of claim 9, further comprising,
reading information stored in the smart card by at least more than one card reading device to obtain the current card number and the current anti-copy identification of the smart card, and sending the current card number and the current anti-copy identification to a server.
12. The system according to any one of claims 9 to 11, wherein the server further comprises, when it is determined that the smart card is not copied, determining whether a first copy prevention flag update condition is satisfied, when the update condition is satisfied, updating and saving the first copy prevention flag, and transmitting the updated first copy prevention flag to the card reading device; and when the updating condition is not met, sending the judgment result to the card reading equipment.
13. The system of claim 12, wherein the card reading device further comprises a first copy protection identifier receiving unit configured to receive the updated first copy protection identifier from the server, determine whether the first copy protection identifier of the smart card in the current real-time reading state is updated successfully, and if not, output a card reading again prompt until the first copy protection identifier is updated successfully.
14. The system of claim 12, wherein the update condition is a determination of whether a time for a timed update has been reached based on a system time, or each time the smart card is read.
15. The system according to any one of claims 9 to 11, wherein the server further includes, when it is determined that the smart card is copied, transmitting a determination result to the card reading device;
the card reading equipment further comprises a reporting event generating unit, a server and a smart card operation and maintenance device, wherein the reporting event generating unit is used for generating a reporting event according to the judgment result of the server; the reported event carries the current card number and event attribute information;
the intelligent card operation and maintenance equipment receives the reporting event from the card reading equipment, records the state corresponding to the card number according to the card number carried by the reporting event, and locks the intelligent card.
16. The system of any one of claims 9 to 11, wherein the card reading device further comprises a function of determining whether the current smart card has a corresponding right according to the smart card number, and if so, sending the current card number and the current anti-copy identifier to the server, otherwise, ending.
17. The system according to any one of claims 9 to 11, wherein the card reading device is a card reader, and a main chip of the card reader is connected with the server and the smart card operation and maintenance device through the communication module respectively.
18. The system of any one of claims 9 to 11, wherein the card reading device comprises a host and a card reader, the card reader is connected with a controller in the host through a first communication module, and the host controller is connected with the server and the smart card operation and maintenance device through a second communication module.
19. A storage medium storing a computer program for implementing the method of preventing a smart card from copying according to any one of claims 1 to 8.
CN201910122094.2A 2019-02-19 2019-02-19 Method and system for preventing smart card from being copied Pending CN111582421A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910122094.2A CN111582421A (en) 2019-02-19 2019-02-19 Method and system for preventing smart card from being copied

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910122094.2A CN111582421A (en) 2019-02-19 2019-02-19 Method and system for preventing smart card from being copied

Publications (1)

Publication Number Publication Date
CN111582421A true CN111582421A (en) 2020-08-25

Family

ID=72126001

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910122094.2A Pending CN111582421A (en) 2019-02-19 2019-02-19 Method and system for preventing smart card from being copied

Country Status (1)

Country Link
CN (1) CN111582421A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112311807A (en) * 2020-11-09 2021-02-02 珠海格力电器股份有限公司 Method, device, equipment and storage medium for preventing smart card from being reused

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5379344A (en) * 1990-04-27 1995-01-03 Scandic International Pty. Ltd. Smart card validation device and method
CN104933797A (en) * 2015-06-30 2015-09-23 武汉天喻信息产业股份有限公司 Intelligent card access control system and method based on dynamic token
CN107341534A (en) * 2017-07-18 2017-11-10 南京唯捷豪信息科技有限公司 A kind of electronic card copy prevention method, device and management server
CN107958523A (en) * 2017-12-28 2018-04-24 克立司帝控制系统(上海)股份有限公司 A kind of high security access control system and control method
CN208207950U (en) * 2018-06-06 2018-12-07 贵州朗盛科技股份有限公司 A kind of access control system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5379344A (en) * 1990-04-27 1995-01-03 Scandic International Pty. Ltd. Smart card validation device and method
CN104933797A (en) * 2015-06-30 2015-09-23 武汉天喻信息产业股份有限公司 Intelligent card access control system and method based on dynamic token
CN107341534A (en) * 2017-07-18 2017-11-10 南京唯捷豪信息科技有限公司 A kind of electronic card copy prevention method, device and management server
CN107958523A (en) * 2017-12-28 2018-04-24 克立司帝控制系统(上海)股份有限公司 A kind of high security access control system and control method
CN208207950U (en) * 2018-06-06 2018-12-07 贵州朗盛科技股份有限公司 A kind of access control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112311807A (en) * 2020-11-09 2021-02-02 珠海格力电器股份有限公司 Method, device, equipment and storage medium for preventing smart card from being reused

Similar Documents

Publication Publication Date Title
AU2016273890B2 (en) Controlling physical access to secure areas via client devices in a networked environment
AU2002257249B2 (en) Smart card access control system
US7689251B2 (en) Apparatus and method for controlling use of a SIM card of a mobile terminal
US10171444B1 (en) Securitization of temporal digital communications via authentication and validation for wireless user and access devices
CN104462922A (en) Method for verifying authorization on basis of biological recognition
CN205230158U (en) Access control system based on two -dimensional code
CN105959277A (en) Method of locking/unlocking computer screen based on NFC terminal
US8931080B2 (en) Method and system for controlling the execution of a function protected by authentification of a user, in particular for the access to a resource
TWI534711B (en) Smart card and access method thereof
CN109753837B (en) Anti-copying and anti-tampering method for IC card
CN114241631A (en) Control method and registration method of intelligent door lock and related devices
CN111582421A (en) Method and system for preventing smart card from being copied
CN104641379B (en) For exchanging the read/write device and transceiver of data via electromagnetic field
CN108734828A (en) Yunmen prohibits Information Authentication method, terminal and server
CN105608775A (en) Authentication method, terminal, access control card and SAM card
CN109447653B (en) IC card encryption method, device, terminal and storage medium
AU2008342657B2 (en) Selection of access conditions for portable tokens
CN114360129A (en) Access control management method, system and equipment, and storage medium
US10645070B2 (en) Securitization of temporal digital communications via authentication and validation for wireless user and access devices
CN112422281A (en) Method and system for changing secret key in security module
CN110766840A (en) Access control password setting method and device
CN104598947B (en) A kind of electronic tag data processing method
KR101457183B1 (en) RFID Security system
US9734366B2 (en) Tamper credential
CN215895548U (en) IC entrance guard card anti-copy system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200825

RJ01 Rejection of invention patent application after publication