CN106778207A - Clone recognition methods and the device of card - Google Patents

Clone recognition methods and the device of card Download PDF

Info

Publication number
CN106778207A
CN106778207A CN201611056145.9A CN201611056145A CN106778207A CN 106778207 A CN106778207 A CN 106778207A CN 201611056145 A CN201611056145 A CN 201611056145A CN 106778207 A CN106778207 A CN 106778207A
Authority
CN
China
Prior art keywords
card
clone
processing method
prestoring
data
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
CN201611056145.9A
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.)
Guangzhou Ropente Technology Development Co Ltd
Original Assignee
Guangzhou Ropente Technology Development 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 Guangzhou Ropente Technology Development Co Ltd filed Critical Guangzhou Ropente Technology Development Co Ltd
Priority to CN201611056145.9A priority Critical patent/CN106778207A/en
Publication of CN106778207A publication Critical patent/CN106778207A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication

Abstract

The embodiment of the invention discloses a kind of recognition methods for cloning card and device.Methods described includes:Detect IC to stick into when studying in snap ring border, matching checking information is sent to the IC-card, to verify the matching of the IC-card and card-reading apparatus;If it is determined that the IC-card matches with the card-reading apparatus, then start the response condition of order to factory's Setting pattern according to the IC-card, clone's card identification is carried out to the IC-card;If it is determined that the IC-card is clone's IC-card, then according to the processing method of the clone's IC-card for prestoring, respective handling is carried out to clone's IC-card.The technical scheme of the embodiment of the present invention overcomes that the used time in the prior art is more long, and process is relatively complicated, and is possible to that clone's IC-card can be caused the defect damaged, realizes quick, accurate, simply identification clone IC-card, and IC-card will not be caused to damage.

Description

Clone recognition methods and the device of card
Technical field
The present embodiments relate to data processing technique, more particularly to a kind of recognition methods for cloning card and device.
Background technology
IC-card (Integrated Circuit Card, integrated circuit card) due to its intrinsic information security, be easy to take The advantages of band, fairly perfect standardization, got in fields such as authentication, bank, telecommunications, public transport, parking lot management Come more applications, such as China second-generation identity card, the stored value card of bank, the SIM cards of mobile phones of telecommunications, the mass transit card of public transport, Subway card, the parking card etc. for collecting parking fee.
But, clone the appearance of IC-card so that the interests for being cloned the holder of IC-card receive different degrees of infringement. In the prior art, the method for identification clone IC-card is generally Brute Force method, or IC-card internal data is verified by identifying Or rewrite result come determine whether clone IC-card.
The method used time of existing identification clone IC-card is more long, and process is relatively complicated, and is possible to that IC-card can be caused to damage It is bad.
The content of the invention
In view of this, a kind of recognition methods for cloning card and device are the embodiment of the invention provides, to overcome prior art The middle used time is more long, and process is relatively complicated, and is possible to cause clone's IC-card the defect of damage, realizes quick, accurate, letter Clone's IC-card singly is recognized, and IC-card will not be caused to damage.
In a first aspect, the embodiment of the invention provides it is a kind of clone card recognition methods, including:
Detect IC to stick into when studying in snap ring border, matching checking information is sent to the IC-card, to verify The matching of the IC-card and card-reading apparatus;
If it is determined that the IC-card matches with the card-reading apparatus, then factory's Setting pattern is started according to the IC-card The response condition of order, clone's card identification is carried out to the IC-card;
If it is determined that the IC-card is clone's IC-card, then according to the processing method of the clone's IC-card for prestoring, to the clone IC-card carries out respective handling.
In the above-mentioned methods, it is preferred that the IC that detects is sticked into when studying in snap ring border, to the IC-card Transmission information, to verify that the IC-card includes with the matching of card-reading apparatus:
Detect the IC to stick into when studying in snap ring border, the encryption data for prestoring is sent to the IC-card;
According to the IC-card to the response condition of the encryption data for prestoring, the IC-card and the card-reading apparatus are confirmed Whether match.
In the above-mentioned methods, it is preferred that the response feelings for starting order to factory's Setting pattern according to the IC-card Condition, clone's card identification is carried out to the IC-card to be included:
Factory's Setting pattern is sent to the IC-card start order;
If it is confirmed that the IC-card enters factory's Setting pattern, then confirm that the IC-card blocks for clone;
If it is confirmed that the IC-card is introduced into factory's Setting pattern, then confirm that the IC-card is legal card.
In the above-mentioned methods, it is preferred that also include:
If it is determined that the IC-card is legal IC-card, then authority corresponding with the authority request of the IC-card is taken to open plan Slightly, authority is opened to the IC-card user.
In the above-mentioned methods, it is preferred that the processing method of clone's IC-card that the basis prestores, to clone's IC-card Carrying out respective handling includes:
The processing method data that reading prestores, according to the numerical value of the processing method data for prestoring, determine the clone The processing method of IC-card;
Processing method according to clone's IC-card carries out respective handling to clone's IC-card.
In the above-mentioned methods, it is preferred that the processing method of the clone's IC-card for prestoring includes:
Refuse to open authority, and/or the data for rewriting clone's IC-card to the IC-card user.
In the above-mentioned methods, it is preferred that the processing method of the data for rewriting clone's IC-card includes:
The chip identification of clone's IC-card is read, the check value of the chip identification is calculated according to canonical algorithm;
Calculated according to the check value and rewrite numerical value, the rewriting value is write into clone's IC-card, to replace described gram The check value of the chip identification stored in grand IC-card.
In second aspect, a kind of identifying device for cloning card is the embodiment of the invention provides, including:
Matching authentication module, for detect IC stick into study in snap ring border when, to the IC-card send With property checking information, to verify the matching of the IC-card and card-reading apparatus;
Clone's card identification module, for if it is determined that the IC-card matches with the card-reading apparatus, then according to the IC Block the response condition for starting order to factory's Setting pattern, clone's card identification is carried out to the IC-card;
Clone's card processing module, for if it is determined that the IC-card is clone's IC-card, then according to the clone's IC-card for prestoring Processing method, respective handling is carried out to clone's IC-card.
In said apparatus, it is preferred that the matching authentication module includes:
Encryption data transmitting element, for detect the IC stick into study in snap ring border when, to the IC-card The encryption data that transmission prestores;
Matching confirmation unit, to the response condition of the encryption data for prestoring, institute is confirmed for according to the IC-card State whether IC-card matches with the card-reading apparatus.
In said apparatus, it is preferred that clone's card identification module includes:
Start command sending unit, order is started for sending factory's Setting pattern to the IC-card;
Clone's card confirmation unit, for if it is confirmed that the IC-card then confirms that the IC-card is into factory's Setting pattern Clone's card;
Legal card confirmation unit, for if it is confirmed that the IC-card is introduced into factory's Setting pattern, then confirming the IC-card It is legal card.
In said apparatus, it is preferred that also include:
Legal card respond module, for if it is determined that the IC-card be legal IC-card, then take the authority with the IC-card Corresponding authority opening strategy is asked, authority is opened to the IC-card user.
In said apparatus, it is preferred that clone's card processing module includes:
Processing method determining unit, for reading the processing method data for prestoring, according to the processing method number for prestoring According to numerical value, determine it is described clone IC-card processing method;
Processing method execution unit, is carried out accordingly for the processing method according to clone's IC-card to clone's IC-card Treatment.
In said apparatus, it is preferred that the processing method of the clone's IC-card for prestoring includes:
Refuse to open authority, and/or the data for rewriting clone's IC-card to the IC-card user.
In said apparatus, it is preferred that the processing method execution unit of the data for rewriting clone's IC-card includes:
Check value generates subelement, the chip identification for reading clone's IC-card, calculates described according to canonical algorithm The check value of chip identification;
Check value rewrites subelement, for calculating rewriting value according to the check value, the rewriting numerical value write-in is described Clone's IC-card, to replace the check value of the chip identification stored in clone's IC-card.
The recognition methods of clone's card provided in an embodiment of the present invention and device, the entrance of IC card is detected by working as During Card Reader environment, matching checking information is sent to IC-card, to verify the matching of IC-card and card-reading apparatus, if it is determined that IC-card Match with card-reading apparatus, then start the response condition of order to factory's Setting pattern according to IC-card, clone's card is carried out to IC-card Identification, if it is determined that IC-card is clone's IC-card, then according to the processing method of the clone's IC-card for prestoring, carried out accordingly to clone's IC-card Treatment, overcomes that the used time in the prior art is more long, and process is relatively complicated, and is possible to damage can be caused to lack clone's IC-card Fall into, realize it is quick, accurate, simply identification clone IC-card, and will not to IC-card cause damage.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the recognition methods of clone card that the embodiment of the present invention one is provided;
Fig. 2 is a kind of flow chart of the recognition methods of clone card that the embodiment of the present invention two is provided;
Fig. 3 is a kind of flow chart of the recognition methods of clone card that the embodiment of the present invention three is provided;
Fig. 4 is a kind of structure chart of the identifying device of clone card that the embodiment of the present invention four is provided.
Specific embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with the accompanying drawings to specific reality of the invention Example is applied to be described in further detail.It is understood that specific embodiment described herein is used only for explaining the present invention, Rather than limitation of the invention.
It also should be noted that, for the ease of description, be illustrate only in accompanying drawing part related to the present invention rather than Full content.It should be mentioned that some exemplary embodiments are described before exemplary embodiment is discussed in greater detail Into the treatment or method described as flow chart.Although operations (or step) to be described as flow chart the treatment of order, It is that many of which operation can be by concurrently, concomitantly or while implement.Additionally, the order of operations can be by again Arrange.The treatment when its operations are completed can be terminated, it is also possible to have the additional step being not included in accompanying drawing. The treatment can correspond to method, function, code, subroutine, subprogram etc..
Embodiment one
Fig. 1 is a kind of flow chart of the recognition methods of clone card that the embodiment of the present invention one is provided, and the method is applied to be read Card apparatus read the scene of IC-card, can be performed by the identifying device of clone's card, and the device can be by hardware and/or software Mode is realized, and can be typically integrated in card-reading apparatus.The method of the present embodiment is specifically included:
Step 110, detect IC and stick into when studying in snap ring border, matching checking information is sent to IC-card, with The matching of checking IC-card and card-reading apparatus.
It will be appreciated by persons skilled in the art that when IC-card is contactless IC-card, only when IC-card enters to study in The effective range of the electromagnetic wave of card apparatus transmitting is (for example:0-8 centimetres or 5-10 centimetres etc.) it is interior when, IC-card can just be set by Card Reader It is standby to read.
Therefore, in the present embodiment, IC-card specifically refers to IC-card into the electromagnetism of card-reading apparatus transmitting into Card Reader environment The effective range of ripple is interior or IC-card inserts card-reading apparatus.When card-reading apparatus have detected IC-card into Card Reader environment, Card Reader sets It is standby to send matching checking information to IC-card, to verify the matching of IC-card and card-reading apparatus.
Wherein, matching checking information specifically refers to the related data of perhaps its content in it and can be used for judging that Card Reader sets The standby information whether matched with IC-card.Can be typically:The data of be-encrypted data, encryption data and particular memory location Etc. information.
In a specific example, the matching checking information is one group of be-encrypted data, and card-reading apparatus treat this Encryption data is sent into after the IC-card of Card Reader environment, after the be-encrypted data that IC-card will be received is encrypted, is then forwarded to Card-reading apparatus, AES and key have been written into the particular memory location in IC-card when IC-card is made, for being set with Card Reader Standby to carry out matching checking, after card-reading apparatus receive encryption data, the decipherment algorithm and key stored using itself are decrypted, Then the data after decryption are compared with the be-encrypted data for sending before, if both are identical, then it is assumed that the IC-card with from Body is matched, if both are different, then it is assumed that the IC-card is mismatched with itself.
Step 120, if it is determined that IC-card and card-reading apparatus match, then order is started to factory's Setting pattern according to IC-card Response condition, to IC-card carry out clone card identification.
It will be appreciated by persons skilled in the art that IC-card is before dispatching from the factory, manufacturer can be in the 0th sector the 0th of IC-card Manufacturer code is write in block, publisher or manufacturer can write publisher's code in the 0th piece of the 0th sector of IC-card, together When, the data such as total password, password counter can also be write in the 0th piece of the 0th sector of IC-card, the protection fuse inside IC-card Before without fusing, i.e., before IC-card is not individualized, it all can be what is be written over that these have been written of data, but when protection After fuse failure, IC-card enters the individualized stage, and now, the data in the 0th piece of the 0th sector of IC-card are in no instance Can be written over again, but partial data can be read.But, the data of clone's IC-card any sector all can be to be changed , that is to say, that clone's IC-card can change the content in the 0th piece of the 0th sector, and clone the content of IC-card any sector It is repeatedly erasable.
In the present embodiment, it is specifically the number for instigating IC-card to be changed into the 0th piece of the 0th sector that factory's Setting pattern starts order According to the order of the state that the operation such as can be rewritten, wiped.Fuse failure is protected to be blown before dispatching from the factory due to IC-card, institute So that any operation cannot be done to the data in the 0th piece of the 0th sector again, i.e., factory's Setting pattern cannot be returned to, but, clone IC-card The 0th piece of the 0th sector in data the operation such as can optionally be rewritten, wiped, so, clone's IC-card can enter work at any time Factory's Setting pattern.Therefore, start the response condition of order to factory's Setting pattern according to IC-card, clone's card can be carried out to IC-card Identification.
Step 130, if it is determined that IC-card for clone IC-card, then according to prestore clone IC-card processing method, to clone IC-card carries out respective handling.
In the present embodiment, the processing method of the clone's IC-card for prestoring can be specifically that refusal opens power to clone's IC-card Significant data inside limit, destruction clone's IC-card and rewriting clone's IC-card etc., the present embodiment is not limited to this.Obtain pre- The mode of the processing method of the clone's IC-card deposited can be specifically the data for reading particular memory location, be determined according to the data Clone the acquisition modes such as the processing method of IC-card.After the processing method of clone's IC-card is determined, it is possible to which clone's IC-card is entered Row respective handling.
The recognition methods of clone's card provided in an embodiment of the present invention, snap ring is studied in by when detecting IC and stick into During border, matching checking information is sent to IC-card, to verify the matching of IC-card and card-reading apparatus, if it is determined that IC-card and Card Reader Equipment matches, then start the response condition of order to factory's Setting pattern according to IC-card, clone's card identification is carried out to IC-card, such as Fruit determines that IC-card is clone's IC-card, then according to the processing method of the clone's IC-card for prestoring, respective handling is carried out to clone's IC-card, gram Take that the used time in the prior art is more long, process is relatively complicated, and be possible to that clone's IC-card can be caused the defect damaged, realized Quickly, clone's IC-card accurately, is simply recognized, and IC-card will not be caused to damage.
Embodiment two
Fig. 2 is a kind of flow chart of the recognition methods of clone card that the embodiment of the present invention two is provided.The present embodiment is with above-mentioned Optimized based on embodiment, in the present embodiment, IC will be detected and sticked into when studying in snap ring border, sent out to IC-card Deliver letters breath, to verify that IC-card is optimized for the matching of card-reading apparatus:IC is detected to stick into when studying in snap ring border, to IC-card sends the encryption data for prestoring;The response condition of the encryption data according to IC-card to prestoring, confirms IC-card and card-reading apparatus Whether match.
Further, the response condition of order will be started to factory's Setting pattern according to IC-card, clone's card is carried out to IC-card Identification is optimized for:Factory's Setting pattern is sent to IC-card start order;If it is confirmed that IC-card enters factory's Setting pattern, then confirm IC-card blocks for clone;If it is confirmed that IC-card is introduced into factory's Setting pattern, then confirm that IC-card is legal card.
Further, also include:If it is determined that IC-card is legal IC-card, then power corresponding with the authority request of IC-card is taken Limit opening strategy, authority is opened to IC-card user.
Accordingly, the method for the present embodiment is specifically included:
Step 210, detect IC and stick into when studying in snap ring border, the encryption data for prestoring is sent to IC-card.
In the present embodiment, matching checking information is the encryption data for prestoring.After IC-card receives the encryption data, IC Decipherment algorithm and the secret key decryption encryption data that card is stored using particular position inside, and the data after decryption are interior with another The data of portion's ad-hoc location storage are compared, if both are identical, then it is assumed that card-reading apparatus are matched with IC-card, if both are different, Then think that card-reading apparatus are matched with IC-card, are then sent to card-reading apparatus by comparison result.
Step 220, the response condition of encryption data according to IC-card to prestoring, confirm IC-card and card-reading apparatus whether Match somebody with somebody.
In the present embodiment, the comparison result that card-reading apparatus send according to the IC-card for receiving, can confirm that IC-card and reads Whether card apparatus match.
Step 230, if it is determined that IC-card and card-reading apparatus match, then send factory's Setting pattern to IC-card and start life Order.
In the present embodiment, after the comparison result sent by IC-card confirms that IC-card is matched with card-reading apparatus, Jiu Huixiang IC-card sends factory's Setting pattern and starts order.
Step 240, judge IC-card whether enter factory's Setting pattern, if so, then perform step 250, if it is not, then performing step Rapid 260.
In the present embodiment, when IC-card is non-clone's IC-card, because protection fuse has fused, so IC-card is cannot Into factory's Setting pattern, therefore, IC-card is being received after factory Setting pattern starts order, the information replied card-reading apparatus It is probably instruction errors or cannot be introduced into factory's Setting pattern etc. or do not carry out any reply.
When IC-card is clone's IC-card, can optionally be rewritten due to the data in the 0th piece of its 0th sector, be wiped Deng operation, so IC-card is after factory's Setting pattern startup order is received, the information replied card-reading apparatus is to have been enter into factory Setting pattern.
And then, card-reading apparatus can just judge whether IC-card is clone's IC-card according to the return information for receiving.
Step 250, confirmation IC-card block for clone, according to the processing method of the clone's IC-card for prestoring, are carried out to cloning IC-card Respective handling.
Step 260, confirmation IC-card are legal card, authority opening strategy corresponding with the authority request of IC-card are taken, to IC Card user opens authority.
In the present embodiment, after it is legal card to confirm IC-card, the authority for meeting IC-card attribute that can be sent according to IC-card Request, authority is opened to IC-card.
Wherein, the authority for meeting IC-card attribute specifically refers to the authority model of the IC-card according to determined by the rank of IC-card Enclose.It will be appreciated by persons skilled in the art that the IC-card matched from same card-reading apparatus may have different ranks, level The extent of competence that IC-card not higher has is bigger, therefore, card-reading apparatus can open corresponding according to the rank of IC-card to it Extent of competence.
The recognition methods of clone's card provided in an embodiment of the present invention, snap ring is studied in by when detecting IC and stick into During border, the encryption data that prestores is sent to IC-card, and the encryption data according to IC-card to prestoring response condition, confirm IC-card with Whether card-reading apparatus match, and when IC-card and card-reading apparatus match, send factory's Setting pattern to IC-card and start order, then Whether factory's Setting pattern is entered according to IC-card, determines whether IC-card is clone's IC-card, corresponding position is made to IC-card according to result Reason, overcomes that the used time in the prior art is more long, and process is relatively complicated, and is possible to that clone's IC-card can be caused the defect damaged, Realize it is quick, accurate, simply identification clone IC-card, and will not to IC-card cause damage.
Embodiment three
Fig. 3 is a kind of flow chart of the recognition methods of clone card that the embodiment of the present invention three is provided.The present embodiment is with above-mentioned Optimized based on embodiment, in the present embodiment, by according to the processing method of the clone's IC-card for prestoring, clone's IC-card is entered Row respective handling is optimized for:The processing method data that reading prestores, according to the numerical value of the processing method data for prestoring, it is determined that clone The processing method of IC-card;Processing method according to clone's IC-card carries out respective handling to clone's IC-card.
Further, the processing method of the clone's IC-card for prestoring is optimized for:Refuse to open authority to IC-card user and change Write the data of clone's IC-card.
Correspondingly, the processing method that will rewrite the data of clone's IC-card is optimized for:The chip identification of clone's IC-card is read, is pressed According to the check value of canonical algorithm computing chip mark;Rewriting value is calculated according to check value, numerical value write-in clone's IC-card will be rewritten, with Replace the check value of the chip identification stored in clone's IC-card.
Accordingly, the method for the present embodiment is specifically included:
Step 310, detect IC and stick into when studying in snap ring border, matching checking information is sent to IC-card, with The matching of checking IC-card and card-reading apparatus.
Step 320, if it is determined that IC-card and card-reading apparatus match, then order is started to factory's Setting pattern according to IC-card Response condition, to IC-card carry out clone card identification.
Step 330, if it is determined that IC-card is clone's IC-card, the processing method data that prestore of reading, according to the treatment for prestoring The numerical value of method data, it is determined that the processing method of clone's IC-card is refusal and opening authority to IC-card user and rewriting clone's IC-card Data.
In the present embodiment, after it is determined that IC-card is for clone's IC-card, the place of the clone's IC-card for prestoring will further be obtained Reason method.The processing method for cloning IC-card is determined according to the numerical value of the processing method data for prestoring, the treatment side for prestoring Method data can be stored in advance in the setting storage location of card-reading apparatus, or be stored in advance in and card-reading apparatus In the computer being connected, the present embodiment is not limited to this.
In a specific example, when the numerical value of the processing method data for prestoring is 0, it may be determined that clone's IC-card Processing method is that refusal opens authority to IC-card user;When the numerical value of the processing method data for prestoring is 1, it may be determined that clone The processing method of IC-card is to destroy clone's IC-card;When the numerical value of the processing method data for prestoring is 3, it may be determined that clone IC The processing method of card is the data for rewriting clone's IC-card.
In the present embodiment, according to the numerical value of the processing method data for prestoring, it is determined that clone IC-card processing method be Refuse to open authority to IC-card user and rewrite the data of clone's IC-card.
Step 340, the chip identification for reading clone's IC-card, according to the check value that canonical algorithm computing chip is identified.
It will be appreciated by persons skilled in the art that the school of the IC-card sequence number that is also stored with the 0th piece of the 0th sector of IC-card Value is tested, the check value refers to the numerical value that is calculated by canonical algorithm of sequence number of IC-card.Wherein, IC-card sequence number is calculated The canonical algorithm of check value is disclosed.The effect of sequence number check value is after IC-card enters Card Reader environment, to enter for IC-card Row inherently safe is verified.In general, after IC-card enters Card Reader environment, after the completion of IC-card charge inside, IC-card is first The checking of self-security can be carried out, the check value of the canonical algorithm sequence of calculation number can be reused first, then will calculated and tie The sequence number check value stored in the 0th piece of fruit and the 0th sector is compared, if identical, proceeds subsequent operation, if it is different, then Refusal card-reading apparatus are read out to IC-card.
In the present embodiment, the chip identification of IC-card is specifically referred in the 0th piece of the 0th sector of IC-card is write before IC-card dispatches from the factory The IC-card sequence number.After reading the chip identification of clone's IC-card, card-reading apparatus can be according to canonical algorithm, i.e., known sequence Number check value calculation method calculates the check value of chip identification.
Step 350, according to check value calculate rewriting value, by rewrite numerical value write-in clone IC-card, with replace clone IC-card in The check value of the chip identification of storage.
In the present embodiment, after the completion of the check value of chip identification is calculated, rewriting value can be calculated, wherein, rewriting value The data that to specifically refer to numerical value different from the chip identification check value being calculated in step 350.Wherein, the method for rewriting is specific Can be that the chip identification check value that will be calculated plus 1, or the chip identification check value that will be calculated subtracts 1, this implementation Example is not limited to this.
In the present embodiment, after the completion of the calculating of rewriting value, will be by rewriting value write-in clone's IC-card, to replace clone The check value of the chip identification stored in IC-card.
Step 360, refuse to open authority to IC-card user.
The recognition methods of clone's card provided in an embodiment of the present invention, matching checking information and IC are sent by IC-card Block the response condition for starting order to factory's Setting pattern, judge whether IC-card matches with card-reading apparatus and whether is IC-card successively For clone blocks, if clone's IC-card, according to the processing method value data for prestoring, it is determined that the processing method of clone's IC-card is refusal Authority is opened to IC-card user and rewrite the data of clone's IC-card, then read the chip identification of clone's IC-card and calculate its verification The rewriting value of value and check value, the check value of the chip identification stored in clone's IC-card is replaced with rewriting value, is overcome existing The used time is more long in technology, and process is relatively complicated, and is possible to cause clone's IC-card the defect of damage, realizes quick, standard Really, simply IC-card is cloned in identification, and IC-card will not be caused to damage, while be also prevented from clone's IC-card being continuing with.
Example IV
Fig. 4 is a kind of structure chart of the identifying device of clone card that the embodiment of the present invention four is provided.As shown in figure 4, described Device includes:Matching authentication module 101, clone's card identification module 102 and clone's card processing module 103.Wherein:
Matching authentication module 101, for detect IC stick into study in snap ring border when, to IC-card send match Property checking information, to verify the matching of IC-card and card-reading apparatus;
Clone's card identification module 102, for if it is determined that IC-card matches with card-reading apparatus, then being set to factory according to IC-card The response condition that pattern starts order is put, clone's card identification is carried out to IC-card;
Clone's card processing module 103, for if it is determined that IC-card is clone's IC-card, then according to the place of the clone's IC-card for prestoring Reason method, respective handling is carried out to clone's IC-card.
The identifying device of clone's card provided in an embodiment of the present invention, snap ring is studied in by when detecting IC and stick into During border, matching checking information is sent to IC-card, to verify the matching of IC-card and card-reading apparatus, if it is determined that IC-card and Card Reader Equipment matches, then start the response condition of order to factory's Setting pattern according to IC-card, clone's card identification is carried out to IC-card, such as Fruit determines that IC-card is clone's IC-card, then according to the processing method of the clone's IC-card for prestoring, respective handling is carried out to clone's IC-card, gram Take that the prior art used time is more long, process is relatively complicated, and be possible to that clone's IC-card can be caused the defect damaged, realized fast Speed, accurate, simply identification clone IC-card, and IC-card will not be caused to damage.
On the basis of the various embodiments described above, matching authentication module can include:
Encryption data transmitting element, for detect IC stick into study in snap ring border when, to IC-card send prestore Encryption data;
Matching confirmation unit, for the response condition of the encryption data according to IC-card to prestoring, confirms IC-card and Card Reader Whether equipment matches.
On the basis of the various embodiments described above, clone's card identification module can include:
Start command sending unit, order is started for sending factory's Setting pattern to IC-card;
Clone card confirmation unit, for if it is confirmed that IC-card enter factory's Setting pattern, then confirm IC-card for clone block;
Legal card confirmation unit, for if it is confirmed that IC-card is introduced into factory's Setting pattern, then confirming that IC-card is legal card.
On the basis of the various embodiments described above, can also include:
Legal card respond module, for if it is determined that IC-card be legal IC-card, then take corresponding with the authority request of IC-card Authority opening strategy, to IC-card user open authority.
On the basis of the various embodiments described above, clone's card processing module can include:
Processing method determining unit, for reading the processing method data for prestoring, according to the processing method data for prestoring Numerical value, it is determined that the processing method of clone's IC-card;
Processing method execution unit, respective handling is carried out for the processing method according to clone's IC-card to clone's IC-card.
On the basis of the various embodiments described above, the processing method of the clone's IC-card for prestoring can include:
Refuse to open authority, and/or the data for rewriting clone's IC-card to IC-card user.
On the basis of the various embodiments described above, the processing method execution unit for rewriting the data of clone's IC-card can include:
Check value generates subelement, the chip identification for reading clone's IC-card, is identified according to canonical algorithm computing chip Check value;
Check value rewrites subelement, for calculating rewriting value according to check value, numerical value write-in clone's IC-card will be rewritten, to replace Change the check value of the chip identification stored in clone's IC-card.
The identifying device of clone's card that the embodiment of the present invention is provided can be used to perform what any embodiment of the present invention was provided The recognition methods of card is cloned, possesses corresponding functional module, realize identical beneficial effect.
Obviously, it will be understood by those skilled in the art that above-mentioned of the invention each module or each step can be by as above Described server implementation.Alternatively, the program that the embodiment of the present invention can be can perform with computer installation be realized, so that can To be stored in being performed by processor in storage device, described program can be stored in a kind of computer-readable storage In medium, storage medium mentioned above can be read-only storage, disk or CD etc.;Or be fabricated to them respectively each Individual integrated circuit modules, or the multiple modules or step in them are fabricated to single integrated circuit module to realize.So, The present invention is not restricted to the combination of any specific hardware and software.
The preferred embodiments of the present invention are the foregoing is only, is not intended to limit the invention, for those skilled in the art For, the present invention can have various changes and change.It is all any modifications made within spirit and principles of the present invention, equivalent Replace, improve etc., should be included within the scope of the present invention.

Claims (14)

1. a kind of recognition methods for cloning card, it is characterised in that including:
Detect IC to stick into when studying in snap ring border, matching checking information is sent to the IC-card, it is described to verify The matching of IC-card and card-reading apparatus;
If it is determined that the IC-card matches with the card-reading apparatus, then order is started to factory's Setting pattern according to the IC-card Response condition, to the IC-card carry out clone card identification;
If it is determined that the IC-card is clone's IC-card, then according to the processing method of the clone's IC-card for prestoring, to clone's IC-card Carry out respective handling.
2. method according to claim 1, it is characterised in that it is described detect IC and stick into study in snap ring border When, information is sent to the IC-card, to verify that the IC-card includes with the matching of card-reading apparatus:
Detect the IC to stick into when studying in snap ring border, the encryption data for prestoring is sent to the IC-card;
According to the IC-card to the response condition of the encryption data for prestoring, confirm whether are the IC-card and the card-reading apparatus Matching.
3. method according to claim 1, it is characterised in that described that life is started to factory's Setting pattern according to the IC-card The response condition of order, clone's card identification is carried out to the IC-card to be included:
Factory's Setting pattern is sent to the IC-card start order;
If it is confirmed that the IC-card enters factory's Setting pattern, then confirm that the IC-card blocks for clone;
If it is confirmed that the IC-card is introduced into factory's Setting pattern, then confirm that the IC-card is legal card.
4. method according to claim 1, it is characterised in that also include:
If it is determined that the IC-card is legal IC-card, then authority opening strategy corresponding with the authority request of the IC-card is taken, Authority is opened to the IC-card user.
5. method according to claim 1, it is characterised in that the processing method of clone's IC-card that the basis prestores is right Clone's IC-card carries out respective handling to be included:
The processing method data that reading prestores, according to the numerical value of the processing method data for prestoring, determine clone's IC-card Processing method;
Processing method according to clone's IC-card carries out respective handling to clone's IC-card.
6. the method according to any one in claim 1-5, it is characterised in that the treatment of the clone's IC-card for prestoring Method includes:
Refuse to open authority, and/or the data for rewriting clone's IC-card to the IC-card user.
7. method according to claim 6, it is characterised in that the processing method bag of the data of the rewriting clone IC-card Include:
The chip identification of clone's IC-card is read, the check value of the chip identification is calculated according to canonical algorithm;
Rewriting value is calculated according to the check value, the rewriting numerical value clone's IC-card is write into, to replace the clone IC The check value of the chip identification stored in card.
8. it is a kind of to clone the identifying device blocked, it is characterised in that including:
Matching authentication module, for detect IC stick into study in snap ring border when, to the IC-card send matching Checking information, to verify the matching of the IC-card and card-reading apparatus;
Clone's card identification module, for if it is determined that the IC-card matches with the card-reading apparatus, then according to the IC-card pair Factory's Setting pattern starts the response condition of order, and clone's card identification is carried out to the IC-card;
Clone card processing module, for if it is determined that the IC-card for clone IC-card, then according to prestore clone IC-card treatment Method, respective handling is carried out to clone's IC-card.
9. device according to claim 8, it is characterised in that the matching authentication module includes:
Encryption data transmitting element, for detect the IC stick into study in snap ring border when, to the IC-card send The encryption data for prestoring;
Matching confirmation unit, to the response condition of the encryption data for prestoring, the IC is confirmed for according to the IC-card Whether card matches with the card-reading apparatus.
10. mounted box according to claim 8 is sub, it is characterised in that clone's card identification module includes:
Start command sending unit, order is started for sending factory's Setting pattern to the IC-card;
Clone card confirmation unit, for if it is confirmed that the IC-card enter factory's Setting pattern, then confirm the IC-card for clone Card;
Legal card confirmation unit, for if it is confirmed that the IC-card is introduced into factory's Setting pattern, then confirming the IC-card to close Method card.
11. devices according to claim 8, it is characterised in that also include:
Legal card respond module, for if it is determined that the IC-card be legal IC-card, then take the authority request with the IC-card Corresponding authority opening strategy, authority is opened to the IC-card user.
12. devices according to claim 8, it is characterised in that clone's card processing module includes:
Processing method determining unit, for reading the processing method data for prestoring, according to the processing method data for prestoring Numerical value, determines the processing method of clone's IC-card;
Processing method execution unit, corresponding position is carried out for the processing method according to clone's IC-card to clone's IC-card Reason.
13. mounted box according to any one in claim 8-12, it is characterised in that the clone's IC-card for prestoring Processing method includes:
Refuse to open authority, and/or the data for rewriting clone's IC-card to the IC-card user.
14. devices according to claim 13, it is characterised in that the processing method of the data of the rewriting clone IC-card is held Row unit includes:
Check value generates subelement, the chip identification for reading clone's IC-card, and the chip is calculated according to canonical algorithm The check value of mark;
Check value rewrites subelement, for calculating rewriting value according to the check value, the rewriting numerical value is write into the clone IC-card, to replace the check value of the chip identification stored in clone's IC-card.
CN201611056145.9A 2016-11-25 2016-11-25 Clone recognition methods and the device of card Pending CN106778207A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611056145.9A CN106778207A (en) 2016-11-25 2016-11-25 Clone recognition methods and the device of card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611056145.9A CN106778207A (en) 2016-11-25 2016-11-25 Clone recognition methods and the device of card

Publications (1)

Publication Number Publication Date
CN106778207A true CN106778207A (en) 2017-05-31

Family

ID=58910947

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611056145.9A Pending CN106778207A (en) 2016-11-25 2016-11-25 Clone recognition methods and the device of card

Country Status (1)

Country Link
CN (1) CN106778207A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107958523A (en) * 2017-12-28 2018-04-24 克立司帝控制系统(上海)股份有限公司 A kind of high security access control system and control method
CN109993267A (en) * 2019-04-08 2019-07-09 陈予 A kind of contactless IC card and can significant notation, identification and the method for cancellation
CN110187658A (en) * 2019-05-27 2019-08-30 日立楼宇技术(广州)有限公司 A kind of chip treatment method, device, chip and elevator outer calling board

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008070287A (en) * 2006-09-15 2008-03-27 Sony Corp Verification device and method, program, and recording medium
CN103971426A (en) * 2013-01-31 2014-08-06 北京同方微电子有限公司 PSAM safety control-based access control system and safe access control method using the same
CN106096475A (en) * 2016-06-03 2016-11-09 广州日滨科技发展有限公司 Card Reader treating method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008070287A (en) * 2006-09-15 2008-03-27 Sony Corp Verification device and method, program, and recording medium
CN103971426A (en) * 2013-01-31 2014-08-06 北京同方微电子有限公司 PSAM safety control-based access control system and safe access control method using the same
CN106096475A (en) * 2016-06-03 2016-11-09 广州日滨科技发展有限公司 Card Reader treating method and apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107958523A (en) * 2017-12-28 2018-04-24 克立司帝控制系统(上海)股份有限公司 A kind of high security access control system and control method
CN109993267A (en) * 2019-04-08 2019-07-09 陈予 A kind of contactless IC card and can significant notation, identification and the method for cancellation
CN109993267B (en) * 2019-04-08 2022-03-04 陈予 Non-contact IC card
CN110187658A (en) * 2019-05-27 2019-08-30 日立楼宇技术(广州)有限公司 A kind of chip treatment method, device, chip and elevator outer calling board
CN110187658B (en) * 2019-05-27 2020-11-10 日立楼宇技术(广州)有限公司 Chip processing method and device, chip and elevator outbound board

Similar Documents

Publication Publication Date Title
US8621602B2 (en) One-time authentication system
KR101330867B1 (en) Authentication method for payment device
US20110068894A1 (en) Method for authenticating an rfid tag
US20100241867A1 (en) System and method for encrypted smart card pin entry
US9407329B2 (en) Secure near field communication solutions and circuits
CN105103525A (en) Smart card and smart card system with enhanced security features
TW200928997A (en) Critical security parameter generation and exchange system and method for smart-card memory modules
CN103714295A (en) Financial integrated circuit card personalized data detecting method and system
CN104025122A (en) Ic chip for preventing identification key leak and authorization method thereof
CN101714216B (en) Semiconductor element, biometric authentication method, biometric authentication system and mobile terminal
US20040025035A1 (en) Contactless electronic identification system
US10354055B2 (en) Portable electronic device and system
CN106778207A (en) Clone recognition methods and the device of card
KR100728629B1 (en) System and Method for Preventing Forgery of RFID Tag
CN102546169B (en) For controlling by the method and system of the execution of the function of user authentication protection
CN113792561A (en) NFC electronic tag verification method and terminal
KR20040085800A (en) contactless type communication tag and portable tag reader for verifying a genuine article
CN102034307A (en) Electronic wallet-based dynamic password authentication system and method
US7289959B2 (en) Biometric identification method, portable electronic device and electronic device acquiring biometric data therefor
CN106096475A (en) Card Reader treating method and apparatus
CN101790733B (en) Media package, system comprising media package and method of executing program code
Lehtonen et al. Serialized TID numbers-A headache or a blessing for RFID crackers?
CN105790946B (en) Method, system and related equipment for establishing data channel
EP2985724B1 (en) Remote load and update card emulation support
CN104537298A (en) Authorizing method and device based on micro-processor card

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Nanxiang three road, Science City high tech Industrial Development Zone, Guangzhou city of Guangdong Province, No. 2 510660

Applicant after: Hitachi building technologies (Guangzhou) Co. Ltd.

Address before: Nanxiang three road, Science City high tech Industrial Development Zone, Guangzhou city of Guangdong Province, No. 2 510660

Applicant before: Guangzhou Ropente Science and Technology Development Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531