CN109509285A - Lock body control method, retail units and storage medium - Google Patents
Lock body control method, retail units and storage medium Download PDFInfo
- Publication number
- CN109509285A CN109509285A CN201811654453.0A CN201811654453A CN109509285A CN 109509285 A CN109509285 A CN 109509285A CN 201811654453 A CN201811654453 A CN 201811654453A CN 109509285 A CN109509285 A CN 109509285A
- Authority
- CN
- China
- Prior art keywords
- lock body
- door
- lock
- inductive component
- time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F9/00—Details other than those peculiar to special kinds or types of apparatus
Abstract
The invention discloses a kind of lock body control method, retail units and storage mediums, the retail units include lock body, lock inductive component and door inductive component, the lock body control method is the following steps are included: receive the purchase request that user issues, and control lock body unlock according to the purchase request;Whether control lock inductive component real-time detection lock body playbacks and controls whether door inductive component real-time detection door body closes;Lock body playback and door body are closed, and control lock body latches.Whether the present invention real-time detection user can open and close the door body of retail units when user buys commodity from retail units, and the lock body when user closes door body in control door body latches.By accurately carrying out the unlocking of door body when user buys commodity and latch, improves retail units and latch and lock the accuracy of operation, protect the commercial articles safety in retail units, avoid that commodity loss occurs.
Description
Technical field
The present invention relates to lock field more particularly to a kind of lock body control method, retail units and storage mediums.
Background technique
Inserting lock device is generallyd use in existing retail units to latch to the door body of retail units.User is opening
It can take out of retail units cabinet after lock in retail units door body and corresponding commodity and carry out purchase operation, and
Door body is closed after terminating purchase commodity and is latched.Since inserting lock device structure is simple, retail units can not get lock body
Real time position and door body open and-shut mode so that retail units can not be fallen in time when user terminates to do shopping and close door body
Lock.Therefore, retail units how to be enabled accurately to confirm the door body of retail units and the position of lock body and carry out in time
Lock becomes urgent problem to be solved.
Summary of the invention
The main purpose of the present invention is to provide a kind of lock body control method, retail units and storage mediums, to solve zero
The problem of real time position of door body and lock body to be locked in time can not be detected by selling equipment.
To achieve the above object, the present invention provides a kind of lock body control method, is applied to retail units, the retail units
Including lock body, lock inductive component and door inductive component, the lock body control method the following steps are included:
The purchase request that user issues is received, and lock body unlock is controlled according to the purchase request;
Whether whether control lock inductive component real-time detection lock body playback and control door inductive component real-time detection door body
It closes;
Lock body playback and door body are closed, and control lock body latches.
Optionally, whether the control lock inductive component real-time detection lock body playbacks and controls door inductive component and examine in real time
It surveys before the step of whether door body closes, further includes:
Whether control door inductive component detection door body after the default opening time is opened;
Detect that door body is opened, set state to be latched for lock body status, and execute step: control lock inductive component is real
When detection lock body whether playback and control whether door inductive component real-time detection door body closes;
The lock body playback and door body are closed, and are controlled the step of lock body latches and are included:
Lock body playback and door body are closed, and lock body status is state to be latched, and control lock body latches.
Optionally, whether the control lock inductive component real-time detection lock body playbacks and controls door inductive component and examine in real time
Survey that the step of whether door body closes includes:
Whether control lock inductive component real-time detection receives lock body playback signal and control door inductive component is examined in real time
It surveys and whether receives door body closure signal;
Lock inductive component receives lock body playback signal and door inductive component receives door body closure signal, control lock induction
Lock body playback signal detection operation and control door inductive component is performed a plurality of times in default detection in component in default detection time
The detection operation of door body closure signal is performed a plurality of times in time;
Judge to lock whether inductive component receives lock body playback signal every time in default detection time and judge door
Whether inductive component receives door body closure signal in default detection time every time;Wherein, lock inductive component is in default inspection
It surveys each lock body playback signal and door inductive component of receiving in the time and receives door every time in default detection time
Body closure signal determines that lock body playback and door body are closed.
Optionally, lock body playback signal detection operation is performed a plurality of times in the control lock inductive component in default detection time
And control door inductive component is performed a plurality of times after the step of door body closure signal detection operation in default detection time, is also wrapped
It includes:
Lock inductive component does not receive lock body playback signal or door inductive component at least once in default detection time
Door body closure signal is not received at least once in default detection time, corresponding determining lock body does not playback or door body patent
It closes, and controls lock body unlock and set state to be latched for lock body;
Whether whether control lock inductive component real-time detection lock body reset and control door inductive component real-time detection door body
It closes;
Lock body resets and door body is closed, and lock body status is state to be latched, and control lock body latches.
Optionally, whether the control lock inductive component real-time detection lock body resets and controls door inductive component and examine in real time
Survey that the step of whether door body closes includes:
Whether control lock inductive component real-time detection receives lock body reset signal and control door inductive component is examined in real time
It surveys and whether receives door body closure signal;
Lock inductive component receives lock body reset signal or door inductive component receives door body closure signal, control lock sense
Answer component that lock body reset signal detection operation and control door inductive component are performed a plurality of times in default detection time in default inspection
It surveys in the time and the detection operation of door body closure signal is performed a plurality of times;
Judge to lock whether inductive component receives lock body reset signal and judge door every time in default detection time
Whether inductive component receives door body closure signal in default detection time every time;Wherein, lock inductive component is in default inspection
It surveys each lock body reset signal and door inductive component of receiving in the time and receives door every time in default detection time
Body closure signal determines that lock body resets.
Optionally, the control lock body unlocks and includes: the step of setting state to be latched for lock body
Lock body unlock is controlled, and controls lock body after preset reset time and keeps state to be latched.
Optionally, the purchase request for receiving user and issuing, and the step that lock body unlocks is controlled according to the purchase request
After rapid, further includes:
Door inductive component is opened and controlled to control lock inductive component detection lock body after the default opening time whether pre-
If detecting whether door body is opened after the opening time;
Lock body is not detected and opens or be not detected door body unlatching, confirmation user's time-out does not open door body, and controls lock body
It latches.
Optionally, the purchase request for receiving user and issuing, and the step that lock body unlocks is controlled according to the purchase request
Suddenly include:
The purchase request that user issues is received, and corresponding user information is obtained according to the purchase request;
Determine whether user meets unlatching permission according to the user information;
User, which meets, opens permission, control lock body unlock.
In addition, to achieve the above object, the present invention also provides a kind of retail units, the retail units include lock body, lock
Inductive component and door inductive component, the retail units further include memory, processor and are stored on the memory and can
The lock body control program run on the processor, in which: the lock body control program is realized when being executed by the processor
The step of lock body control method as described above.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium
Lock body control program is stored on storage medium, the lock body control program realizes lock body as described above when being executed by processor
The step of control method.
The embodiment of the present invention proposes a kind of lock body control method, retail units and storage medium, and user is before retail settings
When buying commodity, purchase request can be issued to retail units.Retail units are after the purchase request for receiving user's sending, control
The lock body of retail units processed unlocks, and enables a user to open the door body of retail units, and take from cabinet and want purchase
The commodity bought.Retail units control lock inductive component after lock body opening is detected and is controlled door induction to the position of lock body
Whether component detects the position of door body, revert to latch position and door body whether be closed by detecting lock body and determine
Whether user closes door body, judges that the door body of retail units has been switched off when lock body playback and door body are closed, and to lock
Body latches.It, can be when user buys commodity certainly by effectively detecting the position of lock body and door body on retail units
It is dynamic to open door body, and latch automatically when user is closed door body, prevent commodity from losing when door body is not latched.It improves
The intelligence and safety that user does shopping on retail units.
Detailed description of the invention
Fig. 1 is the apparatus structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of lock body control method first embodiment of the present invention;
Fig. 3 is the flow diagram of lock body control method second embodiment of the present invention;
Fig. 4 is the refinement flow diagram of step S20 in lock body control method second embodiment of the present invention;
Fig. 5 be the door body of retail units provided in an embodiment of the present invention be close when structural schematic diagram;
Fig. 6 be the door body of retail units provided in an embodiment of the present invention be open when structural schematic diagram.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As shown in Figure 1, Fig. 1 is the apparatus structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
As shown in Figure 1, the terminal may include: processor 1001, such as CPU, communication bus 1002, user interface
1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is for realizing the connection communication between these components.
User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface
1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include that the wired of standard connects
Mouth, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable memory
(non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor
1001 storage device.
Optionally, terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio
Circuit, WiFi module etc..Certainly, hardware device can also configure gyroscope, barometer, hygrometer, thermometer, infrared ray sensing
The other sensors such as device, details are not described herein.
Processor 1001 can be used for that the lock body stored in memory 1005 is called to control program, and execute following hardware side
Respectively implement the step in method:
The purchase request that user issues is received, and lock body unlock is controlled according to the purchase request;
Whether whether control lock inductive component real-time detection lock body playback and control door inductive component real-time detection door body
It closes;
Lock body playback and door body are closed, and control lock body latches.
Further, processor 1001 can be used for that the lock body stored in memory 1005 is called to control program, also execute
It operates below:
Whether control door inductive component detection door body after the default opening time is opened;
Detect that door body is opened, set state to be latched for lock body status, and execute step: control lock inductive component is real
When detection lock body whether playback and control whether door inductive component real-time detection door body closes;
Lock body playback and door body are closed, and lock body status is state to be latched, and control lock body latches.
Further, processor 1001 can be used for that the lock body stored in memory 1005 is called to control program, also execute
It operates below:
Whether control lock inductive component real-time detection receives lock body playback signal and control door inductive component is examined in real time
It surveys and whether receives door body closure signal;
Lock inductive component receives lock body playback signal and door inductive component receives door body closure signal, control lock induction
Lock body playback signal detection operation and control door inductive component is performed a plurality of times in default detection in component in default detection time
The detection operation of door body closure signal is performed a plurality of times in time;
Judge to lock whether inductive component receives lock body playback signal every time in default detection time and judge door
Whether inductive component receives door body closure signal in default detection time every time;Wherein, lock inductive component is in default inspection
It surveys each lock body playback signal and door inductive component of receiving in the time and receives door every time in default detection time
Body closure signal determines that lock body playback and door body are closed.
Further, processor 1001 can be used for that the lock body stored in memory 1005 is called to control program, also execute
It operates below:
Lock inductive component does not receive lock body playback signal or door inductive component at least once in default detection time
Door body closure signal is not received at least once in default detection time, corresponding determining lock body does not playback or door body patent
It closes, and controls lock body unlock and set state to be latched for lock body;
Whether whether control lock inductive component real-time detection lock body reset and control door inductive component real-time detection door body
It closes;
Lock body resets and door body is closed, and lock body status is state to be latched, and control lock body latches.
Further, processor 1001 can be used for that the lock body stored in memory 1005 is called to control program, also execute
It operates below:
Whether control lock inductive component real-time detection receives lock body reset signal and control door inductive component is examined in real time
It surveys and whether receives door body closure signal;
Lock inductive component receives lock body reset signal or door inductive component receives door body closure signal, control lock sense
Answer component that lock body reset signal detection operation and control door inductive component are performed a plurality of times in default detection time in default inspection
It surveys in the time and the detection operation of door body closure signal is performed a plurality of times;
Judge to lock whether inductive component receives lock body reset signal and judge door every time in default detection time
Whether inductive component receives door body closure signal in default detection time every time;Wherein, lock inductive component is in default inspection
It surveys each lock body reset signal and door inductive component of receiving in the time and receives door every time in default detection time
Body closure signal determines that lock body resets.
Further, processor 1001 can be used for that the lock body stored in memory 1005 is called to control program, also execute
It operates below:
Lock body unlock is controlled, and controls lock body after preset reset time and keeps state to be latched.
Further, processor 1001 can be used for that the lock body stored in memory 1005 is called to control program, also execute
It operates below:
Door inductive component is opened and controlled to control lock inductive component detection lock body after the default opening time whether pre-
If detecting whether door body is opened after the opening time;
Lock body is not detected and opens or be not detected door body unlatching, confirmation user's time-out does not open door body, and controls lock body
It latches.
Further, processor 1001 can be used for that the lock body stored in memory 1005 is called to control program, also execute
It operates below:
The purchase request that user issues is received, and corresponding user information is obtained according to the purchase request;
Determine whether user meets unlatching permission according to the user information;
User, which meets, opens permission, control lock body unlock.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 1, can wrap
It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in Figure 5 and Figure 6, Fig. 5 is 11 closed state of retail units door body of the present invention, and Fig. 6 is retail units of the present invention
11 opening state of door body.The terminal of that embodiment of the invention can be retail units, or other self-service devices.Retail is set
Standby includes cabinet 10 and door body 11, the cavity for placing commodity is provided in cabinet 10, door body 11 and cabinet 10 are hinged, door body
11 in closed state can close cabinet 10.When user pulls open door body 11, retail can be taken out out of cabinet 10 and is set
The standby extensive stock stored.Retail units further include having the lock body 12 for being set to 10 junction of door body 11 and cabinet, lock induction
Component and door inductive component.Wherein, lock body 12 includes the locking plate being arranged in door body 11 and the lock tongue being arranged on cabinet 10,
Lockhole corresponding with lock tongue is provided on locking plate, lock tongue can be fallen into lockhole to fall door body 11 in closed state
Lock, prevents door body 11 to be opened.Locking inductive component includes lock induced emission device 131 and lock induction reception device 132, lock induction
Emitter 131 and lock induction reception device 132 are respectively arranged in door body 11 and cabinet 10, and lock induced emission device 131
It is located on mutual corresponding position with lock induction reception device 132.When lock induction reception device 132 is able to detect that lock induction hair
When the inductive signal that injection device 131 emits, indicate that lock body 12 is located at the position that can be latched at this time, lock tongue is corresponding with institute's lockhole;
When lock induction reception device 132 can't detect inductive signal, indicate that lock body 12 is not in the position that can be latched at this time.Equally
Ground, door inductive component include door induced emission device 141 and door induction reception device 142, the structure and principle of door inductive component
It is identical as lock inductive component, and multiple inductive components can also be set on retail units on the different location of door body 11.
Referring to figure 2., Fig. 2 is the flow diagram of lock body control method first embodiment of the present invention, wherein the lock body
Control method is applied to retail units, and the retail units include lock body, lock inductive component and door inductive component, the lock body control
Method processed includes the following steps:
Step S10 receives the purchase request that user issues, and controls lock body unlock according to the purchase request;
Retail units can pull open door body after the door body unlock of retail units to user's vending articles, user,
And the commodity for user's needs of taking from the cabinet of retail units.User closes door body after all commodity of having taken, retail
Equipment the commodity taken of automatic identification user and will take off corresponding commodity cost from the account of user.User is to retail
After equipment issues purchase request, retail units can receive the purchase request of user's sending, and by purchase request corresponding zero
The lock body sold in equipment is unlocked.After lock body unlock on retail units, user can open the door body of retail units
And commodity are taken out out of retail units.
Whether step S20, control lock inductive component real-time detection lock body playback and control door inductive component real-time detection
Whether door body closes;
After retail units control lock body unlock, user can open the door body of retail units.It is arranged on retail units
There are the lock inductive component and the door inductive component whether closed for detecting door body for detecting whether lock body playbacks.Lock body is returned
Position refers to that lock body is in the position that can latch, and door body closing refers to that user closes open door body after shopping,
To realize the clearing of commodity price.After user opens door body, lock body leaves the position that can be latched, and locks inductive component and then can
Whether enough real-time detection lock bodies revert to the position that can latch, while door body is left due to being pulled open by user in closure and cabinet
Contact surface, at this time door inductive component can real-time detection door body whether be closed by the user.Specifically, lock body may include locking plate
And lock tongue, lockhole corresponding with lock tongue is provided on locking plate, lock tongue can be fallen into lockhole when falling then indicates that lock body is locked,
Door body can not be opened by user at this time.When retail units are unlocked lock body, lock tongue, which pops up, leaves lockhole, uses at this time
Family can open the door body of retail units.And after user opens door body, the relative position between lock tongue and lockhole changes,
Lock tongue can not be fallen in lockhole, i.e., lock body leaves the position that can be latched, while door body also becomes opening state from closed state.
Step S30, lock body playback and door body are closed, and control lock body latches.
Retail units can be examined in real time by the position of lock inductive component real-time detection lock body and by door inductive component
Survey door body position, when lock inductive component detect lock body be in can latch position and door body in the closed position when, indicate
User closes door body after opening door body takes commodity.Retail units are detecting lock body playback and door body closing
Afterwards, lock body can be controlled to latch.Lock body indicates that user this time does shopping and finishes that user can not be again turned on retail units after latching
Door body, retail units can determine all commodity and the deduction commodity pair from user's corresponding account that user has taken at this time
Valence.
In the present embodiment, user can send purchase request to retail units, required to take in retail units
Commodity.Retail units carry out the lock body for being used to lock door body on retail units after the purchase request for getting user's transmission
Unlock, user can open door body and commodity of taking from cabinet after unlock, and after user opens door body, retail units pass through lock
Inductive component and door inductive component carry out the physical location of real-time detection lock body and door body.After user closes door body, sense group is locked
Part is able to detect that the physical location of lock body is in the position that can be latched, and door inductive component is able to detect that door body is closed by user
It closes, to constitute closed space with cabinet to protect the commodity in retail units.Retail units detect lock body playback with
And lock body can be controlled after door body closing and locked, door body is lockked, door body is prevented to be opened so as to cause retail units
Interior commodity are lost.Opening and closing by the lock body being arranged on control retail units, enables to user on retail units
The simply, easily self-service purchase for carrying out commodity, promotes the convenience of user's shopping.Pass through lock inductive component and door inductive component
Detecting the position of lock body and door body in time and latch enables to retail units all to transport in retail units in door body and lock body
It is operated normally during row, further improves retail units and latch and lock the accuracy operated, while promoting retail and setting
The safety of standby vending articles, avoids commodity from losing.
Further, referring to Fig. 3, Fig. 3 is the flow diagram of lock body control method second embodiment of the present invention, in this reality
It applies in example, the step S20, whether control lock inductive component real-time detection lock body playbacks and control door inductive component is examined in real time
It surveys before the step of whether door body closes further include:
Whether step S21, control door inductive component detection door body after the default opening time are opened;
Step S22 detects that door body is opened, sets state to be latched for lock body status, and executes step: control lock sense
Component real-time detection lock body is answered whether to playback and control whether door inductive component real-time detection door body closes;
The step S30, lock body playback and door body are closed, and are controlled the step of lock body latches and are included:
Step S31, lock body playback and door body are closed, and lock body status is state to be latched, and control lock body latches.
In the present embodiment, retail units wait the default opening time after control lock body unlock.And in default open
Between after control door inductive component detection door body whether opened by user.When door inductive component detects that door body is opened by user,
The state of lock body is set state to be latched by retail units, the lock inductive component energy under wait the state of latching, on retail units
Whether enough real-time detection lock bodies are in the position that can be latched, door inductive component can real-time detection user whether terminate purchase operation
And close door body.When lock inductive component detects that lock body is in the position that can be latched and door inductive component real-time detection to door body
Close, and the state of lock body be wait latch state when, indicate that user has taken at this time and all commodity and close door body, be sold
Equipment can control lock body and lock to close door body.Since lock body is fallen in such a way that lock tongue is mutually chimeric with lockhole
Whether lock, position can be latched and whether door body closes by being in by detecting lock body, can guarantee to lock in door body normal switching-off
Tongue can correctly be fallen into corresponding lockhole in locking, to realize the locking of retail units door body, be significantly reduced
Mistake occurs and fails the risk for closing door body when the door body locking of retail units, improves user and is carried out on retail units
The safety of shopping,
It should be noted that retail units can be controlled by sending different driving signals to lock body lock body locking with
It latches.For example, retail units can send high level and low level to lock body, lock body receives the high level of retail units transmission
When, lock body unlock;When lock body receives the low level of retail units transmission, lock body can't lock immediately, but enter
State to be latched, lock body under the state of latching wait need just to will do it the behaviour that latches when locking inductive component and detecting lock body playback
Make.Lock tongue can correctly be fallen into corresponding lockhole when ensuring that lock body latches, to realize the function that door body is locked
Energy.
It further, is the refinement process of step S20 in lock body control method second embodiment of the present invention referring to Fig. 4, Fig. 4
Schematic diagram, the step S20, whether control lock inductive component real-time detection lock body playbacks and control door inductive component is examined in real time
Survey that the step of whether door body closes includes:
Whether step S23, control lock inductive component real-time detection receive lock body playback signal and control door sense group
Whether part real-time detection receives door body closure signal;
Step S24, lock inductive component receives lock body playback signal and door inductive component receives door body closure signal, controls
Lock body playback signal detection operation is performed a plurality of times in lockmaking inductive component in default detection time and control door inductive component exists
The detection operation of door body closure signal is performed a plurality of times in default detection time;
Step S25, judge to lock inductive component whether received every time in default detection time lock body playback signal with
And judge whether door inductive component receives door body closure signal in default detection time every time;Wherein, inductive component is locked
Lock body playback signal and door inductive component are received every time in default detection time in default detection time every time
Door body closure signal is received, determines that lock body playback and door body are closed.
In the present embodiment, retail units can control lock inductive component to lock body playback signal be measured in real time and
Control door inductive component is measured in real time door body closure signal.Locking inductive component includes that lock induction reception device and lock incude
Emitter, when lock body, which is located at, can latch position, lock induction reception device is able to detect that lock induced emission device issued
Lock body playback signal;When lock body, which leaves, can latch position, lock induction reception device will not be able to detect lock body playback signal.
The testing principle of door inductive component is identical as lock inductive component, multiple inductive components can be set in door body, with further
Determine whether all parts of door body have been bonded cabinet and have remained off.Therefore, retail units are returned in real-time detection lock body
When position signal and door body closure signal, if lock inductive component detects lock body playback signal and door inductive component detects door body
Closure signal, then it represents that normal switching-off and lock body the lock induction reception device when position can be latched by being in have received door body
Lock the door body closure signal and lock body playback signal that induced emission device issues.
When lock inductive component receives lock body playback signal, retail units are able to confirm that lock body on the position that can be latched
When, lock induction reception device detects the lock body playback signal that lock induced emission device issues.But in the actual operation of user
In the process, various unusual conditions may be generated when user closes door body.For example, user close door body when with compared with
Fast speed pulls open door body again so that lock body when latching since door body has had been moved off the position that can be latched, cause
Lock failure, so that commodity are easily lost when door body has not been able to successfully be locked.Therefore, it is received in lock inductive component
Lock body playbacks after signal, it is also necessary to which control lock inductive component repeats in detection time preset again repeatedly to lock body playback signal
It is detected.When lock body playback signal can be received in repeated detection operation each time by locking inductive component, then it represents that
Lock body is in the position that can latch really, can control lock body and latch to close door body.Due to only being grasped by one-time detection
Make the influence that the mode of detection lock body playback signal is displaced vulnerable to door body, therefore, after receiving lock body playback signal,
It can further determine whether door body and lock body are in the position that can latch by the way that detection operation is repeated several times, enhance lock body and latch
Reliability and certainty.
Obviously, the repeated detection of door inductive component determines the multiple of method that whether door body closes and above-mentioned lock inductive component
Detection method is identical, will not repeat them here.
Further, in lock body control method 3rd embodiment of the present invention, the step S24, control lock inductive component
Lock body playback signal detection operation and control door inductive component are performed a plurality of times in default detection time in default detection time
After the step of detection operation of door body closure signal is inside performed a plurality of times further include:
Step S40, lock inductive component do not receive lock body playback signal or door at least once in default detection time
Inductive component does not receive door body closure signal at least once in default detection time, and corresponding determining lock body does not playback or door
Body is not closed, and controls lock body unlock and set state to be latched for lock body;
Whether step S50, control lock inductive component real-time detection lock body reset and control door inductive component real-time detection
Whether door body closes;
Step S60, lock body resets and door body is closed, and lock body status is state to be latched, and control lock body latches.
In the present embodiment, it locks inductive component and door inductive component needs to carry out multiple lock body playback signal and door body is closed
Close the detection operation of signal.Return when lock inductive component has detection operation at least once not receive lock body in repeated detection operation
When the signal of position, then it can determine that lock body is not in the position that can latch.It needs to carry out reset operation to lock body at this time, so that lock body
It can continue to normal use.In a reset operation, after determining that lock body is not in and can latch position, no matter whether lock body falls at this time
Lock body, is all unlocked, and set state to be latched for lock body status by lock.At this point, door body can since lock body has unlocked
It is pulled open by user or staff, after lock inductive component can not detect lock body playback signal, control lock inductive component is real-time
Whether detection lock body resets, that is, detects whether to receive lock body reset signal again, lock body reset signal refers to that lock body is resetting
The signal that the lock body that inductive component receives is in the position that can latch is locked in operation.When lock inductive component detects that lock body is multiple again
Position signal and the state of lock body at this time be wait latch state when, control lock body re-starts locking to realize the reset of lock, thus
So that lock body can continue to normal use.It is apparent that door inductive component can also be by judging whether in repeated detection operates
Detection operation does not receive lock body playback signal to determine that door body is not closed at least once, and principle is identical as lock inductive component,
This is no longer repeated.
Further, in lock body control method 3rd embodiment of the present invention, the step S50, control lock inductive component
Whether real-time detection lock body, which resets and control the step of whether door inductive component real-time detection door body closes, includes:
Whether step S51, control lock inductive component real-time detection receive lock body reset signal and control door sense group
Whether part real-time detection receives door body closure signal;
Step S52, lock inductive component receives lock body reset signal or door inductive component receives door body closure signal,
Lock body reset signal detection operation and control door inductive component is performed a plurality of times in control lock inductive component in default detection time
The detection operation of door body closure signal is performed a plurality of times in default detection time;
Step S53, judge to lock inductive component whether received every time in default detection time lock body reset signal with
And judge whether door inductive component receives door body closure signal in default detection time every time;Wherein, inductive component is locked
It is equal every time in default detection time to receive lock body reset signal and door inductive component every time in default detection time
Door body closure signal is received, determines that lock body resets.
In the present embodiment, retail units can control lock inductive component and lock body reset signal is detected and controlled in real time
Door inductive component processed in real time detects door body closure signal, when locking inductive component and receiving lock body reset signal, then table
Show that lock body is on the position that can be latched at this time.Similarly, when door inductive component receives door body closure signal, door body at this time is indicated
It has been closed.It can latch since lock inductive component can not detect whether lock body is constantly in a lock body reset signal
Position, retail units repeatedly can carry out detection behaviour to lock body reset signal in preset detection time by locking inductive component
Make, if lock body reset signal can be received in repeated detection operation, indicate that lock body is constantly in the position that can latch really,
I.e. lock body successfully resets.In a reset operation, the abnormal feelings that lock body is displaced after reaching the position that can latch can equally be generated
Condition is operated by repeated detection at this time, can judge whether lock body is constantly in the position that can latch, that is, determines whether lock body is multiple
Position, so that lock body being capable of proper reset in a reset operation.Similarly, door inductive component can connect in repeated detection operation
When receiving door body closure signal, indicate that door body is always maintained at closed state.Only lock inductive component and door inductive component can
It is enough to receive corresponding signal in each detection operation, it could indicate that normally closed and determining lock body reset door body,
And then it latches in a reset operation.
Further, in lock body control method 3rd embodiment of the present invention, the step S40, control lock body unlock with
And the step of by lock body setting state to be latched, includes:
Step S41, control lock body unlock, and control lock body after preset reset time and keep state to be latched.
In the present embodiment, retail units are controlled in a reset operation after lock body is unlocked, and can be set in advance waiting
State to be latched is set by the state of lock body again after the resetting time set.Since lock body is when having latched, if retail units control
The unlock of lockmaking body, then the lock tongue needs on lock body are popped up to leave corresponding lockhole, and lock tongue leaves lockhole and pops up
Need the corresponding time, at this moment by lock body status be set to wait latch state when, lock tongue will fall into lockhole again at once, thus
So that resetting operation failure.Therefore, after lock body unlock, retail units again can be set lock body to after waiting for a period of time
State to be latched, to continue the reset operation of lock body.
Further, in lock body control method fourth embodiment of the present invention, the step S10 receives what user issued
Purchase request, and after the step of controlling lock body unlock according to the purchase request further include:
Door induction is opened and controlled to step S70, control lock inductive component detection lock body after the default opening time whether
Whether component detection door body after the default opening time is opened;
Step S80 is not detected lock body and opens or be not detected door body unlatching, and confirmation user's time-out does not open door body, and
Control lock body latches.
In the present embodiment, retail units are receiving the purchase request of user's sending and by the lock body solution on retail units
After lock, control lock inductive component and door inductive component are detected again after waiting for a period of time.This is to set in advance for a period of time
Fixed gives user's time for opening retail units door body, and specifically, the default opening time can be set to 30 seconds.It is waiting
After the default opening time, if being not detected, lock body is opened or door body is opened, then it represents that user is not turned within the opening time
Door body and commodity of taking.Retail units can determine that user's time-out is not carried out the operation of enabling picking, and lock body is latched, with
It avoids lock body from being continuously maintained in unlocked state and commodity in retail units is caused to be taken by other people other than user, enhancing zero
Sell the safety that equipment is sold goods.
Further, in the 5th embodiment of lock body control method of the present invention, the step S10 receives what user issued
Purchase request, and the step of controlling lock body unlock according to the purchase request includes:
Step S11 receives the purchase request that user issues, and obtains corresponding user information according to the purchase request;
Step S12 determines whether user meets unlatching permission according to the user information;
Step S13, user, which meets, opens permission, control lock body unlock.
In the present embodiment, retail units can receive the purchase request of user's sending.Specifically, user can pass through zero
Sell display screen or input field in equipment and issued to retail units include userspersonal information purchase request;User can also
To issue purchase request to corresponding retail units by mobile device.Retail units, can be true when getting purchase request
Determine the personal information of user, and user identity is determined according to the personal information of user.Since retail units need to take in user
Corresponding consideration for commodities is deducted after commodity, therefore before the door lock for opening retail units, it is thus necessary to determine that whether user has unlatching
The corresponding authority of retail units.After the unlatching permission according to user identification confirmation user, wanting for permission is opened when user meets
When asking, retail units control lock body unlock.After the identity of confirmation user and the permission of user, the lock body of retail units is opened
It opens, enables a user to commodity of taking from retail units, the supplier of retail units can be helped effectively to identify user's
Identity, and corresponding fund is deducted from the account of user according to the identity of user.By user identity identification, effectively improve
The shopping experience of user, and the user that can be avoided insufficient permission takes commodity from retail units and is unable to get corresponding valence
Money can not withdraw corresponding cost when commodity being avoided to be taken out easily by the user, to generate economic loss.
Furthermore the embodiment of the present invention also proposes a kind of computer readable storage medium, is stored thereon with lock body control program,
The storage medium can be the memory 1005 in the terminal of Fig. 1, be also possible to as ROM (Read-Only Memory, it is read-only
Memory)/RAM (Random Access Memory, random access memory), magnetic disk, at least one of CD, the meter
Calculation machine readable storage medium storing program for executing includes that some instructions are used so that a terminal device with processor (can be mobile phone, calculate
Machine, server or TV etc.) execute method described in each embodiment of the present invention.
It is understood that in the description of this specification, reference term " embodiment ", " another embodiment ", " other
The description of embodiment " or " first embodiment~N embodiment " etc. means specific spy described in conjunction with this embodiment or example
Sign, structure, material or feature are included at least one embodiment or example of the invention.In the present specification, to above-mentioned
The schematic representation of term may not refer to the same embodiment or example.Moreover, the specific features of description, structure, material
Or feature can be combined in any suitable manner in any one or more of the embodiments or examples.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone,
Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (11)
1. a kind of lock body control method is applied to retail units, which is characterized in that the retail units include lock body, lock induction
Component and door inductive component, the lock body control method the following steps are included:
The purchase request that user issues is received, and lock body unlock is controlled according to the purchase request;
Whether control lock inductive component real-time detection lock body playbacks and controls whether door inductive component real-time detection door body closes;
Lock body playback and door body are closed, and control lock body latches.
2. lock body control method as described in claim 1, which is characterized in that inductive component real-time detection lock body is locked in the control
Before whether playbacking and controlling the step of whether door inductive component real-time detection door body closes, further includes:
Whether control door inductive component detection door body after the default opening time is opened;
Detect that door body is opened, set state to be latched for lock body status, and execute step: control lock inductive component is examined in real time
Survey whether lock body playbacks and control whether door inductive component real-time detection door body closes;
The lock body playback and door body are closed, and are controlled the step of lock body latches and are included:
Lock body playback and door body are closed, and lock body status is state to be latched, and control lock body latches.
3. lock body control method as described in claim 1, which is characterized in that inductive component real-time detection lock body is locked in the control
Whether playback and control that the step of whether door inductive component real-time detection door body closes includes:
Whether control lock inductive component real-time detection receives lock body playback signal and control door inductive component real-time detection is
It is no to receive door body closure signal;
Lock inductive component receives lock body playback signal and door inductive component receives door body closure signal, control lock inductive component
Lock body playback signal detection operation and control door inductive component are performed a plurality of times in default detection time in default detection time
The detection operation of door body closure signal is inside performed a plurality of times;
Judge to lock whether inductive component receives lock body playback signal every time in default detection time and judge that door incudes
Whether component receives door body closure signal in default detection time every time;Wherein, lock inductive component is in default detection
It is interior to receive lock body playback signal every time and door inductive component receives door body every time in default detection time and closes
Signal is closed, determines that lock body playback and door body are closed.
4. lock body control method as claimed in claim 3, which is characterized in that the control lock inductive component is in default detection
In lock body playback signal detection operation is performed a plurality of times and door is performed a plurality of times in default detection time in control door inductive component
After the step of body closure signal detection operation, further includes:
Lock inductive component does not receive lock body playback signal or door inductive component pre- at least once in default detection time
It is corresponding to determine that lock body does not playback or door body is not closed if not receiving door body closure signal in detection time at least once, and
Control lock body unlocks and sets state to be latched for lock body;
Whether control lock inductive component real-time detection lock body resets and controls whether door inductive component real-time detection door body closes;
Lock body resets and door body is closed, and lock body status is state to be latched, and control lock body latches.
5. lock body control method as claimed in claim 4, which is characterized in that inductive component real-time detection lock body is locked in the control
Whether reset and controls that the step of whether door inductive component real-time detection door body closes includes:
Whether control lock inductive component real-time detection receives lock body reset signal and control door inductive component real-time detection is
It is no to receive door body closure signal;
Lock inductive component receives lock body reset signal or door inductive component receives door body closure signal, control lock sense group
Lock body reset signal detection operation and control door inductive component is performed a plurality of times in default detection in part in default detection time
It is interior that the detection operation of door body closure signal is performed a plurality of times;
Judge to lock whether inductive component receives lock body reset signal every time in default detection time and judge that door incudes
Whether component receives door body closure signal in default detection time every time;Wherein, lock inductive component is in default detection
It is interior receive lock body reset signal and door inductive component every time and receive door body every time in default detection time close
Signal is closed, determines that lock body resets.
6. lock body control method as claimed in claim 4, which is characterized in that the control lock body unlocks and lock body is arranged
Include: for the step of state to be latched
Lock body unlock is controlled, and controls lock body after preset reset time and keeps state to be latched.
7. the lock body control method as described in any one of claim 1-6, which is characterized in that described to receive what user issued
Purchase request, and after the step of controlling lock body unlock according to the purchase request, further includes:
Door inductive component is opened and controlled to control lock inductive component detection lock body after the default opening time whether to be opened default
Whether detection door body is opened after opening the time;
Lock body is not detected and opens or be not detected door body unlatching, confirmation user's time-out does not open door body, and controls lock body and latch.
8. the lock body control method as described in any one of claim 1-6, which is characterized in that described to receive what user issued
Purchase request, and the step of controlling lock body unlock according to the purchase request includes:
The purchase request that user issues is received, and corresponding user information is obtained according to the purchase request;
Determine whether user meets unlatching permission according to the user information;
User, which meets, opens permission, control lock body unlock.
9. a kind of retail units, the retail units include the cabinet for offering cavity and the hinged door body of cabinet, are set to door
The lock body of body and cabinet junction, which is characterized in that the retail units further include locking inductive component and door inductive component, described
Locking inductive component includes lock induced emission device and lock induction reception device, and the lock induced emission device and lock induction connect
Receiving apparatus is respectively arranged in the door body and the mutual corresponding position of the cabinet, and the door inductive component includes door induction hair
Injection device and door incude reception device, and the door induced emission device and door induction reception device are respectively arranged at the door
On body and the mutual corresponding position of the cabinet.
10. a kind of retail units, which is characterized in that the retail units include memory, processor and are stored in the storage
On device and the lock body control program that can run on the processor, in which: lock body control program is held by the processor
It realizes when row such as the step of lock body control method described in any item of the claim 1 to 8.
11. a kind of computer readable storage medium, which is characterized in that be stored with lock body control on the computer readable storage medium
Processing procedure sequence, the lock body control program realize that lock body described in any item of the claim 1 to 8 such as controls when being executed by processor
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811654453.0A CN109509285A (en) | 2018-12-29 | 2018-12-29 | Lock body control method, retail units and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811654453.0A CN109509285A (en) | 2018-12-29 | 2018-12-29 | Lock body control method, retail units and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109509285A true CN109509285A (en) | 2019-03-22 |
Family
ID=65757138
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811654453.0A Pending CN109509285A (en) | 2018-12-29 | 2018-12-29 | Lock body control method, retail units and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109509285A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110273589A (en) * | 2019-06-14 | 2019-09-24 | 合肥美的智能科技有限公司 | Control system of electric mortise lock, door assembly and automatic sales counter |
CN111932791A (en) * | 2020-08-06 | 2020-11-13 | 合肥美的智能科技有限公司 | Control method and control device of storage cabinet and storage cabinet |
CN112200937A (en) * | 2019-06-20 | 2021-01-08 | 深圳市银方加博科技有限公司 | Door lock control method, door lock and intelligent door |
CN115249390A (en) * | 2022-07-29 | 2022-10-28 | 青岛海容商用冷链股份有限公司 | Control mode of intelligent sales counter |
CN116321884A (en) * | 2023-05-18 | 2023-06-23 | 成都特锐泰雷兹电子应用科技有限公司 | Integrated shielding cabinet |
WO2023134109A1 (en) * | 2022-01-14 | 2023-07-20 | 合肥美的智能科技有限公司 | Smart container and container control method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105071479A (en) * | 2015-08-18 | 2015-11-18 | 国网山东桓台县供电公司 | Dedicated double-door type protection device for intelligent charging pile of power system |
CN207409018U (en) * | 2017-10-14 | 2018-05-25 | 浙江鑫飞智能工程有限公司 | Intelligent safety and defence system |
CN108447197A (en) * | 2018-02-07 | 2018-08-24 | 申斌 | Merchandise sales control method, merchandise sales terminal and system |
CN108734817A (en) * | 2017-04-18 | 2018-11-02 | 浙江安尼智能门窗有限公司 | A kind of smart lock of infrared door position detection |
-
2018
- 2018-12-29 CN CN201811654453.0A patent/CN109509285A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105071479A (en) * | 2015-08-18 | 2015-11-18 | 国网山东桓台县供电公司 | Dedicated double-door type protection device for intelligent charging pile of power system |
CN108734817A (en) * | 2017-04-18 | 2018-11-02 | 浙江安尼智能门窗有限公司 | A kind of smart lock of infrared door position detection |
CN207409018U (en) * | 2017-10-14 | 2018-05-25 | 浙江鑫飞智能工程有限公司 | Intelligent safety and defence system |
CN108447197A (en) * | 2018-02-07 | 2018-08-24 | 申斌 | Merchandise sales control method, merchandise sales terminal and system |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110273589A (en) * | 2019-06-14 | 2019-09-24 | 合肥美的智能科技有限公司 | Control system of electric mortise lock, door assembly and automatic sales counter |
WO2020248607A1 (en) * | 2019-06-14 | 2020-12-17 | 合肥美的智能科技有限公司 | Control system for electric bolt lock, electric bolt lock, door assembly, and vending cabinet |
CN112200937A (en) * | 2019-06-20 | 2021-01-08 | 深圳市银方加博科技有限公司 | Door lock control method, door lock and intelligent door |
CN111932791A (en) * | 2020-08-06 | 2020-11-13 | 合肥美的智能科技有限公司 | Control method and control device of storage cabinet and storage cabinet |
WO2023134109A1 (en) * | 2022-01-14 | 2023-07-20 | 合肥美的智能科技有限公司 | Smart container and container control method |
CN115249390A (en) * | 2022-07-29 | 2022-10-28 | 青岛海容商用冷链股份有限公司 | Control mode of intelligent sales counter |
CN116321884A (en) * | 2023-05-18 | 2023-06-23 | 成都特锐泰雷兹电子应用科技有限公司 | Integrated shielding cabinet |
CN116321884B (en) * | 2023-05-18 | 2023-08-18 | 成都特锐泰雷兹电子应用科技有限公司 | Integrated shielding cabinet |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109509285A (en) | Lock body control method, retail units and storage medium | |
US20210065158A1 (en) | System and Method for Location-Based Transactions | |
JP6359124B2 (en) | Wearable RFID device with manually operated RFID tag | |
US20200135012A1 (en) | Mechanisms for securing goods at a point-of-sale | |
JP2021513140A (en) | Unmanned sales equipment, sales methods and unmanned sales systems | |
US20180260877A1 (en) | Order determination in an unmanned store | |
CN109166000B (en) | Intelligent container and method for creating order | |
CN106605253A (en) | Secure cardless cash withdrawal | |
JP2018513514A (en) | Product sales system using RFID | |
JP6580651B2 (en) | Information processing apparatus, information processing apparatus control method, information processing apparatus control program, and article providing system | |
WO2018219047A1 (en) | Payment method, equipment and device | |
JP2021511599A (en) | Unmanned sales equipment, sales methods and unmanned sales systems | |
US20160071194A1 (en) | Providing Interactive Notifications for Completing Online Transactions | |
CN108648377A (en) | Automatically vending system based on unmanned retail units and method | |
JP7444160B2 (en) | Store systems, payment methods, and programs | |
US20180059208A1 (en) | Information processing device, information processing method, program, and information processing system | |
KR20200143884A (en) | Uninhabited payment and stock management system | |
US20200097940A1 (en) | Product management device, control method for product management device, and program | |
JP7378075B2 (en) | Sales equipment, sales system and sales method | |
CN105981348A (en) | Securely determining the location of a user | |
CN110164032A (en) | Automatic vending machine and its data processing method and automatically vending system | |
CN103903360A (en) | Detecting method, server and system for objects in self-service equipment | |
CN110363626A (en) | A kind of unmanned counter behavior pattern monitoring method, electronic equipment and unmanned counter | |
CN101859465B (en) | Information processing apparatus and method, communication apparatus and method, and information processing system | |
US20190325178A1 (en) | Monitoring apparatus and method for casino chip management |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190322 |
|
RJ01 | Rejection of invention patent application after publication |