CN111383371B - Unlocking method, door lock, server, system, storage medium and electronic device - Google Patents

Unlocking method, door lock, server, system, storage medium and electronic device Download PDF

Info

Publication number
CN111383371B
CN111383371B CN202010357683.1A CN202010357683A CN111383371B CN 111383371 B CN111383371 B CN 111383371B CN 202010357683 A CN202010357683 A CN 202010357683A CN 111383371 B CN111383371 B CN 111383371B
Authority
CN
China
Prior art keywords
card
data information
door lock
information
server
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
CN202010357683.1A
Other languages
Chinese (zh)
Other versions
CN111383371A (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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202010357683.1A priority Critical patent/CN111383371B/en
Publication of CN111383371A publication Critical patent/CN111383371A/en
Application granted granted Critical
Publication of CN111383371B publication Critical patent/CN111383371B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/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
    • 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/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • 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/00968Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys shape of the data carrier
    • G07C2009/00976Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys shape of the data carrier card

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention relates to the technical field of communication, in particular to an unlocking method, a door lock, a server, a system storage medium and electronic equipment, wherein when a tenant swipes a card, a sensing device reads first card information of a door card and sends the first card information to a processor, and the processor sends a request instruction to the server after receiving the first card information, wherein the first card information is information written into the card by a card writer; receiving second card information sent by the server, wherein the second card information is the card information sent to the server by the card writer; when the processor judges that the first card information is matched with the second card information, the door lock is controlled to be opened, the information in the card is rewritten after each tenant leaves the house, and the information of the server is updated.

Description

Unlocking method, door lock, server, system, storage medium and electronic device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an unlocking method, a door lock, a server, a system, a storage medium, and an electronic device.
Background
With the acceleration of the urbanization process, a large number of mobile population gushes into the city, so that the number of public rental houses, short rental houses, hotel-type talent apartments and the like which conform to the market demand is increased day by day, most of the public rental houses, short rental houses, hotel-type talent apartments and the like are the same as the access control mode of hotel rooms in the traditional hotel management, and here, taking the access control mode of a hotel as an example, the specific process is as follows: the entrance guard card such as NFC room card is issued by the foreground, and the visitor swipes the card to enter the door in the corresponding room by using the NFC room card. And returning the house card to the foreground after the tenant returns, and continuously providing the house card for a new tenant when the new tenant enters.
In the prior art, the situation that the information in the card is copied before the tourists return from the house and the card swiping access authority is possessed can exist, so that the property safety of new tourists is threatened, and therefore potential safety hazards can exist in the mode of using the house card in the prior art to swipe the card into the door.
Disclosure of Invention
Aiming at the problems, the invention provides an unlocking method, a door lock, a server, a system, a storage medium and electronic equipment, so as to solve the technical problem that potential safety hazards exist in a house card swiping door entering mode in the prior art.
In a first aspect, the present invention provides a method of unlocking, the method being applied to a door lock; the method comprises the following steps:
after first card information of a door card is received, a request instruction is sent to a server, wherein the first card information is information written into the card by a card writer;
receiving second card information sent by the server, wherein the second card information is the information of the card sent to the server by the card writer;
judging whether the first card information is matched with the second card information;
and if the first card information is matched with the second card information, controlling the door lock to be opened.
Optionally, the first card information includes a first card identifier and first data information, and the second card information includes a second card identifier and second data information;
after receiving the first card information of the door card, the step of sending a request instruction to the server comprises the following steps:
after the first card identification and the first data information of the door card are received, sending a request instruction to a server, wherein the request instruction comprises a door lock identification;
the step of receiving the second card information sent by the server includes:
and receiving the second card identification and the second data information which are sent by the server according to the door lock identification.
Optionally, the first data information is a current time of the card writer.
Optionally, the first data information is a random number generated by the card writer according to a random number generation algorithm.
In a second aspect, the present invention further provides an unlocking method, where the method is applied to a server, and the method includes:
receiving a request instruction sent by the door lock, wherein the request instruction is generated after the door lock receives first card information of a door card, and the first card information is information written into the card by a card writer;
and sending second card information to the door lock so as to control the door lock to be opened when the door lock judges that the first card information is matched with the second card information, wherein the second card information is the information of the card sent to the server by the card writer.
Optionally, the first card information includes a first card identifier and first data information, and the second card information includes a second card identifier and second data information;
the step of receiving the request instruction sent by the door lock comprises the following steps:
receiving a request instruction sent by the door lock, wherein the request instruction is generated after the first card identification and the first data information of a door card are received, and the request instruction comprises a door lock identification;
the step of sending second card information to the door lock includes:
and sending the second card identification and the second data information to the door lock according to the door lock identification.
In a third aspect, the present invention provides a door lock, comprising a sensing device and a processor, wherein the sensing device is electrically connected to the processor;
the induction device is used for reading first card information of the door card and sending the first card information to the processor, wherein the first card information is information written into the card by the card writer;
the processor is used for sending a request instruction to the server after receiving the first card information;
the processor is further configured to receive second card information sent by the server, where the second card information is information of the card sent to the server by the card writer;
the processor is further configured to determine whether the first card information matches the second card information;
and if the first card information is matched with the second card information, controlling the door lock to be opened.
In a fourth aspect, the present invention provides a server, configured to:
receiving a request instruction sent by the door lock, wherein the request instruction is generated after the door lock receives first card information of a door card, and the first card information is information written into the card by a card writer;
and sending second card information to the door lock so as to control the door lock to be opened when the door lock judges that the first card information is matched with the second card information, wherein the second card information is the information of the card sent to the server by the card writer.
In a fifth aspect, the invention further provides an unlocking system, wherein the door lock is in communication connection with the server;
the door lock is used for reading first card information of a door card, wherein the first card information is information written into the card by a card writer;
the door lock is also used for sending a request instruction to the server;
the door lock is used for sending second card information to the processor after receiving the request instruction, wherein the second card information is the information of the card sent to the server by the card writer;
the door lock is also used for judging whether the first card information is matched with the second card information;
and if the first card information is matched with the second card information, controlling the door lock to be opened.
In a sixth aspect, the present invention further provides a storage medium storing a computer program, where the storage medium, when executed by one or more processors, implements the unlocking method according to the first aspect.
In a seventh aspect, the present invention further provides an electronic device, which includes a memory and a processor, where the memory stores a computer program, and the computer program, when executed by the processor, executes the unlocking method according to the first aspect.
According to the unlocking method, the door lock, the server, the system, the storage medium and the electronic equipment, when a tenant swipes a card, the sensing device reads first card information of a door card and sends the first card information to the processor, and the processor sends a request instruction to the server after receiving the first card information, wherein the first card information is information written into the card by the card writer; receiving second card information sent by the server, wherein the second card information is the card information sent to the server by the card writer; when the processor judges that the first card information is matched with the second card information, the door lock is controlled to be opened, the information in the card is rewritten after each tenant leaves the house, and the information of the server is updated.
Drawings
The invention will be described in more detail hereinafter on the basis of embodiments and with reference to the accompanying drawings:
fig. 1 is a schematic view of an unlocking system according to an embodiment of the present invention;
FIG. 2 is a logic block diagram of a door lock according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of an unlocking method according to an embodiment of the present invention;
fig. 4 is another schematic flow chart of an unlocking method according to an embodiment of the present invention;
fig. 5 is another schematic flow chart of an unlocking method according to an embodiment of the present invention;
fig. 6 is another schematic flow chart of an unlocking method according to an embodiment of the present invention;
fig. 7 is a logic block diagram of an unlocking system according to an embodiment of the present invention.
Reference numerals: 1-an unlocking system; 10-card; 20-door lock; 210-a sensing device; 220-a processor; 30-server.
In the drawings, like parts are designated with like reference numerals, and the drawings are not drawn to scale.
Detailed Description
The following detailed description of the embodiments of the present invention will be provided with reference to the accompanying drawings and examples, so that how to apply the technical means to solve the technical problems and achieve the corresponding technical effects can be fully understood and implemented. The embodiments of the present invention and the features of the embodiments can be combined with each other without conflict, and the formed technical solutions are within the scope of the present invention.
Fig. 1 is a schematic view of an unlocking system according to an embodiment of the present invention, and as shown in fig. 1, the unlocking system 1 includes a door lock 20 and a server 30, and the door lock 20 is in communication connection with the server 30.
The structure diagram of the unlocking system in the prior art is the same as the structure of the unlocking system 1 shown in fig. 1 of the present application, and in the prior art, the card writer writes the identification information of the card into the card, and at the same time, the card writer sends the information written into the card to the server 30. Since the server 30 issues the card information to the door lock 20, the same information as in the card is stored on the door lock 20 side.
When the tenant uses the card 10 to perform a card swiping operation, the door lock 20 reads information in the card and determines whether the card information stored therein matches the read card information. If the card information stored in the door is matched with the read card information, controlling the door lock to open; on the contrary, if the card information stored inside does not match the read card information, it is indicated that the tenant's card 10 is not the card for opening the door lock 20, and thus the door lock is not controlled to be opened.
In the prior art, if the tenant is in the card information of duplicating before returning the house, when new tenant live in the back, the door lock still can be opened according to the card information of duplicating to preceding tenant, gets into the room in, may threaten new tenant's property safety, consequently, the room card in prior art swipes the mode of getting into the door and probably has the potential safety hazard.
Based on the technical problems in the prior art, the invention provides an unlocking method, which has the core improvement points that: when the tenant moves back, the card writer writes information in the card again, the rewritten card information is sent to the server 30, when the tenant uses the card 10 to conduct card swiping operation, the door lock 20 sends a request instruction to the server 30 after reading the card information in the card 10, the server 30 sends the card information corresponding to the door lock 20 after receiving the request instruction, and if the card information sent by the server 30 is matched with the read door lock information, the door lock is controlled to be opened.
It should be noted that the defects of the solutions in the above prior art are the results obtained after the inventor has made practice and careful study, therefore, the discovery process of the above problems and the solutions proposed by the following embodiments of the present invention to the above problems should be the contribution of the inventor to the present invention in the course of the present invention. The following describes the unlocking method, the door lock, the server, the system, and the storage medium according to the embodiment of the present invention in detail.
Example one
Referring to fig. 2, the door lock 2 includes a sensing device 210 and a processor 220, and the sensing device 210 is electrically connected to the processor 220.
The sensing device 210 is used for reading card information and sending the card information to the processor 220.
Alternatively, the sensing device 210 may be, but is not limited to, a card reader.
The processor 220 controls the door lock to be opened according to the card information read by the sensing device.
Alternatively, the Processor 220 may be implemented by an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a controller, a microcontroller, a microprocessor, or other electronic components.
Fig. 3 is a schematic flow chart of an unlocking method provided in an embodiment of the present invention, and it should be noted that the unlocking method provided in an embodiment of the present invention is not limited by fig. 3 and the following specific sequence, and it should be understood that, in other embodiments, the sequence of some steps in the unlocking method provided in an embodiment of the present invention may be interchanged according to actual needs, or some steps in the unlocking method may be omitted or deleted. This process may be performed by the door lock 20 of fig. 2, and the specific process referred to in fig. 3 will be described below, as shown in fig. 3, the method includes:
step S110, after receiving the first card information of the door card, sending a request instruction to the server, where the first card information is information written into the card by the card writer.
Specifically, as shown in fig. 2, the door lock 20 may read the first card information of the door card through the sensing device 210 of the door lock 20.
Alternatively, the door card may be an electronic door card, for example, a virtual card with a two-dimensional code as a certificate in a mobile phone. The door card may also be a physical card, such as an NFC (Near Field Communication) card.
Optionally, after the tenant leaves the house, the information in the card is rewritten by the card writer; or the information in the card is rewritten according to a preset time period, for example, one week, or one month.
And step S120, receiving second card information sent by the server, wherein the second card information is information of a card sent to the server by the card writer.
Step S130, determining whether the first card information matches the second card information.
If the first card information is matched with the second card information, the house card during swiping is the house card corresponding to the room, and the process goes to step S140; if the first card information does not match the second card information, the house card when swiping the card is not the house card corresponding to the room, and the process proceeds to step S150.
And step S140, controlling the door lock to be opened.
And step S150, controlling the door lock to keep closed.
According to the unlocking method provided by the embodiment, when a tenant swipes a card, a door lock reads first card information of a door card, and after receiving the first card information, a request instruction is sent to a server, wherein the first card information is information written into the card by a card writer; receiving second card information sent by the server, wherein the second card information is the card information sent to the server by the card writer; when the processor judges that the first card information is matched with the second card information, the door lock is controlled to be opened, after the tenant returns the house at every time, the information in the card is rewritten, the information of the server is updated, the mode of the embodiment is used for unlocking, and the property safety in the house is guaranteed.
Example two
On the basis of the above embodiment, this embodiment further provides an unlocking method, and specifically, fig. 4 is another schematic flow chart of the unlocking method provided in the embodiment of the present invention, as shown in fig. 4, where the first card information includes a first card identifier and first data information, and the second card information includes a second card identifier and second data information, and step S110 includes:
and a substep S110-1, after receiving the first card identification and the first data information of the door card, sending a request instruction to a server, wherein the request instruction comprises a door lock identification.
Wherein, the first card identification can be the number of the card, such as I1000.1. The door lock identification may be the number of the door lock, e.g., D1000.1.
It should be noted that the first card identifier of each card and the door lock identifier of each door lock are unique.
In order to ensure the security of the indoor property, therefore, the first data information currently written in the card is different from the previous first data information, optionally, the first data information is the current time of the card writer, for example, the time of the card writer writing is 1/12: 00/2020, and the first data information may be 202001011200. Or the first data information is a random number generated by the card writer according to a random number generation algorithm.
Step S120, including:
and a substep S120-1 of receiving the second card identification and the second data information sent by the server according to the door lock identification.
A card or cards may unlock a lock, and thus a card or cards may correspond to a lock. The server stores information of a plurality of door locks. In this embodiment, an example is given that 1 card corresponding to a door lock (the door lock identifier is D1000.1), and the information of the door lock stored in the server may be as shown in table 1:
TABLE 1
Second card identification Second data information
I1000.1 202001011200
Step S130, including:
and a substep S130-1 of determining whether the first data information and the second data information match and whether the first identifier and the second identifier match.
If the first data information matches the second data information and the first identifier matches the second identifier, the process proceeds to step S140, and if the first data information does not match the second data information and/or the first identifier does not match the second identifier, the process proceeds to step S150.
Taking the first identifier of the door card held by the user as I1000.1 and the first data information as 202001011200 as an example, as shown in table 1, the second card identifier corresponding to the door lock (the door lock identifier is D1000.1) obtained from the server is I1000.1, the second data information is 202001011200 as an example, and by comparison, the first identifier matches with the second identifier, and the first data matches with the second data.
EXAMPLE III
The embodiment provides an unlocking method, which is applied to a server, wherein the server is in communication connection with a door lock, fig. 5 is another schematic flow diagram of the unlocking method provided by the embodiment of the invention, and as shown in fig. 5, the method includes the following steps:
step S210, receiving a request instruction sent by the door lock, where the request instruction is an instruction generated after the door lock receives first card information of the door card, and the first card information is information written into the card by the card writer.
And step S220, sending second card information to the door lock so as to control the door lock to be opened when the door lock judges that the first card information is matched with the second card information, wherein the second card information is the information of the card sent to the server by the card writer.
It should be noted that the method involved in the steps of this embodiment corresponds to that of the first embodiment, and is not described herein again.
Example four
In this embodiment, on the basis of the previous embodiment, an unlocking method is provided, and fig. 6 is another schematic flow chart of the unlocking method provided in the embodiment of the present invention, as shown in fig. 6, step S210 includes:
and a substep S210-1, receiving a request instruction sent by the door lock, wherein the request instruction is generated after receiving the first card identifier and the first data information of the door card, and the request instruction comprises the door lock identifier.
Step S220, including:
and the substep S220-1, sending the second card identification and the second data information to the door lock according to the door lock identification, so that the door lock is controlled to be opened when the door lock judges that the first card information is matched with the second card information.
It should be noted that the method involved in the steps of this embodiment corresponds to that of the second embodiment, and is not described herein again.
EXAMPLE five
The present embodiment provides a door lock, and with continued reference to fig. 2, the door lock 20 includes a sensing device 210 and a processor 220, wherein the sensing device 210 is electrically connected to the processor 220.
And the sensing device 210 is used for reading first card information of the door card and sending the first card information to the processor, wherein the first card information is information written into the card by the card writer.
The processor 220 is configured to send a request instruction to the server after receiving the first card information;
the processor 220 is further configured to receive second card information sent by the server, where the second card information is information of a card sent to the server by the card writer;
the processor 220 is further configured to determine whether the first card information matches the second card information;
and if the first card information is matched with the second card information, controlling the door lock to open.
It is clear to those skilled in the art that, for convenience and simplicity of description, the specific working processes of the sensing device 210 and the processor 220 may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
EXAMPLE six
This embodiment provides a server, where the server is configured to:
receiving a request instruction sent by a door lock, wherein the request instruction is generated after the door lock reads first card information of a door card, and the first card information is information written into the card by a card writer;
and sending second card information to the door lock so as to control the door lock to be opened when judging that the first card information is matched with the second card information, wherein the second card information is the information of the card sent to the server by the card writer.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working process of the server may refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
EXAMPLE seven
The embodiment provides an unlocking system, and fig. 7 is a logic block diagram of the unlocking system provided by the embodiment of the present invention, as shown in fig. 7, the unlocking system 1 includes a door lock 20 and a server 30, the door lock 20 is in communication connection with the server 30;
the door lock 20 includes a sensing device 210 and a processor 220, wherein the sensing device 210 is electrically connected to the processor 220, and the server 30 is communicatively connected to the processor 220.
The door lock 20 is used for reading first card information of the door card, wherein the first card information is information written into the card by the card writer;
specifically, the sensing device 210 of the door lock 20 reads the first card information.
The door lock 20 is used for sending a request instruction to the server 30;
specifically, the processor 220 of the door lock 20 sends a request instruction to the server 30.
The server 30 is configured to send second card information to the door lock 20 after receiving the request instruction, where the second card information is information of a card sent to the server by the card writer;
the door lock 20 is further used for judging whether the first card information is matched with the second card information; and if the first card information is matched with the second card information, controlling the door lock to open.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the door lock 20 and the server 30 may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Example eight
The present embodiment provides a storage medium, where a computer program is stored, and when the storage medium is executed by one or more processors, the unlocking method in any one of the first to second embodiments is implemented.
The storage medium may be a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application mall, etc.
Example nine
The embodiment provides an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the unlocking method in any one of the first embodiment to the second embodiment is executed.
The processor may be an application specific integrated circuit ASIC, a digital signal processor DSP, a digital signal processing device DSPD, a programmable logic device PLD, a field programmable gate array FPGA, a controller, a microcontroller, a microprocessor, or other electronic components, and is configured to execute the unlocking method in the first embodiment.
The Memory may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk.
In summary, according to the unlocking method, the door lock, the server, the system, the storage medium and the electronic device provided by the invention, when the tenant swipes the card, the sensing device reads the first card information of the door card and sends the first card information to the processor, and the processor sends the request instruction to the server after receiving the first card information, wherein the first card information is information written into the card by the card writer; receiving second card information sent by the server, wherein the second card information is the card information sent to the server by the card writer; when the processor judges that the first card information is matched with the second card information, the door lock is controlled to be opened, the information in the card is rewritten after each tenant leaves the house, and the information of the server is updated.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It should be noted that, in the present invention, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

1. An unlocking method, characterized in that the method is applied to a door lock; the method comprises the following steps:
after receiving a first card identifier and first data information of a door card, sending a request instruction to a server, wherein the request instruction comprises a door lock identifier, and the first card identifier and the first data information are information written into the card by a card writer after a tenant leaves a room; the first data information is the current moment of the card writer;
receiving a second card identification and second data information which are sent by the server according to the door lock identification, wherein the second card identification and the second data information are information of the card which is sent to the server by the card writer after the tenant returns;
judging whether the first card identification and the first data information are matched with the second card identification and the second data information;
and if the number of the door locks is matched with the number of the door locks, controlling the door locks to be opened.
2. The method of claim 1, wherein the first data information is a random number generated by a card writer according to a random number generation algorithm.
3. An unlocking method is applied to a server and comprises the following steps:
receiving a request instruction sent by a door lock, wherein the request instruction is an instruction generated after the door lock receives a first card identifier and first data information of a door card, and the first card identifier and the first data information are information written into the card by a card writer after a tenant leaves a room; the request instruction comprises a door lock identifier; the first data information is the current moment of the card writer;
and sending a second card identification and second data information to the door lock according to the door lock identification so as to control the door lock to be opened when the door lock judges that the first card identification and the first data information are matched with the second card identification and the second data information, wherein the second card identification and the second data information are the information of the card sent to the server by the card writer after the tenant moves back.
4. A door lock is characterized by comprising a sensing device and a processor, wherein the sensing device is electrically connected with the processor;
the induction device is used for reading a first card identifier and first data information of the door card and sending the first card identifier and the first data information to the processor, wherein the first card identifier and the first data information are information written into the card by the card writer after the tenant leaves the house; the first data information is the current moment of the card writer;
the processor is used for sending a request instruction to the server after receiving the first card identifier and the first data information, wherein the request instruction comprises a door lock identifier; receiving a second card identification and second data information sent by the server, wherein the second card identification and the second data information are information of the card sent to the server by the card writer after the tenant returns; judging whether the first card identification and the first data information are matched with the second card identification and the second data information; and if the number of the door locks is matched with the number of the door locks, controlling the door locks to be opened.
5. A server, wherein the server is configured to:
receiving a request instruction sent by a door lock, wherein the request instruction is generated after the door lock receives a first card identifier and first data information of a door card, the first card identifier and the first data information are information written into the card by a card writer after a tenant leaves a room, and the request instruction comprises the door lock identifier; the first data information is the current moment of the card writer;
and sending a second card identification and second data information to the door lock so as to control the door lock to be opened when judging that the first card identification and the first data information are matched with the second card identification and the second data information, wherein the second card identification and the second data information are sent to the server by the card writer after the tenant moves back.
6. An unlocking system is characterized by comprising a door lock and a server, wherein the server is in communication connection with the door lock;
the door lock is used for reading a first card identifier and first data information of a door card, wherein the first card identifier and the first data information are information written into the card by the card writer after a tenant leaves a room, and the first data information is the current moment of the card writer;
the door lock is used for sending a request instruction to the server, and the request instruction comprises a door lock identifier;
the server is used for sending a second card identifier and second data information to the door lock according to the door lock identifier after receiving the request instruction, wherein the second card identifier and the second data information are the information of the card sent to the server by the card writer after the tenant returns;
the door lock is also used for judging whether the first card identification and the first data information are matched with the second card identification and the second data information;
and if the number of the door locks is matched with the number of the door locks, controlling the door locks to be opened.
7. A storage medium storing a computer program, the storage medium implementing the unlocking method according to claim 1 when executed by one or more processors.
8. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program that, when executed by the processor, performs the unlocking method of claim 1.
CN202010357683.1A 2020-04-29 2020-04-29 Unlocking method, door lock, server, system, storage medium and electronic device Active CN111383371B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010357683.1A CN111383371B (en) 2020-04-29 2020-04-29 Unlocking method, door lock, server, system, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010357683.1A CN111383371B (en) 2020-04-29 2020-04-29 Unlocking method, door lock, server, system, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN111383371A CN111383371A (en) 2020-07-07
CN111383371B true CN111383371B (en) 2021-09-14

Family

ID=71219208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010357683.1A Active CN111383371B (en) 2020-04-29 2020-04-29 Unlocking method, door lock, server, system, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN111383371B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112001191A (en) * 2020-08-19 2020-11-27 上海盛巨信息技术有限公司 Door card and door lock unlocking method and device and door card and door lock system
CN112084799B (en) * 2020-09-01 2024-04-26 锦江之星旅馆有限公司 Card making method and system suitable for interlocking hotel door locks

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100416943B1 (en) * 2000-04-27 2004-02-05 윤경호 Controller for system of entrance management
US10304045B2 (en) * 2014-02-12 2019-05-28 Mastercard International Incorporated Biometric solution enabling high throughput fare payments and system access
CN104751545B (en) * 2015-02-16 2018-05-25 北京果加智能科技有限公司 Door lock authorization process system and method and device
CN109272610B (en) * 2015-07-06 2021-04-09 福建省新泽尔资讯科技有限公司 Bluetooth unlocking method with high safety
CN105279832B (en) * 2015-12-01 2017-12-12 北京卡多宝信息技术有限公司 Intelligent door lock system and its control method
CN105513190B (en) * 2016-01-11 2019-08-30 张轩 A kind of entrance guard authentication method
CN107886602B (en) * 2017-10-23 2020-11-06 东莞市云谷光电科技有限公司 Method for unlocking and sharing house and system for unlocking and sharing house
TWI632517B (en) * 2017-11-03 2018-08-11 天鏡科技股份有限公司 Smart house card, server subsystem and smart hotel management interactive system
CN109961542A (en) * 2017-12-22 2019-07-02 国民技术股份有限公司 A kind of entrance guard device, verifying device, verifying system and its verification method
CN109685996A (en) * 2018-11-02 2019-04-26 北京拜克洛克科技有限公司 Smart lock control method, smart lock and smart lock server
CN109754505B (en) * 2018-12-19 2022-07-12 广州羊城通有限公司 Unlocking method and device based on IC card
CN110443915B (en) * 2019-06-24 2023-04-18 深圳绿米联创科技有限公司 Door lock control method, control device, door lock and storage medium
CN111080853B (en) * 2019-12-20 2021-02-05 珠海格力电器股份有限公司 Intelligent door lock system, unlocking method, device, equipment and medium

Also Published As

Publication number Publication date
CN111383371A (en) 2020-07-07

Similar Documents

Publication Publication Date Title
CN111383371B (en) Unlocking method, door lock, server, system, storage medium and electronic device
CN110008903B (en) Face recognition method, device, system, storage medium and face payment method
CN105913132B (en) Hotel quick-check-in system and method
CN111462369B (en) Hotel check-in management method and device, storage medium and computer equipment
CN110675543B (en) Method for configuring access card, control method of door lock and door lock
CN107273991A (en) The quick cloud service system of shared lodging of identity-based Intelligent Recognition
CN110580760A (en) intelligent hotel check-in and door lock control system and control method thereof
CN109523659B (en) Guest room check-in method, device, server and storage medium
CN110782567B (en) Unlocking method and setting method of intelligent lock
JP6151519B2 (en) Security card management service system and security card management service method
CN110002290B (en) Elevator access control method and device, storage medium and electronic equipment
CN111260833A (en) Binding and management method and device for access control card
CN112927408A (en) Visitor visiting processing method and device
CN112070940B (en) Access control authorization method, access control release method, device, access control controller and medium
CN109285260A (en) A kind of gate control method and device
JP2009026264A (en) Unlocking control system
KR102474797B1 (en) System for controlling vehicle using smart phone and method thereof
US10181229B2 (en) Method and system for implementing a universal key card
CN112687045B (en) Intelligent building entrance guard intercom system
CN111379475B (en) Unlocking method of electronic lock, electronic lock and unlocking management equipment
JP2008208580A (en) Entrance/exit management system
CN112785757A (en) Intelligent lock authorization authentication method and intelligent lock
US20220335111A1 (en) Processing management system, processing management apparatus, processing management method, and computer program
JP4764727B2 (en) Card lock system
CN113202353A (en) Control method and control device for intelligent door lock and intelligent door lock

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