CN107749096B - Safety electronic lock based on ultrahigh frequency RFID and control method thereof - Google Patents

Safety electronic lock based on ultrahigh frequency RFID and control method thereof Download PDF

Info

Publication number
CN107749096B
CN107749096B CN201710306019.2A CN201710306019A CN107749096B CN 107749096 B CN107749096 B CN 107749096B CN 201710306019 A CN201710306019 A CN 201710306019A CN 107749096 B CN107749096 B CN 107749096B
Authority
CN
China
Prior art keywords
electronic lock
reader
encryption
safe electronic
safe
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
CN201710306019.2A
Other languages
Chinese (zh)
Other versions
CN107749096A (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.)
RAY-LINKS (BEIJING) TECHNOLOGY CO LTD
Original Assignee
RAY-LINKS (BEIJING) 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 RAY-LINKS (BEIJING) TECHNOLOGY CO LTD filed Critical RAY-LINKS (BEIJING) TECHNOLOGY CO LTD
Publication of CN107749096A publication Critical patent/CN107749096A/en
Application granted granted Critical
Publication of CN107749096B publication Critical patent/CN107749096B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/00182Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with unidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0008General problems related to the reading of electronic memory record carriers, independent of its reading method, e.g. power transfer
    • 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/00793Electronically 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 Hertzian waves

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention provides a safe electronic lock based on an ultrahigh frequency RFID and a control method thereof. The reader can realize the opening/closing of the safety electronic lock or inquire the current state of the safety electronic lock through the communication with the safety electronic lock. By adopting the safe electronic lock and the control method thereof, the communication safety is improved, and real-time monitoring of the corresponding articles of the safe lock can be realized.

Description

Safety electronic lock based on ultrahigh frequency RFID and control method thereof
Technical Field
The invention relates to the technical field of electronic locks, in particular to a safe electronic lock based on an ultrahigh frequency RFID and a control method thereof.
Background
The traditional mechanical lockset has the problem of low safety coefficient, can be opened by adopting a plurality of simple tools, and can not be found out in time without people on site when the lockset is opened. In the prior art, an electronic lock which is opened in a mode of short messages, telephones, networks and the like is also arranged, the electronic lock does not need to be opened by a key, and the door is opened in a wireless communication mode, so that the unlocking mode provides convenience for users, and accidents such as prizing of a mechanical lock are avoided. However, the lock is in a communication state for a long time, standby power consumption is high, the lock cannot be opened through other ways once power fails, and the safety of the lock cannot be guaranteed at the moment. In addition, the wireless communication of the lockset is easy to intercept, copy or crack, so that the illegal door opening condition occurs, and the safety of the lockset is reduced.
In recent years, a technically optimal solution for automatic identification has been to store data in a silicon chip. In everyday life, IC cards with contact banks (including telephone IC cards, bank cards, etc.) are the most common structure of electronic data carriers. In many cases, for example, the mechanical contact of an IC card is not reliable, and the contactless transmission of data between the data carrier and an associated reader/writer is relatively more reliable and flexible. According to the used energy and data transmission method, the non-contact identification system is generally called a radio frequency identification (RFID, radio Frequency Identificantion) system, wherein the RFID system is a technology which utilizes radio frequency to read and write data through external materials, combines radio frequency technology with IC card technology and can be used for long-distance, moving object and wireless identification, has the advantages of no contact, large working distance, high precision, quick information collection and processing, large information storage capacity, all-weather operation and good application environment adaptability, can be used for identifying a single specific object, and can also be used for identifying a plurality of objects. Basic RFID systems typically include tags (i.e., transponders) and a reader, each tag having a unique identification code (i.e., an ID number), the tag being attached to an object to identify a target object; the reader-writer is used for reading or writing information of the tag, and can be designed to be handheld or fixed. The tag and the reader-writer are communicated with each other through an antenna.
RFID systems have been widely used in various fields, and in daily life, more and more people or articles are managed using the RFID systems, such as intelligent door locks. At present, an intelligent door lock using an RFID system generally comprises a key formed by a tag, a reader-writer arranged in a lock head, a lock body control circuit, a lock body and a mechanical linkage mechanism, wherein the lock body control circuit is respectively connected with the reader-writer, the lock body and the mechanical linkage mechanism; the vast majority of the door locks realize the mutual communication between the tag and the reader-writer directly through the identification code, thereby realizing the opening or closing of the door locks, bringing great convenience to people, but because the application design of the RFID system is completely opened, bringing a plurality of potential safety hazards to people, the security threat faced by the intelligent door locks mainly comprises: adopting eavesdropping technology, and obtaining communication data between the tag and the reader-writer or between other RFID communication devices by analyzing various signals processed in the normal working process between the tag and the reader-writer; the artificial signal interference makes the legal reader-writer unable to read the data sent by the tag normally; reading the data information in the tag to achieve the technology of copying the tag; the security protocol, encryption algorithm and the weak points of the realization of the security protocol and the encryption algorithm are sought by utilizing the communication interface of the reader-writer or the tag, so that the tag content is deleted or the tag content is tampered and rewritten.
Therefore, with the development of electronic technology, the electronic lock is widely applied to the fields of entrance guard and the like due to the convenience. However, how to ensure the safety between the RFID tag and the reader and between the RFID tag and the actuator (typically, a micro dc motor) controlling the opening and closing of the lock is an urgent problem to be solved. Meanwhile, in the prior art, an actuator (generally a miniature direct current motor) for controlling the switch of the lockset is powered by an external power supply of the lockset through a contact, so that the defects of safety and convenience in use of the electrical appliance exist. Moreover, in the prior art, a specific scheme of how to monitor the articles in real time through the electronic lock is not provided.
Disclosure of Invention
Aiming at the problems in the prior art, the invention aims to provide a safe electronic lock based on an ultrahigh frequency RFID and a control method thereof.
The invention provides a safe electronic lock based on ultrahigh frequency RFID, which comprises an RFID tag, a miniature direct current motor and an antenna; the antenna is used for realizing communication between the safe electronic lock and the reader; characterized in that the RFID tag further comprises: the direct current recovery circuit is used for receiving the radio frequency energy sent by the reader through the antenna, extracting a power supply from the radio frequency energy and storing the power supply into the energy storage circuit; the energy storage circuit is used for storing the power supply extracted by the direct current recovery circuit and providing power for the information modulation/demodulation circuit, the EEPROM memory, the encryption/decryption circuit and the miniature direct current motor; an information modulation/demodulation circuit for demodulating a signal from the reader received through the antenna; if the demodulation result is a broadcast signal, extracting the ID of the reader from the broadcast signal, and a contracted encryption/decryption method for the subsequent reader to communicate with the secure electronic lock, and matching the extracted ID with information stored in an EEPROM (electrically erasable programmable read-Only memory) memory to determine whether the reader has operation authority; if the reader is determined to have the operation authority, feeding back an authority verification success signal to the reader so that the reader sends an encrypted proprietary control instruction to the secure electronic lock, wherein the encryption method is an encryption method agreed in a previous broadcast signal; if the demodulation result is a proprietary control instruction, the proprietary control instruction is sent to an encryption/decryption circuit for decryption; the EEPROM memory is used for storing the ID of the reader of the authorized operation safety electronic lock and the current state of the safety electronic lock; and the encryption/decryption circuit is used for decrypting the proprietary control instruction by adopting a contracted decryption method and executing corresponding operation according to the decrypted proprietary control instruction. The miniature direct current motor is used for opening or closing the safe electronic lock according to the instruction received from the encryption/decryption circuit.
Further, the antenna is an antenna group, and comprises a plurality of receiving antennas respectively facing a plurality of directions.
Further, the executing the corresponding operation according to the decrypted proprietary control instruction specifically includes: if the instruction is an instruction for opening the safe electronic lock, controlling the miniature direct current motor to open the safe electronic lock, and updating the current state of the safe electronic lock in the EPROM memory; if the instruction is a command for closing the safe electronic lock, controlling the miniature direct current motor to close the safe electronic lock, and updating the current state of the safe electronic lock in the EPROM memory; if the command is an instruction for inquiring the state of the safe electronic lock, inquiring the current state of the safe electronic lock in the EEPROM memory, and feeding back an inquiry result and the ID of the RFID tag to the reader.
Further, the secure electronic lock further includes: the GPS circuit is used for periodically acquiring the position information of the safe electronic lock and storing the position information in the EEPROM; and after the safe electronic lock receives the instruction of inquiring the state of the safe electronic lock from the reader, the position information of the safe electronic lock is fed back to the reader.
The invention also provides a method for controlling the safe electronic lock, which comprises the following steps: s101, a reader periodically transmits a broadcast signal, wherein the broadcast signal carries an ID of the reader and an agreed encryption/decryption method for the subsequent reader to communicate with a secure electronic lock; s102, after receiving a broadcast signal, a safe electronic lock in a listening state enters an awake state, and a direct current recovery circuit extracts a power supply from radio frequency energy sent by a reader and stores the power supply in a storage circuit; s103, the information modulation/demodulation circuit extracts the ID of the reader from the broadcast signal, and the agreed encryption/decryption method for the subsequent reader to communicate with the secure electronic lock, and matches the extracted ID with information stored in the EEPROM memory; if the matching is successful, the reader is indicated to have the authority for controlling the safe electronic lock, the agreed encryption/decryption method for the subsequent reader and the safe electronic lock are correspondingly stored in the EEPROM, and meanwhile, an authority verification success signal is fed back to the reader; if the matching fails, indicating that the reader does not have the authority to control the safe electronic lock, and feeding back an authority verification failure signal to the reader; s104, the reader judges whether the received signal is a permission verification failure signal or a permission verification success signal; if the permission verification failure signal is received, ending the flow; if the right verification success signal is received, an encrypted proprietary control instruction is sent to the secure electronic lock, wherein the encryption method is an encryption method agreed in the prior broadcast signal; s105, after demodulating the received proprietary control instruction, the information modulation/demodulation circuit in the secure electronic lock sends the proprietary control instruction to the encryption/decryption circuit for decryption; s106, the encryption/decryption circuit decrypts the proprietary control instruction by adopting a contracted decryption method, and executes corresponding operation according to the decrypted proprietary control instruction; if the instruction is an instruction for opening the safe electronic lock, controlling the miniature direct current motor to open the safe electronic lock, and updating the current state of the safe electronic lock in the EPROM memory; if the instruction is a command for closing the safe electronic lock, controlling the miniature direct current motor to close the safe electronic lock, and updating the current state of the safe electronic lock in the EPROM memory; if the command is an instruction for inquiring the state of the safe electronic lock, inquiring the current state of the safe electronic lock in the EEPROM memory, and feeding back an inquiry result and the ID of the RFID tag to the reader.
Further, the method further comprises: the position information of the safe electronic lock is obtained regularly through a GPS circuit and is stored in an EEPROM; and after the safe electronic lock receives the instruction of inquiring the state of the safe electronic lock from the reader, the position information of the safe electronic lock is fed back to the reader.
Further, the method further comprises: the reader periodically inquires the current state of the all-electronic lock and stores the current state; the reader compares the ID of the RFID tag received in the current period with the ID of the RFID tag received in the previous period; if the ID of the RFID tag is found to exist in the last period and not exist in the current period, indicating that the article corresponding to the RFID tag is taken away; if the ID of the RFID tag is found to be not existed in the previous period, and the ID of the RFID tag exists in the current period, indicating that the article corresponding to the ID of the RFID tag is a newly stored article; if the ID of the RFID tag exists in both the current cycle and the previous cycle, it is indicated that the article corresponding to the ID of the RFID tag is stored in the storage device all the time, and no state change occurs.
Further, the method further comprises: when the article is found to be taken away through comparison, the switch state of the electronic lock closest to the current cycle time is searched, and if the state of the safe electronic lock is opened, the article is normally taken away; if the state of the safe electronic lock is closed, indicating that the article is illegally taken away, sending alarm information; the alarm information comprises position information of the safe electronic lock.
Further, the method further comprises: the encryption/decryption method carried in the broadcast signal sent by the reader each time is to randomly select one from the existing encryption/decryption methods; the existing encryption/decryption method is any one or a combination of the following: MD5; RSA; DES.
Compared with the electronic lock in the prior art, the safe electronic lock has the following beneficial effects:
(1) In the prior art, the encryption/decryption circuit and the RFID tag are respectively and independently arranged, and the encryption/decryption circuit is packaged into the RFID tag, so that the safety authentication and encryption/decryption functions are realized in the tag circuit, and the safety is improved.
(2) In the prior art, the reader and the electronic lock are communicated through the existing communication protocol, so that the reader and the electronic lock are easy to crack. By adopting the special control instruction, the safety of communication between the reader and the electronic lock is greatly improved. Furthermore, the invention encrypts the proprietary control instruction by randomly selecting one encryption/decryption method from the existing encryption/decryption methods, thereby further improving the safety of communication between the reader and the electronic lock through randomness.
(3) In the prior art, the encryption/decryption circuit and the miniature direct current motor are powered by an external power supply, and in the invention, the direct current recovery circuit extracts the emergent frequency energy from the radio frequency signal and stores the emergent frequency energy into the energy storage circuit, and the energy storage circuit uniformly supplies power to the encryption/decryption circuit and the miniature direct current motor, so that the external power supply is not needed any more, and the safety and the use convenience of the electric appliance are improved.
(4) In the prior art, the safety electronic lock is usually provided with only one antenna, and in the invention, the antenna which comprises a plurality of antennas respectively oriented to a plurality of directions is arranged, so that the signal sent by the reader can be received no matter how the safety electronic lock is placed, and the operation blind area in the prior art is overcome.
(5) According to the invention, the state of the safe electronic lock is inquired, stored and compared, so that the state of the article corresponding to the safe electronic lock is monitored, and the defect that the article cannot be monitored in real time through the electronic lock in the prior art is overcome.
Drawings
The above and other objects, features and advantages of the present invention will become apparent from the following detailed description when taken in conjunction with the accompanying drawings. In the drawings:
fig. 1 shows a functional block diagram of a secure electronic lock based on Ultra High Frequency (UHF) RFID according to the invention.
Fig. 2 shows a flow chart of a method of controlling the inventive ultra high frequency RFID based secure electronic lock 2.
Detailed Description
The technical solution of the present invention will be described in further detail with reference to the accompanying drawings, in which examples of the embodiments are shown, and the embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the present invention.
As shown in fig. 1, an Ultra High Frequency (UHF) RFID-based secure electronic lock 2 of the present invention includes an RFID tag 3, a micro direct current motor 4, and an antenna 5. The RFID tag 3 further includes a dc recovery circuit 31, an energy storage circuit 32, an information modulation/demodulation circuit 33, an EEPROM memory 34, and an encryption/decryption circuit 35. The reader 1 and the secure electronic lock 2 communicate with each other through radio frequency, and thus the secure electronic lock 2 is opened/closed or the current state of the secure electronic lock 2 is inquired.
The following describes each component in the secure electronic lock 2 in detail with reference to fig. 1.
An antenna 5 for enabling communication between the secure electronic lock 2 and the reader 1. Specifically, in the prior art, the problem of uncertainty of placement position of the secure electronic lock 2 exists in the use process, so that a receiving blind area and poor directivity may exist when the reader 1 operates the secure electronic lock, and unpredictable difficulties are brought to operators when the reader needs to exchange a plurality of directions, therefore, in the invention, the antenna 5 is an antenna group and comprises a plurality of receiving antennas which respectively face a plurality of directions, so that signals sent by the reader 1 can be received no matter how the secure electronic lock 2 is placed, and the operation blind area in the prior art is overcome. The specific number of antennas can be set according to actual needs.
The direct current recovery circuit 31 is configured to receive radio frequency energy emitted by the reader 1 through the antenna 5, extract power therefrom, and store the power in the energy storage circuit 32.
The energy storage circuit 32 is used for storing the power extracted by the direct current recovery circuit 31 and providing power for the information modulation/demodulation circuit 33, the EEPROM memory 34, the encryption/decryption circuit 35 and the miniature direct current motor 4.
An information modulation/demodulation circuit 33 for demodulating the signal received from the reader 1 through the antenna 5 and determining whether to operate the EEPROM memory 34 or send the demodulation result to the encryption/decryption circuit 35 based on the demodulation result. Specifically:
if the demodulation result is a broadcast signal, the ID of the reader 1 and the agreed encryption/decryption method for the subsequent communication between the reader 1 and the secure electronic lock 2 are extracted from the broadcast signal, and the extracted ID is matched with information stored in the EEPROM memory 34. If the matching is successful, the reader 1 is indicated to have the authority for controlling the secure electronic lock 2, the agreed encryption/decryption method for the subsequent reader 1 and the secure electronic lock 2 are correspondingly stored in the EEPROM memory 34, and meanwhile, an authority verification success signal is fed back to the reader 1; if the matching fails, indicating that the reader 1 does not have the authority to control the secure electronic lock 2, feeding back an authority verification failure signal to the reader 1. In the present invention, the encryption/decryption method carried by the broadcast signal transmitted by the reader 1 each time is selected from the existing encryption/decryption methods. The existing encryption/decryption method can be one of MD5, RSA and DES algorithms or a combination thereof, which are only examples, and the present invention is not limited to the above algorithms. For the selected encryption/decryption method, a field is set in the broadcast signal for identification, for example, 00 is used for MD5, 01 is used for RSA,10 is used for DES, and so on, and the specific number of bits depends on the number of algorithms. After the secure electronic lock receives the broadcast signal, the encryption/decryption method selected by the reader 1 can be known according to the rule agreed in advance.
If the demodulation result is a proprietary control instruction, it is sent to the encryption/decryption circuit 35 for decryption.
And an EEPROM memory 34 for storing the ID of the reader 1 authorized to operate the secure electronic lock 2. Further, the method is also used for storing the current state of the secure electronic lock 2, so that the state of the article corresponding to the secure electronic lock 2 is monitored. Specifically:
the reader 1 may periodically query the current state of the all-electronic lock 2 and store it. The reader 1 compares the ID of the RFID tag 3 received in the current period with the ID of the RFID tag 3 received in the previous period, and if the ID of the RFID tag 3 is found to exist in the previous period and does not exist in the current period, the reader 1 indicates that the article corresponding to the RFID tag 3 is taken away; if the ID of the RFID tag 3 is found to be not existed in the previous period, and the ID exists in the current period, indicating that the article corresponding to the ID of the RFID tag 3 is a newly stored article; if the ID of the RFID tag 3 exists in both the current cycle and the previous cycle, it is indicated that the article corresponding to the ID of the RFID tag 3 is stored in the storage device and no state change occurs. Further, when the article is found to be taken away through comparison, the switch state of the electronic lock closest to the current cycle time is searched, and if the state of the safe electronic lock 2 is opened, the article is indicated to be taken away normally; if the state of the safety electronic lock 2 is closed, indicating that the article is illegally taken away, sending alarm information; the alarm information comprises position information of the safe electronic lock.
The encryption/decryption circuit 35 is configured to decrypt the proprietary control instruction by using a contracted decryption method, and perform a corresponding operation according to the decrypted proprietary control instruction. Specifically, if the instruction is an instruction for opening the secure electronic lock, the micro direct current motor 4 is controlled to open the secure electronic lock 2, and the current state of the secure electronic lock 2 in the EPROM memory 34 is updated; if the instruction is a command for closing the safe electronic lock, controlling the miniature direct current motor 4 to close the safe electronic lock 2, and updating the current state of the safe electronic lock 2 in the EPROM memory 34; if the command is a command for inquiring the state of the security electronic lock, the current state of the security electronic lock 2 in the EEPROM memory 34 is inquired, and the inquiring result is fed back to the reader 1 together with the ID of the RFID tag 3.
The micro dc motor 4 is used for opening or closing the secure electronic lock 2 according to the instruction received from the encryption/decryption circuit 35.
Further, the secure electronic lock of the present invention further includes a GPS circuit (not shown in fig. 1) for periodically acquiring the location information of the secure electronic lock and storing it in the EEPROM memory; and after the safe electronic lock receives the instruction of inquiring the state of the safe electronic lock from the reader, the position information of the safe electronic lock is fed back to the reader.
It should be specifically noted that, in the broadcast signal transmitted by the reader 1 of the present invention, an encryption/decryption method is randomly selected from the existing encryption/decryption methods, and after receiving the authorization verification success signal, the selected encryption/decryption method is adopted to encrypt the proprietary control command, thereby greatly improving the security of communication through randomness. The existing encryption/decryption method can be one of MD5, RSA and DES algorithms or a combination thereof, which are only examples, and the present invention is not limited to the above algorithms. For the selected encryption/decryption method, a field is set in the broadcast signal for identification, for example, 00 is used for MD5, 01 is used for RSA,10 is used for DES, and so on, and the specific number of bits depends on the number of algorithms. After the secure electronic lock receives the broadcast signal, the encryption/decryption method selected by the reader 1 can be known according to the rule agreed in advance.
The Ultra High Frequency (UHF) RFID based secure electronic lock 2 of the present invention is described in detail above. Compared with the electronic lock in the prior art, the safe electronic lock has the following beneficial effects:
(1) In the prior art, the encryption/decryption circuit and the RFID tag are respectively and independently arranged, and the encryption/decryption circuit is packaged into the RFID tag, so that the safety authentication and encryption/decryption functions are realized in the tag circuit, and the safety is improved.
(2) In the prior art, the reader and the electronic lock are communicated through the existing communication protocol, so that the reader and the electronic lock are easy to crack. By adopting the special control instruction, the safety of communication between the reader and the electronic lock is greatly improved. Furthermore, the invention encrypts the proprietary control instruction by randomly selecting one encryption/decryption method from the existing encryption/decryption methods, thereby further improving the safety of communication between the reader and the electronic lock through randomness.
(3) In the prior art, the encryption/decryption circuit and the miniature direct current motor are powered by an external power supply, and in the invention, the direct current recovery circuit extracts the emergent frequency energy from the radio frequency signal and stores the emergent frequency energy into the energy storage circuit, and the energy storage circuit uniformly supplies power to the encryption/decryption circuit and the miniature direct current motor, so that the external power supply is not needed any more, and the safety and the use convenience of the electric appliance are improved.
(4) In the prior art, the safety electronic lock is usually provided with only one antenna, and in the invention, the antenna which comprises a plurality of antennas respectively oriented to a plurality of directions is arranged, so that the signal sent by the reader can be received no matter how the safety electronic lock is placed, and the operation blind area in the prior art is overcome.
(5) According to the invention, the state of the safe electronic lock is inquired, stored and compared, so that the state of the article corresponding to the safe electronic lock is monitored, and the defect that the article cannot be monitored in real time through the electronic lock in the prior art is overcome.
Next, a flow of a method for controlling the Ultra High Frequency (UHF) RFID-based secure electronic lock of the present invention will be described in detail with reference to fig. 2. Specifically, the method comprises the following steps:
s101: the reader 1 periodically transmits a broadcast signal, wherein the broadcast signal carries an ID of the reader 1 and an agreed encryption/decryption method for the subsequent communication between the reader 1 and the secure electronic lock 2. In this step, the encryption/decryption method carried in the broadcast signal transmitted by the reader 1 each time is selected randomly from the existing encryption/decryption methods. The existing encryption/decryption method can be one of MD5, RSA and DES algorithms or a combination thereof, which are only examples, and the present invention is not limited to the above algorithms. For the selected encryption/decryption method, a field is set in the broadcast signal for identification, for example, 00 is used for MD5, 01 is used for RSA,10 is used for DES, and so on, and the specific number of bits depends on the number of algorithms. After the secure electronic lock receives the broadcast signal, the encryption/decryption method selected by the reader 1 can be known according to the rule agreed in advance.
S102: after receiving the broadcast signal, the secure electronic lock 2 in the listening state enters an awake state, and the dc restoring circuit 31 extracts power from the radio frequency energy sent from the reader 1 and stores the power in the energy storing circuit 32.
S103: the information modulation/demodulation circuit 33 extracts the ID of the reader 1 from the broadcast signal and the agreed encryption/decryption method by which the subsequent reader 1 communicates with the secure electronic lock 2, and matches the extracted ID with information stored in the EEPROM memory 34. If the matching is successful, the reader 1 is indicated to have the authority for controlling the secure electronic lock 2, the agreed encryption/decryption method for the subsequent reader 1 and the secure electronic lock 2 are correspondingly stored in the EEPROM memory 34, and meanwhile, an authority verification success signal is fed back to the reader 1; if the matching fails, indicating that the reader 1 does not have the authority to control the secure electronic lock 2, feeding back an authority verification failure signal to the reader 1.
S104: the reader 1 judges whether the received signal is a right verification failure signal or a right verification success signal. If the permission verification failure signal is received, ending the flow; if a right verification success signal is received, an encrypted proprietary control instruction is sent to the secure electronic lock 2, wherein the encryption method is an encryption method agreed in the broadcast signal before. The proprietary control instruction is used for opening/closing the secure electronic lock 2 or inquiring the state of the secure electronic lock 2.
S105: the information modulation/demodulation circuit 33 in the secure electronic lock 2 demodulates the received proprietary control instruction and then sends it to the encryption/decryption circuit 35 for decryption.
S106: the encryption/decryption circuit 35 decrypts the exclusive control instruction by adopting a contracted decryption method, and performs a corresponding operation according to the decrypted exclusive control instruction. If the instruction is a command for opening the safe electronic lock, controlling the miniature direct current motor 4 to open the safe electronic lock 2, and updating the current state of the safe electronic lock 2 in the EPROM memory 34; if the instruction is a command for closing the safe electronic lock, controlling the miniature direct current motor 4 to close the safe electronic lock 2, and updating the current state of the safe electronic lock 2 in the EPROM memory 34; if the command is a command for inquiring the state of the security electronic lock, the current state of the security electronic lock 2 in the EEPROM memory 34 is inquired, and the inquiring result is fed back to the reader 1 together with the ID of the RFID tag 3.
S107: the present flow is ended.
Further, the reader 1 can also store the current state of the secure electronic lock 2, so as to monitor the state of the article corresponding to the secure electronic lock 2. Specifically:
the reader 1 may periodically query the current state of the all-electronic lock 2 and store it. The reader 1 compares the ID of the RFID tag 3 received in the current period with the ID of the RFID tag 3 received in the previous period, and if the ID of the RFID tag 3 is found to exist in the previous period and does not exist in the current period, the reader 1 indicates that the article corresponding to the RFID tag 3 is taken away; if the ID of the RFID tag 3 is found to be not existed in the previous period, and the ID exists in the current period, indicating that the article corresponding to the ID of the RFID tag 3 is a newly stored article; if the ID of the RFID tag 3 exists in both the current cycle and the previous cycle, it is indicated that the article corresponding to the ID of the RFID tag 3 is stored in the storage device and no state change occurs. Further, when the article is found to be taken away through comparison, the switch state of the electronic lock closest to the current cycle time is searched, and if the state of the safe electronic lock 2 is opened, the article is indicated to be taken away normally; if the state of the secure electronic lock 2 is closed, indicating that the article is illegally taken away, an alarm message is sent. The alarm information comprises position information of the safe electronic lock.
The method flow for controlling the Ultra High Frequency (UHF) RFID based secure electronic lock of the invention is described in detail above. Compared with the prior art, the method provided by the invention has the following beneficial effects:
(1) In the prior art, the encryption/decryption circuit and the RFID tag are respectively and independently arranged, and the encryption/decryption circuit is packaged into the RFID tag, so that the safety authentication and encryption/decryption functions are realized in the tag circuit, and the safety is improved.
(2) In the prior art, the reader and the electronic lock are communicated through the existing communication protocol, so that the reader and the electronic lock are easy to crack. By adopting the special control instruction, the safety of communication between the reader and the electronic lock is greatly improved. Furthermore, the invention encrypts the proprietary control instruction by randomly selecting one encryption/decryption method from the existing encryption/decryption methods, thereby further improving the safety of communication between the reader and the electronic lock through randomness.
(3) In the prior art, the encryption/decryption circuit and the miniature direct current motor are powered by an external power supply, and in the invention, the direct current recovery circuit extracts the emergent frequency energy from the radio frequency signal and stores the emergent frequency energy into the energy storage circuit, and the energy storage circuit uniformly supplies power to the encryption/decryption circuit and the miniature direct current motor, so that the external power supply is not needed any more, and the safety and the use convenience of the electric appliance are improved.
(4) In the prior art, the safety electronic lock is usually provided with only one antenna, and in the invention, the antenna which comprises a plurality of antennas respectively oriented to a plurality of directions is arranged, so that the signal sent by the reader can be received no matter how the safety electronic lock is placed, and the operation blind area in the prior art is overcome.
(5) According to the invention, the state of the safe electronic lock is inquired, stored and compared, so that the state of the article corresponding to the safe electronic lock is monitored, and the defect that the article cannot be monitored in real time through the electronic lock in the prior art is overcome.
Further, other advantages and modifications will be apparent to those skilled in the art. Therefore, the invention in its broader aspects is not limited to the specific details and illustrative examples shown and described herein. Accordingly, various modifications may be made without departing from the spirit or scope of the general inventive concept as defined by the appended claims and their equivalents.

Claims (9)

1. A safe electronic lock based on ultra-high frequency RFID, including RFID label, miniature direct current motor, aerial; the antenna is used for realizing communication between the safe electronic lock and the reader; characterized in that the RFID tag further comprises:
the direct current recovery circuit is used for receiving the radio frequency energy sent by the reader through the antenna, extracting a power supply from the radio frequency energy and storing the power supply into the energy storage circuit;
the energy storage circuit is used for storing the power supply extracted by the direct current recovery circuit and providing power for the information modulation/demodulation circuit, the EEPROM memory, the encryption/decryption circuit and the miniature direct current motor;
an information modulation/demodulation circuit for demodulating a signal from the reader received through the antenna; if the demodulation result is a broadcast signal, extracting the ID of the reader from the broadcast signal, and a contracted encryption/decryption method for the subsequent reader to communicate with the secure electronic lock, and matching the extracted ID with information stored in an EEPROM (electrically erasable programmable read-Only memory) memory to determine whether the reader has operation authority; if the reader is determined to have the operation authority, feeding back an authority verification success signal to the reader so that the reader sends an encrypted proprietary control instruction to the secure electronic lock, wherein the encryption method is an encryption method agreed in a previous broadcast signal; if the demodulation result is a proprietary control instruction, the proprietary control instruction is sent to an encryption/decryption circuit for decryption;
the EEPROM memory is used for storing the ID of the reader of the authorized operation safety electronic lock and the current state of the safety electronic lock;
the encryption/decryption circuit is used for decrypting the proprietary control instruction by adopting a contracted decryption method and executing corresponding operation according to the decrypted proprietary control instruction;
the miniature direct current motor is used for opening or closing the safe electronic lock according to the instruction received from the encryption/decryption circuit.
2. The secure electronic lock of claim 1, wherein the antenna is an antenna group comprising a plurality of receive antennas each oriented in a plurality of directions.
3. The secure electronic lock of claim 1, wherein the performing the corresponding operation according to the decrypted proprietary control instruction specifically comprises:
if the instruction is an instruction for opening the safe electronic lock, controlling the miniature direct current motor to open the safe electronic lock, and updating the current state of the safe electronic lock in the EPROM memory;
if the instruction is a command for closing the safe electronic lock, controlling the miniature direct current motor to close the safe electronic lock, and updating the current state of the safe electronic lock in the EPROM memory;
if the command is an instruction for inquiring the state of the safe electronic lock, inquiring the current state of the safe electronic lock in the EEPROM memory, and feeding back an inquiry result and the ID of the RFID tag to the reader.
4. The secure electronic lock of claim 3, wherein the secure electronic lock further comprises:
the GPS circuit is used for periodically acquiring the position information of the safe electronic lock and storing the position information in the EEPROM; and after the safe electronic lock receives the instruction of inquiring the state of the safe electronic lock from the reader, the position information of the safe electronic lock is fed back to the reader.
5. A method of controlling the secure electronic lock of any of claims 1-4, comprising the steps of:
s101, a reader periodically transmits a broadcast signal, wherein the broadcast signal carries an ID of the reader and an agreed encryption/decryption method for the subsequent reader to communicate with a secure electronic lock;
s102, after receiving a broadcast signal, a safe electronic lock in a listening state enters an awake state, and a direct current recovery circuit extracts a power supply from radio frequency energy sent by a reader and stores the power supply in a storage circuit;
s103, the information modulation/demodulation circuit extracts the ID of the reader from the broadcast signal, and the agreed encryption/decryption method for the subsequent reader to communicate with the secure electronic lock, and matches the extracted ID with information stored in the EEPROM memory; if the matching is successful, the reader is indicated to have the authority for controlling the safe electronic lock, the agreed encryption/decryption method for the subsequent reader and the safe electronic lock are correspondingly stored in the EEPROM, and meanwhile, an authority verification success signal is fed back to the reader; if the matching fails, indicating that the reader does not have the authority to control the safe electronic lock, and feeding back an authority verification failure signal to the reader;
s104, the reader judges whether the received signal is a permission verification failure signal or a permission verification success signal; if the permission verification failure signal is received, ending the flow; if the right verification success signal is received, an encrypted proprietary control instruction is sent to the secure electronic lock, wherein the encryption method is an encryption method agreed in the prior broadcast signal;
s105, after demodulating the received proprietary control instruction, the information modulation/demodulation circuit in the secure electronic lock sends the proprietary control instruction to the encryption/decryption circuit for decryption;
s106, the encryption/decryption circuit decrypts the proprietary control instruction by adopting a contracted decryption method, and executes corresponding operation according to the decrypted proprietary control instruction; if the instruction is an instruction for opening the safe electronic lock, controlling the miniature direct current motor to open the safe electronic lock, and updating the current state of the safe electronic lock in the EPROM memory; if the instruction is a command for closing the safe electronic lock, controlling the miniature direct current motor to close the safe electronic lock, and updating the current state of the safe electronic lock in the EPROM memory; if the command is an instruction for inquiring the state of the safe electronic lock, inquiring the current state of the safe electronic lock in the EEPROM memory, and feeding back an inquiry result and the ID of the RFID tag to the reader.
6. The method of claim 5, further comprising:
periodically acquiring the position information of the safe electronic lock and storing the position information in an EEPROM; and after the safe electronic lock receives the instruction of inquiring the state of the safe electronic lock from the reader, the position information of the safe electronic lock is fed back to the reader.
7. The method of claim 6, further comprising:
the reader periodically inquires the current state of the all-electronic lock and stores the current state;
the reader compares the ID of the RFID tag received in the current period with the ID of the RFID tag received in the previous period;
if the ID of the RFID tag is found to exist in the last period and not exist in the current period, indicating that the article corresponding to the RFID tag is taken away;
if the ID of the RFID tag is found to be not existed in the previous period, and the ID of the RFID tag exists in the current period, indicating that the article corresponding to the ID of the RFID tag is a newly stored article;
if the ID of the RFID tag exists in both the current cycle and the previous cycle, it is indicated that the article corresponding to the ID of the RFID tag is stored in the storage device all the time, and no state change occurs.
8. The method of claim 7, further comprising:
when the article is found to be taken away through comparison, the switch state of the electronic lock closest to the current cycle time is searched, and if the state of the safe electronic lock is opened, the article is normally taken away; if the state of the safe electronic lock is closed, indicating that the article is illegally taken away, sending alarm information; the alarm information comprises position information of the safe electronic lock.
9. The method of any one of claims 5-8, wherein:
the encryption/decryption method carried in the broadcast signal sent by the reader each time is to randomly select one from the existing encryption/decryption methods; the existing encryption/decryption method is any one or a combination of the following: MD5; RSA; DES.
CN201710306019.2A 2016-05-04 2017-05-03 Safety electronic lock based on ultrahigh frequency RFID and control method thereof Active CN107749096B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2016102878109 2016-05-04
CN201610287810 2016-05-04

Publications (2)

Publication Number Publication Date
CN107749096A CN107749096A (en) 2018-03-02
CN107749096B true CN107749096B (en) 2024-03-05

Family

ID=61254634

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710306019.2A Active CN107749096B (en) 2016-05-04 2017-05-03 Safety electronic lock based on ultrahigh frequency RFID and control method thereof

Country Status (1)

Country Link
CN (1) CN107749096B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343213B (en) * 2018-11-30 2021-12-24 云丁智能科技(北京)有限公司 Control method, device and system of electronic lock
CN114298071A (en) * 2021-12-29 2022-04-08 中国电信股份有限公司 Data processing method and device, radio frequency electronic tag and radio frequency identification system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006309410A (en) * 2005-04-27 2006-11-09 Ohbayashi Corp Casting status monitoring method, casting status monitoring device, casting status monitoring program, and mold form
CN101021894A (en) * 2006-02-16 2007-08-22 香港理工大学 Article in-out tracking system and method based on RFID
CN101639964A (en) * 2009-08-31 2010-02-03 华南农业大学 RF-based portable goods guard against theft and alarm system and control method thereof
CN201421627Y (en) * 2009-05-25 2010-03-10 郑州大学 Regional anti-theft detecting system based on RFID double-tag
CN101843411A (en) * 2009-03-27 2010-09-29 新奥特硅谷视频技术有限责任公司 Court electronic file cabinet
KR20100115108A (en) * 2009-04-17 2010-10-27 부산대학교 산학협력단 System and method for integrated processing to rfid tag which guarantees successful writing to rfid tag memory using continuous query scheme
KR20120054114A (en) * 2010-11-19 2012-05-30 (주)유티앤지 Rfid cloud computing platform system based on tablet pc
CN103337018A (en) * 2013-07-19 2013-10-02 天津索夫特维科技有限公司 Logistics management system based on RFID (radio frequency identification device) electronic tags
CN103593687A (en) * 2013-11-20 2014-02-19 北京三生创新科技发展公司 Internet of things intelligent management control cabinet system
CN206097228U (en) * 2016-05-04 2017-04-12 睿芯联科(北京)电子科技有限公司 Safety electronic lock based on hyperfrequency RFID

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006309410A (en) * 2005-04-27 2006-11-09 Ohbayashi Corp Casting status monitoring method, casting status monitoring device, casting status monitoring program, and mold form
CN101021894A (en) * 2006-02-16 2007-08-22 香港理工大学 Article in-out tracking system and method based on RFID
CN101843411A (en) * 2009-03-27 2010-09-29 新奥特硅谷视频技术有限责任公司 Court electronic file cabinet
KR20100115108A (en) * 2009-04-17 2010-10-27 부산대학교 산학협력단 System and method for integrated processing to rfid tag which guarantees successful writing to rfid tag memory using continuous query scheme
CN201421627Y (en) * 2009-05-25 2010-03-10 郑州大学 Regional anti-theft detecting system based on RFID double-tag
CN101639964A (en) * 2009-08-31 2010-02-03 华南农业大学 RF-based portable goods guard against theft and alarm system and control method thereof
KR20120054114A (en) * 2010-11-19 2012-05-30 (주)유티앤지 Rfid cloud computing platform system based on tablet pc
CN103337018A (en) * 2013-07-19 2013-10-02 天津索夫特维科技有限公司 Logistics management system based on RFID (radio frequency identification device) electronic tags
CN103593687A (en) * 2013-11-20 2014-02-19 北京三生创新科技发展公司 Internet of things intelligent management control cabinet system
CN206097228U (en) * 2016-05-04 2017-04-12 睿芯联科(北京)电子科技有限公司 Safety electronic lock based on hyperfrequency RFID

Also Published As

Publication number Publication date
CN107749096A (en) 2018-03-02

Similar Documents

Publication Publication Date Title
EP1755061B1 (en) Protection of non-promiscuous data in an RFID transponder
US8635462B2 (en) Method and device for managing access control
US10186127B1 (en) Exit-code-based RFID loss-prevention system
CN100547606C (en) Strengthen active radio frequency identification system information safety and compatible method and device
US8947211B2 (en) Communication data protection method based on symmetric key encryption in RFID system, and apparatus for enabling the method
CN101467157B (en) Method, RFID reader, RFID tag and RFID system for secure communication
CN102063601B (en) Radio frequency identification system, radio frequency identification method and reader
EP3118776A1 (en) Security authentication method for hiding ultra high frequency electronic tag identifier
US20020087867A1 (en) RF ID card
CN101333892B (en) Safety processing method of RFID system for door lock
CN103593687B (en) Internet of Things intelligent management control cabinet system
CN103366423A (en) Light-operated access control system based on cellphone fingerprint identification
CN100565562C (en) Electronic label safety identification method
CA2529176A1 (en) Method and system for creating and operating biometrically enabled multi-purpose credential management devices
US9607286B1 (en) RFID tags with brand protection and loss prevention
CN107749096B (en) Safety electronic lock based on ultrahigh frequency RFID and control method thereof
CN102722924A (en) Light-operated access control system based on iris identification of mobile phone
CN114600121A (en) Radio frequency identification integrated circuit with privacy mode
CN103927803B (en) Based on the Electrically operated gate lock control system of active radio frequency identification
CN101443773A (en) Pseudo-random authentification code altering scheme for a transponder and a base station
KR20110096576A (en) Access identification and control device
CN102289688A (en) Method and device for label processing and access
RU182969U1 (en) CRYPOGRAPHIC METER READER
CN104700125A (en) AES encryption and verification of ultra high frequency radio identification system
CN206097228U (en) Safety electronic lock based on hyperfrequency RFID

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