CN107978049A - Control method and device, the vehicle of smart lock - Google Patents

Control method and device, the vehicle of smart lock Download PDF

Info

Publication number
CN107978049A
CN107978049A CN201711298936.7A CN201711298936A CN107978049A CN 107978049 A CN107978049 A CN 107978049A CN 201711298936 A CN201711298936 A CN 201711298936A CN 107978049 A CN107978049 A CN 107978049A
Authority
CN
China
Prior art keywords
smart lock
acoustic signals
optical signal
sent
module
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
CN201711298936.7A
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.)
Dongxia Datong Beijing Management Consulting Co Ltd
Original Assignee
Dongxia Datong Beijing Management Consulting 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 Dongxia Datong Beijing Management Consulting Co Ltd filed Critical Dongxia Datong Beijing Management Consulting Co Ltd
Priority to CN201711298936.7A priority Critical patent/CN107978049A/en
Publication of CN107978049A publication Critical patent/CN107978049A/en
Pending legal-status Critical Current

Links

Classifications

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

Abstract

The embodiment of the present invention provides a kind of method and device for controlling smart lock, vehicle, belongs to smart lock field.Method for the control smart lock of smart lock includes:Receive acoustic signals or optical signal that client is sent;The frequency information of the acoustic signals or optical signal is analyzed, and decodes the corresponding coding information of the frequency information;And whether the unlocking cipher sent with server matches the verification coding information, when being verified, opens the smart lock.Method and device, smart lock, the client of the control smart lock make the unlocking of smart lock simple, are convenient for users to operate, and can save the energy consumption of smart lock.

Description

Control method and device, the vehicle of smart lock
Technical field
The present invention relates to smart lock field, method and device, vehicle more particularly to control smart lock.
Background technology
Smart lock because it is easy to use and safe, be easily managed the features such as be applied to various fields more and more, And because of the characteristic of its convenient management, make various emerging fields develops into possibility.Such as the shared car being vigorously developed recently The shared economy of grade, exactly because smart lock and put goods on the market.In shared economy, in order between user and operator Safe and reliable transaction relationship is established, it is necessary to reasonable and safely control smart lock unlocking.
By taking shared vehicle as an example, mainly there are following several unlocking modes at present:Barcode scanning is unlocked, button is unlocked and bluetooth is opened Lock.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of method and device, smart lock, client for controlling smart lock, the control Method and device, smart lock, the client of smart lock processed make the unlocking of smart lock simple, are convenient for users to operate, and can Save the energy consumption of smart lock.
To achieve these goals, the embodiment of the present invention provides a kind of method for controlling smart lock, and this method is used for intelligence Lock, this method include:Receive acoustic signals or optical signal that client is sent;Analyze the frequency of the acoustic signals or optical signal Information, and decode the corresponding coding information of the frequency information;And verify what whether the coding information sent with server Unlocking cipher matches, and when being verified, opens the smart lock.
Wherein, this method can also include:Detect the decibel value of the acoustic signals or the brightness value of the optical signal;When When the decibel value of the acoustic signals is less than predetermined brightness value less than the brightness value of predetermined decibel value or the optical signal, control The smart lock is in a dormant state;When the decibel value of the acoustic signals is not less than predetermined decibel value or the optical signal When brightness value is not less than predetermined brightness value, the smart lock is controlled to be transformed into working status by resting state.
Wherein, this method can also include:When frequency information verification not by when, and do not have within a predetermined period of time Receive the acoustic signals not less than predetermined decibel value or the optical signal not less than predetermined brightness value again, then the smart lock by Working status is transformed into resting state.
Wherein, the coding information includes ASCII codings, and the corresponding coding information of the decoding frequency information can be with Including:Decode the corresponding ASCII codings of the frequency information.
According to another aspect of the present invention, a kind of method for controlling smart lock is also provided, this method is used for client, the party Method includes:Obtain the identification information of the smart lock;The identification information of the smart lock is sent to server;Receive the service The unlocking cipher for the smart lock that device is sent;The unlocking cipher is converted into acoustic signals or optical signal;And to Outside sends the acoustic signals or optical signal.
Wherein, it is described the unlocking cipher is converted into acoustic signals or optical signal before, this method can also include: The unlocking cipher sent to the server is encrypted.
Wherein, it is described the unlocking cipher is converted into acoustic signals or optical signal to include:By the unlocking cipher ASCII codings are converted to, and the ASCII code conversions are believed into the acoustic signals of different frequency or the light of different frequency Number.
The device for controlling smart lock a kind of according to another aspect of the present invention, this method are used for smart lock, which includes Signal receiver, analysis module, authentication module and control module, wherein:The signal receiver, for receive acoustic signals or Person's optical signal, and it is sent to the analysis module;The analysis module, for analyzing the acoustic signals or the optical signal Frequency information, and the corresponding coding information of the frequency information is decoded, and the coding information is sent to the authentication module; The authentication module, for verifying the coding information, whether the unlocking cipher sent with server matches, and matching is tied Fruit is sent to the control module;The control module, when the matching result is matches, the intelligence is opened for controlling Lock.
Wherein, described device can also include:Detection module, for the decibel value for detecting the acoustic signals or the light The brightness value of signal, and testing result is sent to the control module;When the decibel value of the acoustic signals is less than predetermined point When the brightness value of shellfish value or the optical signal is less than predetermined brightness value, the control module is further controlled at the smart lock In resting state;When the decibel value of the acoustic signals is not less than not less than the brightness value of predetermined decibel value or the optical signal During predetermined brightness value, the control module further controls the smart lock to be transformed into working status by resting state.
Wherein, the control module can be also used for:When authentication module verification not by when, and in predetermined amount of time The interior signal receiver is not received not less than the acoustic signals of predetermined decibel value or not less than predetermined brightness value again Optical signal, then the control module control the smart lock to be transformed into resting state by working status.
According to another aspect of the present invention, a kind of device for controlling smart lock is also provided, which is used for client, the dress Put including:Acquisition module, for obtaining the identification information of the smart lock;Radio receiving transmitting module, for sending institute to server The identification information of smart lock is stated, and receives the unlocking cipher for the smart lock that the server is sent;Modular converter, For the unlocking cipher to be converted to acoustic signals or optical signal;And outgoing module, for sending the sound wave to outside Signal or optical signal.
Wherein, which can also include:Encrypting module, for the unlocking cipher to be converted to acoustic signals or light Before signal, the unlocking cipher sent to the server is encrypted.
According to another aspect of the present invention, a kind of smart lock is also provided, which includes the control for smart lock The device of smart lock processed.
According to another aspect of the present invention, a kind of vehicle is also carried, it is characterised in that the vehicle includes the institute for smart lock State the device of control smart lock.According to another aspect of the present invention, a kind of client is also provided, which includes being used for client The device of the control smart lock at end.
In addition, according to other aspects of the invention, machinable medium is also provided, on the machinable medium Instruction is stored with, which is used for so that the method that machine performs the control smart lock in the above.
Through the above technical solutions, the present invention is unlocked using acoustic signals or optical signal, make unlocking operation simple and fast, carry High user experience;Meanwhile sound wave is unlocked or light wave unlocking is only needed the sound wave of fixed frequency or light wave and fixed ASCII Code is corresponding, reduces the complexity and memory overhead of computing;And the unlocking mode need not keep long with server and connect Securely unlocking can be realized by connecing, and reduce the power consumption of smart lock, add the access times of smart lock, reduce further maintenance Cost.
The further feature and advantage of the embodiment of the present invention will be described in detail in subsequent specific embodiment part.
Brief description of the drawings
Attached drawing is that the embodiment of the present invention is further understood for providing, and a part for constitution instruction, with The embodiment in face is used to explain the embodiment of the present invention together, but does not form the limitation to the embodiment of the present invention.Attached In figure:
Fig. 1 is the flow chart of the method for the control smart lock according to an embodiment of the invention for smart lock;
Fig. 2 is the flow chart of the method for the control smart lock according to an embodiment of the invention for smart lock;
Fig. 3 is the flow chart of the method for the control smart lock according to an embodiment of the invention for client;
Fig. 4 is the structure diagram of the device of the control smart lock according to an embodiment of the invention for smart lock;
Fig. 5 is the structure diagram of the device of the control smart lock according to another embodiment of the present invention for smart lock;
Fig. 6 is the structure diagram of the device of the control smart lock according to an embodiment of the invention for client;And
Fig. 7 is the structure diagram of the device of the control smart lock according to another embodiment of the present invention for client.
Description of reference numerals
100:Control the device 110 of smart lock:Signal receiver
120:Analysis module 130:Authentication module
140:Control module 150:Detection module
200:Device for the control smart lock of client
210:Acquisition module 220:Radio receiving transmitting module
230:Modular converter 240:Outgoing module
250:Encrypting module
Embodiment
The embodiment of the embodiment of the present invention is described in detail below in conjunction with attached drawing.It should be appreciated that this Locate described embodiment and be merely to illustrate and explain the present invention embodiment, be not intended to limit the invention embodiment.
Fig. 1 is the flow chart of the method for the control smart lock according to an embodiment of the invention for smart lock.Such as Fig. 1 institutes Show, this method comprises the following steps:
In step s 110, the acoustic signals or optical signal that client is sent are received.
Acoustic signals receiver is provided with smart lock to receive the acoustic signals that client is sent, or is provided with optical signal Receiver receives the optical signal that client is sent.
In the step s 120, the frequency information of the acoustic signals or optical signal is analyzed, and decodes the frequency information pair The coding information answered.
Here optical signal can be the different colours of the screen display of the intelligent terminal where client, the light of different colours With different wavelength, according to formula f=C/ λ, wherein C is electromagnetic wave propagation speed, and λ is wavelength, and f is frequency, it is seen that ripple It is reciprocal relation between long λ and frequency f.
Here the acoustic signals of different frequency or lightwave signal can be decoded as corresponding ASCII character or other codings, It is each for example, if analysis, which obtains the frequencies of the acoustic signals or lightwave signal, is followed successively by 2kHz, 3kHz, 4kHz, 1kHz The corresponding frequency of sound wave of a ASCII character or frequency of light wave can be the fixed frequency values pre-set, thus each frequency Acoustic signals carrying can be fixed ASCII character, if for example, ASCII that 2kHz frequency of sound wave carries or corresponding Code is that the carrying of 00110010,3kHz frequency of sound wave or corresponding ASCII character is what 00110011,4kHz frequency of sound wave carried Either corresponding ASCII character is that the carrying of 00110100 1kHz frequency of sound wave or corresponding ASCII character is 00110001, then Decoding obtained coding information is:00110010、00110011、00110100、00110001.
In step S130, verifying the coding information, whether the unlocking cipher sent with server matches.
Here obtained ASCII character can be converted to identical with the unlocking cipher form that server is handed down to smart lock Coding, for example, if server is handed down to the data packet for including unlocking cipher of smart lock, is by decoded data format Ten's digit, then be converted to ten's digit by ASCII character, for example, 00110010,00110011,00110100, 00110001 can be converted to 2,3,4,1 respectively.
In step S140, judge whether the coding information passes through verification.Verification process for example can be by the coding Information is contrasted with the checking information pre-saved in smart lock, is verified when comparing result is consistent.Can also will be various Frequency information is converted to ASCII character, when receiving the frequency information, judge the frequency information whether with it is default ASCII is consistent, is to be verified when judging result is consistent.
In step S150, when being verified, the smart lock is opened.
Through this embodiment, it is possible to achieve sound wave is unlocked or optical signal is unlocked, so as to can not only reduce when user unlocks Troublesome operation, makes unlocking process simpler, strengthens user experience, and can also improve security.Meanwhile the present embodiment passes through Verify that the frequency information of acoustic signals or optical signal is realized to unlock, thus unlock relative to voice, it is not necessary to complicated computing and Memory overhead.
Fig. 2 is the flow chart of the method for the control smart lock according to an embodiment of the invention for smart lock.Such as Fig. 2 institutes Show, wherein, this method can also comprise the following steps:
In step s 201, acoustic signals or optical signal are received.
In step S202, the decibel value of the acoustic signals or the brightness value of the acoustic signals are detected.
In step S203, judge whether the decibel value of received acoustic signals is less than predetermined decibel value or reception Whether the brightness value of the optical signal arrived is less than predetermined brightness value.
In step S204, when the decibel value of the acoustic signals is less than predetermined decibel value, and/or when the light wave is believed Number brightness value when being less than predetermined brightness value, control the smart lock in a dormant state.Wherein, the smart lock is controlled to be in Resting state includes the resting state for making smart lock maintenance current and/or smart lock is entered resting state from working status.
Acoustic signals or optical signal come from the environment where smart lock, thus smart lock can not only receive client hair The acoustic signals or optical signal that are used to unlock gone out, moreover it is possible to receive the various noises in environment.If smart lock is set to locate all the time In reception acoustic signals or optical signal and its frequency information is analyzed, and then is verified in the working status of frequency information, it will consumption Unnecessary electricity.Thus it could be provided as when the decibel value of acoustic signals is bright less than predetermined less than predetermined decibel value or optical signal Resting state is at during angle value, and smart lock is converted to work when the decibel value of acoustic signals is not less than predetermined decibel value Make state, and then the acoustic signals to being received carry out analysis verification.
In one embodiment, it is contemplated that smart lock only just needs work when user needs to unlock to it, thus can be with It is arranged to smart lock and is generally in resting state, is only receiving the acoustic signals for being not less than predetermined decibel value or receiving not Less than predetermined brightness value optical signal when be just activated and change and be in working condition.
In step S205, the frequency information of the acoustic signals or optical signal is analyzed, and decodes the frequency information pair The coding information answered.
In step S206, verifying the coding information, whether the unlocking cipher sent with server matches.
In step S207, judge whether the coding information passes through verification.
In step S208, when being verified, the smart lock is opened.
Step S205-S208 is identical with above-mentioned steps S120-S150, thus repeats no more.
In another preferred embodiment, in step S209-S210, when the coding information verification not by when, and Do not receive acoustic signals or optical signal again within a predetermined period of time, the smart lock is entered resting state.Though if The right coding information is not verified, but have received acoustic signals or optical signal again within a predetermined period of time, then goes to Step S202, thus when the acoustic signals for unlocking or optical signal are sent to smart lock, even if one-time authentication not by, Acoustic signals next time or optical signal that client is sent can also be received again at once, so as to verify unlocking, therefore need not make Smart lock coding information verify not by when at once carry out resting state, be not less than if do not received within a predetermined period of time The acoustic signals of predetermined decibel value or the optical signal not less than predetermined brightness value, then make smart lock be transformed into dormancy by working status State.In addition, if coding information verification not by when, reduce smart lock power consumption, preferably verification not by when, by pre- Smart lock is set to enter resting state after section of fixing time.
Fig. 3 is the flow chart of the method for the control smart lock according to an embodiment of the invention for client.Such as Fig. 3 institutes Show, this method comprises the following steps:
In step S310, the identification information of the smart lock is obtained.The id signal of smart lock can be by user visitor The Quick Response Code of the equipment at family end scanning smart lock institute place obtains, such as can share the Quick Response Code of vehicle by scanning input, It can also be inputted by user.
In step s 320, the identification information of the smart lock is sent to server.
In step S330, the unlocking cipher for the smart lock that server is sent is received.Server is receiving After the id signal of the smart lock, the password for the smart lock can be issued to the smart lock.
In step S340, the unlocking cipher is converted into acoustic signals or optical signal.
Here, the unlocking cipher for server being handed down to client is converted into corresponding ASCII character, such as 00110101, 00110110th, 00110111,00110100, the corresponding frequency of sound wave of each ASCII character is the fixed frequency pre-set Value, for example, 00110101 it is corresponding be 5kHz frequency of sound wave, 00110110 it is corresponding be 6kHz frequency of sound wave, 00110111 corresponds to Be 7kHz frequency of sound wave, 00110100 it is corresponding be 4kHz frequency of sound wave, then client outwards plays the suitable of acoustic signals Sequence is followed successively by 5kHz sound waves, 6kHz sound waves, 7kHz sound waves, 4kHz sound waves.This fixed frequency value pre-set is not Can change, can be modified by software upgrading, such as after client terminal software updating, 00110101 it is corresponding be no longer 5kHz Frequency of sound wave but 15kHz frequency of sound wave.
In addition, according to foregoing formula f=C/ λ, it is known that the light wave of different colours has different frequencies, so will Server be handed down to client unlocking cipher be converted into corresponding ASCII character after, can also be corresponding by each ASCII character Light color is pre-set, or the corresponding frequency of sound wave of each ASCII character is converted into corresponding ripple by λ=C/f again Long light color, then the terminal screen where client sequentially show the corresponding light color of each ASCII character.
In step S350, the acoustic signals or optical signal are sent to outside.
Client can directly send the acoustic signals or optical signal after password is converted to acoustic signals or optical signal, It can be selected to send after sending (for example, broadcasting) button by user.At this time, user only needs that the equipment of the client will be included Close to the smart lock, so that after smart lock receives acoustic signals or optical signal, acoustic signals or optical signal can be known Other and decryption processing.In addition, after the acoustic signals or optical signal are sent, when not unlocking successfully for a long time, can also prompt User adjusts volume or adjusts brightness, to improve the decibel value of acoustic signals or the brightness value of optical signal that are issued.
The password that server is handed down to smart lock can include encryption information, can not also include encryption information.Comprising adding During confidential information, client can no longer be encrypted, and be sent after the password received is converted to acoustic signals or optical signal. When the password that server issues does not include encryption information, by the unlocking cipher be converted to acoustic signals or optical signal it Before, this method can also include:The unlocking cipher sent to server is encrypted, and then client again will encryption Password after processing is converted to acoustic signals or optical signal is sent.
The encryption of client can be that the unlocking cipher that server issues is encrypted with Encryption Algorithm, for example, opening Lock cipher is 4-digit number:2341, Encryption Algorithm is that each numeral is added 3, then becomes after the encrypted algorithm process of unlocking cipher Into 5674, and the corresponding ASCII character of numeral 5,6,7,4 is respectively 00110101,00110110,00110111,00110100. By taking acoustic signals as an example, client respectively plays out this four ASCII characters with the acoustic signals of different frequency, each The corresponding frequency of sound wave of ASCII character is the fixed frequency value pre-set, for example, 00110101 it is corresponding be 5kHz sound waves frequency Rate, 00110110 it is corresponding be 6kHz frequency of sound wave, 00110111 it is corresponding be 7kHz frequency of sound wave, 00110100 corresponding be 4kHz frequency of sound wave, then client outwards play the orders of acoustic signals and be followed successively by 5kHz sound waves, 6kHz sound waves, 7kHz sound Ripple, 4kHz sound waves.This fixed frequency value pre-set can not be changed, and can be modified by software upgrading, Such as after client terminal software updating, 00110101 it is corresponding be no longer 5kHz frequency of sound wave but 15kHz frequency of sound wave.At this time, Smart lock only needs to be contrasted frequency information with corresponding ASCII character or other codes in decryption, that is, verifies the frequency Rate information frequency information whether corresponding with the ASCII codings to prestore or other codes matches;Encryption chip can also be used It is encrypted, there can be corresponding deciphering chip to be decrypted in smart lock at this time.
Fig. 4 is the structure diagram of the device of the control smart lock according to an embodiment of the invention for smart lock.Such as Fig. 4 Shown, which includes:Signal receiver 110, analysis module 120, authentication module 130 and control module 140, wherein:
The signal receiver 110, for receiving acoustic signals or optical signal, and is sent to the analysis module 120;
The analysis module 120, for analyzing the frequency information of the acoustic signals or the optical signal, and described in decoding The corresponding coding information of frequency information, and the coding information is sent to the authentication module 130;
The authentication module 130, for verifying the coding information, whether the unlocking cipher sent with server matches, And matching result is sent to the control module 140;
The control module 140, when the matching result is matches, the smart lock is opened for controlling.
Fig. 5 is the structure diagram of the device of the control smart lock according to another embodiment of the present invention for smart lock.Such as Shown in Fig. 5, in another embodiment, the device 100 for the control smart lock of smart lock further includes:Detection module 150, is used for The decibel value of the acoustic signals or the brightness value of the optical signal are detected, and testing result is sent to the control module. When the detection module 150 detects brightness of the decibel value less than predetermined decibel value or the optical signal of the acoustic signals When value is less than predetermined brightness value, the control module 140 further controls the smart lock in a dormant state;When the detection The decibel value that module 150 detects the acoustic signals is not less than in advance not less than the brightness value of predetermined decibel value or the optical signal When determining brightness value, the control module 140 further controls the smart lock to be transformed into working status by resting state.To sound wave The method that the coding of signal or optical signal can use mistake as described above.
In another embodiment, the control module 140 can be also used for:Verify when the authentication module 130 and do not pass through When, and the signal receiver does not receive the acoustic signals or not less than predetermined decibel value again within a predetermined period of time Less than the optical signal of predetermined brightness value, then the control module 140 controls the smart lock to be transformed into dormancy shape by working status State.
In another embodiment, the prestored information can include ASCII codings, and the processing module can be also used for testing Demonstrate,prove whether the frequency information matches with the corresponding frequency information of ASCII codings to prestore.The process of encryption can also Using the method for mistake as described above.
Smart lock can also include deciphering module, for being solved to the acoustic signals Jing Guo encryption or optical signal It is close.
Fig. 6 is the structure diagram of the device of the control smart lock according to an embodiment of the invention for client.Such as Fig. 6 Shown, which includes:
Acquisition module 210, for obtaining the id signal of smart lock;
Radio receiving transmitting module 220, services for sending the id signal of the smart lock to server, and for receiving The unlocking cipher for the smart lock that device is sent;
Modular converter 230, for the unlocking cipher to be converted to acoustic signals;And
Outgoing module 240, for sending the acoustic signals or optical signal to outside.Outgoing module 240 can be audio Player, the volume that user can also adjust the terminal (such as mobile phone) where client also adjust the decibel values of acoustic signals, Or outgoing module 240 itself can also include volume adjuster or brightness regulator.
Fig. 7 is the structure diagram of the device of the control smart lock according to an embodiment of the invention for client.For The device 200 of the control smart lock of client can also include:Encrypting module 250, for being converted to by the unlocking cipher Before acoustic signals, the unlocking cipher is encrypted.
It is as described above to be used to control the method and apparatus of smart lock and the smart lock including it and client to use In shared vehicle, such as shared bicycle, shared electric car, shared automobile etc., can also various access control equipments (for example, resident lives Gate inhibition's smart lock of residence smart lock or commercial location etc.), these belong to the scope of the present invention.
The present invention also provides a kind of smart lock, which includes the device 100 of the control smart lock shown in Fig. 4 or Fig. 5.
The present invention also provides a kind of terminal, which includes the control smart lock for being used for client shown in Fig. 6 or Fig. 7 Device 200.
The present invention also carries a kind of vehicle, which includes the device 100 of the control smart lock shown in Fig. 4 or Fig. 5.
In addition, the present invention also provides machinable medium, instruction is stored with the machinable medium, this refers to Order is used for so that the method that machine performs the control smart lock for being used for client shown in Fig. 3.
The optional embodiment of the embodiment of the present invention is described in detail above in association with attached drawing, still, the embodiment of the present invention is simultaneously The detail being not limited in the above embodiment, can be to of the invention real in the range of the technology design of the embodiment of the present invention The technical solution for applying example carries out a variety of simple variants, these simple variants belong to the protection domain of the embodiment of the present invention.
It is further to note that each particular technique feature described in above-mentioned embodiment, in not lance In the case of shield, it can be combined by any suitable means.In order to avoid unnecessary repetition, the embodiment of the present invention pair Various combinations of possible ways no longer separately illustrate.
It will be appreciated by those skilled in the art that realize that all or part of step in above-described embodiment method is to pass through Program instructs relevant hardware to complete, and the program storage is in the storage medium, including some instructions are used so that single Piece machine, chip or processor (processor) perform all or part of step of each embodiment the method for the application.It is and preceding The storage medium stated includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
In addition, it can also be combined between a variety of embodiments of the embodiment of the present invention, as long as it is not The thought of the embodiment of the present invention is run counter to, it should equally be considered as disclosure of that of the embodiment of the present invention.

Claims (13)

  1. A kind of 1. method for controlling smart lock, it is characterised in that this method is used for smart lock, and this method includes:
    Receive acoustic signals or optical signal that client is sent;
    The frequency information of the acoustic signals or optical signal is analyzed, and decodes the corresponding coding information of the frequency information;And
    Verifying the coding information, whether the unlocking cipher sent with server matches, and when being verified, opens the intelligence Can lock.
  2. 2. according to the method described in claim 1, it is characterized in that, this method further includes:
    Detect the decibel value of the acoustic signals or the brightness value of the optical signal;
    When the decibel value of the acoustic signals is less than predetermined brightness value less than the brightness value of predetermined decibel value or the optical signal When, control the smart lock in a dormant state;
    When the decibel value of the acoustic signals is bright not less than predetermined not less than the brightness value of predetermined decibel value or the optical signal During angle value, the smart lock is controlled to be transformed into working status by resting state.
  3. 3. method according to claim 1 or 2, it is characterised in that this method further includes:
    When coding information verification not by when, and do not receive again not less than predetermined decibel value within a predetermined period of time Acoustic signals or the optical signal not less than predetermined brightness value, then the smart lock resting state is transformed into by working status.
  4. 4. according to the method described in claim 1, it is characterized in that, the coding information includes ASCII codings, the decoding institute Stating the corresponding coding information of frequency information includes:
    Decode the corresponding ASCII codings of the frequency information.
  5. A kind of 5. method for controlling smart lock, it is characterised in that this method is used for client, and this method includes:
    Obtain the identification information of the smart lock;
    The identification information of the smart lock is sent to server;
    Receive the unlocking cipher for the smart lock that the server is sent;
    The unlocking cipher is converted into acoustic signals or optical signal;And
    The acoustic signals or optical signal are sent to outside.
  6. 6. according to the method described in claim 5, it is characterized in that, it is described by the unlocking cipher be converted to acoustic signals or Before optical signal, this method further includes:
    The unlocking cipher sent to the server is encrypted.
  7. 7. according to the method described in claim 5, it is characterized in that, described be converted to acoustic signals or light by the unlocking cipher Signal includes:
    The unlocking cipher is converted into ASCII codings, and by the ASCII code conversions into the acoustic signals of different frequency or The optical signal of person's different frequency.
  8. A kind of 8. device for controlling smart lock, it is characterised in that the device is used for smart lock, the device including signal receiver, Analysis module, authentication module and control module, wherein:
    The signal receiver, for receiving acoustic signals or optical signal, and is sent to the analysis module;
    The analysis module, for analyzing the frequency information of the acoustic signals or the optical signal, and decodes the frequency letter Corresponding coding information is ceased, and the coding information is sent to the authentication module;
    The authentication module, for verifying the coding information, whether the unlocking cipher sent with server matches, and general The control module is sent to result;
    The control module, when the matching result is matches, the smart lock is opened for controlling.
  9. 9. device according to claim 8, it is characterised in that described device further includes:
    Detection module, for detecting the decibel value of the acoustic signals or the brightness value of the optical signal, and testing result is sent out Give the control module;
    When the detection module detects that the decibel values of the acoustic signals is bright less than predetermined decibel value or the optical signal When angle value is less than predetermined brightness value, the control module further controls the smart lock in a dormant state;
    When the detection module, to detect the decibel values of the acoustic signals bright not less than predetermined decibel value or the optical signal When angle value is not less than predetermined brightness value, the control module further controls the smart lock to be transformed into work shape by resting state State.
  10. 10. device according to claim 8 or claim 9, it is characterised in that the control module is additionally operable to:
    When authentication module verification not by when, and the signal receiver does not receive not again within a predetermined period of time Acoustic signals less than predetermined decibel value or the optical signal not less than predetermined brightness value, then the control module control the intelligence Lock is transformed into resting state by working status.
  11. 11. a kind of device for controlling smart lock, it is characterised in that the device is used for client, which includes:
    Acquisition module, for obtaining the identification information of the smart lock;
    Radio receiving transmitting module, for sending the identification information of the smart lock to server, and receives the server and sends The unlocking cipher for the smart lock;
    Modular converter, for the unlocking cipher to be converted to acoustic signals or optical signal;And
    Outgoing module, for sending the acoustic signals or optical signal to outside.
  12. 12. according to the devices described in claim 11, it is characterised in that the device further includes:
    Encrypting module, for before the unlocking cipher is converted to acoustic signals or optical signal, being sent to the server The unlocking cipher be encrypted.
  13. 13. a kind of vehicle, it is characterised in that the vehicle includes the control smart lock any one of claim 7-9 Device.
CN201711298936.7A 2017-12-08 2017-12-08 Control method and device, the vehicle of smart lock Pending CN107978049A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711298936.7A CN107978049A (en) 2017-12-08 2017-12-08 Control method and device, the vehicle of smart lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711298936.7A CN107978049A (en) 2017-12-08 2017-12-08 Control method and device, the vehicle of smart lock

Publications (1)

Publication Number Publication Date
CN107978049A true CN107978049A (en) 2018-05-01

Family

ID=62009672

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711298936.7A Pending CN107978049A (en) 2017-12-08 2017-12-08 Control method and device, the vehicle of smart lock

Country Status (1)

Country Link
CN (1) CN107978049A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108510635A (en) * 2018-07-04 2018-09-07 蒙建波 A kind of intelligent lock system and its method for unlocking based on light sensation identification
CN109448192A (en) * 2018-11-13 2019-03-08 公安部第三研究所 Safe and intelligent lock system based on encryption chip
CN111508112A (en) * 2020-04-16 2020-08-07 上海钧正网络科技有限公司 Vehicle locking and unlocking method and system, computer equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108510635A (en) * 2018-07-04 2018-09-07 蒙建波 A kind of intelligent lock system and its method for unlocking based on light sensation identification
CN109448192A (en) * 2018-11-13 2019-03-08 公安部第三研究所 Safe and intelligent lock system based on encryption chip
CN111508112A (en) * 2020-04-16 2020-08-07 上海钧正网络科技有限公司 Vehicle locking and unlocking method and system, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
JP4565840B2 (en) Acoustic two-factor authentication system and method
US9489949B2 (en) System and method for identifying and/or authenticating a source of received electronic data by digital signal processing and/or voice authentication
US20190215315A1 (en) User authentication using speech recognition
US7280970B2 (en) Sonic/ultrasonic authentication device
KR101602426B1 (en) Apparatus and method for card payment using mobile terminal
JP2005518721A5 (en)
US7263347B2 (en) Biometric authentication of a wireless device user
CN106683245B (en) NFC mobile intelligent terminal safety access control system and control method thereof
CN107978049A (en) Control method and device, the vehicle of smart lock
CN104935429A (en) Data processing method and system employing multi-encryption technology
KR20100104156A (en) System and method for controlling entrance and exit
CN109671192A (en) A kind of method and earphone using earphone unlock intelligent door lock
CN108093400A (en) Send, receive the device and method of WiFi parameters
CN102655507A (en) Information safety device and system and implementation method
CN104660307A (en) Encrypted wireless communication system based on near field magnetic relay and user soft reset
CN104102858B (en) Application program cipher processing method, device and terminal
CN105184558B (en) Transaction Information sending method, device and mobile terminal
WO2018028308A1 (en) Method, system, and unlocking device for device unlocking and device to be unlocked
CN107978056A (en) A kind of electronic lock, electronic lock system and its unlocking method
CN107798753A (en) unlocking method, device and storage medium
CN107124407A (en) Data transmission method, device, readable storage medium storing program for executing, electronic equipment and system
CN105187419A (en) Authentication method, device, terminal and system
CN109840974A (en) Unlocking cipher generation method, device, terminal device and system
EP3493087A1 (en) Communication system
CN106713611A (en) Mobile phone dial voice encryption system and encryption method

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