CN110971315B - Method and system for detecting communication signal between CPU (Central processing Unit) induction card and intelligent lock - Google Patents

Method and system for detecting communication signal between CPU (Central processing Unit) induction card and intelligent lock Download PDF

Info

Publication number
CN110971315B
CN110971315B CN201911241033.4A CN201911241033A CN110971315B CN 110971315 B CN110971315 B CN 110971315B CN 201911241033 A CN201911241033 A CN 201911241033A CN 110971315 B CN110971315 B CN 110971315B
Authority
CN
China
Prior art keywords
cpu
induction card
intelligent lock
reset
instruction
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.)
Active
Application number
CN201911241033.4A
Other languages
Chinese (zh)
Other versions
CN110971315A (en
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.)
Guangdong Hutlon Technology Co Ltd
Foshan Hutlon Intelligent Technology Co Ltd
Original Assignee
Guangdong Hutlon Technology Co Ltd
Foshan Hutlon Intelligent 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 Guangdong Hutlon Technology Co Ltd, Foshan Hutlon Intelligent Technology Co Ltd filed Critical Guangdong Hutlon Technology Co Ltd
Priority to CN201911241033.4A priority Critical patent/CN110971315B/en
Publication of CN110971315A publication Critical patent/CN110971315A/en
Application granted granted Critical
Publication of CN110971315B publication Critical patent/CN110971315B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C2009/00753Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by active electrical keys
    • G07C2009/00769Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by active electrical keys with data transmission performed by wireless means
    • G07C2009/00777Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by active electrical keys with data transmission performed by wireless means by induction
    • H04B5/77

Abstract

A method and a system for detecting communication signals of a CPU sensor card and an intelligent lock comprise the following steps of judging whether the communication between the CPU sensor card and the intelligent lock is normal: step A: reading data in the CPU induction card through the intelligent lock; and B: judging whether the communication between the intelligent lock and the CPU induction card is normal or not through the intelligent lock, and responding to the step C if the communication between the intelligent lock and the CPU induction card is not normal; and C: and the intelligent lock reads the CPU induction card again. The invention provides a method and a system for detecting communication signals of a CPU (Central processing Unit) induction card and an intelligent lock, which judge whether the communication signals between the CPU induction card and the intelligent lock are stable or not by carrying out reset operation and return values in a decryption process.

Description

Method and system for detecting communication signal between CPU (Central processing Unit) induction card and intelligent lock
Technical Field
The invention relates to the field of intelligent locks, in particular to a communication signal detection method and system of a CPU (central processing unit) induction card and an intelligent lock.
Background
When the existing CPU induction card is unlocked, the existing CPU induction card generally needs to successfully verify both the ID and the secret key, however, under the condition that the registration information of the induction card is correct, if the distance between the induction card and the intelligent door lock is a critical point, the door lock can read the ID number of the induction card.
The magnetic field strength is not sufficient to support normal communication for internal authentication. The situation that communication cannot be achieved (communication signals are poor) can occur between the induction card and the intelligent door lock, so that the ID judgment is successful, the decryption verification is failed, and the user mistakenly thinks that the registration information of the induction card is wrong.
Disclosure of Invention
The invention aims to provide a method and a system for detecting communication signals of a CPU (central processing unit) induction card and an intelligent lock, aiming at the defects in the background art, and the method and the system can judge whether the communication signals between the CPU induction card and the intelligent lock are normal or not by carrying out reset operation and return values in a decryption process.
In order to achieve the purpose, the invention adopts the following technical scheme:
a communication signal detection method of a CPU induction card and an intelligent lock comprises the following steps of judging whether the communication between the CPU induction card and the intelligent lock is normal:
step A: reading data in the CPU induction card through the intelligent lock;
and B: judging whether the communication between the intelligent lock and the CPU induction card is normal or not through the intelligent lock, and responding to the step C if the communication between the intelligent lock and the CPU induction card is not normal;
and C: and the intelligent lock reads the CPU induction card again.
Preferably, the step B: the process that the intelligent lock judges whether the communication between the intelligent lock and the CPU induction card is normal or not comprises the following steps:
step S1: the intelligent lock sends a decryption instruction to the CPU induction card and receives a return value returned to the intelligent lock after the CPU induction card decrypts according to the decryption instruction;
step S2: and the intelligent lock analyzes and judges whether the data length value of the return value is 0XFF, if so, judges whether the communication between the CPU induction card and the intelligent lock is normal according to 0 XFF.
Preferably, in step S2, the process of the smart lock determining whether the communication signal between the CPU sensor card and the smart lock is normal according to the return value includes:
judging whether the first return value is 0XFF, if so, indicating that the data of the CPU induction card is abnormal;
judging whether the second return value is 0XFF, if the second return value is 0XFF, indicating that the data authentication of the CPU induction card fails;
and judging whether the third return value is 0XFF, and if the third return value is 0XFF, indicating that the data authentication of the CPU induction card is successful.
Preferably, in step B, the process of determining whether the communication between the smart lock and the CPU inductive card is normal includes:
step B1: the intelligent lock sends an APDU reset instruction to the CPU induction card and receives a reset feedback instruction returned to the intelligent lock after the CPU induction card carries out reset operation according to the APDU reset instruction;
step B2: and C, the intelligent lock judges whether the communication between the intelligent lock and the CPU induction card is normal or not according to the reset feedback instruction, if not, the step C is responded, and the intelligent lock does not send out prompt information of the CPU induction card verification failure.
Preferably, the step B2: the process that the intelligent lock judges whether the communication between the intelligent lock and the CPU induction card is normal according to the reset feedback instruction further comprises the following steps:
step B3: the intelligent lock judges whether the reset feedback instruction is normal or not, if not, the intelligent lock judges that the communication between the intelligent lock and the CPU card is abnormal, and the intelligent lock sends an APDU reset instruction to the CPU induction card again;
when the intelligent lock sends the APDU reset instruction to the CPU induction card to a reset abnormal instruction of preset times, stopping sending the APDU reset instruction to the CPU induction card, so that the CPU induction card stops reset operation, and responding to the step C;
and C, performing the step of: and when the intelligent lock reads the CPU induction card again, the intelligent lock sends an APDU reset instruction to the CPU induction card again, so that the CPU induction card carries out reset operation again.
Preferably, before step a, the following steps are also included:
step A1: reading data information in the induction card through the intelligent lock, judging whether the ID of the induction card can be read from the data information or not, and if the ID of the induction card cannot be read, the induction card fails to be verified;
step A2: if the ID of the induction card is read, judging whether the type of the induction card belongs to the CPU induction card or not from the data information, and if the type of the induction card belongs to the CPU induction card, entering the step A; if the card does not belong to the CPU inductive card, the inductive card fails to verify.
A communication signal detection system of a CPU (Central processing Unit) induction card and an intelligent lock comprises the intelligent lock and the CPU induction card, wherein the intelligent lock comprises an instruction sending module, an instruction receiving module and a verification module; the CPU induction card comprises a data sending module, a data receiving module and a decryption module;
the instruction sending module sends a decryption instruction to the CPU induction card, the data receiving module receives the decryption instruction and forwards the decryption instruction to the decryption module, and the decryption module decrypts according to the decryption instruction, generates a return value and sends the return value to the data sending module;
the data sending module sends the return value to the instruction receiving module, the instruction receiving module receives the return value and forwards the return value to the verification module, the verification module verifies the return value, verifies whether the data length value of the return value is 0XFF, and if yes, verifies whether the communication between the CPU induction card and the intelligent lock is normal according to 0 XFF.
Preferably, the verification module verifies whether the first return value is 0XFF, and if the first return value is 0XFF, the data abnormality of the CPU inductive card is indicated;
the verification module verifies whether the second return value is 0XFF, and if the second return value is 0XFF, the data authentication failure of the CPU induction card is indicated;
and the verification module verifies whether the third return value is 0XFF, and if the third return value is 0XFF, the data authentication of the CPU induction card is successful.
Preferably, the CPU inductive card further comprises a reset module, and the smart lock further comprises a reset number counting module;
the command sending module sends an APDU reset command to the CPU induction card, the data receiving module receives the APDU reset command and sends the APDU reset command to the reset module, and the reset module carries out reset operation according to the APDU reset command, generates a reset feedback command and sends the reset feedback command to the data sending module;
the data sending module sends a reset feedback instruction to the instruction receiving module, the instruction receiving module receives the reset feedback instruction and forwards the reset feedback instruction to the verification module, and the verification module verifies the reset feedback instruction;
the verification module verifies whether a reset feedback instruction is normal or not, if not, the verification module verifies whether the communication between the CPU induction card and the intelligent lock is normal or not, and the instruction sending module sends an APDU reset instruction to the CPU induction card again;
the reset times counting module counts the times of the reset instruction sent by the instruction sending module, when the counted times reach a preset time, the reset times counting module issues a command of stopping sending the reset instruction to the instruction sending module, and after the command sending module receives the command of stopping sending the reset instruction, the command sending module stops sending the APDU reset instruction to the CPU induction card, so that the CPU induction card stops the reset operation.
Preferably, the intelligent lock further comprises a data reading module, the data reading module reads data information of the induction card, and judges whether the ID of the induction card can be read from the data information, if not, the induction card fails to be verified, and if yes, the data information is sent to the verification module, and the verification module verifies the type of the induction card, and verifies whether the type of the induction card is the CPU induction card.
Has the advantages that:
1. the invention improves the user experience, improves the verification success rate of the induction card, and prevents the situation that the unlocking cannot be realized due to unstable communication signals when the distance between the induction card and the intelligent door lock is a critical point, namely, the error guide which is mistaken for the registration information of the induction card is provided for the user.
Drawings
FIG. 1 is a flow chart of the communication signal detection of the CPU inductive card and the smart lock of the present invention;
FIG. 2 is a block diagram of the present invention for validating communication signals using a reset operation;
FIG. 3 is a block diagram of the present invention for validating a communication signal using a return value;
fig. 4 is a flow chart of the statistical reset times of the present invention.
Detailed Description
The technical scheme of the invention is further explained by the specific implementation mode in combination with the attached drawings.
The orientation of the embodiment is based on the attached drawings of the specification.
According to the communication signal detection method of the CPU induction card and the intelligent lock, when the existing CPU induction card is unlocked, the existing CPU induction card generally needs to be successfully verified by an ID and a secret key, however, under the condition that the registration information of the induction card is correct, if the distance between the induction card and the intelligent door lock is a critical point, the door lock can read the ID number of the induction card, but the magnetic field intensity is not enough to support normal communication of internal verification. The situation that communication cannot be achieved (communication signals are poor) can occur between the induction card and the intelligent door lock, so that the ID judgment is successful, the decryption verification is failed, and the user mistakenly thinks that the registration information of the induction card is wrong. Therefore, when the user swipes the card, a judgment method is added to judge whether the communication is normal or not, namely, whether the magnetic field intensity between the two is enough to support the communication or not is judged, the problem that the user mistakenly thinks that the CPU induction card has a problem is prevented, for example, the user mistakenly thinks that the registration information of the CPU induction card has a mistake is prevented, and therefore the user experience is improved.
As shown in fig. 1, a method for detecting a communication signal between a CPU inductive card and an intelligent lock includes the following steps:
step A: reading data in the CPU induction card through the intelligent lock;
and B: judging whether the communication between the intelligent lock and the CPU induction card is normal or not through the intelligent lock, and responding to the step C if the communication between the intelligent lock and the CPU induction card is not normal;
and C: and the intelligent lock reads the CPU induction card again.
Preferably, the step B: the intelligent lock judges whether the communication between the intelligent lock and the CPU induction card is normal or not:
step S1: the intelligent lock sends a decryption instruction to the CPU induction card and receives a return value returned to the intelligent lock after the CPU induction card decrypts according to the decryption instruction;
step S2: and the intelligent lock analyzes and judges whether the data length value of the return value is 0XFF, if so, judges whether the communication between the CPU induction card and the intelligent lock is normal according to 0 XFF.
Preferably, in step S2, the process of the smart lock determining whether the communication signal between the CPU sensor card and the smart lock is normal according to the return value includes:
judging whether the first return value is 0XFF, if so, indicating that the data of the CPU induction card is abnormal;
judging whether the second return value is 0XFF, if the second return value is 0XFF, indicating that the data authentication of the CPU induction card fails;
and judging whether the third return value is 0XFF, and if the third return value is 0XFF, indicating that the data authentication of the CPU induction card is successful.
The communication between the intelligent lock and the CPU induction card is a decryption process, namely the intelligent lock sends a decryption instruction to the CPU induction card, the CPU induction card carries out decryption process according to the decryption instruction, the CPU induction card can return a return value to the intelligent lock no matter decryption is failed or successful, the intelligent lock judges whether the data length value of the return value is 0XFF according to the principle that the decryption is successful and the failed return value is different, and judges whether the decryption is failed due to the reason according to 0XFF, for example, when the OXFF is 2, the data is abnormal, and when the XFF is 1, the data authentication of the CPU induction card is failed; when 0XFF is 0, it indicates that the data authentication of the CPU card is successful.
Preferably, in step B, the process of determining whether the communication between the smart lock and the CPU inductive card is normal includes:
step B1: the intelligent lock sends an APDU reset instruction to the CPU induction card and receives a reset feedback instruction returned to the intelligent lock after the CPU induction card carries out reset operation according to the APDU reset instruction;
step B2: and C, the intelligent lock judges whether the communication between the intelligent lock and the CPU induction card is normal or not according to the reset feedback instruction, if not, the step C is responded, and the intelligent lock does not send out prompt information of the CPU induction card verification failure.
The intelligent lock receives the reset feedback instruction and judges the reset feedback instruction, if the reset feedback instruction is a reset normal instruction, the CPU induction card is judged to be successfully reset, the magnetic field intensity between the CPU induction card and the intelligent lock is enough to support the communication between the intelligent lock and the CPU induction card, if the reset instruction is a reset abnormal instruction, the CPU induction card is judged to be abnormally reset, the magnetic field intensity between the CPU induction card and the intelligent lock is not enough to support the communication between the intelligent lock and the CPU induction card, at the moment, the intelligent lock does not broadcast CPU induction card verification failure prompt information but waits for reading the CPU induction card again, namely, the intelligent lock waits for a customer to swipe the CPU induction card again, so that the intelligent lock is prevented from providing wrong information for the user, and the effect of improving the user experience is achieved.
Whether the reset of the CPU induction card is abnormal or not can accurately judge the magnetic field intensity between the CPU induction card and the intelligent lock, and if the reset of the CPU induction card is successful, the communication between the CPU induction card and the intelligent lock is good.
Preferably, the step B2: the process that the intelligent lock judges whether the communication between the intelligent lock and the CPU induction card is normal according to the reset feedback instruction further comprises the following steps:
step B3: the intelligent lock judges whether the reset feedback instruction is normal or not, if not, the intelligent lock judges that the communication between the intelligent lock and the CPU card is abnormal, and the intelligent lock sends an APDU reset instruction to the CPU induction card again;
when the intelligent lock sends the APDU reset instruction to the CPU induction card to a reset abnormal instruction of preset times, stopping sending the APDU reset instruction to the CPU induction card, so that the CPU induction card stops reset operation, and responding to the step C;
and C, performing the step of: and when the intelligent lock reads the CPU induction card again, the intelligent lock sends an APDU reset instruction to the CPU induction card again, so that the CPU induction card carries out reset operation again.
Considering that other factors may cause trouble to reset the CPU inductive card, so that the reset is not failed due to a communication problem, after one card swiping, the reset is performed for many times, that is, the smart lock sends an APDU reset instruction to the CPU inductive card for many times, so as to reduce interference caused by other factors to the reset of the CPU inductive card, but after the reset fails for many times, the card swiping again is needed to continue sending the reset instruction, otherwise, the reset will fail.
Preferably, before step a, the following steps are also included:
step A1: reading data information in the induction card through the intelligent lock, judging whether the ID of the induction card can be read from the data information or not, and if the ID of the induction card cannot be read, the induction card fails to be verified;
step A2: if the ID of the induction card is read, judging whether the type of the induction card belongs to the CPU induction card or not from the data information, and if the type of the induction card belongs to the CPU induction card, entering the step A; if the card does not belong to the CPU inductive card, the inductive card fails to verify.
When the induction card performs data transmission with the intelligent lock, firstly, the ID of the induction card is judged, on the basis, whether verification is successful can be judged by judging whether the ID of the induction card can be read or not, and after the ID of the induction card is read successfully, whether the type of the induction card is a CPU induction card can be judged subsequently, whether the type of the induction card is a CPU induction card or not is judged by judging whether the communication between the intelligent lock and the CPU induction card is stable or not by adopting a method that whether the data length value of a return value is 0XFF or not and sending a reset instruction to perform reset operation or not is judged, namely, whether the ID of the induction card is read and the type of the induction card is the basis for judging whether the communication is stable or not.
A communication signal detection system of a CPU (Central processing Unit) induction card and an intelligent lock is disclosed, as shown in figure 3, and comprises the intelligent lock and the CPU induction card, wherein the intelligent lock comprises an instruction sending module, an instruction receiving module and a verification module; the CPU induction card comprises a data sending module, a data receiving module and a decryption module;
the instruction sending module sends a decryption instruction to the CPU induction card, the data receiving module receives the decryption instruction and forwards the decryption instruction to the decryption module, and the decryption module decrypts according to the decryption instruction, generates a return value and sends the return value to the data sending module;
the data sending module sends the return value to the instruction receiving module, the instruction receiving module receives the return value and forwards the return value to the verification module, the verification module verifies the return value, verifies whether the data length value of the return value is 0XFF, and if yes, verifies whether the communication between the CPU induction card and the intelligent lock is normal according to 0 XFF.
Preferably, the verification module verifies whether the first return value is 0XFF, and if the first return value is 0XFF, the data abnormality of the CPU inductive card is indicated; for example, when 0XFF is 2, it indicates a data exception;
the verification module verifies whether the second return value is 0XFF, and if the second return value is 0XFF, the data authentication failure of the CPU induction card is indicated; for example, if 0XFF is 1, it indicates that the data authentication of the CPU card has failed;
the verification module verifies whether the third return value is 0XFF, and if the third return value is 0XFF, the data authentication of the CPU sensor card is successful, for example, if 0XFF is 0, the data authentication of the CPU sensor card is successful.
Preferably, as shown in fig. 2, the CPU inductive card further includes a reset module, and the smart lock further includes a reset number counting module;
the command sending module sends an APDU reset command to the CPU induction card, the data receiving module receives the APDU reset command and sends the APDU reset command to the reset module, and the reset module carries out reset operation according to the APDU reset command, generates a reset feedback command and sends the reset feedback command to the data sending module;
the data sending module sends a reset feedback instruction to the instruction receiving module, the instruction receiving module receives the reset feedback instruction and forwards the reset feedback instruction to the verification module, and the verification module verifies the reset feedback instruction;
the verification module verifies whether a reset feedback instruction is normal or not, if not, the verification module verifies whether the communication between the CPU induction card and the intelligent lock is normal or not, and the instruction sending module sends an APDU reset instruction to the CPU induction card again;
as shown in fig. 4, the reset number counting module counts the number of times that the instruction sending module sends the reset instruction, when the counted number of times reaches a preset number of times, the reset number counting module issues a command to stop sending the reset instruction to the instruction sending module, and after receiving the command to stop sending the reset instruction, the instruction sending module stops sending the APDU reset instruction to the CPU inductive card, so that the CPU inductive card stops the reset operation.
Preferably, the intelligent lock further comprises a data reading module, the data reading module reads data information of the induction card, and judges whether the ID of the induction card can be read from the data information, if not, the induction card fails to be verified, and if yes, the data information is sent to the verification module, and the verification module verifies the type of the induction card, and verifies whether the type of the induction card is the CPU induction card.
The technical principle of the present invention is described above in connection with specific embodiments. The description is made for the purpose of illustrating the principles of the invention and should not be construed in any way as limiting the scope of the invention. Based on the explanations herein, those skilled in the art will be able to conceive of other embodiments of the present invention without inventive effort, which would fall within the scope of the present invention.

Claims (7)

1. A communication signal detection method of a CPU induction card and an intelligent lock is characterized in that: the method comprises the following steps of judging whether the communication between the CPU induction card and the intelligent lock is normal:
step A: reading data in the CPU induction card through the intelligent lock;
and B: judging whether the communication between the intelligent lock and the CPU induction card is normal or not through the intelligent lock, and if not, responding to the step C, wherein the step C comprises the following steps:
step B1: the intelligent lock sends an APDU reset instruction to the CPU induction card and receives a reset feedback instruction returned to the intelligent lock after the CPU induction card carries out reset operation according to the APDU reset instruction;
step B2: the intelligent lock judges whether the communication between the intelligent lock and the CPU induction card is normal or not according to the reset feedback instruction, if not, the step C is responded, and the intelligent lock does not send out prompt information of the CPU induction card verification failure;
step B3: the intelligent lock judges whether the reset feedback instruction is normal or not, if not, the intelligent lock judges that the communication between the intelligent lock and the CPU induction card is abnormal, and the intelligent lock sends an APDU reset instruction to the CPU induction card again;
when the intelligent lock sends the APDU reset instruction to the CPU induction card to a reset abnormal instruction of preset times, stopping sending the APDU reset instruction to the CPU induction card, so that the CPU induction card stops reset operation, and responding to the step C;
and C: and the intelligent lock reads the CPU induction card again, and sends an APDU reset instruction to the CPU induction card again, so that the CPU induction card performs reset operation again.
2. The method for detecting the communication signal between the CPU induction card and the intelligent lock according to claim 1, wherein the method comprises the following steps:
and B, the step of: the process that the intelligent lock judges whether the communication between the intelligent lock and the CPU induction card is normal or not comprises the following steps:
step S1: the intelligent lock sends a decryption instruction to the CPU induction card and receives a return value returned to the intelligent lock after the CPU induction card decrypts according to the decryption instruction;
step S2: and the intelligent lock analyzes and judges whether the data length value of the return value is OXFF or not, and if so, judges whether the communication between the CPU induction card and the intelligent lock is normal or not according to the OXFF.
3. The method for detecting the communication signal between the CPU induction card and the intelligent lock as claimed in claim 2, wherein the method comprises the following steps:
in step S2, the process of the smart lock determining whether the communication signal between the CPU sensor card and the smart lock is normal according to the return value includes:
judging whether the first return value is OXFF or not, and if the first return value is OXFF, indicating that the data of the CPU induction card is abnormal;
judging whether the second return value is OXFF or not, and if the second return value is OXFF, indicating that the data authentication of the CPU induction card fails;
and judging whether the third return value is OXFF, and if the third return value is OXFF, indicating that the data authentication of the CPU induction card is successful.
4. The method for detecting the communication signal between the CPU induction card and the intelligent lock according to claim 1, wherein the method comprises the following steps:
before the step A, the method also comprises the following steps:
step A1: reading data information in the induction card through the intelligent lock, judging whether the ID of the induction card can be read from the data information or not, and if the ID of the induction card cannot be read, the induction card fails to be verified;
step A2: if the ID of the induction card is read, judging whether the type of the induction card belongs to the CPU induction card or not from the data information, and if the type of the induction card belongs to the CPU induction card, entering the step A; if the card does not belong to the CPU inductive card, the inductive card fails to verify.
5. The utility model provides a communication signal detecting system of CPU response card and intelligent lock which characterized in that: the intelligent lock comprises an intelligent lock and a CPU induction card, wherein the intelligent lock comprises an instruction sending module, an instruction receiving module and a verification module; the CPU induction card comprises a data sending module, a data receiving module and a decryption module;
the instruction sending module sends a decryption instruction to the CPU induction card, the data receiving module receives the decryption instruction and forwards the decryption instruction to the decryption module, and the decryption module decrypts according to the decryption instruction, generates a return value and sends the return value to the data sending module;
the data sending module sends a return value to the instruction receiving module, the instruction receiving module receives the return value and forwards the return value to the verification module, the verification module verifies the return value, verifies whether the data length value of the return value is OXFF, and if yes, verifies whether the communication between the CPU induction card and the intelligent lock is normal according to the OXFF;
the CPU induction card also comprises a reset module, and the intelligent lock also comprises a reset frequency counting module;
the command sending module sends an APDU reset command to the CPU induction card, the data receiving module receives the APDU reset command and sends the APDU reset command to the reset module, and the reset module carries out reset operation according to the APDU reset command, generates a reset feedback command and sends the reset feedback command to the data sending module;
the data sending module sends a reset feedback instruction to the instruction receiving module, the instruction receiving module receives the reset feedback instruction and forwards the reset feedback instruction to the verification module, and the verification module verifies the reset feedback instruction;
the verification module verifies whether a reset feedback instruction is normal or not, if not, the verification module verifies whether the communication between the CPU induction card and the intelligent lock is normal or not, and the instruction sending module sends an APDU reset instruction to the CPU induction card again;
the reset times counting module counts the times of the reset instruction sent by the instruction sending module, when the counted times reach a preset time, the reset times counting module issues a command of stopping sending the reset instruction to the instruction sending module, and after the command sending module receives the command of stopping sending the reset instruction, the command sending module stops sending the APDU reset instruction to the CPU induction card, so that the CPU induction card stops the reset operation.
6. The system for detecting the communication signal between the CPU induction card and the intelligent lock as claimed in claim 5, wherein:
the verification module verifies whether the first return value is an OXFF (extended XF) or not, and if the first return value is the OXFF, the data abnormality of the CPU induction card is represented;
the verification module verifies whether the second return value is OXFF, and if the second return value is OXFF, the data authentication failure of the CPU induction card is represented;
and the verification module verifies whether the third return value is OXFF, and if the third return value is OXFF, the data authentication of the CPU induction card is successful.
7. The system for detecting the communication signal between the CPU induction card and the intelligent lock as claimed in claim 5, wherein:
the intelligent lock further comprises a data reading module, the data reading module reads data information of the induction card and judges whether the ID of the induction card can be read from the data information, if not, the induction card fails to be verified, if yes, the data information is sent to the verification module, and the verification module verifies the type of the induction card and verifies whether the type of the induction card is the CPU induction card.
CN201911241033.4A 2019-12-06 2019-12-06 Method and system for detecting communication signal between CPU (Central processing Unit) induction card and intelligent lock Active CN110971315B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911241033.4A CN110971315B (en) 2019-12-06 2019-12-06 Method and system for detecting communication signal between CPU (Central processing Unit) induction card and intelligent lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911241033.4A CN110971315B (en) 2019-12-06 2019-12-06 Method and system for detecting communication signal between CPU (Central processing Unit) induction card and intelligent lock

Publications (2)

Publication Number Publication Date
CN110971315A CN110971315A (en) 2020-04-07
CN110971315B true CN110971315B (en) 2022-02-11

Family

ID=70033342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911241033.4A Active CN110971315B (en) 2019-12-06 2019-12-06 Method and system for detecting communication signal between CPU (Central processing Unit) induction card and intelligent lock

Country Status (1)

Country Link
CN (1) CN110971315B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108109254A (en) * 2018-02-08 2018-06-01 深圳坚朗海贝斯智能科技有限公司 A kind of detection contactless card intelligent electronic lock system and its control method in real time

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100384948B1 (en) * 2000-08-03 2003-05-22 구홍식 Fingerprints recognition electronic card key, door opening-shutting device, management system for electronic card key, and method for controlling access to door using the sames
JP5100966B2 (en) * 2005-01-17 2012-12-19 ソニーモバイルコミュニケーションズ株式会社 Non-contact short-range wireless communication device, mobile phone terminal
CN100483438C (en) * 2006-01-23 2009-04-29 上海飞乐音响股份有限公司 Distant contactless IC card read/write implement and method therefor
CN101188645A (en) * 2006-11-17 2008-05-28 英华达(上海)电子有限公司 Theft-prevention alarming device and method for handheld device
CN101577906B (en) * 2009-06-12 2011-02-09 大唐微电子技术有限公司 Smart card and terminal capable of realizing machine card security authentication
CN102243773A (en) * 2010-05-11 2011-11-16 丁峰 Entrance control system supported by multiple identities recognition
CN102074274A (en) * 2010-11-04 2011-05-25 北京曙光天演信息技术有限公司 Method for detecting errors of and automatically resetting encryption chip in encryption card
CN102316428B (en) * 2011-09-30 2015-04-15 北京中清怡和科技有限公司 Method for communication between mobile application client and intelligent card and device
CN105141756B (en) * 2015-07-29 2018-03-09 飞天诚信科技股份有限公司 It is a kind of to handle abnormal method and apparatus
CN107578511A (en) * 2017-09-15 2018-01-12 林海航 A kind of smart lock and its Intelligent key
CN108171830B (en) * 2017-12-21 2020-09-29 广东汇泰龙科技股份有限公司 Hardware encryption method and system based on induction card unlocking and intelligent cloud lock
CN108932779A (en) * 2018-07-17 2018-12-04 叶春林 Prevent Household door lock by pirate of the open or the mode of exception
CN109920102B (en) * 2019-02-02 2023-12-12 江门市新会区博上科技有限公司 Bluetooth keyless entry intelligent lock method, device, equipment and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108109254A (en) * 2018-02-08 2018-06-01 深圳坚朗海贝斯智能科技有限公司 A kind of detection contactless card intelligent electronic lock system and its control method in real time

Also Published As

Publication number Publication date
CN110971315A (en) 2020-04-07

Similar Documents

Publication Publication Date Title
CN102819721B (en) NFC (near field communication)-based information interaction method and device
CN201145918Y (en) Networking safety door inhibition apparatus
CN103053136A (en) Home appliance diagnosis system and diagnosis method for same
US20110247058A1 (en) On-demand personal identification method
US20130272714A1 (en) State Control System and State Control Method
CN107453873B (en) Intelligent IC card data verification method and system
US20160234416A1 (en) Method, device, and self service equipment thereof for card processing in card reader
CN105335730A (en) Fingerprint identification method, fingerprint identification device and terminal equipment
EP1801728A1 (en) Method of determining failure of an RFID label reader
CN102868527A (en) Dynamic password generation system and device
CN105469106A (en) Fingerprint identification method, fingerprint identification device and terminal equipment
CN106170793A (en) System, method and apparatus for secure log
US20150128258A1 (en) Authentication mode reporting
CN105306610A (en) Network identifier detection method and device
CN105389497A (en) Security verification method and system for operation interface of fingerprint recognition
CN110971315B (en) Method and system for detecting communication signal between CPU (Central processing Unit) induction card and intelligent lock
US11704675B2 (en) System and method for detecting fraudulent bank transactions
CN109801409A (en) Voice method for unlocking, electronic equipment
EP3770797A1 (en) Enrollment device and method of facilitating enrollment of a biometric template
CN113312602B (en) Method and system for realizing fingerprint sharing
CN113704106B (en) Off-line detection system, method, equipment and medium for automobile digital key
CN105046799A (en) Access control card reading method and system, access control card reading device and mobile terminal
CN102081820A (en) Pull-up preventing processing method for non-contact IC (Integrated Circuit) card and IC card terminal
WO2022208520A1 (en) Keyless authorization system
CN101405774A (en) A device for checking the regularity of the operation of automatic payment terminals

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
GR01 Patent grant
GR01 Patent grant