WO2021022797A1 - 控制电控门锁的装置及方法、无人零售设备以及存储介质 - Google Patents

控制电控门锁的装置及方法、无人零售设备以及存储介质 Download PDF

Info

Publication number
WO2021022797A1
WO2021022797A1 PCT/CN2020/072518 CN2020072518W WO2021022797A1 WO 2021022797 A1 WO2021022797 A1 WO 2021022797A1 CN 2020072518 W CN2020072518 W CN 2020072518W WO 2021022797 A1 WO2021022797 A1 WO 2021022797A1
Authority
WO
WIPO (PCT)
Prior art keywords
door
state
door lock
electronically controlled
lock
Prior art date
Application number
PCT/CN2020/072518
Other languages
English (en)
French (fr)
Inventor
吕秀凤
陶海金
Original Assignee
合肥美的智能科技有限公司
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 合肥美的智能科技有限公司 filed Critical 合肥美的智能科技有限公司
Publication of WO2021022797A1 publication Critical patent/WO2021022797A1/zh

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
    • 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/00896Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F11/00Coin-freed apparatus for dispensing, or the like, discrete articles
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F9/00Details other than those peculiar to special kinds or types of apparatus
    • G07F9/02Devices for alarm or indication, e.g. when empty; Advertising arrangements in coin-freed apparatus
    • G07F9/026Devices for alarm or indication, e.g. when empty; Advertising arrangements in coin-freed apparatus for alarm, monitoring and auditing in vending machines or means for indication, e.g. when empty
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F9/00Details other than those peculiar to special kinds or types of apparatus
    • G07F9/10Casings or parts thereof, e.g. with means for heating or cooling

Definitions

  • the present invention relates to the field of electrical appliances, in particular to a device and method for controlling an electronically controlled door lock, an unmanned retail device and a storage medium.
  • unmanned retail equipment on the market generally uses electronically controlled door locks to lock the door. Since the common electronic control door locks on the market do not have a bolt detection device, the control system of unmanned retail equipment cannot sense the state of the electronic control door lock, and therefore cannot control the switch of the electronic control door lock according to the state of the electronic control door lock. For safety reasons, electronically controlled door locks on unmanned retail equipment generally lock automatically after power failure. Therefore, if the user fails to power off the unmanned retail equipment during the process of opening the door for shopping, the door is open, but the electronically controlled door lock will automatically lock, and the door cannot be closed normally.
  • the electronically controlled door lock In order to ensure that the goods in the unmanned retail equipment are not lost, even if there is a call, the electronically controlled door lock will still be in the locked state, and the door body cannot be closed. For this kind of door unlocking situation, the problem can only be temporarily solved by manually contacting customer service to remotely control unlocking, which greatly reduces the safety and experience of unmanned retail equipment.
  • the bolt detection device due to the high price of the bolt detection device, if the bolt detection device is added to the electronic control door lock, the cost of the electronic control door lock will be increased.
  • the bolt detection device due to the structure of the electronically controlled door lock, if the electronically controlled door lock is replaced, the bolt detection device has to be redesigned. Therefore, the bolt detection device is not universal, resulting in high maintenance costs.
  • the object of the present invention is to provide a device and method for controlling an electronically controlled door lock, an unmanned retail device, and a storage medium, so as to at least partially solve the above-mentioned problems in the prior art.
  • a device for controlling an electronically controlled door lock is provided, the electronically controlled door lock is applied to an unmanned retail device and is configured to be able to control the unmanned retail device
  • the electronically controlled door lock is also configured to automatically lock in a power-off state
  • the device includes: a door switch detection device configured to detect the switch state of the door; and control
  • the device is respectively electrically connected to the electronically controlled door lock and the door switch detection device, and is configured to: detect the power-on state of the unmanned retail equipment; when it is detected that the unmanned retail equipment is re-powered Next, obtain the switch state of the door from the door switch detection device; if it is determined that the switch state of the door is the door open state, control the unlocking of the electronically controlled door lock.
  • the door switch detection device includes at least one of a proximity switch, an infrared induction sensor, and a door magnetic induction sensor.
  • control device is further configured to: keep the electronic control door lock in the unlocked state after controlling the unlocking of the electronic control door lock; In the case of time, the electronic control door is controlled to be locked.
  • control device is further configured to: obtain the switch state of the door body after the electronically controlled door lock is locked; and in the case of determining that the switch state of the door body is the door open state, Control the electronic control door lock to unlock again.
  • the device further includes an alarm device, the control device is electrically connected to the alarm device, and is further configured to: acquire the switch state of the door body after the electronically controlled door lock is locked; And when it is determined that the switch state of the door body is the door open state, the alarm device is controlled to give an alarm.
  • the control device is electrically connected to the alarm device, and is further configured to: acquire the switch state of the door body after the electronically controlled door lock is locked; And when it is determined that the switch state of the door body is the door open state, the alarm device is controlled to give an alarm.
  • control device is further configured to control the number of times of unlocking the electronically controlled door lock not to exceed a preset number of times when the door body is continuously in an open state.
  • control device is further configured to: after controlling the unlocking of the electronically controlled door lock, obtain the switch state of the door from the door switch detection device; when determining the switch state of the door In the case of the closed door, the electronically controlled door is controlled to be locked.
  • the device further includes an alarm device, and the control device is electrically connected to the alarm device, and is further configured to: when the unmanned retail equipment is re-energized and the opening and closing state of the door body is an open state In the case of controlling the alarm device to alarm.
  • an unmanned retail device in a second aspect of the embodiments of the present invention, includes an electronically controlled door lock configured to be able to lock the door of the unmanned retail device. Automatically lock when the power is off; and the above-mentioned device for controlling the electric door lock.
  • the unmanned retail device further includes: a backup power supply configured to supply power to the unmanned retail device when the unmanned retail device is powered off.
  • the unmanned retail equipment further includes a self-closing device connected to the door body and configured to prompt the door body to close when the door body is in an open state.
  • a method for controlling an electronically controlled door lock is provided, the electronically controlled door lock is applied to an unmanned retail device and is configured to be able to control the door of the unmanned retail device.
  • the electronically controlled door lock is also configured to be automatically locked in a power-off state, and the method includes: detecting the power-on state of the unmanned retail device; and detecting the power-on state of the unmanned retail device; In this case, the switch state of the door body is detected; when it is determined that the switch state of the door body is the door open state, the electronic control door lock is controlled to unlock.
  • the detecting the switch state of the door body includes: detecting the switch state of the door body through at least one of a proximity switch, an infrared induction sensor, and a door magnetic induction sensor.
  • the method further includes: keeping the electronic control door lock in the unlocked state after controlling the unlocking of the electronic control door lock; in the case of keeping the electronic control door lock in the unlocked state for a preset time Next, control the electric control door to be locked.
  • the method further includes: obtaining the switch state of the door body after the electronically controlled door lock is locked; and in the case of determining that the switch state of the door body is the door open state, controlling the The electric door lock is unlocked again.
  • the method further includes: obtaining the switch state of the door body after the electronically controlled door lock is locked; and in the case of determining that the switch state of the door body is the door open state, issuing an alarm.
  • the number of times that the electronically controlled door lock is controlled to unlock does not exceed a preset number of times when the door body is continuously in an open state.
  • the method further includes: obtaining the switch state of the door body after controlling the unlocking of the electronically controlled door lock; in the case of determining that the switch state of the door body is the closed state, controlling the electric The door is locked and locked.
  • the method further includes: performing an alarm when the unmanned retail equipment is re-energized and the switch state of the door body is the door open state.
  • a machine-readable storage medium stores instructions, and the instructions are used to enable the processor to perform the above-mentioned functions when executed by a processor. To control the method of electronically controlled door locks.
  • the electric control door lock of the unmanned retail device is controlled by detecting the power-on state of the unmanned retail device and the switch state of the door body, which can prevent the unmanned retail device from being re-powered after a power failure.
  • the door cannot be closed due to the automatic locking of the electronic control door lock, the safety of the unmanned retail equipment can be improved, and the loss of goods due to the long-term failure of the door to close can occur.
  • Fig. 1 exemplarily shows a schematic diagram of an unmanned retail device provided by an embodiment of the present invention
  • Figure 2 exemplarily shows a block diagram of a device for controlling an electronically controlled door lock provided by an embodiment of the present invention
  • Fig. 3 exemplarily shows a flowchart of a method for controlling an electronically controlled door lock according to an embodiment of the present invention
  • Fig. 4 exemplarily shows a flowchart of a method for controlling an electronically controlled door lock according to an alternative embodiment of the present invention.
  • Fig. 5 exemplarily shows a flowchart of a method for controlling an electronically controlled door lock provided by an alternative embodiment of the present invention.
  • the directional indication is only used to explain that it is in a certain posture (as shown in the drawings). If the specific posture changes, the relative positional relationship, movement, etc. of the components below will also change the directional indication accordingly.
  • an embodiment of the present invention provides a device for controlling an electronically controlled door lock.
  • the electronically controlled door lock 11 is applied to unmanned retail equipment and is configured to be able to control the door of the unmanned retail equipment.
  • the body 22 is locked, and the electronically controlled door lock 11 is also configured to be automatically locked in a power-off state.
  • the device for controlling the electronically controlled door lock may include a door switch detection device 12 and a control device 13.
  • the door opening and closing detection device 12 is configured to detect the opening and closing state of the door 22.
  • the control device 13 is electrically connected to the electronically controlled door lock 11 and the door switch detection device 12, respectively.
  • the control device 13 is configured to detect the power-on state of the unmanned retail equipment, and when it is detected that the unmanned retail equipment is re-powered , Acquire the switch state of the door from the door switch detection device 12, and control the electronic control door lock 11 to unlock when it is determined that the switch state of the door is the open state.
  • unmanned retail equipment may include unmanned vending machines or unmanned retail cabinets.
  • the current electronically controlled door lock 11 of unmanned retail equipment will automatically unlock (ie, lock) to lock the door 22 when the power is cut off, thereby avoiding the loss of goods.
  • the current state of the electronic control door lock 11 (that is, the locked state) will be maintained.
  • the door 22 is in the open state, because the electronic control door lock 11 The door 22 cannot be closed due to the blocking of the lock tongue and other parts.
  • the device for controlling the electronically controlled door lock in the embodiment of the present invention may include a door switch detection device 12.
  • the door switch detection device 12 can convert the state detection of the electronic control door lock 11 into the detection of the state of the door 22.
  • the switch detection device 12 may include at least one of a proximity switch, an infrared induction sensor, and a door magnetic induction sensor.
  • the switch detection device 12 is a proximity switch (also called a travel switch or a touch switch)
  • the proximity switch can be arranged on the door frame of the box 21 of the unmanned retail equipment, and the frame of the door 22 can be For example, a metal material. When the door 22 is closed, the metal frame of the door 22 is close to the proximity switch.
  • the switch detection device 12 is an infrared sensor
  • a transmitting module and a receiving module are installed at the corresponding positions of the door 22 and the box 21 respectively.
  • the receiving module can The infrared signal sent by the transmitting module is detected, and a signal indicating that the door 22 is closed is generated.
  • the receiving module does not detect the infrared signal sent by the transmitting module, a signal indicating that the door 22 is opened is generated.
  • the switch detection device 12 is a door magnetic induction sensor
  • the door magnetic induction sensor can be composed of a wireless transmitting module and a magnetic block respectively arranged on the box body 21 and the door body 22.
  • the wireless transmitting module is provided with a " “Steel reed pipe” original device, when the distance between the magnetic block and the steel reed pipe is kept within, for example, 1.5CM (the distance can be adjusted), the steel reed pipe is in the disconnected state, once the distance between the magnetic block and the steel reed pipe exceeds 1.5 CM, the steel reed tube will be closed and cause a short circuit. Therefore, the switch state of the door 22 can be detected by detecting the on and off of the steel reed tube.
  • the electric control door lock 11 may be an electric bolt lock or an electromechanical integrated lock or the like. As shown in FIG. 1, taking an electric mortise lock as an example, the electric mortise lock may include a lock body 111 and a lock piece 112. The lock piece 112 is located on the top of the door 22, and a lock hole 1121 is opened on the lock piece 112. The lock body 111 is located on the upper edge of the door frame of the box body 21. A lock tongue 1111 is provided on the lock body 111, and the lock tongue 1111 corresponds to the position of the lock hole 1121.
  • the electric bolt lock may be a power-off locking type electric bolt lock, that is, when the electric bolt lock is powered off, the bolt 1111 automatically falls to lock the door 22.
  • the control device 13 is electrically connected to the electronically controlled door lock 11 and the door switch detection device 12 respectively.
  • the control device 13 can detect the power-on status of the unmanned retail equipment, and re-energize the unmanned retail equipment after the power is cut off.
  • the switch state of the door is acquired from the door switch detection device 12, and when it is determined that the switch state of the door is the open state, the electronic control door lock 11 is controlled to unlock. That is to say, every time the unmanned retail equipment is powered off and restarted, the control device 13 can obtain the switch state of the door from the door switch detection device 12, and when it is determined that the door 22 is in the open state, it controls the electronic control The door lock 11 is unlocked so that the door body 22 can be closed smoothly.
  • control device 13 may include, but is not limited to, general-purpose processors, special-purpose processors, conventional processors, multiple microprocessors, single-chip computers, controllers, microcontrollers, application-specific integrated circuits (ASICs), field programmable gate arrays ( FPGA) circuits, any other types of integrated circuits (IC), and state machines. It should be noted that the method for the control device 13 to detect the power-on state of the unmanned retail equipment belongs to the prior art, so it will not be repeated.
  • control device 13 is further configured to keep the electronic control door lock 11 in the unlocked state after controlling the electronic control door lock 11 to unlock, and to maintain the electronic control door lock 11 in the unlocked state.
  • the electronic control door lock 11 is controlled to be locked. That is to say, every time the electronically controlled door lock 11 is unlocked, it will be automatically locked after maintaining the unlocked state for a preset time.
  • control device 13 is also configured to obtain the switch state of the door 22 after the electric control door lock 11 is locked, and when it is determined that the switch state of the door 22 is the open state, control the electric control door lock 11 Open the lock again. In other words, every time the electronically controlled door lock 11 is unlocked, it will be automatically locked after it remains unlocked for a preset time. After the electronically controlled door lock 11 is locked, the control device 13 obtains the door from the door switch detection device 12 The switch state of the body 22, when the switch state of the door body 22 is the door open state, that is, when the door body 22 is open, the electronically controlled door lock 11 can be controlled to unlock again and maintain the unlocked state within a preset time.
  • the device for controlling an electronically controlled door lock may further include an alarm device 14.
  • the control device 13 is electrically connected to the alarm device 14, and is also configured to be re-energized when the unmanned retail equipment is turned on and the switch state of the door 22 is When the door is open, the alarm device 14 is controlled to give an alarm. That is to say, when the unmanned retail equipment is powered on again, if the door 22 is in an open state, the control device 13 controls the alarm device to give an alarm.
  • the control device 13 is also configured to obtain the switch state of the door 22 after the electronically controlled door lock 11 is locked. When it is determined that the switch state of the door body 22 is the door open state, the alarm device 14 is controlled to give an alarm.
  • the control device 13 obtains the door from the door switch detection device 12
  • the switch state of the body 22 when the switch state of the door body 22 is the door open state, that is, when the door body 22 is open, the alarm device 14 can be used to give an alarm.
  • the alarm device 14 can give an alarm in a variety of ways. For example, the alarm device 14 can prompt users who are using unmanned retail equipment to stop shopping and close the door 22 by emitting a prompt sound.
  • the alarm device 14 can also send an alarm signal and the opening and closing status of the door 22 to Remote control terminal of unmanned retail equipment to remind operation and maintenance personnel that the door is closed abnormally. In this way, by setting the alarm device 14, when a power failure occurs, it can promptly alarm and notify the operation and maintenance personnel, thereby avoiding malicious damage by the user after the power failure.
  • control device 13 is further configured to control the number of unlocking times of the electronically controlled door lock 11 not to exceed the preset number of times when the door body 22 is continuously in the open state. That is to say, after the control device 13 controls the electronically controlled door lock 11 to unlock the preset number of times, even if it still detects that the door 22 is in the open state, it will not continue to control the electronically controlled door lock 11 to unlock, and will only be reminded by an alarm. Users and operation and maintenance personnel. It is understandable that after the electronically controlled door lock 11 is unlocked multiple times, if the door 22 is still in the open state, the door 22 may not be closed normally due to other reasons, so the electronically controlled door lock 11 is no longer controlled to continue to unlock.
  • the preset number of times may be, for example, 2 times or 3 times.
  • control device 13 is further configured to obtain the switch state of the door 22 from the door switch detection device 12 after controlling the unlocking of the electronically controlled door lock 11, and determine the status of the door 22 When the switch state is the door closed state, the electronic control door lock 11 is controlled to be locked.
  • control device 13 when the control device 13 detects that the unmanned retail equipment is re-energized, it will obtain the switch status of the door 22 from the door switch detection device 12. If the switch status of the door 22 is the door open state, it controls the electronic control The door lock 11 is unlocked. After the electronically controlled door lock 11 is unlocked, it will remain in the unlocked state. The control device 13 will continue to obtain the switch state of the door 22 from the door switch detection device 12, and when the switch state of the door 22 changes to the closed state, Control the electric door lock 11 to lock.
  • the embodiment of the present invention also provides an unmanned retail device.
  • the unmanned retail device may include an electric control door lock 11 and the above-mentioned device for controlling the electric control door lock.
  • the electronically controlled door lock 11 is configured to be able to lock the door 22 of the unmanned retail equipment, and automatically lock when the power is off.
  • the unmanned retail device may further include a backup power source configured to supply power to the unmanned retail device when the unmanned retail device is powered off.
  • unmanned retail equipment will switch to a backup power supply in the event of a power failure.
  • the electronically controlled door lock 11 is automatically locked at the moment of power failure. After the unmanned retail equipment is re-powered by the standby power supply, the control device 13 will control the electronically controlled door lock 11 according to the scheme in the above embodiment.
  • the unmanned retail equipment may further include a self-closing device 23 connected to the door 22 and configured to prompt the door 22 to close when the door 22 is in an open state.
  • a self-closing device 23 connected to the door 22 and configured to prompt the door 22 to close when the door 22 is in an open state.
  • the self-closing device 22 By setting the self-closing device 22 to automatically close the door, the user does not need to close the door manually, which avoids waste of power and deduction errors due to the user forgetting to close the door.
  • the control device 13 combined with the self-closer 22 and the door switch detection device 12 can realize a series of actions such as automatic unlocking, closing and locking after power failure, so as to avoid the loss of the merchant.
  • the self-closing device 23 is generally set at a corner of the door body 22 to automatically close the door body 22. After the user opens the door, a certain amount of force is required to block the door 22 to make the door 22 open. Once the person leaves, the door 22 is no longer blocked, the self-closer 23 will automatically close the door 22 to avoid users Forgetting to close the door when leaving, resulting in wrong deductions.
  • the embodiment of the present invention also provides a method for controlling an electronically controlled door lock, which is applied to an unmanned retail device and is configured to be able to lock the door of an unmanned retail device ,
  • the electronically controlled door lock is also configured to automatically lock when the power is off.
  • the method for controlling an electronically controlled door lock may include:
  • Step S11 detecting the power-on state of the unmanned retail equipment.
  • Step S12 in the case of detecting that the unmanned retail equipment is re-energized, the switch state of the door body is detected, wherein the switch state of the door body can be detected by at least one of a proximity switch, an infrared sensor and a magnetic sensor.
  • Step S13 when it is determined that the switch state of the door body is the door open state, control the electronically controlled door lock to unlock.
  • the method for controlling an electronically controlled door lock may include the following steps:
  • step S21 it is detected whether the unmanned retail equipment is re-powered, if yes, step S22 is executed, otherwise the detection is continued.
  • Step S22 Send an alarm message to notify the operation and maintenance personnel of the remote control terminal, and the unmanned retail device emits an alarm reminder sound to remind the user to stop shopping and close the door, and then step S23 is executed.
  • Step S23 Detect the opening and closing state of the door. If the door is in the open state, step S24 is executed. If the door is in the closed state, the control flow is ended.
  • Step S24 controlling the unlocking of the electronically controlled door lock through software and maintaining the unlocked state for a preset time, and then ending the control process.
  • the unmanned retail equipment can remind the user that the unmanned retail equipment has abnormal power outage, please stop shopping immediately and leave.
  • the electronic door lock can be controlled to unlock and maintain the unlocked state for a preset time. Since the door is no longer blocked after the user leaves, it will automatically close under the action of the self-closing device.
  • the preset time can be determined according to the time required for the self-closing device to drive the door to fully close and the estimated reaction time of the user after receiving the alarm reminder.
  • the unmanned retail equipment detects that the door is not closed, and the electronic door lock is controlled by software to unlock it once. After the self-closer automatically closes the door, the electronic door lock is locked and the door is locked. Restore the normal closed state.
  • the electronic control door lock can be kept in the unlocked state, and when the electronic control door lock is kept in the unlocked state for a preset time, the electronic control door lock is controlled to be locked.
  • the switch state of the door can continue to be obtained, and when the switch state of the door body is determined to be the door open state, the electronically controlled door lock is controlled to unlock again and give an alarm.
  • the number of times that the door body is controlled to unlock the electronic door lock when the door is continuously in the open state does not exceed the preset number of times. That is to say, after the number of times of controlling the unlocking of the electronic control door lock reaches the preset number, even if the door body is still detected in the open state, the control of the unlocking of the electronic control door lock will not continue.
  • the method for controlling an electronically controlled door lock may include the following steps:
  • step S21 it is detected whether the unmanned retail equipment is re-powered, if yes, step S22 is executed, otherwise the detection is continued.
  • Step S22 Send an alarm message to notify the operation and maintenance personnel of the remote control terminal, and the unmanned retail device emits an alarm reminder sound to remind the user to stop shopping and close the door, and then step S23 is executed.
  • Step S23 The door switch detecting device detects the opening and closing state of the door. If the door is in the open state, step S24 is executed. If the door is in the closed state, the control flow is ended.
  • Step S24 controlling the unlocking of the electronically controlled door lock through software and maintaining the unlocked state for a preset time, and then step S25 is executed.
  • Step S25 after the electronically controlled door lock maintains the unlocked state for a preset time (that is, after the electronically controlled door lock is locked), the switch state of the door body is detected again, if the door body is in the closed state, the control process is ended; if the door body If the door is open, step S26 is executed.
  • Step S26 alarm again to remind the user to leave and notify the operation and maintenance personnel, and unlock again and maintain the start state for a preset time, and then step S27 is executed.
  • Step S27 After the electronically controlled door lock maintains the unlocked state for a preset time, the switch state of the door is detected again. If the door is in the closed state, the control process is ended; if the door is in the open state, step S28 is executed.
  • Step S28 alarm again to remind the user and notify the operation and maintenance personnel, and then perform step S27.
  • step S25 and step S26 after the electronically controlled door lock is unlocked, when it is detected that the door is not closed for the second time, the lock is unlocked again and the user is reminded to leave.
  • step S27 and step S28 when it is detected that the door is not closed for the third time or more, the electronically controlled door lock is no longer controlled to unlock, but the user is prompted to stop shopping immediately and leave, and the user can also be reminded not to leave.
  • the user will pay for the reduction of goods due to the unclosed door from now on, so as to urge the user to leave as soon as possible, so that the door can be automatically closed under the action of the self-closing device.
  • the electronic control door lock is generally controlled to open 3 times or less. In this way, through multiple unlocks and reminders, the probability that the door cannot be closed normally can be reduced, thereby making the unmanned retail equipment safer and more reliable.
  • time t1 is the time required for the self-closing device to drive the door to automatically close when there is no resistance under normal conditions
  • time t2 is the reaction time left for the user, for example, when the user finds that the power is off, he never hears The average reaction time from the reminder of the retail device to the user actually stopping shopping and leaving.
  • the time t2 can be determined according to actual usage.
  • the method for controlling an electronically controlled door lock may further include:
  • Step S14 after controlling the unlocking of the electronically controlled door lock, obtain the switch state of the door body
  • step S15 when it is determined that the switch state of the door body is the closed state, the electronically controlled door lock is controlled to be locked.
  • the switch state of the door is obtained from the door switch detection device, and if the switch state of the door is the door open state, the electronic control door lock is controlled to unlock. After the electronically controlled door lock is unlocked, it will maintain the unlocked state of the electronically controlled door lock and continue to detect the opening and closing state of the door. When the switch state of the door body changes to the closed state, the electronic control door lock is controlled to be locked.
  • the embodiments of the present invention also provide a machine-readable storage medium having instructions stored on the machine-readable storage medium.
  • the instructions are used to enable the processor to execute the above-mentioned control electronics when executed by the processor. Method of controlling door lock.
  • the door switch detection device is used to detect the switch state of the door, and the electronic control door lock is controlled according to the switch state of the door, which eliminates the need to detect the state of the electronic control door lock, thereby leaving the electronic control
  • the structure of the door lock is highly versatile.
  • the electronically controlled door lock can be automatically controlled, without remote control by operation and maintenance personnel, thus avoiding the occurrence of failures that the electronically controlled door lock cannot control due to remote forced unlocking.
  • the program is stored in a storage medium and includes several instructions to enable the single-chip microcomputer, chip or processor (processor) Execute all or part of the steps of the method described in each embodiment of the present invention.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program code .

Abstract

一种控制电控门锁(11)的装置及方法、无人零售设备以及存储介质。该装置包括:门体开关检测装置(12),被配置为检测该门体(22)的开关状态;以及控制装置(13),分别与该电控门锁(11)和该门体开关检测装置(12)电性连接,被配置为:检测该无人零售设备的通电状态;在检测到该无人零售设备重新通电的情况下,从该门体开关检测装置(12)获取该门体(22)的开关状态;在确定该门体(22)的开关状态为开门状态的情况下,控制该电控门锁(11)开锁。如此,可以避免出现无人零售设备在断电后重新通电时,由于电控门锁(11)自动落锁导致门体(22)无法关闭的情况发生,进而可以提高无人零售设备的安全度,避免由于门体长期无法关闭导致商品丢失。

Description

控制电控门锁的装置及方法、无人零售设备以及存储介质
相关申请的交叉引用
本申请要求2019年8月2日提交的中国专利申请201910710313.9的权益,该申请的内容通过引用被合并于本文。
技术领域
本发明涉及电器领域,具体地涉及一种控制电控门锁的装置及方法、无人零售设备以及存储介质。
背景技术
当前市面上的无人零售设备一般采用电控门锁对门体进行上锁。由于市面上常见的电控门锁没有锁舌检测装置,因此无人零售设备的控制系统不能感知电控门锁的状态,因此无法根据电控门锁的状态控制电控门锁的开关。而出于安全方面的考虑,无人零售设备上的电控门锁一般是断电自动上锁。因此,如果用户在开门购物过程中无人零售设备出现断电的情况,则门体是开着的,但是电控门锁会自动落锁,此时门体无法正常关闭。为了保证无人零售设备内的商品不丢失,即使来电了电控门锁仍然会处于落锁状态,门体仍然无法关闭。对于这种开门落锁的情况,目前只能通过人工联系客服进行远程控制开锁的方式来暂时解决问题,因此很大程度上降低了无人零售设备的安全度和体验感。另外,由于锁舌检测装置价格高,因此如果为电控门锁增加锁舌检测装置,则会提高电控门锁的成本。并且,受电控门锁结构影响,如果更换电控门锁,还要重新设计锁舌检测装置,因此锁舌检测装置不具有通用性,导致维护成本高。
发明内容
本发明的目的是提供一种控制电控门锁的装置及方法、无人零售设备以及存储介质,以至少部分地解决现有技术中存在的上述问题。
为了实现上述目的,在发明实施方式的第一方面提供一种用于控制电控门锁的装置,所述电控门锁应用于无人零售设备且被配置为能够对所述无人零售设 备的门体上锁,所述电控门锁还被配置为在断电状态下自动上锁,所述装置包括:门体开关检测装置,被配置为检测所述门体的开关状态;以及控制装置,分别与所述电控门锁和所述门体开关检测装置电性连接,被配置为:检测所述无人零售设备的通电状态;在检测到所述无人零售设备重新通电的情况下,从所述门体开关检测装置获取所述门体的开关状态;在确定所述门体的开关状态为开门状态的情况下,控制所述电控门锁开锁。
可选地,所述门体开关检测装置包括接近开关、红外感应传感器和门磁感应传感器中的至少一者。
可选地,所述控制装置还被配置为:在控制所述电控门锁开锁后将所述电控门锁保持在开锁状态;在将所述电控门锁保持在开锁状态达到预设时间的情况下,控制所述电控门锁上锁。
可选地,所述控制装置还被配置为:在所述电控门锁上锁后,获取所述门体的开关状态;以及在确定所述门体的开关状态为开门状态的情况下,控制所述电控门锁再次开锁。
可选地,所述装置还包括报警装置,所述控制装置与所述报警装置电性连接,还被配置为:在所述电控门锁上锁后,获取所述门体的开关状态;以及在确定所述门体的开关状态为开门状态的情况下,控制所述报警装置报警。
可选地,所述控制装置还被配置为:在所述门体持续处于开门状态下控制所述电控门锁开锁的次数不超过预设次数。
可选地,所述控制装置还被配置为:在控制所述电控门锁开锁后,从所述门体开关检测装置获取所述门体的开关状态;在确定所述门体的开关状态为关门状态的情况下,控制所述电控门锁上锁。
可选地,所述装置还包括报警装置,所述控制装置与所述报警装置电性连接,还被配置为:在所述无人零售设备重新通电且所述门体的开关状态为开门状态的情况下,控制所述报警装置报警。
在本发明实施方式的第二方面,提供一种无人零售设备,所述无人零售设备包括:电控门锁,被配置为能够对所述无人零售设备的门体上锁,且在断电状态下自动上锁;以及上述的用于控制电控门锁的装置。
可选地,所述无人零售设备还包括:备用电源,被配置为在所述无人零售 设备断电的情况下,为所述无人零售设备供电。
可选地,所述无人零售设备还包括自闭器,所述自闭器与所述门体连接,被配置为在所述门体处于开门状态的情况下,促使所述门体关闭。
在本发明实施方式的第三方面,提供一种用于控制电控门锁的方法,所述电控门锁应用于无人零售设备且被配置为能够对所述无人零售设备的门体上锁,所述电控门锁还被配置为在断电状态下自动上锁,所述方法包括:检测所述无人零售设备的通电状态;在检测到所述无人零售设备重新通电的情况下,检测所述门体的开关状态;在确定所述门体的开关状态为开门状态的情况下,控制所述电控门锁开锁。
可选地,所述检测所述门体的开关状态包括:通过接近开关、红外感应传感器和门磁感应传感器中的至少一者检测所述门体的开关状态。
可选地,所述方法还包括:在控制所述电控门锁开锁后将所述电控门锁保持在开锁状态;在将所述电控门锁保持在开锁状态达到预设时间的情况下,控制所述电控门锁上锁。
可选地,所述方法还包括:在所述电控门锁上锁后,获取所述门体的开关状态;以及在确定所述门体的开关状态为开门状态的情况下,控制所述电控门锁再次开锁。
可选地,所述方法还包括:在所述电控门锁上锁后,获取所述门体的开关状态;以及在确定所述门体的开关状态为开门状态的情况下,进行报警。
可选地,在所述门体持续处于开门状态下控制所述电控门锁开锁的次数不超过预设次数。
可选地,所述方法还包括:在控制所述电控门锁开锁后,获取所述门体的开关状态;在确定所述门体的开关状态为关门状态的情况下,控制所述电控门锁上锁。
可选地,所述方法还包括:在所述无人零售设备重新通电且所述门体的开关状态为开门状态的情况下,进行报警。
在本发明实施方式的第四方面,提供一种机器可读存储介质,该机器可读存储介质上存储有指令,该指令用于在被处理器执行时使得所述处理器能够执行上述的用于控制电控门锁的方法。
在本发明上述技术方案中,通过检测无人零售设备的通电状态和门体的开关状态来对无人零售设备的电控门锁进行控制,可以避免出现无人零售设备在断电后重新通电时,由于电控门锁自动落锁导致门体无法关闭的情况发生,进而可以提高无人零售设备的安全度,避免由于门体长期无法关闭导致商品丢失。
附图说明
附图是用来提供对本发明实施方式的进一步理解,并且构成说明书的一部分,与下面的具体实施方式一起用于解释本发明实施方式,但并不构成对本发明实施方式的限制。在附图中:
图1示例性示出了本发明一种实施方式提供的无人零售设备的示意图;
图2示例性示出了本发明一种实施方式提供的用于控制电控门锁的装置的框图;
图3示例性示出了本发明一种实施方式提供的用于控制电控门锁的方法的流程图;
图4示例性示出了本发明一种可选实施方式提供的用于控制电控门锁的方法的流程图;以及
图5示例性示出了本发明一种可选实施方式提供的用于控制电控门锁的方法的流程图。
附图标记说明
11    电控门锁        12     门体开关检测装置
13    控制装置        14     报警装置
21    箱体            22     门体
23    自闭器          111    锁体
112   锁片            1111   锁舌
1121  锁孔
具体实施方式
以下结合附图对本发明的具体实施方式进行详细说明。应当理解的是,此 处所描述的具体实施方式仅用于说明和解释本发明,并不用于限制本发明。
需要说明,若本发明实施方式中有涉及方向性指示(诸如上、下、左、右、前、后……),则该方向性指示仅用于解释在某一特定姿态(如附图所示)下各部件之间的相对位置关系、运动情况等,如果该特定姿态发生改变时,则该方向性指示也相应地随之改变。
另外,若本发明实施方式中有涉及“第一”、“第二”等的描述,则该“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施方式之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本发明要求的保护范围之内。
如图1和图2所示,本发明实施方式提供一种用于控制电控门锁的装置,该电控门锁11应用于无人零售设备且被配置为能够对无人零售设备的门体22上锁,并且该电控门锁11还被配置为在断电状态下自动上锁。其中,用于控制电控门锁的装置可以包括门体开关检测装置12和控制装置13。门体开关检测装置12被配置为检测门体22的开关状态。控制装置13分别与电控门锁11和门体开关检测装置12电性连接,该控制装置13被配置为检测无人零售设备的通电状态,并在检测到无人零售设备重新通电的情况下,从门体开关检测装置12获取门体的开关状态,在确定门体的开关状态为开门状态的情况下,控制电控门锁11开锁。
如此,通过检测无人零售设备的通电状态和门体的开关状态来对无人零售设备的电控门锁进行控制,可以避免出现无人零售设备在断电后重新通电时,由于电控门锁自动落锁导致门体无法关闭的情况发生,进而可以提高无人零售设备的安全度,避免由于门体长期无法关闭导致商品丢失。
具体地,无人零售设备可以包括无人售卖机或无人零售柜等。当前的无人零售设备的电控门锁11会在断电时自动落锁(即上锁)以锁住门体22,从而避免商品丢失。在重新通电时,由于不清楚电控门锁11的状态,因此会保持电控门锁11的当前状态(即上锁状态),此时若门体22为开门状态,由于电控门锁 11的锁舌等部分的阻挡,门体22无法闭合。
为解决上述问题,本发明实施方式中用于控制电控门锁的装置可以包括门体开关检测装置12。通过该门体开关检测装置12可以将对电控门锁11的状态检测转换为对门体22的状态的检测。具体地,该开关检测装置12可以包括接近开关、红外感应传感器和门磁感应传感器中的至少一者。其中,在开关检测装置12为接近开关(也被称为行程开关或碰触开关)的情况下,该接近开关可以设置在无人零售设备的箱体21的门框上,门体22的边框可以例如为金属材质,在门体22为关闭状态下,门体22的金属边框靠近接近开关,在门体22为开门状态下,门体22的金属边框远离接近开关,因此当门体22处于不同的开关状态时,接近开关可以产生不同的信号,进而实现对门体开关状态的检测。在开关检测装置12为红外感应传感器的情况下,在门体22和箱体21的对应位置分别安装发射模块和接收模块,当门体22靠近箱体21的距离达到一定距离时,接收模块能够检测到发射模块发出的红外信号,并生成指示门体22关闭的信号。反之,如果接收模块未检测到发射模块发出的红外信号,则生成指示门体22打开的信号。在开关检测装置12为门磁感应传感器的情况下,该门磁感应传感器可以由分别设置在箱体21和门体22上的无线发射模块和磁块两部分组成,在无线发射模块上设有一个“钢簧管”原器件,当磁块与钢簧管的距离保持在例如1.5CM(该距离可调节)以内,钢簧管处于断开状态,一旦磁块与钢簧管之间的距离超过1.5CM,则钢簧管就会闭合造成短路,因此可以通过检测钢簧管的通断来检测门体22的开关状态。
电控门锁11可以为电插锁或机电一体锁等。如图1所示,以电插锁为例,该电插锁可以包括锁体111和锁片112。锁片112位于门体22顶部,该锁片112上开有锁孔1121。锁体111位于箱体21的门框上沿,在该锁体111上设置有锁舌1111,锁舌1111与锁孔1121位置相对应。该电插锁可以为断电上锁式电插锁,即在电插锁断电的情况下,锁舌1111自动落下,以锁住门体22。
控制装置13分别与电控门锁11和门体开关检测装置12电性连接,该控制装置13可以检测无人零售设备的通电状态,并在检测到无人零售设备在断电后重新通电的情况下,从门体开关检测装置12获取门体的开关状态,在确定门体的开关状态为开门状态的情况下,控制电控门锁11开锁。也就是说,在无人零 售设备每次断电重启后,控制装置13可以从门体开关检测装置12获取门体的开关状态,在确定门体22为开门状态的情况下,则控制电控门锁11开锁,以使得门体22能够顺利关闭。其中,控制装置13可以包括但不限于通用处理器、专用处理器、常规处理器、多个微处理器、单片机、控制器、微控制器、专用集成电路(ASIC)、现场可编程门阵列(FPGA)电路、其他任何类型的集成电路(IC)以及状态机等。需要说明的是,控制装置13检测无人零售设备的通电状态的方法属于现有技术,因此不做赘述。
在本发明一种可选实施方式中,控制装置13还被配置为在控制电控门锁11开锁后将电控门锁11保持在开锁状态,在将电控门锁11保持在开锁状态达到预设时间的情况下,控制电控门锁11上锁。也就是说,电控门锁11每次开锁后,会在保持开锁状态达到预设时间后再自动上锁。
进一步地,控制装置13还被配置为在电控门锁11上锁后,获取门体22的开关状态,并在确定门体22的开关状态为开门状态的情况下,控制电控门锁11再次开锁。也就是说,电控门锁11每次开锁后,会在保持开锁状态达到预设时间后自动上锁,在电控门锁11上锁后,控制装置13从门体开关检测装置12获取门体22的开关状态,当门体22的开关状态为开门状态,即门体22为打开的情况下,可以控制电控门锁11再次开锁,并在预设时间内保持开锁状态。
可选地,用于控制电控门锁的装置还可以包括报警装置14,控制装置13与报警装置14电性连接,还被配置为在无人零售设备重新通电且门体22的开关状态为开门状态的情况下,控制报警装置14报警。也就是说,当无人零售设备重新通电时,如果门体22为开门状态,则控制装置13控制报警装置报警。此外,控制装置13还被配置为在电控门锁11上锁后,获取门体22的开关状态。在确定门体22的开关状态为开门状态的情况下,控制报警装置14报警。也就是说,电控门锁11每次开锁后,会在保持开锁状态达到预设时间后自动上锁,在电控门锁11上锁后,控制装置13从门体开关检测装置12获取门体22的开关状态,当门体22的开关状态为开门状态,即门体22为打开的情况下,可以通过报警装置14报警。其中,报警装置14可以通过多种方式进行报警。例如,报警装置14可以通过发出提示音的方式提示正在使用无人零售设备的用户停止购物并将门体22关闭,报警装置14还可以通过无线通信的方式发送报警信号和门体22 的开关状态至无人零售设备的远程控制端,以提醒运维人员门体关闭异常。如此,通过设置报警装置14,可以在断电情况发生时,及时报警并通知运维人员,从而避免断电后用户恶意破坏的情况发生。
在本发明一种可选实施方式中,控制装置13还被配置为在门体22持续处于开门状态下控制电控门锁11开锁的次数不超过预设次数。也就是说,控制装置13在控制电控门锁11开锁的次数达到预设次数后,即使仍然检测到门体22处于开门状态,也不会继续控制电控门锁11开锁,仅通过报警提醒用户和运维人员。可以理解的是,当电控门锁11多次开锁后,如果门体22仍处于开门状态,则可能是其他原因导致门体22无法正常闭合,因此不再控制电控门锁11继续开锁。其中,该预设次数可以例如为2次或3次等。
在本发明一种可选实施方式中,控制装置13还被配置为在控制电控门锁11开锁后,从门体开关检测装置12获取门体22的开关状态,并在确定门体22的开关状态为关门状态的情况下,控制电控门锁11上锁。
具体地,控制装置13在检测到无人零售设备重新通电的情况下,会从门体开关检测装置12获取门体22的开关状态,如果门体22的开关状态为开门状态,则控制电控门锁11开锁。在电控门锁11开锁后,会保持开锁状态,控制装置13会继续从门体开关检测装置12获取门体22的开关状态,并在门体22的开关状态变为关门状态的情况下,控制电控门锁11上锁。
如图1所示,本发明实施方式还提供一种无人零售设备,该无人零售设备可以包括电控门锁11和上述的用于控制电控门锁的装置。其中,电控门锁11被配置为能够对无人零售设备的门体22上锁,且在断电状态下自动上锁。
在一种可选实施方式中,无人零售设备还可以包括备用电源,该备用电源被配置为在无人零售设备断电的情况下,为无人零售设备供电。也就是说,无人零售设备在出现断电的情况下,会切换至备用电源供电。电控门锁11在断电瞬间自动上锁,在无人零售设备由备用电源重新供电后,控制装置13会根据上述实施方式中的方案对电控门锁11进行控制。
另外,无人零售设备还可以包括自闭器23,该自闭器23与门体22连接,被配置为在门体22处于开门状态的情况下,促使门体22关闭。通过设置自闭器22来自动关门,可以无需用户手动关门,避免由于用户忘记关门导致浪费电能 和扣款错误等情况发生。另外,控制装置13结合自闭器22与门体开关检测装置12,可以实现断电后的自动开锁-关门-上锁等一系列行为,避免商家损失。
具体地,该自闭器23一般设置在门体22的角落位置,用于自动将门体22闭合。当用户开门后,需要一定的力度阻挡门体22才可以使门体22处于开门状态,一旦人离开,门体22不再被阻挡时,自闭器23会自动将门体22关闭,以避免用户离开时忘记关门导致错误扣款。
如图3所示,本发明实施方式还提供一种用于控制电控门锁的方法,该电控门锁应用于无人零售设备且被配置为能够对无人零售设备的门体上锁,电控门锁还被配置为在断电状态下自动上锁。该用于控制电控门锁的方法可以包括:
步骤S11,检测无人零售设备的通电状态。
步骤S12,在检测到无人零售设备重新通电的情况下,检测门体的开关状态,其中可以通过接近开关、红外感应传感器和门磁感应传感器中的至少一者来检测门体的开关状态。
步骤S13,在确定门体的开关状态为开门状态的情况下,控制电控门锁开锁。
如此,通过检测无人零售设备的通电状态和门体的开关状态来对无人零售设备的电控门锁进行控制,可以避免出现无人零售设备在断电后重新通电时,由于电控门锁自动落锁导致门体无法关闭的情况发生,进而可以提高无人零售设备的安全度,避免由于门体长期无法关闭导致商品丢失。
举例来说,如图4所示,用于控制电控门锁的方法可以包括以下步骤:
步骤S21,检测无人零售设备是否重新通电,若是,则执行步骤S22,否则继续检测。
步骤S22,发送报警消息以通知远程控制端的运维人员,无人零售设备发出报警提醒音,以提示用户停止购物并关门,随后执行步骤S23。
步骤S23,检测门体的开关状态,如果门体为开门状态,则执行步骤S24,如果门体为关闭状态,则结束控制流程。
步骤S24,通过软件控制电控门锁开锁并维持开锁状态预设时间,随后结束控制流程。
如此,在无人零售设备发生断电时,一方面,可以在无人零售设备端提醒 用户无人零售设备出现断电异常,请立刻停止购物并离开。在提醒用户离开的同时,可以控制电控门锁开锁并维持开锁状态预设时间,由于用户离开后,门体不再受到阻挡,因此会在自闭器的作用下自动关闭,其中所述的预设时间可以根据自闭器驱动门体完全关闭所需的时间和预估的用户收到报警提醒后的反应时间来确定。另一个方面,可以向远程控制端发送报警信息,以提醒运维人员无人零售设备出现断电异常,并督促运维人员留意门体的开关状态,避免断电时间内,有人恶意拿取商品。简言之,当用户离开后,无人零售设备检测到门体未关闭,则通过软件控制电控门锁开锁一次,在自闭器将门体自动闭合后,电控门锁上锁,门体恢复正常闭合状态。
进一步地,在控制电控门锁开锁后可以将电控门锁保持在开锁状态,并在将电控门锁保持在开锁状态达到预设时间的情况下,控制电控门锁上锁。在电控门锁上锁后,可以继续获取门体的开关状态,并在确定门体的开关状态为开门状态的情况下,控制电控门锁再次开锁并进行报警。其中,门体持续处于开门状态下控制电控门锁开锁的次数不超过预设次数。也就是说,在控制电控门锁开锁的次数达到预设次数后,即使仍然检测到门体处于开门状态,也不会继续控制电控门锁开锁。
举例来说,如图5所示,用于控制电控门锁的方法可以包括以下步骤:
步骤S21,检测无人零售设备是否重新通电,若是,则执行步骤S22,否则继续检测。
步骤S22,发送报警消息以通知远程控制端的运维人员,无人零售设备发出报警提醒音,以提示用户停止购物并关门,随后执行步骤S23。
步骤S23,通过门开关检测装置检测门体的开关状态,如果门体为开门状态,则执行步骤S24,如果门体为关闭状态,则结束控制流程。
步骤S24,通过软件控制电控门锁开锁并维持开锁状态预设时间,随后执行步骤S25。
步骤S25,在电控门锁维持开锁状态预设时间后(即电控门锁上锁后),再次检测门体的开关状态,如果是门体为关闭状态,则结束控制流程;如果门体为开门状态,则执行步骤S26。
步骤S26,再次报警以提醒用户离开并通知运维人员,并且再次开锁并维 持开始状态预设时间,随后执行步骤S27。
步骤S27,在电控门锁维持开锁状态预设时间后,再次检测门体的开关状态,如果是门体为关闭状态,则结束控制流程;如果门体为开门状态,则执行步骤S28。
步骤S28,再次报警以提醒用户并通知运维人员,随后执行步骤S27。
在本实施方式中,增加了步骤S25至步骤S28的多次检测复查的步骤。在步骤S25和步骤S26中,电控门锁开锁后,当第二次检测到门体未关闭时,重新开锁,并提醒用户离开。在步骤S27和步骤S28中,当第三次或第三次以上检测到门体未关闭时,不再控制电控门锁开锁,而是提示用户立即停止购物并离开,还可以提醒用户不离开所导致的结果,例如,此刻起由于未关门所导致的商品减少将由该用户买单等,以督促用户尽快离开,从而使门体能在自闭器的作用下自动闭合。需要说明的是,当无人零售设备断电重启后,一般控制电控门锁开启3次及以内即可。如此,通过多次开锁和提醒,可以降低门体无法正常关闭的几率,从而使得无人零售设备更加安全可靠。
其中,电控门锁保持开锁状态的预设时间t=t1+t2。其中,时间t1为门体正常情况下无阻力时,自闭器驱动门体自动闭合所需的时间;时间t2是留给用户的反应时间,例如为当用户发现断电后,从听到无人零售设备的提醒到用户实际停止购物并离开的平均反应时间。其中,该时间t2可以根据实际使用情况确定。
在本发明一种可选实施方式中,用于控制电控门锁的方法还可以包括:
步骤S14,在控制电控门锁开锁后,获取门体的开关状态;
步骤S15,在确定门体的开关状态为关门状态的情况下,控制电控门锁上锁。
具体地,在检测到无人零售设备重新通电的情况下,会从门体开关检测装置获取门体的开关状态,如果门体的开关状态为开门状态,则控制电控门锁开锁。在电控门锁开锁后,会保持电控门锁的开锁状态,并继续检测门体的开关状态。在门体的开关状态变为关门状态的情况下,控制电控门锁上锁。
此外,本发明实施方式还提供一种机器可读存储介质,该机器可读存储介质上存储有指令,该指令用于在被处理器执行时使得所述处理器能够执行上述的用于控制电控门锁的方法。
在本发明上述技术方案中,利用门体开关检测装置检测门体的开关状态,并根据门体的开关状态对电控门锁进行控制,可以无需检测电控门锁的状态,从而脱离电控门锁的结构,通用性强。并且,在无人零售设备断电重启后可以自动控制电控门锁,无需运维人员远程控制,因此避免了由于远程强行开锁导致电控门锁无法控制的故障发生。
以上结合附图详细描述了本发明的可选实施方式,但是,本发明并不限于上述实施方式中的具体细节,在本发明实施方式的技术构思范围内,可以对本发明实施方式的技术方案进行多种简单变型,这些简单变型均属于本发明实施方式的保护范围。
另外需要说明的是,在上述具体实施方式中所描述的各个具体技术特征,在不矛盾的情况下,可以通过任何合适的方式进行组合。为了避免不必要的重复,本发明实施方式对各种可能的组合方式不再另行说明。
本领域技术人员可以理解实现上述实施方式方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序存储在一个存储介质中,包括若干指令用以使得单片机、芯片或处理器(processor)执行本发明各个实施方式所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
此外,本发明的各种不同的实施方式之间也可以进行任意组合,只要其不违背本发明实施方式的思想,其同样应当视为本发明所公开的内容。

Claims (20)

  1. 一种用于控制电控门锁的装置,所述电控门锁应用于无人零售设备且被配置为能够对所述无人零售设备的门体上锁,所述电控门锁还被配置为在断电状态下自动上锁,其特征在于,所述装置包括:
    门体开关检测装置,被配置为检测所述门体的开关状态;以及
    控制装置,分别与所述电控门锁和所述门体开关检测装置电性连接,被配置为:
    检测所述无人零售设备的通电状态;
    在检测到所述无人零售设备重新通电的情况下,从所述门体开关检测装置获取所述门体的开关状态;
    在确定所述门体的开关状态为开门状态的情况下,控制所述电控门锁开锁。
  2. 根据权利要求1所述的装置,其特征在于,所述门体开关检测装置包括接近开关、红外感应传感器和门磁感应传感器中的至少一者。
  3. 根据权利要求1所述的装置,其特征在于,所述控制装置还被配置为:
    在控制所述电控门锁开锁后将所述电控门锁保持在开锁状态;
    在将所述电控门锁保持在开锁状态达到预设时间的情况下,控制所述电控门锁上锁。
  4. 根据权利要求3所述的装置,其特征在于,所述控制装置还被配置为:
    在所述电控门锁上锁后,获取所述门体的开关状态;以及
    在确定所述门体的开关状态为开门状态的情况下,控制所述电控门锁再次开锁。
  5. 根据权利要求3或4所述的装置,其特征在于,所述装置还包括报警装置,所述控制装置与所述报警装置电性连接,还被配置为:
    在所述电控门锁上锁后,获取所述门体的开关状态;以及
    在确定所述门体的开关状态为开门状态的情况下,控制所述报警装置报警。
  6. 根据权利要求4所述的装置,其特征在于,所述控制装置还被配置为:
    在所述门体持续处于开门状态下控制所述电控门锁开锁的次数不超过预设次数。
  7. 根据权利要求1所述的装置,其特征在于,所述控制装置还被配置为:
    在控制所述电控门锁开锁后,从所述门体开关检测装置获取所述门体的开关状态;
    在确定所述门体的开关状态为关门状态的情况下,控制所述电控门锁上锁。
  8. 根据权利要求1所述的装置,其特征在于,所述装置还包括报警装置,所述控制装置与所述报警装置电性连接,还被配置为:
    在所述无人零售设备重新通电且所述门体的开关状态为开门状态的情况下,控制所述报警装置报警。
  9. 一种无人零售设备,其特征在于,所述无人零售设备包括:
    电控门锁,被配置为能够对所述无人零售设备的门体上锁,且在断电状态下自动上锁;以及
    根据权利要求1至8中任意一项权利要求所述的用于控制电控门锁的装置。
  10. 根据权利要求9所述的无人零售设备,其特征在于,所述无人零售设备还包括:
    备用电源,被配置为在所述无人零售设备断电的情况下,为所述无人零售设备供电。
  11. 根据权利要求9所述的无人零售设备,其特征在于,所述无人零售设备还包括自闭器,所述自闭器与所述门体连接,被配置为在所述门体处于开门状态的情况下,促使所述门体关闭。
  12. 一种用于控制电控门锁的方法,所述电控门锁应用于无人零售设备且 被配置为能够对所述无人零售设备的门体上锁,所述电控门锁还被配置为在断电状态下自动上锁,其特征在于,所述方法包括:
    检测所述无人零售设备的通电状态;
    在检测到所述无人零售设备重新通电的情况下,检测所述门体的开关状态;
    在确定所述门体的开关状态为开门状态的情况下,控制所述电控门锁开锁。
  13. 根据权利要求12所述的方法,其特征在于,所述检测所述门体的开关状态包括:通过接近开关、红外感应传感器和门磁感应传感器中的至少一者检测所述门体的开关状态。
  14. 根据权利要求12所述的方法,其特征在于,所述方法还包括:
    在控制所述电控门锁开锁后将所述电控门锁保持在开锁状态;
    在将所述电控门锁保持在开锁状态达到预设时间的情况下,控制所述电控门锁上锁。
  15. 根据权利要求14所述的方法,其特征在于,所述方法还包括:
    在所述电控门锁上锁后,获取所述门体的开关状态;以及
    在确定所述门体的开关状态为开门状态的情况下,控制所述电控门锁再次开锁。
  16. 根据权利要求14或15所述的方法,其特征在于,所述方法还包括:
    在所述电控门锁上锁后,获取所述门体的开关状态;以及
    在确定所述门体的开关状态为开门状态的情况下,进行报警。
  17. 根据权利要求15所述的方法,其特征在于,在所述门体持续处于开门状态下控制所述电控门锁开锁的次数不超过预设次数。
  18. 根据权利要求12所述的方法,其特征在于,所述方法还包括:
    在控制所述电控门锁开锁后,获取所述门体的开关状态;
    在确定所述门体的开关状态为关门状态的情况下,控制所述电控门锁上锁。
  19. 根据权利要求12所述的方法,其特征在于,所述方法还包括:
    在所述无人零售设备重新通电且所述门体的开关状态为开门状态的情况下,进行报警。
  20. 一种机器可读存储介质,其特征在于,该机器可读存储介质上存储有指令,该指令用于在被处理器执行时使得所述处理器能够执行根据权利要求12至19中任意一项权利要求所述的用于控制电控门锁的方法。
PCT/CN2020/072518 2019-08-02 2020-01-16 控制电控门锁的装置及方法、无人零售设备以及存储介质 WO2021022797A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910710313.9 2019-08-02
CN201910710313.9A CN110443922A (zh) 2019-08-02 2019-08-02 控制电控门锁的装置及方法、无人零售设备以及存储介质

Publications (1)

Publication Number Publication Date
WO2021022797A1 true WO2021022797A1 (zh) 2021-02-11

Family

ID=68432962

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/072518 WO2021022797A1 (zh) 2019-08-02 2020-01-16 控制电控门锁的装置及方法、无人零售设备以及存储介质

Country Status (2)

Country Link
CN (1) CN110443922A (zh)
WO (1) WO2021022797A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114063541A (zh) * 2021-12-28 2022-02-18 中电工业互联网有限公司 一种智慧零售终端的远程锁机系统及方法
WO2023134109A1 (zh) * 2022-01-14 2023-07-20 合肥美的智能科技有限公司 智能货柜及货柜控制方法

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110443922A (zh) * 2019-08-02 2019-11-12 合肥美的智能科技有限公司 控制电控门锁的装置及方法、无人零售设备以及存储介质
CN111425074B (zh) * 2020-05-11 2021-09-03 合肥美的智能科技有限公司 储物柜
CN111932791B (zh) * 2020-08-06 2022-02-08 合肥美的智能科技有限公司 储物柜的控制方法、控制装置及储物柜
CN112910075B (zh) * 2021-01-21 2024-03-12 合肥美的智能科技有限公司 断电提示方法和装置、零售装置和可读存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001273552A (ja) * 2000-03-27 2001-10-05 Sanyo Electric Co Ltd 自動販売機
CN103150789A (zh) * 2013-01-31 2013-06-12 姬志刚 远程门禁系统
CN208335355U (zh) * 2018-06-05 2019-01-04 科洛维特科技发展(北京)有限公司 一种带断电防盗锁的自动售卖机
KR101935547B1 (ko) * 2018-03-06 2019-01-04 주식회사 태양자동문 블루투스를 이용한 도어록 잠금해지 및 사용자 기록장치
CN109961567A (zh) * 2017-12-26 2019-07-02 富士电机株式会社 自动售货机以及自动售货机系统
CN110443922A (zh) * 2019-08-02 2019-11-12 合肥美的智能科技有限公司 控制电控门锁的装置及方法、无人零售设备以及存储介质

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8552875B2 (en) * 2010-05-28 2013-10-08 Rockwell Automation Technologies, Inc. Efficient and safe door locking control in power-off and power-on conditions
CN205259724U (zh) * 2015-12-24 2016-05-25 烟台三环安防科技有限公司 机械锁芯在通电时禁用、断电时启用的电子锁具
CN105913518A (zh) * 2016-04-12 2016-08-31 上海擎天电子科技有限公司 动态密码锁双mcu前后分离的安全电控系统和工作流程
CN205777982U (zh) * 2016-05-26 2016-12-07 广东京奥信息科技有限公司 一种机械式防断电门禁锁
CN207264487U (zh) * 2017-10-16 2018-04-20 广州米果智能设备有限公司 一种自动售货机
CN107780719A (zh) * 2017-12-11 2018-03-09 柳州市百思得信息技术有限公司 一种自动门锁
CN207895558U (zh) * 2018-02-06 2018-09-21 诚悦(大连)科技有限公司 一种具有双重识别功能的售货机

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001273552A (ja) * 2000-03-27 2001-10-05 Sanyo Electric Co Ltd 自動販売機
CN103150789A (zh) * 2013-01-31 2013-06-12 姬志刚 远程门禁系统
CN109961567A (zh) * 2017-12-26 2019-07-02 富士电机株式会社 自动售货机以及自动售货机系统
KR101935547B1 (ko) * 2018-03-06 2019-01-04 주식회사 태양자동문 블루투스를 이용한 도어록 잠금해지 및 사용자 기록장치
CN208335355U (zh) * 2018-06-05 2019-01-04 科洛维特科技发展(北京)有限公司 一种带断电防盗锁的自动售卖机
CN110443922A (zh) * 2019-08-02 2019-11-12 合肥美的智能科技有限公司 控制电控门锁的装置及方法、无人零售设备以及存储介质

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114063541A (zh) * 2021-12-28 2022-02-18 中电工业互联网有限公司 一种智慧零售终端的远程锁机系统及方法
WO2023134109A1 (zh) * 2022-01-14 2023-07-20 合肥美的智能科技有限公司 智能货柜及货柜控制方法

Also Published As

Publication number Publication date
CN110443922A (zh) 2019-11-12

Similar Documents

Publication Publication Date Title
WO2021022797A1 (zh) 控制电控门锁的装置及方法、无人零售设备以及存储介质
JP7258211B2 (ja) 無人販売機器、自動販売システム、及び電源切れ後の電源投入の場合における決済方法
US8269602B2 (en) Security access control system and method for making same
EP1933282B1 (en) Wireless control of security system with key-operated key fob
CN108603383B (zh) 具有错位评分系统的电子锁
US11263892B2 (en) Alarm system with first responder code for building access
US10762766B2 (en) Alarm system with door lock
CN111402452A (zh) 门禁管理方法、装置和系统
US20170004466A1 (en) Cash machine security systems and methods
JP5274503B2 (ja) 電気錠管理システム及び管理装置
KR100648048B1 (ko) 자가 진단 기능을 구비한 전자식 도어록 연동 네트워크시스템 및 그 방법
JP2009084831A (ja) 錠前装置および施解錠方法
CN112211497B (zh) 电子锁的控制方法及储物柜
US11028616B2 (en) System for alarm system arming and door lock operation
JP4092998B2 (ja) 扉の錠の異常状態検知装置
KR101377125B1 (ko) 무선 전기정을 이용한 무선 보안 경비 시스템 및 방법
CN211736835U (zh) 保险柜
CN203372135U (zh) 防止车钥匙误锁于车辆的后备箱的装置和车辆
CN111088927A (zh) 保险柜
US11837036B2 (en) Integrated access control system
US20230417084A1 (en) Detaching a security tag from an article with a magnetic detacher having a movable blocker
US20230417083A1 (en) Magnetic detacher with movable blocker
KR101402052B1 (ko) 디지털 도어록의 배터리 교환시기 알림 제어방법
NL2019806B1 (en) Device for controlling a door lock actuator, and system comprising such device
CN115249390A (zh) 一种智能售货柜的控制方式

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20849660

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20849660

Country of ref document: EP

Kind code of ref document: A1