CN106971438A - Lock body control method, device, server and selling cabinet - Google Patents

Lock body control method, device, server and selling cabinet Download PDF

Info

Publication number
CN106971438A
CN106971438A CN201710204861.5A CN201710204861A CN106971438A CN 106971438 A CN106971438 A CN 106971438A CN 201710204861 A CN201710204861 A CN 201710204861A CN 106971438 A CN106971438 A CN 106971438A
Authority
CN
China
Prior art keywords
unlocking
lock body
unlocking code
queue
code
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
CN201710204861.5A
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.)
Hangzhou Xi Ye Science And Technology Ltd
Original Assignee
Hangzhou Xi Ye Science And Technology 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 Hangzhou Xi Ye Science And Technology Ltd filed Critical Hangzhou Xi Ye Science And Technology Ltd
Priority to CN201710204861.5A priority Critical patent/CN106971438A/en
Publication of CN106971438A publication Critical patent/CN106971438A/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
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F9/00Details other than those peculiar to special kinds or types of apparatus
    • G07F9/002Vending machines being part of a centrally controlled network of vending machines

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention discloses a kind of lock body control method, and relevant apparatus, server and the selling cabinet using aforementioned means.Wherein methods described asks to send unlocking information to the lock body controller by the unlocking sent according to external user end;The unlocking code queue one of the retrieval storage when not receiving lock body controller feedback, preferential unlocking code one to be enabled is sent to external user end;And update the unlocking code queue one.The electronic lock being connected at present by network with management server is solved in the case of network not smooth or disconnecting, it is impossible to the problem of unlocking for responding user terminal is asked.

Description

Lock body control method, device, server and selling cabinet
Technical field
Applied the present invention relates to the control method and its device of internet of things field, more particularly to a kind of lock body with it Selling cabinet.
Background technology
With the economic fast-developing increasingly raising with people's living standard, tourism had turned into current pulling economy already Important leading industry, closely related hotel industry is fast-developing under the drive of tourist industry with tourist industry.Passenger is entering the stay Between, many times commodity in consumption shop in Dou Hui hotels.Dweller is consumed in room after the commodity that those need to pay, and is being checked out When need special attendant just to can confirm that after being investigated into room, then accused by way of dialogue machine or phone Know foreground, foreground personnel can just check out and deduct the expense produced by corresponding paid-for article.So in trip Swim busy season or visitor it is relatively many in the case of, reception counter of hotel generally requires to wait in line, the portfolio of reception counter of hotel staff Also explode, the passenger for having a strong impact on lodging peak period checks out efficiency, also increases the operation cost in hotel.Meanwhile, long drive Passenger be easy in the stand-by period produce irritated mood, and the follow-up journey time arrangement of influence passenger so that passenger couple The direct feel of hotel service is had a greatly reduced quality.
A kind of sales counter system for hotel room of the prior art is used passes through room by the sales counter in each room Interior wifi is connected with management server, and tenant chooses the commodity in its room on sales counter by mobile phone game server Afterwards, server controls sales counter to open correspondence kinds of goods cell by network, and solving general automatic selling counter on the market need to adopt The problem of a large amount of traffic fee need to being produced with GPRS network.But it is due to that such sales counter need to be by wifi network in room and service Device is connected, and most of hotel can be just opened in room because the reasons such as energy-conservation often enter after room plug-in card is powered in tenant Router or sales counter, and the router or sales counter after being initially powered generally require certain time and can just make sales counter mixed-media network modules mixed-media The network signal in room in connection, during this period of time sales counter the shopping need of tenant will be cannot respond in off-line state Cell unblock is carried out, the purchase experiences of tenant have been had a strong impact on.Simultaneously in the case of some other network connection interruption, sell goods Cabinet also by that can not unlock the state of cell, significantly limit the adaptability of such vending system.
The content of the invention
The present invention can not just be carried out for the lock body controlled more in the prior art by network after network connection is interrupted The problem of unblock.There is provided a kind of lock body control method, specifically include:
The unlocking sent according to external user end asks to send unlocking information to the lock body controller;
The unlocking code queue one of the retrieval storage when not receiving lock body controller feedback, by the preferential hair of unlocking code one to be enabled Deliver to external user end;
Update the unlocking code queue one.
It is preferred that, the step updates the unlocking code queue one, including:By the unlocking code one from the unlocking code team Removed at the preferential position to be enabled of row one.
It is preferred that, in addition to step:Generation unlocking code is simultaneously supplemented to unlocking code queue one.
It is preferred that, methods described also includes:After the network connection of reconstruction and lock body controller, sent to lock body controller Unlocking code queue one.
Present invention also offers a kind of server controlled for lock body, including:
First communication module, the unlocking for being sent according to external user end is asked to send to the lock body controller and unlocked Information simultaneously receives feedback;
First memory module, the unlocking code queue one corresponding for storing the lock body;
First processing module, will be excellent for the unlocking code queue one of the retrieval storage when not receiving lock body controller feedback First unlocking code to be enabled is sent to external user end by the first communication module, and updates the unlocking code queue one.
It is preferred that, the first processing module includes:During feedback for not receiving lock body controller in setting time A pair first retrieval modules of unlocking code queue of retrieval correspondence lock body;Preferentially wait to enable for obtaining in the unlocking code queue one The unlocking code of position is sent to the first extraction module of the first communication module in the lump;For in the first extraction module by unlocking code one Send to after the first communication module by unlocking code one from the preferential position to be enabled of the unlocking code queue one remove first more New module.
It is preferred that, the server also includes unlocking code generation module, for generating unlocking code and being supplemented to unlocking code team Row.
It is preferred that, first update module is additionally operable to:The network company with lock body controller is rebuild in the first communication module After connecing, unlocking code queue one is sent to lock body controller by the first communication module.
Present invention also offers a kind of lock body control device, including:
Second memory module, the unlocking code queue two corresponding for storing the lock body;
Second communication module, the unlocking signal sent for the reception server and feedback;
Input module, the input of the unlocking code one for receiving external user;
Second processing module, for unlocking the lock body according to unlocking signal, and/or
For described in the unlocking code one and the preferential unblock when unlocking enabled code two is matched in unlocking code queue two Lock body.
It is preferred that, the Second processing module includes:For split code-locked one with preferentially waiting to enable in unlocking code queue two Unlocking code two be compared, the matching module of the matched signal of the correspondence of unlocking code two lock body is sent if matching;For According to unlocking signal or the unlocked state of matched signal unblock correspondence lock body;For after unlocking code one is matched with unlocking code two, The second update module that the unlocking code two is removed from the preferential position to be enabled of the unlocking code queue two.
It is preferred that, the matching module is additionally operable to stop after unlocking signal is connected to the ratio of split code-locked one and unlocking code two It is right.
It is preferred that, second memory module is additionally operable to unlocking code a pair of the phases of queue received according to the second communication module The unlocking code queue two of lock body is answered to be updated.
Present invention also offers a kind of selling cabinet, the selling cabinet is provided with multiple cells for being used to deposit commodity, described The electronic lock body of control door opening or closing, including foregoing lock body control device are configured with cell.
It is preferred that, the unlocking code queue two includes the multiple queues corresponding with the multiple electronic lock body.
Sell management system present invention also offers one kind, including foregoing server and at least one foregoing sell goods Cabinet.
The present invention obtains following beneficial effect:
The present embodiment in server and lock body controller by storing unlocking code queue respectively, in server and lock body control During device network connection interruption processed, the unlocking code queue of server retrieval storage when not receiving lock body controller feedback will be preferential Unlocking code to be enabled is sent to external user end, and user is by the way that server to be sent to its unlocking code input to lock body controller In, lock body controller by matching judgment by the unlocking code of the unlocking code of input acquisition and storage inside by controlling lock body Opening and closing.Solve the situation of electronic lock that current use wifi is connected with management server in network not smooth or disconnecting Under, it is impossible to the problem of unlocking for responding user terminal is asked.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
A kind of lock body control method flow chart that Fig. 1 provides for one embodiment of the invention;
A kind of server architecture schematic diagram controlled for lock body that Fig. 2 provides for one embodiment of the invention;
A kind of structural representation for lock body control device that Fig. 3 provides for one embodiment of the invention;
A kind of lock body control method flow chart that Fig. 4 provides for another embodiment of the present invention;
The structural representation for the selling cabinet that Fig. 5 provides for one embodiment of the invention;
The structural representation for selling management system that Fig. 6 provides for one embodiment of the invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme to the embodiment of the present invention is clearly and completely described.Obviously, described embodiment is this hair Bright a part of embodiment, rather than whole embodiments.Based on described embodiments of the invention, ordinary skill The every other embodiment that personnel are obtained on the premise of without creative work, belongs to the scope of protection of the invention.
Embodiment one
As shown in Figure 1, present embodiment discloses a kind of lock body control method, the lock body control method can apply with to lock In server, host computer or other control devices that body is managed, wherein described lock body can be provided with that lock can be controlled All kinds of electronic locks of the controller of body opening and closing, including all kinds of intelligent door locks, door-control lock, cabinet lock etc..The lock body control method, Specifically include:
Step 101, the unlocking sent according to external user end asks to send unlocking information to the lock body controller.
External user end can be all kinds of mobile terminals or pc ends, pass through related lock body control software or app of operation etc. Lock body control program by network be connected with server progress information exchange, or directly by network access server address with Server carries out information exchange.Server is received after the unlocking request of these user terminals transmission, and lock body request is divided Analysis identification lock body unique mark therein, unlocking information is sent according to lock body unique mark to correspondence lock body controller.
Step 102, the unlocking code queue one that retrieval is stored when not receiving lock body controller feedback, preferentially will wait to enable out Code-locked is sent to external user end.
Wherein, if the network connection between server and lock body controller is normal, lock body controller is receiving server transmission Unlocking information and the feedback that receives of confirmation will be sent after examining, server is received and can determine that to user after the feedback The unlocking order of the asked lock body in end is sent successfully, and lock body controller will carry out follow-up unlocking operation according to unlocking information.
Step 1021, if not receiving the reception feedback of lock body controller in setting time, opening for correspondence lock body is retrieved Code-locked queue one.
If server does not receive lock body controller in setting time confirms feedback information to the reception for sending unlocking information, Then server judge that lock body is currently in can not connection status, it is impossible to remote unlocking control is carried out to it by network.Server According to unlocking, each unlocking code queue of the request to its storage inside is inquired about, and finds the unlocking code queue of the correspondence lock body One.
Wherein the queue of unlocking code is the multiple cipher collection prestored.Every group of password in the code-set can be by counting Word, letter or symbol composition.Multiple cipher can be arranged in order by sequence form, wherein password using order in order of sequence Enable successively.Certainly it can also be indicated using the arrangement of the other forms such as annular by designator movement in unlocking code queue etc. Password to be enabled at present.
Step 1022, the unlocking code of preferential position to be enabled in the unlocking code queue one is obtained, and is sent to outside use Family end.
Step 103, the unlocking code queue one is updated.
Server is sent to external user end by unlocking code, will the unlocking code moved at preferential position to be enabled Remove.Specifically, for the unlocking code queue being arranged in order by sequence form, directly can directly delete the unlocking code, it is former Second group of unlocking code becomes the unlocking code of position to be enabled in sequence.In further embodiments, the unlocking code queue Include location pointer, the position to be enabled in unlocking code queue is indicated by using designator etc., now can be using shifting To the position to be enabled in change unlocking code queue, may also function as, renewal is described to be unlocked the mode of the indexical relation of dynamic designator The effect of code queue.By split code-locked upgrading in time after, prevent external user from repeatedly obtaining same unlocking code, that is, prevent Unlocking control only can be repeatedly carried out to lock body using a unlocking code, and then the security of lock body control is provided.
In further embodiments, the step 103 updates the unlocking code queue one, in addition to the unlocking code team Row carry out unlocking code supplement.
Unlocking number of codes in unlocking code queue is less than after certain setting value, and the unlocking code queue need to be mended Fill, to avoid the occurrence of the problem of being used without unlocking code in unlocking code queue.Server can update opening for position to be enabled every time A yard queue of being unlocked after code-locked to it is detected, if its unlocking number of codes is less than after setting value, i.e., generates program by unlocking code Or new unlocking code is produced from unlocking code reserve pool add in the unlocking code queue.
In further embodiments, in addition to step 104, after the network connection of reconstruction and lock body controller, to lock body Controller sends unlocking code queue.
Server sends inquiry data by intervals to lock body controller, and network connection is confirmed after feedback is obtained After normal, the unlocking code queue of the correspondence of the storage lock body is sent to lock body controller, completed to being opened in lock body controller The renewal of code-locked queue so that the unlocking code that the unlocking code of lock body controller can be as far as possible and in server keeps Corresponding matching, keeps away Exempt from the problem of unlocking code exhausts in lock body controller occur.In further embodiments, lock body controller can be in new networking every time Afterwards to server send connection request, server can receive lock body controller connection request after according to lock body controller only One identifier, retrieves the unlocking code queue of storage inside, by the corresponding one or more groups of unlocking code queues of the lock body controller Duplication is sent to the lock body controller.
The present embodiment asks to send unlocking information to the lock body controller by the unlocking sent according to user terminal;Not The unlocking code queue of retrieval storage when receiving lock body controller feedback, preferential unlocking code to be enabled is sent to external user end, And update the mode of the unlocking code queue.Electronic lock that current use wifi is connected with management server is solved in network Not in the case of smooth or disconnecting, it is impossible to the problem of unlocking for responding user terminal is asked, pass through storage inside and each electronic lock Corresponding unlocking code queue, by choosing appropriate unlocking code and sending to when with electronic lock body controller network disconnecting The mode of user terminal, allows external user end to go to be provided with the mode operated on the carrier of the lock body according to the unlocking code of reception, Very well solve the problems, such as lock body can not connection server when unlocking.
Embodiment two
As shown in Figure 2, present embodiment discloses a kind of server controlled for lock body, wherein described lock body can be with It is provided with all kinds of electronic locks of controller that lock body can be controlled to be opened and closed, including all kinds of intelligent door locks, door-control lock, cabinet lock etc. Deng specifically including the first communication module 12, the first memory module 13, first processing module 11, specifically:
First communication module 12, the unlocking for being sent according to external user end is asked to send to the lock body controller and opened Lock information simultaneously receives feedback.
User is passed through by terminals such as mobile phones by lock body control programs such as the related lock body control softwares or app of operation Network is connected progress information exchange with server, or by the browser of terminal directly by network access web server with Server carries out information exchange, and these information exchanges include the unlocking solicited message to related lock body.First communication module 12 First processing module 11,11 pairs of lock bodies of first processing module are transmitted to after the unlocking request for receiving the transmission of these user terminals Request carries out analysis identification lock body unique mark therein, and it is corresponding that its is found out in database according to lock body unique mark Location, then sends unlocking information by the first communication module 12 to correspondence lock body controller.
Wherein, if network connection between the first communication module 12 and lock body controller is normal, lock body controller is receiving the The feedback that confirmation is received will be sent after the unlocking information of one communication module 12 transmission and verification, the first communication module 12 is received It can determine that the unlocking order for the lock body asked user terminal is sent successfully after the feedback, lock body controller will be according to unlocking Information carries out follow-up unlocking operation.
First memory module 13, the unlocking code queue one corresponding for storing the lock body.
Wherein the queue of unlocking code is the multiple cipher collection prestored.Each lock body be stored with one it is unique right with it The unlocking code queue answered.Every group of password in the code-set can be made up of numeral, letter or symbol.Multiple cipher can be with It is arranged in order by sequence form, wherein using for password sequentially enables successively in order of sequence.Certainly also it can be waited using annular He is arranged form, and password to be enabled at present is indicated by designator movement in unlocking code queue etc..
First processing module 11, will for the unlocking code queue one of the retrieval storage when not receiving lock body controller feedback Preferential unlocking code to be enabled is sent to external user end by the first communication module 12, and updates the unlocking code queue one.
Further, first processing module 11 can include:
First retrieval module 111:Retrieval correspondence lock body during feedback for not receiving lock body controller in setting time Unlocking code queue one.
If the first retrieval module 111 does not receive the feedback of 12 pairs of transmission unlocking information of the first communication module in setting time Confirmation is received, then judging that the lock body to be unlocked is currently in can not connection status, it is impossible to it is carried out remotely by network Unlock and control.First retrieval module 111 is inquired about each unlocking code queue in the first memory module 13 according to request of unlocking, Find the unlocking code queue one of the correspondence lock body.
First extraction module 112:For obtaining the unlocking code of preferential position to be enabled in the unlocking code queue one in the lump Send to the first communication module 12.
Wherein preferentially the unlocking code of position to be enabled is the unlocking code in the state to be enabled that makes number one.Unlocking code team Enabling for each unlocking code in row is enabled successively by logic of propositions, the unlocking code being for example arranged in order by sequence form Group, it is preferential position to be enabled that can set sequence header position, and sequence is removed out after the unlocking code use for coming stem Row.Certainly it also can successively enable, not removed after enabling in order of sequence, by separately adding the mark such as location pointer, position to rely on Which unlocking code designator is to indicate to be enabled at present.Also can by other unlocking code aggregate forms and enable order patrol Volume, as long as can the preferential unlocking code in position to be enabled of real-time update.
First update module 113:For unlocking code one being sent to the first communication module 12 in the first extraction module 112 Unlocking code one is removed from the preferential position to be enabled of the unlocking code queue one.
First extraction module 112 is sending unlocking code one to the first communication module 12, will the unlocking code one from Removed at preferential position to be enabled.Specifically, for the unlocking code queue being arranged in order by sequence form, can directly will described in Unlocking code is directly deleted, and second group of unlocking code becomes the unlocking code of position to be enabled in former sequence.In other embodiments In, the unlocking code queue includes location pointer, indicates that treating in unlocking code queue enables by using designator etc. Position, now can by the way of the indexical relation of mobile designator come to changing the position to be enabled in unlocking code queue, It can play a part of updating the unlocking code queue.
In further embodiments, the server also includes unlocking code generation module 14, for generating unlocking code and mending It is charged to unlocking code queue.
Not enabled unlocking number of codes in the unlocking code queue of first memory module 13 is less than after certain setting value, need to be to institute State unlocking code queue to be supplemented, to avoid the occurrence of the problem of can using without unlocking code in unlocking code queue.Unlocking code generation module 14 can detect updating every time wait a yard queue of being unlocked after the unlocking code for enabling position to it, be set if its unlocking number of codes is less than After definite value, unlocking code generation module 14 generates program by unlocking code or new unlocking code is produced from unlocking code reserve pool and supplements Into the unlocking code queue.
In further embodiments, first update module 113 be additionally operable to the first communication module 12 confirm with it is described Lock body controller recovers after connection, and unlocking code queue one is sent to lock body controller.
First communication module 12 sends inquiry data by network by intervals to lock body controller, anti-obtaining After confirming that network connection is normal after feedback, the first communication module 12 is by the correspondence lock body stored in the first memory module 13 Unlocking code queue is sent to lock body controller, completes the renewal to the code queue of lock body controller drawback lock, it is to avoid lock body control occur The problem of unlocking code exhausts in device processed.In further embodiments, lock body controller can be after new networking every time to the first communication Module 12 sends connection request, and the first communication module 12 can be after the connection request of lock body controller be received according to lock body controller Unique identifier, corresponding unlocking code queue in the first memory module 13 of retrieval is corresponding one group by the lock body controller Or multigroup unlocking code queue replicates and is sent to the lock body controller.
What the present embodiment was provided is used for the server that lock body is controlled, by judging the network connection shape with lock body controller State, the corresponding unlocking code queue of internal preset is retrieved under the conditions of network connection interruption, preferential unlocking code to be enabled is obtained concurrent External user end is delivered to, external user end is gone to carry out unlocking operation with the preferential unlocking code to be enabled.Solve current adopt The electronic lock being connected with network with management server is in the case of network not smooth or disconnecting, it is impossible to respond opening for user terminal The problem of lock request, by storage inside unlocking code queue corresponding with each electronic lock, with electronic lock body controller network During disconnecting by way of choosing appropriate unlocking code and sending user terminal to, external user end is allowed according to the unlocking code of reception Go that the mode operated on the carrier of the lock body is installed, solve very well lock body can not connection server when unlocking ask Topic.
Embodiment three
As shown in Figure 3, present embodiment discloses a kind of lock body control device, wherein described lock body can be according to electric signal Unlocking operation is carried out, the control device can be controlled only for a lock body or for being carried out to multiple lock bodies Control.Specifically include:Second communication module 22, the second memory module 23, input module 24, Second processing module 21.Specifically:
Second communication module 22, the unlocking signal sent for the reception server and feedback.
Second communication module 22 is with the server that is managed to lock body by network connection, and what the reception server was sent opens Lock signal simultaneously beams back the feedback information acknowledged receipt of.In certain embodiments, second communication module 22 uses wifi patterns Access surrounding network.
Second memory module 23, the unlocking code queue two corresponding for storing the lock body;
Wherein the queue of unlocking code is the multiple cipher collection prestored.Each lock body be stored with one it is unique right with it The unlocking code queue answered.Every group of password in the code-set can be made up of numeral, letter or symbol, or by these The information that the password being made up of numeral, letter or symbol is produced after being changed by certain logic.Wherein, multiple cipher can be sequentially Row form is arranged in order, and wherein using for password sequentially enables successively in order of sequence.Certainly also can be using other shapes such as annulars Formula is arranged, and password to be enabled at present is indicated by designator movement in unlocking code queue etc..
In further embodiments, the second memory module 23 is additionally operable to the unlocking code received according to the second communication module 22 The unlocking code queue two of a pair of corresponding lock bodies of queue is updated.Wherein, the second memory module 23 recognizes the second communication module 22 Lock body identification information in the unlocking code queue one received is to confirm the lock body corresponding to the unlocking code queue one, according to opening Corresponding lock body unlocking code queue two described in a pair of code-locked queue is updated.In certain embodiments, the unlocking code queue One is identical with the use form of unlocking code queue two, then can directly be replaced with unlocking code queue one and update unlocking code queue two. Other unlocking code queues one need to be decrypted by pre-set programs could be with unlocking code queue two when matching, can be to the unlocking code Queue one is replaced after being decrypted updates unlocking code queue two.
Input module 24, the input of the unlocking code one for receiving external user.
Wherein described input module 24 can be numeric keypad, touch-screen or it is other meet input unit, user can be The unlocking code one received from server is inputted on these input units.
Second processing module 21, for unlocking the lock body according to unlocking signal, and/or for the unlocking code one with It is preferential in unlocking code queue two to unlock the lock body when unlocking enabled code two is matched.
Second processing module 21 shown in specific may include:
Matching module 211, is compared for split code-locked one with preferential unlocking code two to be enabled in unlocking code queue two It is right, the matched signal of the correspondence of unlocking code two lock body is sent if matching.
The unlocking code of preferential position to be enabled is the unlocking code in the state to be enabled that makes number one, specific such as embodiment Described in two.Wherein unlocking code one is matched with the unlocking code two, can be the symbol that split code-locked one and two is included Number progress is directly compared one by one.In further embodiments, by the way of can also being compared after decryption, i.e., the unlocking to receiving Code one is decrypted using internal decryption program, and the unlocking obtained after decryption code is compared with unlocking code two.If unlocking Code one is matched with two then sends matched signal to unlocked state 212.In further embodiments, the control device control is multiple Also be stored with multiple unlocking code queues two in lock body, therefore its second memory module 23, can by unlocking code one respectively with each Each preferential unlocking code in position to be enabled in unlocking code queue two is compared, if unlocking code one and wherein one preferentially treats enable bit The matching of unlocking code is put, then obtains the corresponding lock body identification information of unlocking code queue, of the lock body identification information will be included Unlocked state 212 is sent to signal.
In further embodiments, the matching module 211 is additionally operable to stop split code-locked one after unlocking signal is connected to With matching for unlocking code two.After the second communication module 22 recovers the network connection with server and receives unlocking signal, you can The control of lock body is directly carried out according to unlocking signal, the unblock operation of unlocking code one is no longer responded.
Unlocked state 212, for unlocking correspondence lock body according to unlocking signal or matched signal.According to unlocking signal or matching The corresponding lock body of signal identification, sends unlocking signal to cause lock body to complete unblock operation to the correspondence lock body.
Second update module 213, for after unlocking code one is matched with unlocking code two, the unlocking code two to be opened from described The preferential position to be enabled of code-locked queue two is removed.Specific works mode is similar with the first update module 113 in embodiment two, No longer discuss herein.
Lock body control device disclosed in the present embodiment, using the unlocking signal sent according to server by network or according to The input of unlocking code one for the user that input module 24 is received lock body is opened and closed lock control, therein to be entered by input module 24 Row opening and closing lock control particular by the unlocking code one with preferentially being treated in the unlocking yard queue two in the second memory module 23 The unlocking code two enabled unlocks the lock body when matching, and this unlocking pattern lock body control device that can break in a network can not be received Unlocking control is carried out to lock body during the unlocking signal of server.Solve the electricity that current use network is connected with management server Son is locked in network not freely or in the case of disconnecting, it is impossible to the problem of unlocking for responding user is asked, and lock body is solved very well Can not connection server when unlocking problem.
Example IV
As shown in Figure 4, present embodiment discloses another lock body control method, the lock body control method apply with by taking The electronic lock management system of business device and lock body controller composition.The lock body control method, is specifically included:
Step 201, the unlocking that server is sent according to external user end asks to send letter of unlocking to the lock body controller Breath.Request of wherein unlocking is sent from user by its user terminal to server.
Step 202, the unlocking code queue one of server retrieval storage when not receiving lock body controller feedback, will preferentially be treated Unlocking code one is enabled to send to external user end.
Step 203, unlocking code queue one described in server update.
Step 204, lock body controller receives the unlocking code one of user's input.
Step 205, lock body controller preferential unlocking to be enabled in the unlocking code queue two that unlocking code one is stored with it Code two unlocks the lock body when matching.
The embodiment of wherein each step and the embodiment of the method part of above-described embodiment one and embodiment two, three are public Each module operation principle in the device embodiment opened is similar, and particular content is cross-referenced.
The present embodiment in server and lock body controller by storing unlocking code queue respectively, in server and lock body control During device network connection interruption processed, user is by the way that server to be sent to its unlocking code input into lock body controller, lock body control Device processed controls the opening and closing of lock body by matching judgment by will input the unlocking code of acquisition and the unlocking code of storage inside.Solve The electronic lock that current use wifi is connected with management server is in the case of network not smooth or disconnecting, it is impossible to respond The problem of unlocking of user terminal is asked and can not unlocked.
Embodiment five
As depicted in figures 5 and 6, present embodiment discloses a kind of selling cabinet, the selling cabinet 3 is provided with multiple for depositing The electronic lock body 33 of control door opening or closing is configured with the cell of commodity, the cell, wherein also including using in the selling cabinet In the lock body control device that these electronic lock bodies 33 are opened and closed with control, during wherein lock body control device can be embodiment three Lock body control device.
In certain embodiments, the selling cabinet 3 includes wifi module, for being attached with server 1, receives service The unlocking information that device 1 is sent.
In certain embodiments, selling cabinet 3 also includes input unit 31 and Quick Response Code recognition unit 32, the input unit 31 can be using human-computer interaction devices such as press key input device or touch-screens, for user's input unlocking code one.Quick Response Code identification is single Member 32 is used to provide a user the approach for accessing server 1, and user passes through the mobile scanning terminal Quick Response Code recognition unit such as mobile phone 32 obtain the reference address of server 1, for sending request of unlocking to server 1.
Selling cabinet disclosed in the present embodiment may be disposed at the management places such as hotel, hotel.
Selling cabinet disclosed in the present embodiment, is connected by wifi with management server, and tenant passes through mobile phone game server Choose after the commodity in its room on sales counter, server controls sales counter to open correspondence kinds of goods cell by network, solves The problem of automatic selling counter typically on the market need to need to produce a large amount of traffic fee using GPRS network.Simultaneously overcome selling cabinet by Wifi network is connected with server and enters just open in room after room plug-in card is powered in tenant and route in by room Device or sales counter, caused tenant is within a period of time for just entering door because sales counter will cannot respond in off-line state The problem of shopping need of tenant carries out cell unblock and has had a strong impact on the purchase experiences of tenant.
Embodiment six
As shown in Figure 6, management system is sold present embodiment discloses one kind, this, which sells management system, includes server 1 With at least one selling cabinet 3.
Pass through wired or wireless network connection between server and selling cabinet.During wherein server can be embodiment two Server, selling cabinet can be the selling cabinet in example IV.
Management system is sold disclosed in the present embodiment and solves existing sales counter well due to by wifi in room Network, which is connected with server and entered in tenant after room plug-in card is powered, can just open router or sales counter in room, caused Tenant is within a period of time for just entering door because sales counter enters the shopping need that tenant is cannot respond in off-line state The problem of row cell unlocks and has had a strong impact on the purchase experiences of tenant.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.Described above is Embodiment of uniting is only schematical, wherein only with the division progress of above-mentioned each functional module for example, in practical application, can To distribute and be completed by different functional modules by above-mentioned functions as needed, server, the lock body of lock body control will be used for The internal structure of control device is divided into different functional modules, to complete all or part of function described above.Wherein The module illustrated as separating component or device can be or may not be physically separate, be used as module or dress The part for putting display can be or may not be physical location, you can with positioned at a place, or can also be distributed to On multiple NEs.Some or all of module therein can be selected to realize this embodiment scheme according to the actual needs Purpose.Those of ordinary skill in the art are without creative efforts, you can to understand and implement.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or using the present invention. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope caused.

Claims (15)

1. a kind of lock body control method, it is characterised in that including:
The unlocking sent according to external user end asks to send unlocking information to the lock body controller;
The unlocking code queue one of the retrieval storage when not receiving lock body controller feedback, by preferential unlocking code one to be enabled send to External user end;
Update the unlocking code queue one.
2. lock body control method according to claim 1, it is characterised in that the step updates the unlocking code queue One, including:
The unlocking code one is removed at the preferential position to be enabled of the unlocking code queue one.
3. lock body control method according to claim 1, it is characterised in that also including step:Generation unlocking code is simultaneously supplemented To unlocking code queue one.
4. according to any described lock body control methods of claim 1-3, it is characterised in that also include:In reconstruction and lock body control After the network connection of device processed, unlocking code queue one is sent to lock body controller.
5. a kind of server controlled for lock body, it is characterised in that including:
First communication module, the unlocking for being sent according to external user end asks to send unlocking information to the lock body controller And receive feedback;
First memory module, the unlocking code queue one corresponding for storing the lock body;
First processing module, for the unlocking code queue one of the retrieval storage when not receiving lock body controller feedback, will preferentially be treated Enable unlocking code to send to external user end by the first communication module, and update the unlocking code queue one.
6. server according to claim 5, it is characterised in that the first processing module includes:
First retrieval module:The unlocking code of retrieval correspondence lock body during feedback for not receiving lock body controller in setting time Queue one;
First extraction module:Unlocking code for obtaining preferential position to be enabled in the unlocking code queue one is sent to the in the lump One communication module;
First update module:For the first extraction module by unlocking code one send to the first communication module by unlocking code one from The preferential position to be enabled of the unlocking code queue one is removed.
7. server according to claim 5, it is characterised in that also including unlocking code generation module, unlocks for generating Code is simultaneously supplemented to unlocking code queue.
8. according to any described servers of claim 5-7, it is characterised in that first update module is additionally operable to: One communication module is rebuild after the network connection with lock body controller, and unlocking code queue one is sent to lock by the first communication module Body controller.
9. a kind of lock body control device, it is characterised in that including:
Second memory module, the unlocking code queue two corresponding for storing the lock body;
Second communication module, the unlocking signal sent for the reception server and feedback;
Input module, the input of the unlocking code one for receiving external user;
Second processing module, for unlocking the lock body according to unlocking signal, and/or
For unlocking the lock body when unlocking enabled code two is matched with preferential in unlocking code queue two in the unlocking code one.
10. lock body control device according to claim 9, it is characterised in that the Second processing module includes:
Matching module, is compared for split code-locked one with preferential unlocking code two to be enabled in unlocking code queue two, if With the matched signal for then sending the correspondence of unlocking code two lock body;
Unlocked state, for unlocking correspondence lock body according to unlocking signal or matched signal;
Second update module, for after unlocking code one is matched with unlocking code two, by the unlocking code two from the unlocking code team The preferential position to be enabled of row two is removed.
11. lock body control device according to claim 10, it is characterised in that the matching module is additionally operable to be connected to out Stop the comparison of split code-locked one and unlocking code two after lock signal.
12. lock body control device according to claim 9, it is characterised in that:
Second memory module is additionally operable to opening for a pair of the corresponding lock bodies of unlocking code queue received according to the second communication module Code-locked queue two is updated.
13. a kind of selling cabinet, the selling cabinet is provided with multiple cells for being used to deposit commodity, the cell and is configured with control The electronic lock body of door opening or closing, it is characterised in that including any described lock body control devices of claim 10-13.
14. selling cabinet according to claim 13, it is characterised in that the unlocking code queue two includes and the multiple electricity The corresponding multiple queues of sublock body.
15. one kind sells management system, it is characterised in that including server and at least one sales counter;
The selling cabinet is the sales counter described in claim 14;
The server is any described server in claim 5-8.
CN201710204861.5A 2017-03-31 2017-03-31 Lock body control method, device, server and selling cabinet Pending CN106971438A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710204861.5A CN106971438A (en) 2017-03-31 2017-03-31 Lock body control method, device, server and selling cabinet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710204861.5A CN106971438A (en) 2017-03-31 2017-03-31 Lock body control method, device, server and selling cabinet

Publications (1)

Publication Number Publication Date
CN106971438A true CN106971438A (en) 2017-07-21

Family

ID=59336369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710204861.5A Pending CN106971438A (en) 2017-03-31 2017-03-31 Lock body control method, device, server and selling cabinet

Country Status (1)

Country Link
CN (1) CN106971438A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107393095A (en) * 2017-08-08 2017-11-24 鞍山科大物联科技有限公司 A kind of intelligent bicycle lock and unlocking control method with electronics locker
CN107424307A (en) * 2017-08-11 2017-12-01 北京享余科技有限公司 A kind of self-service transaction terminal machine binary channels method for unlocking
CN107492169A (en) * 2017-07-27 2017-12-19 中兴通讯股份有限公司 Trigger the method, apparatus and system of smart lock work
CN108898725A (en) * 2018-07-25 2018-11-27 云丁智能科技(北京)有限公司 A kind of control method and device of door lock
CN109448208A (en) * 2019-01-08 2019-03-08 青岛海信智慧家居系统股份有限公司 A kind of method for unlocking and control device of intelligent door lock
CN109544816A (en) * 2019-01-14 2019-03-29 深圳前海微众银行股份有限公司 Shopping lock unlocking method, terminal and readable storage medium storing program for executing
CN109978529A (en) * 2017-12-27 2019-07-05 青岛胶南海尔洗衣机有限公司 Offline electronic payment method
CN110517379A (en) * 2019-07-26 2019-11-29 刘凤明 A kind of positioning of Remote Device Control panel, latch system and its method
WO2020020309A1 (en) * 2018-07-25 2020-01-30 云丁网络技术(北京)有限公司 Smart device control method and system
CN110838197A (en) * 2019-11-18 2020-02-25 四川研宝科技有限公司 Password verification method and device for unmanned hotel system
US11989989B2 (en) 2018-07-25 2024-05-21 Yunding Network Technology (Beijing) Co., Ltd. Methods and systems for controlling an intelligent device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1871830A (en) * 2003-03-28 2006-11-29 胡安·米格尔·多明格斯·坎西诺 Local and remote management of lock systems from a network
CN201017381Y (en) * 2006-09-25 2008-02-06 朱庆文 automatic vending machine
CN102867347A (en) * 2012-08-03 2013-01-09 合肥天智科技发展有限公司 RFID (radio frequency identification) wireless interconnection safety control intelligent terminal management system
CN103440691A (en) * 2013-08-14 2013-12-11 毛振刚 Bank exchequer long-distance defense management system
CN104463337A (en) * 2014-10-30 2015-03-25 尹振军 Integrated hotel network platform implementation method and device
CN104504796A (en) * 2015-01-06 2015-04-08 赵旭东 Intelligent machine room access control opening method and system based on wireless network
CN104751544A (en) * 2015-02-10 2015-07-01 国家电网公司 Intelligent lock control system and management method thereof
CN104966336A (en) * 2015-05-29 2015-10-07 深圳光启智能光子技术有限公司 Intelligent lock, intelligent lock authorization management method, and intelligent lock authorization management apparatus
CN105701653A (en) * 2016-01-20 2016-06-22 浙江工商大学 Internet payment method and system for process-type self-service selling machine
CN105956946A (en) * 2016-04-29 2016-09-21 尹振军 Step for inviting friend to check in and integrated hotel network platform thereof

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1871830A (en) * 2003-03-28 2006-11-29 胡安·米格尔·多明格斯·坎西诺 Local and remote management of lock systems from a network
CN201017381Y (en) * 2006-09-25 2008-02-06 朱庆文 automatic vending machine
CN102867347A (en) * 2012-08-03 2013-01-09 合肥天智科技发展有限公司 RFID (radio frequency identification) wireless interconnection safety control intelligent terminal management system
CN103440691A (en) * 2013-08-14 2013-12-11 毛振刚 Bank exchequer long-distance defense management system
CN104463337A (en) * 2014-10-30 2015-03-25 尹振军 Integrated hotel network platform implementation method and device
CN104504796A (en) * 2015-01-06 2015-04-08 赵旭东 Intelligent machine room access control opening method and system based on wireless network
CN104751544A (en) * 2015-02-10 2015-07-01 国家电网公司 Intelligent lock control system and management method thereof
CN104966336A (en) * 2015-05-29 2015-10-07 深圳光启智能光子技术有限公司 Intelligent lock, intelligent lock authorization management method, and intelligent lock authorization management apparatus
CN105701653A (en) * 2016-01-20 2016-06-22 浙江工商大学 Internet payment method and system for process-type self-service selling machine
CN105956946A (en) * 2016-04-29 2016-09-21 尹振军 Step for inviting friend to check in and integrated hotel network platform thereof

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107492169A (en) * 2017-07-27 2017-12-19 中兴通讯股份有限公司 Trigger the method, apparatus and system of smart lock work
CN107393095A (en) * 2017-08-08 2017-11-24 鞍山科大物联科技有限公司 A kind of intelligent bicycle lock and unlocking control method with electronics locker
CN107424307A (en) * 2017-08-11 2017-12-01 北京享余科技有限公司 A kind of self-service transaction terminal machine binary channels method for unlocking
CN107424307B (en) * 2017-08-11 2019-12-31 北京享余科技有限公司 Double-channel unlocking method for self-service transaction terminal
CN109978529A (en) * 2017-12-27 2019-07-05 青岛胶南海尔洗衣机有限公司 Offline electronic payment method
CN109978529B (en) * 2017-12-27 2024-01-23 海尔衣联生态科技(上海)有限公司 Offline payment method
CN108898725A (en) * 2018-07-25 2018-11-27 云丁智能科技(北京)有限公司 A kind of control method and device of door lock
WO2020020309A1 (en) * 2018-07-25 2020-01-30 云丁网络技术(北京)有限公司 Smart device control method and system
US11423721B2 (en) 2018-07-25 2022-08-23 Yunding Network Technology (Beijing) Co., Ltd. Methods and systems for controlling an intelligent device
US11989989B2 (en) 2018-07-25 2024-05-21 Yunding Network Technology (Beijing) Co., Ltd. Methods and systems for controlling an intelligent device
CN109448208B (en) * 2019-01-08 2021-03-02 青岛海信智慧家居系统股份有限公司 Unlocking method and control device of intelligent door lock
CN109448208A (en) * 2019-01-08 2019-03-08 青岛海信智慧家居系统股份有限公司 A kind of method for unlocking and control device of intelligent door lock
CN109544816A (en) * 2019-01-14 2019-03-29 深圳前海微众银行股份有限公司 Shopping lock unlocking method, terminal and readable storage medium storing program for executing
CN110517379A (en) * 2019-07-26 2019-11-29 刘凤明 A kind of positioning of Remote Device Control panel, latch system and its method
CN110838197A (en) * 2019-11-18 2020-02-25 四川研宝科技有限公司 Password verification method and device for unmanned hotel system

Similar Documents

Publication Publication Date Title
CN106971438A (en) Lock body control method, device, server and selling cabinet
CN106952065A (en) Express delivery cabinet is controlled to access the method and device of part
CN105631947B (en) Intelligent parking control system
CN201750442U (en) Laboratory-instrument sharing system
CN109934366A (en) House renting management method, system and server based on wireless network
CN109147111A (en) It is self-service to move in management system and method, electronic equipment and storage medium
CN201947061U (en) Distribution network dispatching intelligent anti-mistake and real-time management system
CN104217502A (en) Intelligent control method of cabinet system
CN104318650A (en) Dynamic coded lock management and control system
CN102289742A (en) Property management system
CN101833827A (en) Self-service system for hotel
CN106952415A (en) A kind of article maintenance system and method
CN109377414A (en) A kind of hotel self-service moves in method and system
CN107819323A (en) The online O&M method and system of secondary equipment of intelligent converting station based on visual presentation
CN108055234A (en) The shared lease platform of one kind
CN107633581A (en) Intelligent door lock control method and device, electronic equipment, storage medium
EP2755845B1 (en) System and method to electrically charge devices
CN113516528B (en) Vending machine remote management and monitoring system
CN106997491A (en) A kind of article recovery system and method
CN110517384A (en) A kind of key management box
CN107133861A (en) Intelligence based on internet is rented a house method and its system
CN107069957A (en) A kind of recording constant value remote online modification and check method
CN204390320U (en) A kind of dynamic puzzle-lock system
CN109240180A (en) Take control electric energy table management method and terminal device
CN201812329U (en) Hotel self-service system

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
DD01 Delivery of document by public notice

Addressee: Song Ling

Document name: Notice of End of Suspension Proceedings

DD01 Delivery of document by public notice
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170721

WD01 Invention patent application deemed withdrawn after publication