CN109050470A - Vehicle auto-locking method, apparatus, server and storage medium - Google Patents

Vehicle auto-locking method, apparatus, server and storage medium Download PDF

Info

Publication number
CN109050470A
CN109050470A CN201810790955.XA CN201810790955A CN109050470A CN 109050470 A CN109050470 A CN 109050470A CN 201810790955 A CN201810790955 A CN 201810790955A CN 109050470 A CN109050470 A CN 109050470A
Authority
CN
China
Prior art keywords
vehicle
distance
terminal
locking
less
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.)
Granted
Application number
CN201810790955.XA
Other languages
Chinese (zh)
Other versions
CN109050470B (en
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810790955.XA priority Critical patent/CN109050470B/en
Publication of CN109050470A publication Critical patent/CN109050470A/en
Application granted granted Critical
Publication of CN109050470B publication Critical patent/CN109050470B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R25/00Fittings or systems for preventing or indicating unauthorised use or theft of vehicles
    • B60R25/20Means to switch the anti-theft system on or off
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R2325/00Indexing scheme relating to vehicle anti-theft devices
    • B60R2325/10Communication protocols, communication systems of vehicle anti-theft devices
    • B60R2325/101Bluetooth

Abstract

The disclosure is directed to a kind of vehicle auto-locking method, apparatus, server and storage medium, method includes: the first RSSI for obtaining the Bluetooth signal between vehicle and terminal;According to the first RSSI, determine vehicle at a distance from terminal;According to vehicle at a distance from terminal, judge whether that vehicle locking need to be controlled;If judgement need to control vehicle locking, control signal is sent to vehicle, to control vehicle locking.To improve the reliability of vehicle auto-locking system.

Description

Vehicle auto-locking method, apparatus, server and storage medium
Technical field
This disclosure relates to field of communication technology more particularly to a kind of vehicle auto-locking method, apparatus, server and storage Medium.
Background technique
Shared bicycle has easy to use a, characteristics such as cost performance height, therefore it is very by the welcome of user.Shared bicycle Use process includes: user by way of scanning the two dimensional code of bicycle, and to obtain the password of bicycle, user is manually entered close Code;Or the two dimensional code of scanning input bicycle, after scanning successfully, server directly controls bicycle unlocking;In ride, use Family can obtain the letter such as the position being presently in and solo running route by the application (Application, APP) in terminal Breath.After user has used bicycle, the locking device on bicycle can be operated, when server receives the locking thing of bicycle transmission After part, terminates this ride automatically for user, and stop charging, generated expense is pushed to user.
Summary of the invention
To overcome the problems in correlation technique, the disclosure provides a kind of vehicle auto-locking method, apparatus, server And storage medium.Technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of method of vehicle auto-locking is provided, comprising: obtain vehicle with First RSSI of the Bluetooth signal between terminal.According to the first RSSI, determine vehicle at a distance from terminal.According to vehicle and terminal Distance, judge whether need to control vehicle locking.If judgement need to control vehicle locking, control signal is sent to vehicle, with control Vehicle locking processed.
The technical scheme provided by this disclosed embodiment can include the following benefits: can be controlled automatically by this method Vehicle locking processed, to improve the reliability of vehicle auto-locking system.
Optionally, according to vehicle at a distance from terminal, judge whether that vehicle locking need to be controlled, comprising: if vehicle and terminal Distance be greater than the first pre-determined distance, it is determined that vehicle at a distance from terminal be greater than the first pre-determined distance duration.If holding Continuous duration is greater than preset duration, it is determined that need to control vehicle locking.If duration is less than or equal to preset duration, nothing is judged Vehicle locking need to be controlled.If vehicle is less than or equal to the first pre-determined distance at a distance from terminal, judgement is without controlling on vehicle Lock.
The technical scheme provided by this disclosed embodiment can include the following benefits: can be effective by this method Judge whether to control vehicle locking, and then improves the reliability of vehicle auto-locking system.
Optionally, method further include: if vehicle at a distance from terminal be greater than the first pre-determined distance, and duration be less than or Equal to preset duration, then the first prompt information is sent to terminal, to prompt user's vehicle also unlocked.
The technical scheme provided by this disclosed embodiment can include the following benefits: can be in this way use Family reduces unnecessary expenditures, to improve system reliability.
Optionally, according to vehicle at a distance from terminal, judge whether that vehicle locking need to be controlled, comprising: if vehicle and terminal Distance be greater than the second pre-determined distance, then judge need to control vehicle locking.If vehicle is less than or equal to second at a distance from terminal Pre-determined distance, then judgement is without controlling vehicle locking.
The technical scheme provided by this disclosed embodiment can include the following benefits: can be effective by this method Judge whether to control vehicle locking, and then improves the reliability of vehicle auto-locking system.
Optionally, according to the first RSSI, before determining vehicle at a distance from terminal, further includes: count at least one second The corresponding relationship of RSSI and at least one signal transmission distance.Correspondingly, according to the first RSSI, determine vehicle and terminal away from From, comprising: according to corresponding relationship and the first RSSI, determine vehicle at a distance from terminal.
The technical scheme provided by this disclosed embodiment can include the following benefits: can be effective by this method Determine vehicle at a distance from terminal.
Optionally, if judgement need to control vehicle locking, control signal is sent to vehicle, after controlling vehicle locking, Further include: the second prompt information is sent to terminal, the bluetooth connection with vehicle is disconnected with prompt terminal, so as to reduce terminal Power consumption.
Optionally, this method further include: judge whether there is the terminal for being less than third pre-determined distance at a distance from vehicle.If There is no the terminals for being less than third pre-determined distance at a distance from vehicle, then control vehicle and close bluetooth, so as to reduce vehicle Power consumption.
Optionally, control vehicle is closed after bluetooth, further includes: is judged whether there is pre- less than the 4th at a distance from vehicle If the terminal of distance.If it exists less than the terminal of the 4th pre-determined distance at a distance from vehicle, then controls vehicle and open bluetooth, so as to User looks for vehicle, to improve system reliability.
Device, server, storage medium and the computer program product of a kind of vehicle auto-locking is provided below, in Hold and effect can refer to method part, this is repeated no more below.
According to the second aspect of an embodiment of the present disclosure, a kind of device of vehicle auto-locking is provided, comprising:
Module is obtained, is configured as obtaining the first RSSI of the Bluetooth signal between vehicle and terminal.
Determining module is configured as determining vehicle at a distance from terminal according to the first RSSI.
Judgment module is configured as according to vehicle at a distance from terminal, judges whether that vehicle locking need to be controlled.
Sending module sends control signal to vehicle, to control vehicle if vehicle locking need to be controlled by being configured as judgement Locking.
Optionally, judgment module is specifically configured to: if vehicle is greater than the first pre-determined distance at a distance from terminal, it is determined that Vehicle is greater than the duration of the first pre-determined distance at a distance from terminal.If duration is greater than preset duration, it is determined that need to control Vehicle locking processed.If duration is less than or equal to preset duration, judgement is without controlling vehicle locking.If vehicle and terminal Distance is less than or equal to the first pre-determined distance, then judgement is without controlling vehicle locking.
Optionally, if sending module be also configured to vehicle at a distance from terminal be greater than the first pre-determined distance, and continue when It is long to be less than or equal to preset duration, then the first prompt information is sent to terminal, to prompt user's vehicle also unlocked.
Optionally, judgment module is specifically configured to: if vehicle is greater than the second pre-determined distance at a distance from terminal, being judged Vehicle locking need to be controlled.If vehicle is less than or equal to the second pre-determined distance at a distance from terminal, judgement is without controlling on vehicle Lock.
Optionally, device further include: statistical module is configured as counting at least one the 2nd RSSI and at least one letter The corresponding relationship of number transmission range.Correspondingly, determining module is specifically configured to: according to corresponding relationship and the first RSSI, determining Vehicle is at a distance from terminal.
Optionally, sending module is also configured to send the second prompt information to terminal, with prompt terminal disconnection and vehicle Bluetooth connection.
Optionally, device further include: control module.
Judgment module is additionally configured to judge whether there is the terminal for being less than third pre-determined distance at a distance from vehicle.
Control module is configured as being less than the terminal of third pre-determined distance at a distance from vehicle if it does not exist, then controls vehicle Close bluetooth.
Optionally, judgment module is additionally configured to judge whether there is at a distance from vehicle less than the 4th pre-determined distance Terminal.
Control module is additionally configured to then control vehicle if it exists at a distance from vehicle less than the terminal of the 4th pre-determined distance Open bluetooth.
According to the third aspect of an embodiment of the present disclosure, a kind of server is provided, comprising:
Processor.
The memory of executable instruction for storage processor, so that processor executes such as first aspect or first aspect Optional way vehicle auto-locking method.
According to a fourth aspect of embodiments of the present disclosure, a kind of storage medium is provided, comprising: executable instruction, instruction are used for The method for realizing the vehicle auto-locking of the optional way such as first aspect or first aspect.
According to a fifth aspect of the embodiments of the present disclosure, a kind of computer program product is provided, comprising: executable instruction refers to The method for enabling the vehicle auto-locking of the optional way for realizing such as first aspect or first aspect.
The technical scheme provided by this disclosed embodiment can include the following benefits: a kind of vehicle auto-locking side Method, device, server and storage medium, by technical solution provided by the present application can be improved vehicle auto-locking system can By property, further, the power consumption etc. of terminal and vehicle can also be reduced.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is the application scenario diagram of disclosed technique scheme shown according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of vehicle auto-locking method shown according to an exemplary embodiment;
Fig. 3 is a kind of flow chart for judging whether that vehicle locking need to be controlled shown according to an exemplary embodiment;
Fig. 4 is a kind of flow chart for judging whether that vehicle locking need to be controlled shown according to another exemplary embodiment;
Fig. 5 is a kind of flow chart of the vehicle auto-locking method shown according to another exemplary embodiment;
Fig. 6 is a kind of block diagram of the device 600 of vehicle auto-locking shown according to an exemplary embodiment;
Fig. 7 is a kind of block diagram of server 700 shown according to an exemplary embodiment;
Fig. 8 is a kind of block diagram of terminal 800 shown according to an exemplary embodiment.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
It is according to an example that the application, which provides a kind of vehicle auto-locking method, apparatus, server and storage medium, Fig. 1, Property implement the application scenario diagram of disclosed technique scheme exemplified, as shown in Figure 1, terminal 11, vehicle 12 and server 13 are equal With communication capacity, it can wherein be realized and be communicated by bluetooth between terminal 11 and vehicle 12.Fig. 2 is according to an exemplary implementation A kind of flow chart of the vehicle auto-locking method exemplified, the present embodiment are applied to server in the vehicle auto-locking method Come for example, the vehicle auto-locking method may include the following steps:
In step s 201: the first received signal intensity for obtaining the Bluetooth signal between vehicle and terminal indicates (Received Signal Strength Indication, RSSI).
In step S202: according to the first RSSI, determining vehicle at a distance from terminal.
In step S203: according to vehicle at a distance from terminal, judging whether that vehicle locking need to be controlled.
In step S204: if judgement need to control vehicle locking, control signal is sent to vehicle, to control on vehicle Lock.
It is illustrated for step S201:
Wherein, it includes: vehicle active that server, which obtains the mode of the first RSSI of the Bluetooth signal between vehicle and terminal, The first RSSI of the Bluetooth signal between vehicle and terminal is sent to server.Alternatively, server sends request message to vehicle, First RSSI of the request message for Bluetooth signal between request vehicle and terminal, vehicle according to the request message to Server sends the first RSSI.Alternatively, terminal actively sends first of the Bluetooth signal between vehicle and terminal to server RSSI.Alternatively, server sends request message to terminal, the request message is for the bluetooth between request vehicle and terminal First RSSI of signal, terminal send the first RSSI to server according to the request message.In short, how the application is to obtaining vehicle First RSSI of the Bluetooth signal between terminal is with no restrictions.
It is illustrated for step S202:
A kind of optional way: before step S202, vehicle auto-locking method further include statistics at least one second The corresponding relationship of RSSI and at least one signal transmission distance.The 2nd RSSI of wherein at least one and at least one signal transmission distance From corresponding relationship be one-to-one relationship.Assuming that vehicle is known as first distance at a distance from terminal.
A kind of situation: the corresponding relationship of at least one the 2nd RSSI and at least one signal transmission distance includes the first RSSI Corresponding relationship between first distance.Correspondingly, step S102 includes: at least one the 2nd RSSI and at least one signal The corresponding relationship between the first RSSI and first distance is searched in the corresponding relationship of transmission range, to determine first distance.
Another situation: the corresponding relationship of at least one the 2nd RSSI and at least one signal transmission distance does not include first Corresponding relationship between RSSI and first distance.Correspondingly, step S102 includes: to search and at least one the 2nd RSSI Immediate 3rd RSSI of one RSSI, and using the corresponding signal transmission distance of the 3rd RSSI as first distance.
Another optional way: before step S202, server directly acquires the RSSI of signal and the transmission distance of signal Corresponding relationship between, the i.e. corresponding relationship are default corresponding relationships, are then determined according to the corresponding relationship and the first RSSI First distance.
It should be noted that the application is to how determining apart from no restrictions according to the first RSSI.
It is illustrated for step S203:
Usually when vehicle at a distance from terminal farther out when, illustrate user may temporarily without using vehicle, in this case, Vehicle is stolen in order to prevent or prevents the continuous charging of server, and server can control vehicle locking.
A kind of optional way, consider a kind of application scenarios: for user temporarily by vehicle parking on one side, user may be nearby It does shopping, in this case, even if the distance of vehicle and terminal is farther out, but user's only temporary parked vehicles, next use Family will also use vehicle, therefore in this application can in conjunction with vehicle at a distance from terminal, and, vehicle lie on the table it is lasting when Often judge whether to control vehicle locking.
Specifically, Fig. 3 is a kind of process for judging whether that vehicle locking need to be controlled shown according to an exemplary embodiment Figure comes as shown in figure 3, the present embodiment is applied to server in the vehicle auto-locking method for example, this method can wrap Include the following steps:
In step S301: judge whether vehicle is greater than the first pre-determined distance at a distance from terminal, if vehicle and terminal Distance is greater than the first pre-determined distance, thens follow the steps S303, otherwise, thens follow the steps S302.
In step s 302: determining without controlling vehicle locking.
In step S303: it is pre- to judge whether vehicle is greater than at a distance from terminal greater than the duration of the first pre-determined distance If often, thening follow the steps S304 if often greater than being preset often when this continues, otherwise, thening follow the steps S305.
In step s 304: determination need to control vehicle locking.
In step S305: determining without controlling vehicle locking.
Optionally, institute's vehicle is greater than the first pre-determined distance at a distance from terminal, and vehicle is greater than first at a distance from terminal The duration of pre-determined distance is less than or equal to preset duration, then the first prompt information is sent to terminal, to prompt user's vehicle It is also unlocked.Unnecessary expenditures can be reduced for user in this way, to improve system reliability.
Wherein, server can execute a step S301 to step S305 with every preset time period.
Step S301 to step S305 is illustrated below with reference to example: assuming that user's only interim parked vehicles, at this moment Even if vehicle is greater than the first pre-determined distance at a distance from terminal, such as first pre-determined distance is 10 meters, but usually this field Under scape, the interim berthing time of vehicle is shorter, such as can be set default is often 5 minutes, when vehicle is greater than at a distance from terminal The duration of first pre-determined distance was less than 5 minutes, then server is without controlling vehicle locking, in this case, even if service Device is also in charging, but the charging is little to customer impact, and other users see that the vehicle is in unlocked state, other use Family will not use the vehicle, so that original user can continue to use vehicle.
Assuming that user forgets car locking, though at this moment vehicle is greater than the first pre-determined distance at a distance from terminal, such as this first Pre-determined distance is 10 meters, but usually under this scene, the vehicle parking time is longer, such as can be set default is often 5 points Clock, when vehicle is greater than or equal to 5 minutes at a distance from terminal greater than the duration of the first pre-determined distance, then server needs to control Vehicle locking, and stop charging, so as to reduce to the unnecessary loss of user, and other users are seen at the vehicle In locked state, other users can continue to use the vehicle.
Assuming that vehicle is less than or equal to the first pre-determined distance at a distance from terminal, such as first pre-determined distance is 10 meters, Indicate that user and vehicle distances are not far, next user will may also use vehicle, server is without controlling vehicle in this case Locking.
For another optional way of step S203: consider a kind of application scenarios: in peak period on and off duty, vehicle makes It is up to peak with rate, in this case, without considering that vehicle lay on the table continues often, but according between vehicle and terminal Distance Judgment whether control vehicle locking.
Specifically, Fig. 4 is a kind of stream for judging whether that vehicle locking need to be controlled shown according to another exemplary embodiment Cheng Tu comes as shown in figure 4, the present embodiment is applied to server in the vehicle auto-locking method for example, this method can be with It comprises the following steps:
In step S401: judging whether vehicle is greater than the second pre-determined distance at a distance from terminal.If vehicle and terminal Distance is greater than the second pre-determined distance, thens follow the steps S402, otherwise, thens follow the steps S403.
In step S402: determination need to control vehicle locking.
In step S403: determining without controlling vehicle locking.
Optionally, the second pre-determined distance is greater than the first pre-determined distance.
Step S401 to step S403 is illustrated below with reference to example:
In peak period on and off duty, the utilization rate of vehicle is up to peak, once the distance of vehicle and distance is greater than second in advance If distance, such as 10 meters, then allow other users using the vehicle, be based on this, server can control vehicle locking, terminate meter Take, so that other users can be with user's vehicle.On the contrary, when the distance of vehicle and distance is less than or equal to the second pre-determined distance When, it indicates that the active user of vehicle may be only temporary parked vehicles, next also to use the vehicle, in this case, clothes Business device is without controlling vehicle locking, so that active user then uses the vehicle.
To sum up, the application provides a kind of vehicle auto-locking method, and wherein server passes through the indigo plant between vehicle and terminal First RSSI of tooth signal determines that vehicle at a distance from terminal, and according to vehicle at a distance from terminal, judges whether that vehicle need to be controlled Locking.If judgement need to control vehicle locking, control signal is sent to vehicle, to control vehicle locking.Pass through this method one On the other hand the utilization rate of vehicle can be improved to avoid user's unnecessary expenditures in aspect, in short, can be with by this method Improve the reliability of vehicle auto-locking system.
Further, usually when opening of device Bluetooth function, equipment more power consumption is based on this, in this application, at end When end or vehicle are without Bluetooth function, server can control terminal or vehicle closes Bluetooth function.
For terminal: after step s 204, further, method further include: if judgement need to control vehicle locking, The second prompt information then is sent to terminal, the bluetooth connection with vehicle is disconnected with prompt terminal.
For vehicle: method further include: judge whether there is the end for being less than third pre-determined distance at a distance from vehicle End.It is less than the terminal of third pre-determined distance at a distance from vehicle if it does not exist, then controls vehicle and close bluetooth.
Specifically, Fig. 5 is a kind of flow chart of the vehicle auto-locking method shown according to another exemplary embodiment, this Embodiment is applied to server in the vehicle auto-locking method and comes for example, further including as follows after above-mentioned steps S204 Several steps:
In step S205: sending the second prompt information to terminal, disconnect the bluetooth connection with vehicle with prompt terminal.
In step S206: judging whether there is the terminal for being less than third pre-determined distance at a distance from vehicle.
In step S207: being less than the terminal of third pre-determined distance at a distance from vehicle if it does not exist, then control vehicle pass Close bluetooth.
It should be noted that the corresponding technical solution of step S205, and, step S206 technical side corresponding with step S207 Case can execute independently of each other, can also combine execution, and the application is without limitation.
The power consumption of terminal can be reduced by step S205.
For the technical solution that step S206 and step S207 is constituted, third pre-determined distance can be 20 meters, 30 meters or 50 Rice etc., the application is without limitation.If server judges whether there is the end for being less than third pre-determined distance at a distance from vehicle End indicates temporarily to use the vehicle without user at present, and in this case, in order to reduce the power consumption of vehicle, server can be with It controls vehicle and closes bluetooth, such as: server sends control information to vehicle, closes bluetooth to control vehicle.It needs to illustrate It is that server can be detected once with every preset time period with the presence or absence of the end for being less than third pre-determined distance at a distance from vehicle End.The preset time period can be 5 minutes, 10 minutes or 15 minutes etc., and the application is without limitation.
Further, vehicle is found in order to facilitate user, vehicle cannot be constantly in the state for closing bluetooth, therefore, After step S207, method further include:
In step S208: judging whether there is at a distance from vehicle less than the terminal of the 4th pre-determined distance.
In step S209: if it exists less than the terminal of the 4th pre-determined distance at a distance from vehicle, then controlling vehicle opening Bluetooth.
Optionally, the 4th pre-determined distance is equal to third pre-determined distance.
To sum up, in this application, if server judgement need to control vehicle locking, the second prompt information is sent to terminal, The bluetooth connection with vehicle is disconnected with prompt terminal, so as to reduce the power consumption of terminal.If server judgement is not present and vehicle Distance be less than third pre-determined distance terminal, then control vehicle close bluetooth, so as to reduce the power consumption of vehicle.Into one Step ground if it exists less than the terminal of the 4th pre-determined distance at a distance from vehicle, then controls vehicle and beats after vehicle closes bluetooth Bluetooth is opened, so that user looks for vehicle, to improve system reliability.
Fig. 6 is a kind of block diagram of the device 600 of vehicle auto-locking shown according to an exemplary embodiment.For example, dress Setting 600 can be server in above method embodiment, the on one or more chips being also possible in server.The device 600 some or all of can be used for executing in above method embodiment function etc..
Specifically, which includes:
Module 601 is obtained, is configured as obtaining the first RSSI of the Bluetooth signal between vehicle and terminal.
Determining module 602 is configured as the first RSSI obtained according to module 601 is obtained, determine vehicle and terminal away from From.
Judgment module 603, the vehicle for being configured as being determined according to determining module 602 judge whether to need at a distance from terminal Control vehicle locking.
Sending module 604 sends to vehicle and controls if vehicle locking need to be controlled by being configured as the judgement of judgment module 603 Signal, to control vehicle locking.
Optionally, judgment module 603 is specifically configured to: if vehicle is greater than the first pre-determined distance at a distance from terminal, Determine that vehicle is greater than the duration of the first pre-determined distance at a distance from terminal.If duration is greater than preset duration, it is determined that Vehicle locking need to be controlled.If duration is less than or equal to preset duration, judgement is without controlling vehicle locking.If vehicle and end The distance at end is less than or equal to the first pre-determined distance, then judgement is without controlling vehicle locking.
Optionally, it if sending module 604 is also configured to vehicle and is greater than the first pre-determined distance at a distance from terminal, and holds Continuous duration is less than or equal to preset duration, then the first prompt information is sent to terminal, to prompt user's vehicle also unlocked.
Optionally, judgment module 603 is specifically configured to: if vehicle is greater than the second pre-determined distance at a distance from terminal, Judgement need to control vehicle locking.If vehicle is less than or equal to the second pre-determined distance at a distance from terminal, judgement is without controlling vehicle Locking.
Optionally, device 600 further include: statistical module 605 is configured as counting at least one the 2nd RSSI and at least one The corresponding relationship of a signal transmission distance.Correspondingly, determining module 602 is specifically configured to: according to corresponding relationship and first RSSI determines vehicle at a distance from terminal.
Optionally, sending module 604 be also configured to terminal send the second prompt information, with prompt terminal disconnect with The bluetooth connection of vehicle.
Optionally, device 600 further include: control module 606.
Judgment module 603 is additionally configured to judge whether there is the terminal for being less than third pre-determined distance at a distance from vehicle.
Control module 606 is configured as being less than the terminal of third pre-determined distance at a distance from vehicle if it does not exist, then controls Vehicle closes bluetooth.
Optionally, judgment module 603 are additionally configured to judge whether there is at a distance from vehicle less than the 4th pre-determined distance Terminal.
Control module 606 is additionally configured to then control if it exists at a distance from vehicle less than the terminal of the 4th pre-determined distance Vehicle opens bluetooth.
The device of vehicle auto-locking provided by the present application can be used for executing the method for above-mentioned vehicle auto-locking, content It can refer to method part with effect, the application repeats no more this.
Fig. 7 is a kind of block diagram of server 700 shown according to an exemplary embodiment.The server 700 can be used for Function etc. some or all of in execution above method embodiment.The server 700 may include: processor 701, memory 702 and transceiver 703.The various components of server 700 are coupled by bus 704, and it includes that data are total that wherein bus, which is removed, It further include power bus, control bus and status signal bus in addition except line 704.It, will in figure but for the sake of clear explanation Various buses are all designated as bus 704.
Processor 701 can be used for realizing the control to server 700, be carried out for executing in above-described embodiment by server Processing, the treatment process of server 700 involved in above method embodiment can be executed and/or for described herein Other processes of technology, can also run operating system, are responsible for management bus and can execute journey stored in memory Sequence or instruction.
Following realize: one or more field programmable gate array (field- can be used in processor 701 Programmable gate array, FPGA), programmable logic device (programmable logic device, PLD), Controller, state machine, gate logic, discrete hardware components, any other suitable circuit or it is able to carry out the application institute in the whole text Any combination of the circuit of the various functions of description.
Memory 702 is configured as storing various types of data to support the operation in server 700.These data Example includes the instruction of any application or method for operating on server 700, contact data, telephone directory number According to, message, picture, video etc..Memory 702 can by any kind of volatibility or non-volatile memory device or they Combination realize, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable Programmable read only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, quick flashing Memory, disk or CD.
Server 700 and other equipment may be implemented in transceiver 703, such as the communication between terminal, vehicle.
In short, server provided by the present application can be used for executing the method for above-mentioned vehicle auto-locking, content and effect It can refer to method part, the application repeats no more this.
The application also provides a kind of computer storage medium, which, which can store, is used to indicate above-mentioned A kind of program instruction of method, the method to realize above-mentioned vehicle auto-locking, content and effect can refer to method part, this Application repeats no more this.
The application also provides a kind of computer program product, which includes being used to indicate any of the above-described kind The program instruction of method, the method to realize above-mentioned vehicle auto-locking, content and effect can refer to method part, the application This is repeated no more.
Fig. 8 is a kind of block diagram of terminal 800 shown according to an exemplary embodiment.For example, terminal 800 can be movement Phone, tablet device etc..
Referring to Fig. 8, terminal 800 may include following one or more components: processing component 802, memory 804, power supply Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, and Communication component 816.
The integrated operation of the usual controlling terminal 800 of processing component 802, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 802 may include that one or more processors 820 refer to execute It enables, to complete the part steps of above-mentioned method, such as sends the first RSSI of Bluetooth signal to server, receives server transmission First instruction information or second indication information etc..In addition, processing component 802 may include one or more modules, convenient for place Manage the interaction between component 802 and other assemblies.For example, processing component 802 may include multi-media module, to facilitate multimedia Interaction between component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in terminal 800.These data are shown Example includes the instruction of any application or method for operating in terminal 800, contact data, and telephone book data disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of terminal 800.Power supply module 806 may include power management system System, one or more power supplys and other with for terminal 800 generate, manage, and distribute the associated component of electric power.
Multimedia component 808 includes the touching display screen of one output interface of offer between terminal 800 and user.? In some embodiments, touching display screen may include liquid crystal display (LCD) and touch panel (TP).Touch panel includes one Or multiple touch sensors are to sense the gesture on touch, slide, and touch panel.Touch sensor can not only sense touch Or the boundary of sliding action, but also detect duration and pressure relevant to touch or slide.In some embodiments In, multimedia component 808 includes a front camera and/or rear camera.When terminal 800 is in operation mode, as clapped When taking the photograph mode or video mode, front camera and/or rear camera can receive external multi-medium data.It is each preposition Camera and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when terminal 800 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set Part 816 is sent.In some embodiments, audio component 810 further includes a loudspeaker, is used for output audio signal.
I/O interface 812 provides interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: main button, volume button, start button and lock Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for terminal 800 is commented Estimate.For example, sensor module 814 can detecte the state that opens/closes of terminal 800, the relative positioning of component, such as component For the display and keypad of terminal 800, sensor module 814 can also detect the position of 800 1 components of terminal 800 or terminal Set change, the existence or non-existence that user contacts with terminal 800, the temperature in 800 orientation of terminal or acceleration/deceleration and terminal 800 Variation.Sensor module 814 may include proximity sensor, be configured to detect without any physical contact near The presence of object.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, for answering in imaging With middle use.In some embodiments, which can also include acceleration transducer, gyro sensor, magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between terminal 800 and other equipment.Terminal 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, communication component 816 further includes near-field communication (NFC) module, to promote short range communication.For example, Radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, bluetooth can be based in NFC module (BT) technology and other technologies are realized.
In the exemplary embodiment, terminal 800 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the step of the part in the above method Suddenly.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of terminal 800 to complete the part of the above method Step.For example, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic Band, floppy disk and optical data storage devices etc..
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claims are pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claims System.

Claims (18)

1. a kind of method of vehicle auto-locking characterized by comprising
The the first received signal intensity for obtaining the Bluetooth signal between vehicle and terminal indicates RSSI;
According to the first RSSI, determine the vehicle at a distance from the terminal;
According to the vehicle at a distance from the terminal, judge whether that the vehicle locking need to be controlled;
If judgement need to control the vehicle locking, control signal is sent to the vehicle, to control the vehicle locking.
2. the method according to claim 1, wherein it is described according to the vehicle at a distance from terminal, judgement is It is no to control the vehicle locking, comprising:
If the vehicle is greater than the first pre-determined distance at a distance from terminal, it is determined that the vehicle is greater than described at a distance from terminal The duration of first pre-determined distance;
If the duration is greater than preset duration, it is determined that the vehicle locking need to be controlled;
If the duration is less than or equal to the preset duration, judgement is without controlling the vehicle locking;
If the vehicle is less than or equal to first pre-determined distance at a distance from terminal, judgement is without controlling on the vehicle Lock.
3. according to the method described in claim 2, it is characterized by further comprising:
If the vehicle is greater than first pre-determined distance at a distance from the terminal, and the duration is less than or equal to institute Preset duration is stated, then the first prompt information is sent to the terminal, to prompt vehicle described in user also unlocked.
4. the method according to claim 1, wherein it is described according to the vehicle at a distance from terminal, judgement is It is no to control the vehicle locking, comprising:
If the vehicle is greater than the second pre-determined distance at a distance from the terminal, judge that the vehicle locking need to be controlled;
If the vehicle is less than or equal to second pre-determined distance at a distance from the terminal, judgement is without controlling the vehicle Locking.
5. method according to claim 1-4, which is characterized in that it is described according to the first RSSI, determine institute Before vehicle is stated at a distance from terminal, further includes:
Count the corresponding relationship of at least one the 2nd RSSI and at least one signal transmission distance;
Correspondingly, it is described according to the first RSSI, determine the vehicle at a distance from terminal, comprising:
According to the corresponding relationship and the first RSSI, determine the vehicle at a distance from terminal.
6. method according to claim 1-4, which is characterized in that if the judgement need to control on the vehicle Lock then sends control signal to the vehicle, after controlling vehicle locking, further includes:
The second prompt information is sent to the terminal, to prompt the terminal to disconnect the bluetooth connection with the vehicle.
7. method according to claim 1-4, which is characterized in that further include:
Judge whether there is the terminal for being less than third pre-determined distance at a distance from the vehicle;
It is less than the terminal of the third pre-determined distance at a distance from the vehicle if it does not exist, then controls the vehicle and close indigo plant Tooth.
8. the method according to the description of claim 7 is characterized in that the control vehicle is closed after bluetooth, further includes:
Judge whether there is the terminal for being less than the 4th pre-determined distance at a distance from the vehicle;
It is less than the terminal of the 4th pre-determined distance at a distance from the vehicle if it exists, then controls the vehicle and open bluetooth.
9. a kind of device of vehicle auto-locking characterized by comprising
Module is obtained, the first received signal intensity for being configured as obtaining the Bluetooth signal between vehicle and terminal indicates RSSI;
Determining module is configured as determining the vehicle at a distance from the terminal according to the first RSSI;
Judgment module is configured as according to the vehicle at a distance from the terminal, judges whether that the vehicle locking need to be controlled;
Sending module sends control signal to the vehicle, with control if the vehicle locking need to be controlled by being configured as judgement The vehicle locking.
10. device according to claim 9, which is characterized in that the judgment module is specifically configured to:
If the vehicle is greater than the first pre-determined distance at a distance from terminal, it is determined that the vehicle is greater than described at a distance from terminal The duration of first pre-determined distance;
If the duration is greater than preset duration, it is determined that the vehicle locking need to be controlled;
If the duration is less than or equal to the preset duration, judgement is without controlling the vehicle locking;
If the vehicle is less than or equal to first pre-determined distance at a distance from terminal, judgement is without controlling on the vehicle Lock.
11. device according to claim 10, which is characterized in that the sending module is also configured to
If the vehicle is greater than first pre-determined distance at a distance from the terminal, and the duration is less than or equal to institute Preset duration is stated, then the first prompt information is sent to the terminal, to prompt vehicle described in user also unlocked.
12. device according to claim 9, which is characterized in that the judgment module is specifically configured to:
If the vehicle is greater than the second pre-determined distance at a distance from the terminal, judge that the vehicle locking need to be controlled;
If the vehicle is less than or equal to second pre-determined distance at a distance from the terminal, judgement is without controlling the vehicle Locking.
13. according to the described in any item devices of claim 9-12, which is characterized in that further include:
Statistical module is configured as counting the corresponding relationship of at least one the 2nd RSSI and at least one signal transmission distance;
Correspondingly, the determining module is specifically configured to:
According to the corresponding relationship and the first RSSI, determine the vehicle at a distance from terminal.
14. according to the described in any item devices of claim 9-12, which is characterized in that the sending module is also configured to
The second prompt information is sent to the terminal, to prompt the terminal to disconnect the bluetooth connection with the vehicle.
15. according to the described in any item devices of claim 9-12, which is characterized in that further include: control module;
The judgment module is additionally configured to judge whether there is the end for being less than third pre-determined distance at a distance from the vehicle End;
The control module is configured as being less than the terminal of the third pre-determined distance at a distance from the vehicle if it does not exist, It then controls the vehicle and closes bluetooth.
16. device according to claim 15, which is characterized in that
The judgment module is additionally configured to judge whether there is at a distance from the vehicle less than the 4th pre-determined distance Terminal;
The control module is additionally configured to be less than the terminal of the 4th pre-determined distance at a distance from the vehicle if it exists, It then controls the vehicle and opens bluetooth.
17. a kind of server characterized by comprising
Processor;
For storing the memory of the executable instruction of the processor, so that the processor executes claim 1-8 such as and appoints The method of vehicle auto-locking described in one.
18. a kind of storage medium characterized by comprising executable instruction, described instruction is for realizing such as claim 1-8 The method of described in any item vehicle auto-lockings.
CN201810790955.XA 2018-07-18 2018-07-18 Automatic locking method and device for vehicle, server and storage medium Active CN109050470B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810790955.XA CN109050470B (en) 2018-07-18 2018-07-18 Automatic locking method and device for vehicle, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810790955.XA CN109050470B (en) 2018-07-18 2018-07-18 Automatic locking method and device for vehicle, server and storage medium

Publications (2)

Publication Number Publication Date
CN109050470A true CN109050470A (en) 2018-12-21
CN109050470B CN109050470B (en) 2020-12-04

Family

ID=64817293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810790955.XA Active CN109050470B (en) 2018-07-18 2018-07-18 Automatic locking method and device for vehicle, server and storage medium

Country Status (1)

Country Link
CN (1) CN109050470B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110312214A (en) * 2019-06-28 2019-10-08 武汉小安科技有限公司 Electric vehicle searching method, seeks vehicle terminal device and storage medium at device
CN111824289A (en) * 2020-07-29 2020-10-27 雅迪科技集团有限公司 Electric vehicle starting method and system based on Bluetooth
CN112158163A (en) * 2020-08-20 2021-01-01 赛格威科技有限公司 Vehicle power-on and power-off control method, device and system and all-terrain vehicle
CN113022494A (en) * 2021-03-17 2021-06-25 北京骑胜科技有限公司 Vehicle positioning method and device, electronic equipment and storage medium
CN113096282A (en) * 2021-05-11 2021-07-09 宁波小遛共享信息科技有限公司 Vehicle locking method and device and vehicle
CN113870462A (en) * 2021-09-17 2021-12-31 珠海格力电器股份有限公司 Control method and device of intelligent door lock, intelligent door lock and storage medium
CN114422941A (en) * 2022-01-21 2022-04-29 广州小鹏汽车科技有限公司 Vehicle control method and system, vehicle communication method, vehicle near field communication function control method, electric device, and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105025437A (en) * 2015-06-02 2015-11-04 北京嘀嘀无限科技发展有限公司 Positioning method, device, and system
WO2015189846A1 (en) * 2014-06-10 2015-12-17 Tag & Find Wireless Solutions Ltd. Rfid reader and antenna system for locating items using a mobile device
CN204915556U (en) * 2015-01-26 2015-12-30 南京朗控电子科技有限公司 Bluetooth communication system based on electric bicycle or battery -operated motor cycle
CN105654588A (en) * 2015-08-31 2016-06-08 中华电信股份有限公司 System and method for automatically locking and unlocking vehicle door by smart phone
CN106448238A (en) * 2016-10-18 2017-02-22 西安蜂语信息科技有限公司 Vehicle-searching system
CN107403487A (en) * 2017-06-29 2017-11-28 台山市金讯互联网络科技有限公司 A kind of shared bicycle self-locking method, system and its shared bicycle
CN107690030A (en) * 2017-08-31 2018-02-13 恒宝股份有限公司 A kind of method and Bluetooth intelligent card for unlocking and locking intelligent movable equipment
CN107945501A (en) * 2017-11-14 2018-04-20 北京摩拜科技有限公司 Vehicle parking control method, device, system and vehicle
CN108111998A (en) * 2017-12-18 2018-06-01 北京博创联动科技有限公司 A kind of wireless method for unlocking and system
CN108109238A (en) * 2017-12-20 2018-06-01 东峡大通(北京)管理咨询有限公司 A kind of smart lock shuts method and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015189846A1 (en) * 2014-06-10 2015-12-17 Tag & Find Wireless Solutions Ltd. Rfid reader and antenna system for locating items using a mobile device
CN204915556U (en) * 2015-01-26 2015-12-30 南京朗控电子科技有限公司 Bluetooth communication system based on electric bicycle or battery -operated motor cycle
CN105025437A (en) * 2015-06-02 2015-11-04 北京嘀嘀无限科技发展有限公司 Positioning method, device, and system
CN105654588A (en) * 2015-08-31 2016-06-08 中华电信股份有限公司 System and method for automatically locking and unlocking vehicle door by smart phone
CN106448238A (en) * 2016-10-18 2017-02-22 西安蜂语信息科技有限公司 Vehicle-searching system
CN107403487A (en) * 2017-06-29 2017-11-28 台山市金讯互联网络科技有限公司 A kind of shared bicycle self-locking method, system and its shared bicycle
CN107690030A (en) * 2017-08-31 2018-02-13 恒宝股份有限公司 A kind of method and Bluetooth intelligent card for unlocking and locking intelligent movable equipment
CN107945501A (en) * 2017-11-14 2018-04-20 北京摩拜科技有限公司 Vehicle parking control method, device, system and vehicle
CN108111998A (en) * 2017-12-18 2018-06-01 北京博创联动科技有限公司 A kind of wireless method for unlocking and system
CN108109238A (en) * 2017-12-20 2018-06-01 东峡大通(北京)管理咨询有限公司 A kind of smart lock shuts method and system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110312214A (en) * 2019-06-28 2019-10-08 武汉小安科技有限公司 Electric vehicle searching method, seeks vehicle terminal device and storage medium at device
CN110312214B (en) * 2019-06-28 2021-03-19 武汉小安科技有限公司 Electric vehicle searching method and device, vehicle searching terminal equipment and storage medium
CN111824289A (en) * 2020-07-29 2020-10-27 雅迪科技集团有限公司 Electric vehicle starting method and system based on Bluetooth
CN112158163A (en) * 2020-08-20 2021-01-01 赛格威科技有限公司 Vehicle power-on and power-off control method, device and system and all-terrain vehicle
CN113022494A (en) * 2021-03-17 2021-06-25 北京骑胜科技有限公司 Vehicle positioning method and device, electronic equipment and storage medium
CN113096282A (en) * 2021-05-11 2021-07-09 宁波小遛共享信息科技有限公司 Vehicle locking method and device and vehicle
CN113870462A (en) * 2021-09-17 2021-12-31 珠海格力电器股份有限公司 Control method and device of intelligent door lock, intelligent door lock and storage medium
CN114422941A (en) * 2022-01-21 2022-04-29 广州小鹏汽车科技有限公司 Vehicle control method and system, vehicle communication method, vehicle near field communication function control method, electric device, and storage medium
CN114422941B (en) * 2022-01-21 2024-04-16 广州小鹏汽车科技有限公司 Vehicle control method and system, vehicle communication method, vehicle near field communication function control method, electric device, and storage medium

Also Published As

Publication number Publication date
CN109050470B (en) 2020-12-04

Similar Documents

Publication Publication Date Title
CN109050470A (en) Vehicle auto-locking method, apparatus, server and storage medium
RU2641541C2 (en) Method for managing intelligent device, terminal and server
US10123196B2 (en) Method and device for alarm triggering
US11485320B2 (en) Method and apparatus for vehicle function control, and storage medium
US20170156166A1 (en) Method and Apparatus for Connecting With Controlled Smart Device, and Storage Medium
CN110278461B (en) Information recommendation interface display method and device, vehicle-mounted terminal and storage medium
CN105882528B (en) Road conditions sharing method, device and the balance car of balance car
CN105680892A (en) Correlation article reminding method and device
CN105554255B (en) Method of controlling operation thereof and device for terminal device
CN104709203A (en) Vehicle control method and device
CN106060789B (en) short message identification method and device
CN109156026A (en) Sending method, device, equipment and the storage medium of uplink scheduling request
CN107943267A (en) A kind of method and apparatus for controlling screen
CN107396367A (en) Reminding method, device, terminal and the computer-readable recording medium of pseudo-base station
CN109379783A (en) Radio frequency resource distribution method and device
CN107230064B (en) Virtual card multiplexing method and device
CN106780868A (en) Unlock control method, device and the automobile charging gun of automobile charging gun
CN106021130A (en) Memory processing method and device
US20170147134A1 (en) Method and apparatus for controlling touch-screen sensitivity
CN107087249A (en) Communication means and device
CN108028810A (en) Establish the method and device of service connection
CN106299515B (en) Charging method and device
CN106060251A (en) Short message enquiry and reading method, short message enquiry and reading device and related equipment
US11751060B2 (en) Identity recognition method and apparatus
CN106125595B (en) The method and device of controlling terminal application

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
GR01 Patent grant
GR01 Patent grant