CN109712293A - Control method, mobile terminal and the readable storage medium storing program for executing of smart lock - Google Patents

Control method, mobile terminal and the readable storage medium storing program for executing of smart lock Download PDF

Info

Publication number
CN109712293A
CN109712293A CN201811631984.8A CN201811631984A CN109712293A CN 109712293 A CN109712293 A CN 109712293A CN 201811631984 A CN201811631984 A CN 201811631984A CN 109712293 A CN109712293 A CN 109712293A
Authority
CN
China
Prior art keywords
smart lock
unlocking
lock
smart
control method
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
CN201811631984.8A
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.)
Shenzhen Simple Work Intelligent Technology Co Ltd
Original Assignee
Shenzhen Simple Work Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Simple Work Intelligent Technology Co Ltd filed Critical Shenzhen Simple Work Intelligent Technology Co Ltd
Priority to CN201811631984.8A priority Critical patent/CN109712293A/en
Publication of CN109712293A publication Critical patent/CN109712293A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a kind of control methods of smart lock, the following steps are included: when receiving task download instruction, the corresponding unlocking task of the download instruction is downloaded to default memory block, the corresponding switch lock time range of the unlocking task, the corresponding smart lock of the unlocking task are then obtained based on the unlocking task, next in the switch lock time range, unlocking operation is executed to smart lock based on the smart lock ID and the corresponding unlocking mode of the smart lock ID.The invention also discloses a kind of mobile terminal and readable storage medium storing program for executing.The switch lock time of smart lock is limited by switch lock time range, and then it ensure that the operating time that railway related control device is detected and repaired, the probability of plant maintenance not in time is effectively reduced, the possibility that staff is operated the time other than switch lock time range is avoided.

Description

Control method, mobile terminal and the readable storage medium storing program for executing of smart lock
Technical field
The present invention relates to smart lock technical field more particularly to a kind of control methods of smart lock, mobile terminal and readable Storage medium.
Background technique
In order to guarantee that railway can work normally, avoids train from accident occur when running on railway, need periodically to iron Road related control device is detected and is repaired, and the control device distribution of railway is extensive, and is being detected and repaired to it When want the considered critical working time, to avoid the train current moment, safety accident otherwise easily occurs.
Currently, the maintenance and maintenance project of control equipment are substantially by labor management, it is not easy to control operating time and not Operation note can be reported in time, or even can be because being operated and being threatened the life security of staff in the time outside the plan.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of control method of smart lock, mobile terminal and readable storage medium storing program for executing, The activity duration can not be accurately controlled and equipment is caused to be tieed up when existing railway related control device is detected and repaired by aiming to solve the problem that The technical issues of protecting not in time or causing the life security of staff.
To achieve the above object, the present invention provides a kind of control method of smart lock, the control method packet of the smart lock Include following steps:
When receiving task download instruction, the corresponding unlocking task of the download instruction is downloaded to default memory block;
It is corresponding that the corresponding switch lock time range of the unlocking task, the unlocking task are obtained based on the unlocking task Smart lock ID;
In the switch lock time range, it is based on the smart lock ID and the corresponding unlocking mode of the smart lock ID Unlocking operation is executed to smart lock.
Further, in one embodiment, the unlocking mode includes key unlocking or APP key unlocking, it is described In the switch lock time range, smart lock is held based on the smart lock ID and the smart lock ID corresponding unlocking mode The step of row unlocking operation includes:
In the switch lock time range, when the unlocking mode is key unlocking, sending includes the smart lock First unlocking instruction of ID and the unlocking mode is to the corresponding Intelligent key of smart lock ID, so that the Intelligent key is to intelligence It can lock execution unlocking operation;
When the unlocking mode is that APP unlocks, sending includes the second of the smart lock ID and the unlocking mode Unlocking instruction is to the corresponding smart lock of smart lock ID, so that the smart lock executes unlocking operation.
Further, in one embodiment, described in the switch lock time range, it is key in the unlocking mode When spoon is unlocked, the first unlocking instruction including the smart lock ID and the unlocking mode is sent to the corresponding intelligence of smart lock ID Energy key, so that the Intelligent key includes: the step of executing unlocking operation to smart lock
When the unlocking mode is key unlocking, the first acquisition instruction including smart lock ID is sent to the intelligent key Spoon, so that the Intelligent key returns to smart lock sequence number;
It is consistent with the smart lock sequence number that the Intelligent key returns in the corresponding smart lock sequence number of the smart lock ID When, then first unlocking instruction is sent to the Intelligent key, so that the Intelligent key executes unlocking operation to smart lock.
Further, in one embodiment, described when the unlocking mode is that APP unlocks, sending includes the intelligence The second unlocking instruction of ID and the unlocking mode can be locked to the corresponding smart lock of smart lock ID, so that the smart lock executes The step of unlocking operation includes:
When the unlocking mode is that APP unlocks, the second acquisition instruction including smart lock ID is sent to the smart lock The corresponding smart lock of ID, so that the smart lock returns to smart lock sequence number;
When the corresponding smart lock sequence number of the smart lock ID is consistent with the smart lock sequence number that the smart lock returns, Second unlocking instruction is then sent to the smart lock, so that the smart lock executes unlocking operation.
Further, in one embodiment, described in the switch lock time range, based on the smart lock ID with And after the corresponding unlocking mode of smart lock ID the step of executing unlocking operation to smart lock, the controlling party of the smart lock Method further include:
In the switch lock time range, sends corresponding shut of the smart lock ID and instruct to smart lock or intelligent key Spoon, so that the smart lock or Intelligent key execution shut operation.
Further, in one embodiment, described in the switch lock time range, based on the smart lock ID with And after the corresponding unlocking mode of smart lock ID the step of executing unlocking operation to smart lock, the controlling party of the smart lock Method further include:
When receiving successfully unlocking message, the delay duration of the smart lock is obtained;
When the delay duration is greater than or equal to threshold value, the prompt information of smart lock is closed in output.
Further, in one embodiment, described in the switch lock time range, based on the smart lock ID with And after the corresponding unlocking mode of smart lock ID the step of executing unlocking operation to smart lock, the controlling party of the smart lock Method further include:
When receiving successfully unlocking message or successfully shutting message, obtain the successfully corresponding uncaging time of unlocking message or Successfully shut that message is corresponding to shut the time;
Based on the smart lock ID and the uncaging time or shuts the time and generate log recording and save to default and deposit Storage area.
Further, in one embodiment, the control method of the smart lock further include:
It sends the short message including account information and unlocks request to server, so that the server is based on the account information Return to short message verification code;
It sends verifying code check within a preset time to request to server, so that the server is based on the identifying code school Test request back-checking result;
When the check results are verifying code check success, it is determined that the account information possesses super unlocking authority, Wherein, the super unlocking authority is that the mobile terminal is held with the mobile terminal by the smart lock of bluetooth connection to all Row unlocking operation.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminal, the mobile terminal include: memory, Processor and the control program for being stored in the smart lock that can be run on the memory and on the processor, the smart lock Control program the step of realizing the control method of smart lock described in any of the above embodiments when being executed by the processor.
In addition, to achieve the above object, the present invention also provides a kind of readable storage medium storing program for executing, being deposited on the readable storage medium storing program for executing The control program of smart lock is contained, the control program of the smart lock realizes intelligence described in any of the above embodiments when being executed by processor The step of control method that can be locked.
The present invention is by when receiving task download instruction, downloading the corresponding unlocking task of the download instruction to default Memory block then obtains the corresponding switch lock time range of the unlocking task, the unlocking task based on the unlocking task Corresponding smart lock is based on ID pairs of the smart lock ID and the smart lock next in the switch lock time range The unlocking mode answered executes unlocking operation to smart lock.The switch lock time locks the time by range switch, and then ensure that railway The operating time that related control device is detected and repaired effectively reduces the probability of plant maintenance not in time, avoids work Make the possibility that personnel are operated the time other than switch lock time range.
Detailed description of the invention
Fig. 1 is the mobile terminal 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 the control method first embodiment of smart lock of the present invention;
Fig. 3 is the flow diagram of the control method second embodiment of smart lock of the present invention;
Fig. 4 is the flow diagram of the control method 3rd embodiment of smart lock 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.
Fig. 1 is the mobile terminal 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 PC, be also possible to smart phone, tablet computer, E-book reader, MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3) Player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard sound Frequency level 4) the packaged type terminal device having a display function such as player, portable computer.
As shown in Figure 1, the terminal may include: processor 1001, such as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.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..Wherein, sensor such as optical sensor, motion sensor and other sensors.Specifically, light Sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can according to the light and shade of ambient light come The brightness of display screen is adjusted, proximity sensor can close display screen and/or backlight when mobile terminal is moved in one's ear.As One kind of motion sensor, gravity accelerometer can detect the size of (generally three axis) acceleration in all directions, quiet Size and the direction that can detect that gravity when only, the application that can be used to identify mobile terminal posture are (such as horizontal/vertical screen switching, related Game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Certainly, mobile terminal can also match The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor are set, details are not described herein.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 1, can wrap It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium Believe module, the control program of Subscriber Interface Module SIM and smart lock.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, carries out with background server Data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;And processor 1001 can be used for calling the control program of the smart lock stored in memory 1005.
In the present embodiment, mobile terminal includes: memory 1005, processor 1001 and is stored in the memory 1005 The control program of smart lock that is upper and being run on the processor 1001, wherein the calling memory 1005 of processor 1001 When the control program of the smart lock of middle storage, the step of executing the control method for the smart lock that each embodiment of the application provides.
The present invention also provides a kind of control methods of smart lock, are the control method of smart lock of the present invention referring to Fig. 2, Fig. 2 The flow diagram of first embodiment.
In the present embodiment, the control method of the smart lock includes:
Step S100 downloads the corresponding unlocking task of the download instruction to default when receiving task download instruction Memory block;
In the present embodiment, server is mainly managed client account permission, unlocking task management, smart lock and Intelligent key management and switch lock log management etc., client are to be mounted with the movement of the application APP of control smart lock Terminal, mobile terminal are mainly communicated with server, smart lock, Intelligent key, are realized by client to smart lock Switch lock operation.
It should be noted that operator will apply for that account is registered, after account succeeds in registration, pass through account and password login Server or client, wherein the operator with administrator right can be stepped on login service device, other operators Client is recorded, and the corresponding task of oneself account can only be downloaded, executes relevant operation.
Specifically, task download instruction is sent to the mobile terminal with corresponding unlocking authority by server, when mobile whole When termination receives task download instruction, start to download corresponding switch lock task.It should be noted that in the process of downloading task Middle mobile terminal needs to keep being connected to the network with server.
Step S200 obtains the corresponding switch lock time range of the unlocking task based on the unlocking task, described opens The corresponding smart lock ID of lock task;
In the present embodiment, the detection or maintenance of railway system's related control device have certain requirement to the time, need Railway transit time is periodically detected or repaired and to be avoided to equipment, it, can be very by the switch lock time of smart lock The operating time of good restriction staff, staff can only open intelligence in the corresponding switch lock time range of unlocking task Lock, into operating point, is then detected or is repaired to related control device.
Specifically, it after successfully downloading unlocking task, obtains the corresponding switch lock time range of unlocking task and unlocks and appoint It is engaged in the information such as corresponding smart lock ID, each smart lock ID is unique.It should be noted that each unlocking task can be related to it is multiple Smart lock, mobile terminal can control all smart locks in task.
Step S300, it is corresponding based on the smart lock ID and smart lock ID in the switch lock time range Unlocking mode to smart lock execute unlocking operation.
In the present embodiment, staff is by checking that unlocking task can determine the time range of switch lock, specified Time range to the corresponding position smart lock ID, unlocking operation is carried out to smart lock.
It should be noted that smart lock is broadly divided into passive locks and active lock, passive locks need to power using Intelligent key, Or the power supply of other power supply units, in the present invention, it is preferred to which Intelligent key is powered to passive locks.The corresponding unlocking mode of passive locks is Key unlocking, active lock support a variety of unlocking modes, for example, bluetooth unlocking, NB remote unlocking, short message are unlocked, GPRS is remotely opened Lock, 3G unlocking, 4G unlocking, 5G etc., unlocking mode is specifically determined by the software and hardware structure of active smart lock, under normal circumstances, one A active smart lock possesses two or more unlocking modes, and operator when in use, selects according to operation site specific Suitable unlocking mode.
Further, in one embodiment, after step S300, the control method of the smart lock further include:
Step S400 obtains the delay duration of the smart lock when receiving successfully unlocking message;
In the present embodiment, after smart lock is successfully unlocked, the successful message of unlocking can be returned to mobile terminal, Mobile terminal starts timing, that is to say, that the delay duration of smart lock indicates the smart lock when receiving successfully unlocking message The duration being turned on.
Step S500, when the delay duration is greater than or equal to threshold value, the prompt information of smart lock is closed in output.
In the present embodiment, the delay duration of smart lock indicates the duration that the smart lock is turned on, when shutting of smart lock Between also need to carry out in the corresponding switch lock time range of unlocking task, therefore can be when postponing duration and will exceed switch lock Between range when remind operator to complete maintenance as early as possible and execute and shut operation.It is by delay duration and threshold value comparison, determination No output prompt information.When postponing duration more than or equal to threshold value, mobile terminal exports on the screen closes mentioning for smart lock Show information, to remind operator to complete to overhaul and execute as early as possible to shut operation.
For example, switch lock time range is 20:00-21:00, determine that the operating time is according to switch lock time range 1 hour, 0.8 times of operating time can be set a threshold to, i.e. threshold value is 48 minutes, when delay duration is greater than or equal to 48 points Zhong Shi, mobile terminal export the prompt information for closing smart lock on the screen, to remind operator to complete to overhaul and hold as early as possible Row shuts operation.
Further, in one embodiment, after step S300, the control method of the smart lock further include: opened described It shuts in time range, sends corresponding shut of the smart lock ID and instruct to smart lock or Intelligent key, so that the intelligence Lock or Intelligent key execution shut operation.
In the present embodiment, the active smart lock in smart lock can be communicated directly with mobile terminal, receive movement The instruction that terminal is sent;Passive smart lock is powered by Intelligent key, cannot directly and communication of mobile terminal, therefore mobile terminal and intelligence It can be communicated between key, Intelligent key is interacted with passive smart lock again.
Specifically, the time that shuts of smart lock also needs to carry out in the corresponding switch lock time range of unlocking task, because This, in switch lock time range, if it is passive smart lock is closed, then mobile terminal transmission, which is shut, is instructed to Intelligent key, So that Intelligent key shuts operation to smart lock execution;If it is active smart lock is closed, then mobile terminal transmission shuts instruction To smart lock, so that smart lock execution shuts operation.
Further, in one embodiment, after step S300, the control method of the smart lock further include:
It is corresponding to obtain successfully unlocking message when receiving successfully unlocking message or successfully shutting message by step S600 Uncaging time successfully shuts that message is corresponding to shut the time;
Step S700 based on the smart lock ID and the uncaging time or shuts time generation log recording and saves To default memory block.
In the present embodiment, after smart lock is successfully unlocked or successfully shut, mobile terminal can receive related news, And then it obtains the successfully corresponding uncaging time of unlocking message or successfully shuts that message is corresponding to shut the time.
Further, each switch lock of smart lock is recorded and is saved in the form of log, subsequent operation personnel or Administrator can understand the unlocking of smart lock by checking log, shut and failure operation etc., and then indirect analysis smart lock The detection and repair of the operation equipment of corresponding position.One is completely unlocked or is shut log, including operator, task Title, smart lock ID or title unlock or shut the time etc..
The control method for the smart lock that the present embodiment proposes is downloaded the downloading and is referred to when receiving task download instruction It enables corresponding unlocking task to default memory block, the corresponding switch lock of the unlocking task is then obtained based on the unlocking task Time range, the corresponding smart lock of the unlocking task are based on the smart lock next in the switch lock time range ID and the corresponding unlocking mode of the smart lock ID execute unlocking operation to smart lock.Intelligence is limited by switch lock time range The switch lock time that can be locked, and then ensure that the operating time that railway related control device is detected and repaired, it is effectively reduced The probability of plant maintenance not in time, avoid that staff operated the time other than switch lock time range can Energy.
The second embodiment of the control method of smart lock of the present invention is proposed, in this reality referring to Fig. 3 based on first embodiment It applies in example, step S300 includes:
Step S310, in the switch lock time range, when the unlocking mode is key unlocking, sending includes institute The first unlocking instruction of smart lock ID and the unlocking mode is stated to the corresponding Intelligent key of smart lock ID, so that the intelligence Key executes unlocking operation to smart lock;
In the present embodiment, mobile terminal is equipped with the application APP of control smart lock, every in the related interfaces of APP The corresponding unlocking mode of one smart lock is shown in the form of menu or button etc., if there are a variety of unlocking modes for a smart lock When, operator can be independently to select in a manner of any one unlocking.
Further, illustrate that the smart lock is passive smart lock when unlocking mode is key unlocking, it is in the present invention, excellent Passive smart lock is selected to be powered by Intelligent key, passive smart lock cannot directly and communication of mobile terminal, therefore mobile terminal is first sent Order is to Intelligent key, and then Intelligent key is interacted with passive smart lock again.
Specifically, step S310 includes:
Step S311 sends the first acquisition instruction including smart lock ID extremely when the unlocking mode is key unlocking The Intelligent key, so that the Intelligent key returns to smart lock sequence number;
In the present embodiment, when unlocking mode is key unlocking, mobile terminal sends the instruction of acquisition smart lock ID extremely Intelligent key, it should be noted that Intelligent key needs to connect with smart lock in advance, and Intelligent key is interacted with smart lock to obtain Take smart lock sequence number.When Intelligent key receives the first acquisition instruction including smart lock ID of mobile terminal transmission, intelligence The smart lock sequence number got from smart lock is sent to mobile terminal by energy key.
Step S312, in the smart lock sequence that the corresponding smart lock sequence number of the smart lock ID and the Intelligent key return When row number is consistent, then first unlocking instruction is sent to the Intelligent key, so that the Intelligent key executes smart lock Unlocking operation.
In the present embodiment, mobile terminal receives the smart lock sequence number of Intelligent key return, by the sequence number and moves The corresponding smart lock sequence number of smart lock ID that dynamic terminal is got from switch lock task is compared, if the two is consistent, Then illustrate that the smart lock is the specified smart lock of this switch lock task, then sends the first unlocking instruction including unlocking mode To Intelligent key, so that Intelligent key executes unlocking operation to smart lock;If the two is inconsistent, illustrate that the smart lock is not The specified smart lock of this switch lock task can show related error information to prompt operator in mobile terminal.
Step S320, when the unlocking mode is that APP unlocks, sending includes the smart lock ID and the unlocking side Second unlocking instruction of formula is to the corresponding smart lock of smart lock ID, so that the smart lock executes unlocking operation.
In the present embodiment, when unlocking mode be APP unlock when illustrate that the smart lock is active smart lock, can directly with Mobile terminal is communicated, and the instruction that mobile terminal is sent is received.
Specifically, step S320 includes:
Step S321 sends the second acquisition instruction including smart lock ID to institute when the unlocking mode is that APP unlocks The corresponding smart lock of smart lock ID is stated, so that the smart lock returns to smart lock sequence number;
In the present embodiment, when unlocking mode is that APP unlocks, mobile terminal sends the second acquisition including smart lock ID Instruction is to the corresponding smart lock of smart lock ID, and when smart lock receives the acquisition instruction of mobile terminal transmission, then smart lock will Smart lock sequence number is sent to mobile terminal.
Step S322, in the smart lock sequence that the corresponding smart lock sequence number of the smart lock ID and the smart lock return When number consistent, then second unlocking instruction is sent to the smart lock, so that the smart lock executes unlocking operation.
In the present embodiment, mobile terminal receives the smart lock sequence number of smart lock return, by the sequence number and movement The corresponding smart lock sequence number of the smart lock ID that terminal is got from switch lock task is compared, if the two is consistent, Illustrate that the smart lock is the specified smart lock of this switch lock task, then sends the second unlocking instruction including unlocking mode extremely Smart lock, so that smart lock executes unlocking operation;If the two is inconsistent, illustrating the smart lock not is this switch lock task Specified smart lock can show related error information to prompt operator in mobile terminal.
The control method for the smart lock that the present embodiment proposes, in the switch lock time range, in the unlocking mode When for key unlocking, send include the smart lock ID and the unlocking mode the first unlocking instruction it is corresponding to smart lock ID Intelligent key so that the Intelligent key to smart lock execute unlocking operation, then the unlocking mode be APP unlock When, second unlocking instruction of the transmission including the smart lock ID and the unlocking mode to the corresponding smart lock of smart lock ID, So that the smart lock executes unlocking operation.The switch lock time of smart lock is limited by switch lock time range, and then is guaranteed It the operating time that railway related control device is detected and repaired, the probability of plant maintenance not in time is effectively reduced, keeps away The possibility that staff is operated the time other than switch lock time range is exempted from.
The 3rd embodiment of the control method of smart lock of the present invention is proposed, in this reality referring to Fig. 4 based on second embodiment It applies in example, the control method of the invention smart lock further include:
Step S800 sends the short message including account information and unlocks request to server, so that the server is based on institute It states account information and returns to short message verification code;
In the present embodiment, when an emergency situation is encountered needs interim unlock, short message mode request server pair can be passed through The open super unlocking authority of operator, allows it to open the not door lock in original permission.It should be noted that short message is unlocked Needing operator in advance is its account information application short message unlocking qualification, its account information is recorded short message and unlocked by server In list, each account information corresponding one can receive the phone number of short message, only with the account of short message unlocking qualification Information can just apply for that short message is unlocked.Specifically, mobile terminal sends the short message unlocking including account information and requests to server, When server is connected to short message unlocking request, it is first determined whether the account information is in short message unlocking list, if given birth to At short message verification code, the identifying code is saved to the default memory block of server and sends the identifying code to the corresponding hand of account information Machine number;If the account information, not in short message unlocking list, server returns to the prompt information of refusal short message unlocking extremely Mobile terminal.
Step S900 sends verifying code check and requests to server, within a preset time so that the server is based on institute State verifying code check request back-checking result;
In the present embodiment, when operator receives the identifying code of server transmission by short message, the identifying code is defeated Enter position corresponding to mobile terminal, then sends verifying code check and request to server, when server receives identifying code school When testing request, identifying code is extracted from verifying code check request, and matched with the identifying code saved in default memory block, and Matching result is fed back to mobile terminal.It should be noted that identifying code is time-effectiveness, exceeds preset time, then verify Code failure, so needing to complete before the deadline to verify code check.
Step S1000, when the check results are verifying code check success, it is determined that the account information possesses super Unlocking authority, wherein the super unlocking authority is that the mobile terminal passes through bluetooth connection with the mobile terminal to all Smart lock execute unlocking operation.
In the present embodiment, when the check results that server returns are verifying code check success, illustrate that identifying code matches Success, the unlocking of mobile terminal application short message are requested successfully, i.e. the mobile terminal intelligence that passes through bluetooth connection to all and mobile terminal It can lock execution unlocking operation.It should be noted that short message unlocking has the time limit, server can be arranged according to the actual situation, surpass The time limit is spent, needs to apply again.
The control method for the smart lock that the present embodiment proposes, transmission include that the short message unlocking of account information is requested to service Device then sends identifying code school so that the server is based on the account information and returns to short message verification code within a preset time Request is tested to server, so that the server is based on verifying code check request back-checking as a result, finally when the school When testing result to verify code check success, it is determined that the account information possesses super unlocking authority.It is unlocked by application short message Permission can help operator to handle the emergency of burst while enriching unlocking mode, improve operator Working efficiency.
In addition, the embodiment of the present invention also proposes a kind of readable storage medium storing program for executing, intelligence is stored on the readable storage medium storing program for executing The control program of lock, the control program of the smart lock realize the control of smart lock in above-mentioned each embodiment when being executed by processor The step of method processed.
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 control method of smart lock, it is applied to mobile terminal, which is characterized in that the control method of the smart lock includes Following steps:
When receiving task download instruction, the corresponding unlocking task of the download instruction is downloaded to default memory block;
The corresponding switch lock time range of the unlocking task, the corresponding intelligence of the unlocking task are obtained based on the unlocking task ID can be locked;
In the switch lock time range, based on the smart lock ID and the corresponding unlocking mode of the smart lock ID to intelligence It can lock execution unlocking operation.
2. the control method of smart lock as described in claim 1, which is characterized in that the unlocking mode include key unlocking or APP key unlocking, it is described in the switch lock time range, it is corresponding based on the smart lock ID and smart lock ID Unlocking mode to smart lock execute unlocking operation the step of include:
In the switch lock time range, the unlocking mode be key unlocking when, send include the smart lock ID with And the first unlocking instruction of the unlocking mode is to the corresponding Intelligent key of smart lock ID, so that the Intelligent key is to smart lock Execute unlocking operation;
When the unlocking mode is that APP unlocks, sends second including the smart lock ID and the unlocking mode and unlock Instruction is to the corresponding smart lock of smart lock ID, so that the smart lock executes unlocking operation.
3. the control method of smart lock as claimed in claim 2, which is characterized in that described in the switch lock time range It is interior, when the unlocking mode is key unlocking, sends first including the smart lock ID and the unlocking mode and unlock Instruction is to the corresponding Intelligent key of smart lock ID, so that the Intelligent key includes: the step of executing unlocking operation to smart lock
When the unlocking mode is key unlocking, first acquisition instruction of the transmission including smart lock ID to the Intelligent key, So that the Intelligent key returns to smart lock sequence number;
When the corresponding smart lock sequence number of the smart lock ID is consistent with the smart lock sequence number that the Intelligent key returns, then First unlocking instruction is sent to the Intelligent key, so that the Intelligent key executes unlocking operation to smart lock.
4. the control method of smart lock as claimed in claim 2, which is characterized in that described to be opened in the unlocking mode for APP When lock, the second unlocking instruction including the smart lock ID and the unlocking mode is sent to the corresponding intelligence of smart lock ID Lock, so that the smart lock includes: the step of executing unlocking operation
When the unlocking mode is that APP unlocks, the second acquisition instruction including smart lock ID is sent to ID pairs of the smart lock The smart lock answered, so that the smart lock returns to smart lock sequence number;
When the corresponding smart lock sequence number of the smart lock ID is consistent with the smart lock sequence number that the smart lock returns, then send out Send second unlocking instruction to the smart lock, so that the smart lock executes unlocking operation.
5. the control method of smart lock as described in claim 1, which is characterized in that described in the switch lock time range It is interior, the step of unlocking operation is executed to smart lock based on the smart lock ID and the smart lock ID corresponding unlocking mode it Afterwards, the control method of the smart lock further include:
In the switch lock time range, sends corresponding shut of the smart lock ID and instructs to smart lock or Intelligent key, So that the smart lock or Intelligent key execution shut operation.
6. the control method of smart lock as described in claim 1, which is characterized in that described in the switch lock time range It is interior, the step of unlocking operation is executed to smart lock based on the smart lock ID and the smart lock ID corresponding unlocking mode it Afterwards, the control method of the smart lock further include:
When receiving successfully unlocking message, the delay duration of the smart lock is obtained;
When the delay duration is greater than or equal to threshold value, the prompt information of smart lock is closed in output.
7. such as the control method of smart lock described in any one of claims 1 to 6, which is characterized in that described in the switch It locks in time range, the behaviour that unlocks is executed to smart lock based on the smart lock ID and the corresponding unlocking mode of the smart lock ID After the step of making, the control method of the smart lock further include:
When receiving successfully unlocking message or successfully shutting message, the successfully corresponding uncaging time of unlocking message or successfully is obtained Shut that message is corresponding to shut the time;
Based on the smart lock ID and the uncaging time or shuts time generation log recording and save to default memory block.
8. such as the control method of smart lock described in any one of claims 1 to 6, which is characterized in that the control of the smart lock Method processed further include:
It sends the short message including account information and unlocks request to server, so that the server is returned based on the account information Short message verification code;
It sends verifying code check within a preset time to request to server, so that the server is based on the verifying code check and asks Seek back-checking result;
When the check results are verifying code check success, it is determined that the account information possesses super unlocking authority, wherein The super unlocking authority is that the mobile terminal is opened by the smart lock execution of bluetooth connection with the mobile terminal all Lock operation.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes: memory, processor and is stored in the storage On device and the control program of smart lock that can run on the processor, the control program of the smart lock is by the processor The step of control method such as smart lock described in any item of the claim 1 to 8 is realized when execution.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with the control journey of the smart lock on the readable storage medium storing program for executing Sequence is realized when the control program of the smart lock is executed by processor such as smart lock described in any item of the claim 1 to 8 The step of control method.
CN201811631984.8A 2018-12-28 2018-12-28 Control method, mobile terminal and the readable storage medium storing program for executing of smart lock Pending CN109712293A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811631984.8A CN109712293A (en) 2018-12-28 2018-12-28 Control method, mobile terminal and the readable storage medium storing program for executing of smart lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811631984.8A CN109712293A (en) 2018-12-28 2018-12-28 Control method, mobile terminal and the readable storage medium storing program for executing of smart lock

Publications (1)

Publication Number Publication Date
CN109712293A true CN109712293A (en) 2019-05-03

Family

ID=66259287

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811631984.8A Pending CN109712293A (en) 2018-12-28 2018-12-28 Control method, mobile terminal and the readable storage medium storing program for executing of smart lock

Country Status (1)

Country Link
CN (1) CN109712293A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110992533A (en) * 2019-12-09 2020-04-10 深圳Tcl数字技术有限公司 RFID card verification method, device, equipment and storage medium
CN111739197A (en) * 2020-04-24 2020-10-02 珠海汇金科技股份有限公司 Lock unlocking method and system
CN112466018A (en) * 2020-12-08 2021-03-09 广东省安心加科技有限公司 Access control abnormity query method, terminal and storage medium
CN112634493A (en) * 2020-12-11 2021-04-09 青岛海信智慧生活科技股份有限公司 Intelligent door lock, terminal equipment, control method of intelligent door lock and storage medium
CN113327354A (en) * 2021-06-07 2021-08-31 广东电网有限责任公司 Door lock control method, device, equipment and storage medium for power grid equipment
CN113793439A (en) * 2021-11-17 2021-12-14 深圳市森尼物联科技有限公司 Intelligent lock control method and system, intelligent lock and storage medium
CN114419768A (en) * 2022-01-29 2022-04-29 青岛海信移动通信技术股份有限公司 Unlocking method, unlocking device, intelligent operation recorder, medium and system
CN116978150A (en) * 2023-09-25 2023-10-31 杭州行至云起科技有限公司 Intelligent lock control method, device and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206071276U (en) * 2016-09-07 2017-04-05 山东鲁能奥特科技有限公司 A kind of Lock control system for transformer station
CN106960482A (en) * 2016-01-10 2017-07-18 刘斯 With the system of mobile phone stochastic and dynamic identifying code unlatching burglar-proof door
CN107845167A (en) * 2017-10-11 2018-03-27 深圳市创维群欣安防科技股份有限公司 Daily record of work storage method, system and the intelligent electronic lock of a kind of intelligent electronic lock
CN108492409A (en) * 2018-03-01 2018-09-04 中船重工(武汉)凌久信息技术有限公司 A kind of low power-consumption intelligent cloud lock system, method for unlocking and the equipment of easy care
CN108798300A (en) * 2018-06-22 2018-11-13 国网江西省电力有限公司南昌供电分公司 A kind of distribution operation anti-misoperation bracelet and lockset
CN108846921A (en) * 2018-05-03 2018-11-20 深圳市简工智能科技有限公司 Lockset shuts confirmation method, mobile terminal and storage medium
CN108921980A (en) * 2018-05-03 2018-11-30 深圳市简工智能科技有限公司 Offline method for unlocking, mobile terminal and the storage medium of lockset

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106960482A (en) * 2016-01-10 2017-07-18 刘斯 With the system of mobile phone stochastic and dynamic identifying code unlatching burglar-proof door
CN206071276U (en) * 2016-09-07 2017-04-05 山东鲁能奥特科技有限公司 A kind of Lock control system for transformer station
CN107845167A (en) * 2017-10-11 2018-03-27 深圳市创维群欣安防科技股份有限公司 Daily record of work storage method, system and the intelligent electronic lock of a kind of intelligent electronic lock
CN108492409A (en) * 2018-03-01 2018-09-04 中船重工(武汉)凌久信息技术有限公司 A kind of low power-consumption intelligent cloud lock system, method for unlocking and the equipment of easy care
CN108846921A (en) * 2018-05-03 2018-11-20 深圳市简工智能科技有限公司 Lockset shuts confirmation method, mobile terminal and storage medium
CN108921980A (en) * 2018-05-03 2018-11-30 深圳市简工智能科技有限公司 Offline method for unlocking, mobile terminal and the storage medium of lockset
CN108798300A (en) * 2018-06-22 2018-11-13 国网江西省电力有限公司南昌供电分公司 A kind of distribution operation anti-misoperation bracelet and lockset

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110992533A (en) * 2019-12-09 2020-04-10 深圳Tcl数字技术有限公司 RFID card verification method, device, equipment and storage medium
CN110992533B (en) * 2019-12-09 2022-06-10 深圳Tcl数字技术有限公司 RFID card verification method, device, equipment and storage medium
CN111739197A (en) * 2020-04-24 2020-10-02 珠海汇金科技股份有限公司 Lock unlocking method and system
CN112466018A (en) * 2020-12-08 2021-03-09 广东省安心加科技有限公司 Access control abnormity query method, terminal and storage medium
CN112634493A (en) * 2020-12-11 2021-04-09 青岛海信智慧生活科技股份有限公司 Intelligent door lock, terminal equipment, control method of intelligent door lock and storage medium
CN113327354A (en) * 2021-06-07 2021-08-31 广东电网有限责任公司 Door lock control method, device, equipment and storage medium for power grid equipment
CN113793439A (en) * 2021-11-17 2021-12-14 深圳市森尼物联科技有限公司 Intelligent lock control method and system, intelligent lock and storage medium
CN113793439B (en) * 2021-11-17 2022-04-12 深圳市森尼物联科技有限公司 Intelligent lock control method and system, intelligent lock and storage medium
CN114419768A (en) * 2022-01-29 2022-04-29 青岛海信移动通信技术股份有限公司 Unlocking method, unlocking device, intelligent operation recorder, medium and system
CN116978150A (en) * 2023-09-25 2023-10-31 杭州行至云起科技有限公司 Intelligent lock control method, device and system
CN116978150B (en) * 2023-09-25 2024-01-05 杭州行至云起科技有限公司 Intelligent lock control method, device and system

Similar Documents

Publication Publication Date Title
CN109712293A (en) Control method, mobile terminal and the readable storage medium storing program for executing of smart lock
CN107730669B (en) Access control method, system and computer readable storage medium
CN105205370B (en) Mobile terminal safety means of defence and mobile terminal, security system and methods for using them
US8508332B2 (en) Access control
CA2585727C (en) Actuating a security system using a wireless device
US20220203933A1 (en) Method for Authenticating Identity of Digital Key, Terminal Device, and Medium
CN107077552A (en) Bio-identification checking is distributed between device in AD-HOC network
GB2528818A (en) Item locker arrangement
CN109920114A (en) A kind of control method for door lock and system based on geographical location
CN106327193B (en) A kind of system unlocking method and equipment
CN108510612A (en) Parking lot night watching method, system and computer readable storage medium
CN109559110A (en) Noninductive method of payment and system
CN108769925A (en) A kind of antitheft recovering system for mobile terminal
CN109872431A (en) Guest access right management method, equipment and readable storage medium storing program for executing
CN205193906U (en) Cell -phone system of opening door based on cloud platform
CN109409044A (en) A kind of verifying interface display method and terminal
CN109670836A (en) Account verification method, unit and computer readable storage medium
CN106529258A (en) Security management method and system for mobile equipment
CN110290033A (en) A kind of method and apparatus carrying out authentication based on trusted device
CN108307463B (en) Mode switching method, system and access control system
CN207704510U (en) A kind of control of bluetooth access system based on narrowband Internet of Things
CN110070638A (en) Electronic patrol method, night watching server, night watching terminal and system
CN106060069B (en) A kind of delivering key, dynamic password generate and the method and apparatus of certification
CN106211070A (en) The anti-theft protection method of a kind of mobile terminal and mobile terminal
CN108549804A (en) Mode switching method and device, computer readable storage medium, terminal

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: 20190503