CN109448206A - Lock body control method, retail units and storage medium - Google Patents

Lock body control method, retail units and storage medium Download PDF

Info

Publication number
CN109448206A
CN109448206A CN201811654458.3A CN201811654458A CN109448206A CN 109448206 A CN109448206 A CN 109448206A CN 201811654458 A CN201811654458 A CN 201811654458A CN 109448206 A CN109448206 A CN 109448206A
Authority
CN
China
Prior art keywords
lock body
lock
inductive component
time
control
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
Application number
CN201811654458.3A
Other languages
Chinese (zh)
Inventor
陶海金
戴江
吕秀凤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hefei Midea Intelligent Technologies Co Ltd
Original Assignee
Hefei Midea Intelligent Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hefei Midea Intelligent Technologies Co Ltd filed Critical Hefei Midea Intelligent Technologies Co Ltd
Priority to CN201811654458.3A priority Critical patent/CN109448206A/en
Publication of CN109448206A publication Critical patent/CN109448206A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00182Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with unidirectional data transmission between data carrier and locks
    • GPHYSICS
    • 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

Landscapes

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

Abstract

The invention discloses a kind of lock body control method, retail units and storage mediums, the retail units include lock body and lock 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;Lock body playback, control lock body latch.The present invention can be when user buys commodity from retail units, the purchase for receiving user requests and is unlocked the lock body on retail units, to facilitate user to take commodity, and whether real-time detection user closes the door body of 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 latching, so that user protects the commercial articles safety in retail units when easily doing shopping, avoid that commodity loss occurs.

Description

Lock body control method, retail units and storage medium
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.Inserting lock device is the lockhole that is fallen on corresponding locking plate by lock tongue to carry out Latch operation, and since inserting lock device structure is simple, retail units can not get the state of lock body in real time.Therefore, it is fallen in lock body If having not been able to normally latch when lock, it will so that the door body of retail units can not close, so as to cause the commodity in retail units It loses.
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 Sell the problem of equipment can not get in real time the state of lock body and commodity is caused to be lost.
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 and lock 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;
Lock body playback, control lock body latch.
Optionally, before the step of whether the control lock inductive component real-time detection lock body playbacks, further includes:
Whether control lock 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;
The lock body playback, controlling the step of lock body latches includes:
Lock body playback and lock body status are state to be latched, and control lock body latches.
Optionally, the step of whether control lock inductive component real-time detection lock body playbacks include:
Whether control lock inductive component real-time detection receives lock body playback signal;
Lock inductive component receives lock body playback signal, and lock is performed a plurality of times in default detection time in control lock inductive component Body playback signal detection operation;
Judge to lock whether inductive component receives lock body playback signal every time in default detection time;Wherein, lock sense It answers component to receive lock body playback signal every time in default detection time, determines that lock body playbacks.
Optionally, judge to lock whether inductive component receives lock body playback letter every time in default detection time by described Number;Wherein, the step of lock inductive component receives lock body playback signal every time in default detection time, determines lock body playback Replacement are as follows:
Judge to lock whether inductive component at least receives a lock body playback signal in default detection time;Its In, lock inductive component receives lock body playback signal at least once in default detection time, determines that lock body playbacks.
Optionally, lock body playback signal detection operation is performed a plurality of times in the control lock inductive component in default detection time The step of after, further includes:
When lock inductive component does not receive lock body playback signal at least once in default detection time, determine that lock body is not returned Position, control lock body unlock and set state to be latched for lock body;
Whether control lock inductive component real-time detection lock body resets;
Lock body resets and lock body status is state to be latched, and control lock body latches.
Optionally, the step of whether control lock inductive component real-time detection lock body resets include:
Whether control lock inductive component real-time detection receives lock body reset signal;
Lock inductive component receives lock body reset signal, and lock is performed a plurality of times in default detection time in control lock inductive component The detection operation of body reset signal;
Judge to lock whether inductive component receives lock body reset signal in default detection time every time;Wherein, lock sense It answers component to receive lock body reset signal every time in default detection time, 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 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, the retail units further include memory, processor and are stored on the memory and can be in the processor The lock body of upper operation controls program, in which: the lock body control program realizes lock as described above when being executed by the processor The step of body controlling means.
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 units 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 detects lock body, by detecting whether lock body returns The position of door body closure is grouped into determine whether user closes door body, has judged the door body of retail units in lock body playback It closes, and latches to lock body.By effectively detecting whether the lock body on retail units leaves the position that can be latched and playback, Door body can be automatically opened when user buys commodity, and latched automatically when user is closed door body, prevent commodity door body not It is lost when being latched.Improve 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.
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.
The terminal of that embodiment of the invention can be retail units, or other self-service devices.Retail units include Cabinet and door body are provided with the cavity for placing commodity in cabinet, and door body is hinged with cabinet, and door body in closed state can By bin enclosure.When user pulls open door body, the extensive stock that retail units are stored can be taken out out of cabinet.Retail is set Standby further includes having the lock body for being set to door body and cabinet junction and lock inductive component.Wherein, lock body includes being arranged in door body Locking plate and the lock tongue that is arranged on cabinet, be provided with lockhole corresponding with lock tongue on locking plate, lock tongue can be fallen into lockhole To which door body latch in closed state, door body is prevented to be opened.Lock inductive component includes that emitter and induction fill It sets, emitter and sensing device are respectively arranged in door body and cabinet.It is sent out when sensing device is able to detect people to emitter When the inductive signal penetrated, indicate that door body is in closed state at this time, lock tongue is corresponding with institute's lockhole;When sensing device can't detect When inductive signal, indicate that door body is in an open state at this time.
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 control lock inductive component real-time detection lock body playbacks;
Lock body playback, control lock body latch.
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 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;
Lock body playback and lock body status are 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;
Lock inductive component receives lock body playback signal, and lock is performed a plurality of times in default detection time in control lock inductive component Body playback signal detection operation;
Judge to lock whether inductive component receives lock body playback signal every time in default detection time;Wherein, lock sense It answers component to receive lock body playback signal every time in default detection time, determines that lock body playbacks.
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:
Judge to lock whether inductive component at least receives a lock body playback signal in default detection time;Wherein, it locks Inductive component receives lock body playback signal at least once in default detection time, determines that lock body playbacks.
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 at least once in default detection time, determines that lock body is not returned Position, control lock body unlock and set state to be latched for lock body;
Whether control lock inductive component real-time detection lock body resets;
Lock body resets 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;
Lock inductive component receives lock body reset signal, and lock is performed a plurality of times in default detection time in control lock inductive component The detection operation of body reset signal;
Judge to lock whether inductive component receives lock body reset signal in default detection time every time;Wherein, lock sense It answers component to receive lock body reset signal every time in default detection time, 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:
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.
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 and lock inductive component, and the lock body control method includes 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;
After retail units control lock body unlock, user can open the door body of retail units.It is arranged on retail units There is the lock inductive component whether to playback for detecting lock body.Lock body playback refers to that lock body is in the position that can latch.It is incited somebody to action in user Door body open after, lock body leaves the position that can be latched, and lock inductive component then can real-time detection lock body whether revert to and can fall Lock position.Specifically, lock body may include locking plate and lock tongue, and lockhole corresponding with lock tongue is provided on locking plate, and lock tongue is falling When can fall into lockhole then indicate lock body lock, door body can not be opened by user at this time.Lock body is solved in retail units When lock, lock tongue, which pops up, leaves lockhole, and user can open the door body of retail units at this time.And after user opens door body, Relative position between lock tongue and lockhole changes, and lock tongue can not be fallen in lockhole, i.e., lock body leaves the position that can be latched.
Step S30, lock body playback, control lock body latch.
Retail units can be by the position of lock inductive component real-time detection lock body, when lock inductive component detects at lock body In can latch position when, indicate user open door body take commodity after, door body is closed.Retail units are detecting lock After body playback, lock body can be controlled and latched.Lock body indicates that user this time does shopping and finishes that user can not be again turned on retail after latching The door body of equipment, retail units can determine all commodity that user has taken and deduct from the corresponding account of user at this time Consideration for commodities.
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 carrys out the physical location of real-time detection lock body.After user closes door body, lock inductive component is able to detect that lock body Physical location is in the position that can be latched.Retail units can control lock body after detecting lock body playback and lock, will Door body is lockked, and is prevented door body to be opened and is lost so as to cause the commodity in retail units.By being set on control retail units The opening and closing for the lock body set enables to user's simply, easily self-service purchase for carrying out commodity on retail units, promotes user The convenience of shopping.The position of lock body is detected in time and latch by lock inductive component is able to ascend retail units dealer The safety of product, 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, control is locked before the step of whether inductive component real-time detection lock body playbacks further include:
Whether step S21, control lock 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 Answer whether component real-time detection lock body playbacks;
The step S30, lock body playback, controlling the step of lock body latches includes:
Step S31, lock body playback and lock body status are 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 lock inductive component detection lock body whether leave the position that can latch, i.e., detection door body whether opened by user.When lock is felt When position can be latched by answering component detection to leave to lock body, indicate that door body is opened by user, the state of lock body is arranged retail units For state to be latched, under wait the state of latching, lock inductive component on retail units can real-time detection lock body whether be in can The position to latch.When lock inductive component detect lock body be in the state of position and lock body that can be latched be wait latch state when, It indicates that user has taken at this time and all commodity and closes door body, retail units can control lock body and lock to close door Body.Since lock body is latched in such a way that lock tongue is mutually chimeric with lockhole, by detecting whether lock body is in the position that can latch It sets, enables to lock tongue that can correctly fall into corresponding lockhole in locking, thus realize the locking of retail units door body, Mistake occurs and fails the risk for closing door body when significantly reducing the door body locking of retail units, improves user zero The safety done shopping in equipment is sold,
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, the step of whether inductive component real-time detection lock body playbacks is locked in control includes:
Whether step S23, control lock inductive component real-time detection receive lock body playback signal;
Step S24, lock inductive component receive lock body playback signal, and control lock inductive component is more in default detection time Secondary execution lock body playback signal detection operation;
Step S25 judges to lock whether inductive component receives lock body playback signal every time in default detection time;Its In, lock inductive component receives lock body playback signal every time in default detection time, determines that lock body playbacks.
In the present embodiment, retail units can control lock inductive component and be measured in real time to lock body playback signal.Lock Inductive component includes sensing device and emitter, and when lock body, which is located at, can latch position, sensing device is able to detect that transmitting The lock body playback signal that device issues;When lock body, which leaves, can latch position, sensing device will not be able to detect that lock body playbacks Signal.Therefore, retail units are when real-time detection lock body playbacks signal, if lock inductive component detects lock body playback signal, Indicate that lock body sensing device when position can be latched by being in has received the lock body playback signal that emitter issues at this time.
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, sensing device detects the lock body playback signal of emitter sending.But in the actual operating process of user, Yong Huguan Various unusual conditions may be generated when closing door body.For example, with faster speed by door when user closes door body Weight is newly pulled open so that lock body when latching since door body has had been moved off the position that can be latched, cause locking fail, to make Commodity are obtained easily to lose when door body has not been able to successfully be locked.Therefore, lock body playback signal is received in lock inductive component Afterwards, it is also necessary to which control lock inductive component repeats again repeatedly to detect lock body playback signal in detection time preset.When When lock inductive component can receive lock body playback signal each time in repeated detection operation, then it represents that lock body is in really Can latch position, can control lock body and latch to close door body.Return due to only operating detection lock body by one-time detection Therefore the influence that the mode of position signal is displaced vulnerable to door body after receiving lock body playback signal, passes through multiplicating Detection operation can further determine whether door body and lock body are in the position that can latch, and enhance reliability that lock body latches and really It is qualitative.
Further, in lock body control method second embodiment of the present invention, the step S25 judges to lock inductive component Whether receive lock body playback signal every time in default detection time;Wherein, lock inductive component is in default detection time The step of receiving lock body playback signal every time, determining lock body playback replacement are as follows:
Step S26 judges to lock whether inductive component at least receives a lock body playback signal in default detection time; Wherein, lock inductive component receives lock body playback signal at least once in default detection time, determines that lock body playbacks.
In the present embodiment, retail units can also judge whether lock body is in the position that can latch by another way. When locking inductive component after receiving lock body playback signal, retail units can control lock inductive component in preset detection time The detection operation of lock body playback signal is inside performed a plurality of times, and judges whether at least once detection operates in repeated detection operation Lock body playback signal can be received.When lock inductive component is initially received lock body playback signal, expression lock body is in can Latch position, and if later repeated detection operation in can detect again lock body playback signal, then it represents that at this section The position of interior door body and lock body does not change, i.e., door body and lock body are still in the position that can latch.Therefore, it is repeatedly examining It surveys in operation, if lock inductive component can receive lock body playback signal in detection operation at least once, then it represents that lock body exists Can latch position.It by way of repeated detection, can be effectively prevented from when there is unusual condition, lock body, which is not in, to be fallen The case where lock position but mistakenly latches promotes the accuracy that latches of retail units.
Preferably, when locking inductive component progress repeated detection operation, lock sense is detected for the first time in repeated detection operation When induction signal, remaining detection operation disruption can be directly determined lock body and playbacked, to reduce unnecessary detection behaviour Make, promotes the service life of lock inductive component and retail units.
It should be noted that in the retail units using inserting lock device, lock body after correctly latching, door body can not by with It opens at family;When being not in the position that can latch and being latched, door body has not been able to be closed lock body, and since lock tongue has been fallen, The position that lock tongue falls will stop door body to be closed, and will not be able to be completely closed by user so as to cause door body.Therefore, work as lock Body is when receiving lock body playback signal and continuing repeated detection operation, if door body is closed not successfully, due to lock body It latches through mistake, door body will be unable to reach the position that can latch, i.e., when door body has not been able to be successfully closed, lock inductive component is repeatedly being examined Lock body playback signal can not will be detected completely by surveying in operation.
Further, in lock body control method 3rd embodiment of the present invention, the step S24, control lock inductive component After the step of lock body playback signal detection operation is performed a plurality of times in default detection time further include:
Step S40, lock inductive component do not receive lock body playback signal at least once in default detection time, determine lock Body does not playback, and control lock body unlocks and sets state to be latched for lock body;
Whether step S50, control lock inductive component real-time detection lock body reset;
Step S60, lock body resets and lock body status is state to be latched, and control lock body latches.
In the present embodiment, lock inductive component needs to carry out the detection operation of multiple lock body playback signal.When lock sense group When part has detection operation at least once not receive lock body playback signal in repeated detection operation, then it can determine that lock body is not located In the position that can latch.It needs to carry out reset operation to lock body at this time, so that lock body can continue to normal use.It is operated resetting In, after determining that lock body is not in and can latch position, no matter whether lock body latches at this time, is all unlocked lock body, and by lock body State is set as state to be latched.At this point, door body can be pulled open by user or staff since lock body has unlocked, feel in lock After answering component that can not detect lock body playback signal, whether control lock inductive component real-time detection lock body resets, that is, detects whether Again lock body reset signal is received, lock body reset signal refers to that lock body locks the lock body that inductive component receives in a reset operation Signal in the position that can latch.When locking, inductive component detects lock body reset signal again and the state of lock body at this time is wait fall When lock status, control lock body re-starts locking to realize the reset of lock, so that lock body can continue to normal use.
Further, in lock body control method 3rd embodiment of the present invention, the step S50, control lock inductive component The step of whether real-time detection lock body resets include:
Whether step S51, control lock inductive component real-time detection receive lock body reset signal;
Step S52, lock inductive component receive lock body reset signal, and control lock inductive component is more in default detection time Secondary execution lock body reset signal detection operation;
Step S53 judges to lock whether inductive component receives lock body reset signal in default detection time every time;Its In, lock inductive component receives lock body reset signal every time in default detection time, determines that lock body resets.
In the present embodiment, retail units can control lock inductive component and detect in real time to lock body reset signal, when When lock inductive component receives lock body reset signal, then it represents that lock body is on the position that can be latched at this time.Due to locking inductive component Lock body can not be detected in a lock body reset signal whether constantly in the position that can latch, retail units can pass through lock Inductive component repeatedly carries out detection operation to lock body reset signal in preset detection time, if in repeated detection operation all Lock body reset signal can be received, indicates that lock body is constantly in the position that can latch really, i.e. lock body successfully resets.It is grasped resetting In work, the abnormal conditions that lock body is displaced after reaching the position that can latch can be equally generated, are operated at this time by repeated detection, It can judge whether lock body is constantly in the position that can latch, that is, determine whether lock body resets, so that lock body can be grasped resetting Proper reset in work.
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 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 (10)

1. a kind of lock body control method is applied to retail units, which is characterized in that the retail units include lock body and lock induction 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;
Lock body playback, control lock body latch.
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 the step of whether playbacking, further includes:
Whether control lock 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;
The lock body playback, controlling the step of lock body latches includes:
Lock body playback and lock body status are 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 The step of whether playbacking include:
Whether control lock inductive component real-time detection receives lock body playback signal;
Lock inductive component receives lock body playback signal, and control lock inductive component is performed a plurality of times lock body in default detection time and returns Position signal detection operation;
Judge to lock whether inductive component receives lock body playback signal every time in default detection time;Wherein, sense group is locked Part receives lock body playback signal every time in default detection time, determines that lock body playbacks.
4. lock body control method as claimed in claim 3, which is characterized in that by judgement lock inductive component in default detection Whether lock body playback signal is received in time every time;Wherein, lock inductive component receives every time in default detection time To lock body playback signal, the step of lock body playbacks replacement is determined are as follows:
Judge to lock whether inductive component at least receives a lock body playback signal in default detection time;Wherein, lock induction Component at least receives a lock body playback signal in default detection time, determines that lock body playbacks.
5. lock body control method as claimed in claim 3, which is characterized in that the control lock inductive component is in default detection After interior the step of lock body playback signal detection operation is performed a plurality of times, further includes:
Lock inductive component does not receive lock body playback signal at least once in default detection time, determines that lock body does not playback, controls Lockmaking body unlocks and sets state to be latched for lock body;
Whether control lock inductive component real-time detection lock body resets;
Lock body resets and lock body status is state to be latched, and control lock body latches.
6. lock body control method as claimed in claim 5, which is characterized in that inductive component real-time detection lock body is locked in the control The step of whether resetting include:
Whether control lock inductive component real-time detection receives lock body reset signal;
Lock inductive component receives lock body reset signal, and it is multiple that lock body is performed a plurality of times in default detection time in control lock inductive component Position signal detection operation;
Judge to lock whether inductive component receives lock body reset signal in default detection time every time;Wherein, sense group is locked Part receives lock body reset signal every time in default detection time, determines that lock body resets.
7. lock body control method as claimed in claim 5, 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.
8. the lock body control method as described in any one of claim 1-7, 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, which is characterized in that the retail units include lock body, lock inductive component, and the retail units are also Including memory, processor and it is stored in the lock body that can be run on the memory and on the processor control program, In: the lock body control program is realized when being executed by the processor as lock body described in any item of the claim 1 to 8 controls The step of method.
10. 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.
CN201811654458.3A 2018-12-29 2018-12-29 Lock body control method, retail units and storage medium Pending CN109448206A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811654458.3A CN109448206A (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
CN201811654458.3A CN109448206A (en) 2018-12-29 2018-12-29 Lock body control method, retail units and storage medium

Publications (1)

Publication Number Publication Date
CN109448206A true CN109448206A (en) 2019-03-08

Family

ID=65542394

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811654458.3A Pending CN109448206A (en) 2018-12-29 2018-12-29 Lock body control method, retail units and storage medium

Country Status (1)

Country Link
CN (1) CN109448206A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0627713A1 (en) * 1993-06-02 1994-12-07 Schlumberger Industries Monitoring and controlling device of the differential access to at least two separate sections provided in an enclosed space
CN204029018U (en) * 2014-08-20 2014-12-17 广州市友迪资讯科技有限公司 The strong lock of Internet of Things intelligence control prison
CN105401798A (en) * 2015-10-26 2016-03-16 深圳市便易通科技有限公司 Electronic lock and monitoring method and system of electronic lock
CN205743311U (en) * 2015-12-31 2016-11-30 安钥(北京)科技股份有限公司 A kind of door lock state testing agency
CN106504422A (en) * 2016-12-29 2017-03-15 深圳市中远达智能科技有限公司 A kind of self-selecting type automatic vending method and self-selecting type automatic vending machine
CN108222674A (en) * 2018-01-02 2018-06-29 深圳绿米联创科技有限公司 The detection method and device of door lock state, door lock
CN108447197A (en) * 2018-02-07 2018-08-24 申斌 Merchandise sales control method, merchandise sales terminal and system
CN109057562A (en) * 2018-08-10 2018-12-21 合肥美的智能科技有限公司 For controlling the methods, devices and systems and electric appliance of electric mortise lock

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0627713A1 (en) * 1993-06-02 1994-12-07 Schlumberger Industries Monitoring and controlling device of the differential access to at least two separate sections provided in an enclosed space
CN204029018U (en) * 2014-08-20 2014-12-17 广州市友迪资讯科技有限公司 The strong lock of Internet of Things intelligence control prison
CN105401798A (en) * 2015-10-26 2016-03-16 深圳市便易通科技有限公司 Electronic lock and monitoring method and system of electronic lock
CN205743311U (en) * 2015-12-31 2016-11-30 安钥(北京)科技股份有限公司 A kind of door lock state testing agency
CN106504422A (en) * 2016-12-29 2017-03-15 深圳市中远达智能科技有限公司 A kind of self-selecting type automatic vending method and self-selecting type automatic vending machine
CN108222674A (en) * 2018-01-02 2018-06-29 深圳绿米联创科技有限公司 The detection method and device of door lock state, door lock
CN108447197A (en) * 2018-02-07 2018-08-24 申斌 Merchandise sales control method, merchandise sales terminal and system
CN109057562A (en) * 2018-08-10 2018-12-21 合肥美的智能科技有限公司 For controlling the methods, devices and systems and electric appliance of electric mortise lock

Similar Documents

Publication Publication Date Title
CN109509285A (en) Lock body control method, retail units and storage medium
EP2649425B1 (en) Computer controlled and monitored medical storage system
CN102473254B (en) The method and apparatus of tracking is got/deposited to robotization medical supplies
AU2021232726A1 (en) Systems and methods for utilizing rfid technology to facilitate a gaming system
CN105122324B (en) Storage cabinet with multiple RFID readers
CN107481414A (en) A kind of real-time shopping guide method and system of open unmanned sale apparatus
AU2019200708A1 (en) Eletronic gaming machine and methods for displaying supplemental information
CN108335406A (en) Self-service equipment and its good selling method and self-service system
CN108416909A (en) A kind of intelligence sales counter and intelligent good selling method
JP2021513140A (en) Unmanned sales equipment, sales methods and unmanned sales systems
US20200135012A1 (en) Mechanisms for securing goods at a point-of-sale
CN109166000B (en) Intelligent container and method for creating order
EP3209599A1 (en) Inventory management system and method of use
US20170132601A1 (en) Information processing device and management system
US20180093830A1 (en) Storage cabinet
JP5033984B2 (en) Service providing device in gaming device
US20150287007A1 (en) System and method for adapted vending solutions
US7602294B2 (en) Across the pavement wireless security system
CN109448206A (en) Lock body control method, retail units and storage medium
JP2008000356A (en) Service providing device for game apparatus
CN110164031A (en) Automatic vending machine
US11145157B2 (en) Gaming machine and method for transferring game meter data to a portable device
JP2010174516A (en) Drawer opening/closing management system, management device, terminal device, drawer opening/closing management program, and drawer opening/closing management method
JP2017156934A (en) Information processing device and program
US20220383681A1 (en) Smart locker with assistance for visually impaired users

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190308