CN113362507B - Automatic locking method, device, computer equipment and storage medium - Google Patents

Automatic locking method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN113362507B
CN113362507B CN202110777608.5A CN202110777608A CN113362507B CN 113362507 B CN113362507 B CN 113362507B CN 202110777608 A CN202110777608 A CN 202110777608A CN 113362507 B CN113362507 B CN 113362507B
Authority
CN
China
Prior art keywords
vehicle
state
connection signal
time
locking
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.)
Active
Application number
CN202110777608.5A
Other languages
Chinese (zh)
Other versions
CN113362507A (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.)
Shenzhen Yunzhi Yilian Technology Co ltd
Original Assignee
Shenzhen Yunzhi Yilian Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Yunzhi Yilian Technology Co ltd filed Critical Shenzhen Yunzhi Yilian Technology Co ltd
Priority to CN202110777608.5A priority Critical patent/CN113362507B/en
Publication of CN113362507A publication Critical patent/CN113362507A/en
Application granted granted Critical
Publication of CN113362507B publication Critical patent/CN113362507B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • 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/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • 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/00896Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the application discloses an automatic car locking method, an automatic car locking device, computer equipment and a storage medium, which comprise the following steps: if the vehicle is detected to be in a flameout state, detecting whether a connection signal with the control equipment disappears; if the connection signal disappears, calculating the vanishing time of the connection signal to obtain the disconnection time; if the disconnection time is longer than a first preset time, detecting whether the vehicle is in a locking state or not; and if the vehicle is not in the locking state, executing the locking action. The application can automatically lock the vehicle after the user leaves the vehicle, thereby improving convenience.

Description

Automatic locking method, device, computer equipment and storage medium
Technical Field
The present application relates to the field of vehicle control devices, and in particular, to an automatic vehicle locking method, an automatic vehicle locking device, a computer device, and a storage medium.
Background
Currently, more motorcycles or electric vehicles (two-wheelers) are generally equipped with a wireless remote control key, and the wireless remote control key is used for unlocking and closing the motorcycle or the electric vehicle, however, when a user runs out of the vehicle and gets away from the vehicle, the possibility of forgetting to lock the vehicle exists, so that the risk of losing the vehicle exists, and the current solution is to add a voice prompt to remind the main vehicle of locking the vehicle, but the possibility of forgetting to lock the vehicle still exists.
Disclosure of Invention
The embodiment of the application provides an automatic locking method, an automatic locking device, computer equipment and a storage medium, which can automatically lock a vehicle after a user leaves the vehicle, and improve convenience.
In a first aspect, an embodiment of the present application provides an automatic vehicle locking method, where the method specifically includes:
if the vehicle is detected to be in a flameout state, detecting whether a connection signal with control equipment disappears, wherein the control equipment is connected with the intelligent lock through Bluetooth, and the vehicle is a two-wheel vehicle or a motorcycle;
if the connection signal disappears, calculating the vanishing time of the connection signal to obtain the disconnection time;
if the disconnection time is longer than a first preset time, detecting whether the vehicle is in a locking state or not;
if the vehicle is not in the locking state, executing a vehicle locking action;
judging whether the vehicle is in an abnormal motion state or not;
if the vehicle is in the abnormal motion state, confirming the type of the abnormal motion state, wherein the type of the abnormal motion state comprises a moving state and a shaking state;
if the vehicle is in the moving state, uploading abnormal information corresponding to the moving state to a vehicle cloud management platform through an early warning module and controlling a warning device to warn;
if the vehicle is in the shaking state, uploading abnormal information corresponding to the shaking state to a vehicle cloud management platform through an early warning module;
if the vehicle is detected to be in a flameout state, the step of detecting whether the connection signal with the control device disappears further comprises the following steps:
if the connection signal does not disappear, calculating the duration of the connection signal after the vehicle is in a flameout state;
if the duration is longer than a second preset time, indicating that the user needs to stay near the vehicle for a long time without disconnecting the control device, and the user still has the requirement of automatic locking, entering the step of detecting whether the vehicle is in a locking state, wherein the second preset time can be set by the user;
if the connection signal disappears, the step of calculating the disappearance time of the connection signal to obtain the disconnection time further includes:
and if the disconnection time is smaller than the first preset time, indicating that the user returns to the vicinity of the vehicle after leaving the vehicle and reestablishes connection with the vehicle, returning to the step of detecting whether the connection signal of the control equipment disappears.
In a second aspect, an embodiment of the present application further provides an automatic locking device, where the device specifically includes:
the first detection unit is used for detecting whether a connection signal with the control equipment disappears or not if the vehicle is detected to be in a flameout state, wherein the control equipment is connected with the first detection unit through Bluetooth, and the vehicle is a two-wheel vehicle or a motorcycle;
the first calculating unit is used for calculating the vanishing time of the connecting signal to obtain the disconnection time if the connecting signal vanishes;
the second detection unit is used for detecting whether the vehicle is in a locking state or not if the wire breakage time is longer than a first preset time;
the first execution unit is used for executing a locking action if the vehicle is not in the locking state;
a second calculation unit configured to calculate a duration of the connection signal after the vehicle is in a flameout state if the connection signal does not disappear;
the first judging unit is used for entering the step of detecting whether the vehicle is in a locked state or not if the duration time is longer than a second preset time, which can be set by a user, and the user needs to stay nearby the vehicle for a long time under the condition that the control device is not disconnected and the user still has the requirement of automatic locking;
a second judging unit, configured to return to the step of detecting whether the connection signal of the control device disappears if the disconnection time is less than the first preset time, indicating that the user returns to the vicinity of the vehicle and reestablishes connection with the vehicle after leaving the vehicle;
a third judging unit configured to judge whether the vehicle is in an abnormal motion state;
a first confirmation unit configured to confirm a type of the abnormal motion state if the vehicle is in the abnormal motion state, wherein the type of the abnormal motion state includes a moving state and a shaking state;
the first transmission unit is used for uploading abnormal information corresponding to the moving state to a vehicle cloud management platform through an early warning module and controlling a warning device to warn if the vehicle is in the moving state;
and the second transmission unit is used for uploading the abnormal information corresponding to the shaking state to the vehicle cloud management platform through the early warning module if the vehicle is in the shaking state.
In a third aspect, an embodiment of the present application further provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the method when executing the computer program.
In a fourth aspect, embodiments of the present application also provide a computer readable storage medium storing a computer program which, when executed by a processor, implements the above method.
The embodiment of the application provides an automatic car locking method, an automatic car locking device, computer equipment and a storage medium, wherein the method comprises the following steps: if the vehicle is detected to be in a flameout state, detecting whether a connection signal with the control equipment disappears; if the connection signal disappears, calculating the vanishing time of the connection signal to obtain the disconnection time; if the disconnection time is longer than a first preset time, detecting whether the vehicle is in a locking state or not; and if the vehicle is not in the locking state, executing the locking action. The embodiment of the application can judge whether the control equipment is in a connection state when the vehicle is in a flameout state, if the connection with the control equipment is disconnected, the user is far away from the vehicle, the disconnection time can be further judged, and when the disconnection time is longer than the preset time, the vehicle locking action is executed, so that the automatic vehicle locking is realized, and the convenience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of an automatic locking method according to an embodiment of the present application;
fig. 2 is a schematic flow chart of an automatic locking method according to an embodiment of the present application
FIG. 3 is a schematic flow chart of an automatic locking method according to another embodiment of the present application;
FIG. 4 is a schematic flow chart of an automatic locking method according to another embodiment of the present application;
FIG. 5 is a schematic sub-flowchart of an automatic locking method according to another embodiment of the present application;
FIG. 6 is a schematic block diagram of an automatic locking device provided by an embodiment of the present application;
FIG. 7 is a schematic block diagram of an automatic locking device provided by an embodiment of the present application;
FIG. 8 is a schematic block diagram of an automatic locking device provided in another embodiment of the present application;
FIG. 9 is a schematic block diagram of a third judging unit of the automatic locking device according to another embodiment of the present application;
fig. 10 is a schematic block diagram of a fourth transmission unit of the automatic locking device according to another embodiment of the present application;
fig. 11 is a schematic block diagram of a computer device provided by an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
Referring to fig. 1, fig. 1 is a schematic flow chart of an automatic locking method according to an embodiment of the application. The automatic locking method of the embodiment of the application can be applied to intelligent locks of motorcycles or electric vehicles. The method can automatically lock the vehicle when the user is far away from the vehicle, and improves the convenience of the user in use.
S110, if the vehicle is detected to be in a flameout state, whether a connection signal with the control equipment is disappeared is detected.
In the embodiment of the present application, the vehicle is generally referred to as a motorcycle or an electric two-wheeled vehicle, and a smart lock for controlling the start and stop of the vehicle may be provided in the motorcycle or the electric two-wheeled vehicle (hereinafter, replaced by a vehicle), and may be connected to a control device by bluetooth or the like. When the vehicle is in a flameout state, i.e. it is indicated that the user may have left the vehicle, the smart lock may thus detect whether the connection signal to the control device, which may be a smart phone, a smart bracelet or other smart device, has disappeared.
In some embodiments, such as the present embodiment, the step S110 may be followed by steps S110a-S110b, as shown in fig. 2.
And S110a, if the connection signal is not disappeared, calculating the duration of the connection signal after the vehicle is in a flameout state.
In the embodiment of the application, when the vehicle and the control device are still in the connection state, the user is indicated to be in the vicinity of the vehicle although the user has left the vehicle, then the duration of the connection after flameout of the vehicle needs to be further judged, and whether the judgment of locking the vehicle needs to be carried out or not is judged according to different continuous judgment.
And S110b, returning to the step of detecting whether the vehicle is in a locked state or not if the duration is longer than a second preset time.
In the embodiment of the application, when the connection time between the vehicle and the control device after flameout is longer than the second preset time, the user is indicated that the vehicle is not used for a long time although the user is not far away from the vehicle, and the possibility of continuing to use the vehicle in a period of time is low, so that the step of judging whether the vehicle is locked can be carried out. In general, if the user turns off the vehicle, but is not far from the vehicle, it indicates that the user may need to stay nearby for a long time, and thus, there is a need for automatic locking, and the second preset time may be set by the user, for example, ten minutes, and after the vehicle is in a flameout state, if the connection time with the control device is longer than ten minutes, a subsequent step may be entered to determine whether the vehicle has been locked.
And S120, if the connection signal disappears, calculating the disappearance time of the connection signal to obtain the disconnection time.
In the embodiment of the application, when the vehicle and the control device are in the disconnection state, the disconnection time is calculated from the moment of disconnection. When the vehicle and the control device are in a disconnection state, the user may be temporarily away from the vehicle and return to continue to use the vehicle in a short time, or the vehicle may not need to be used in a long time, so that the duration of the disconnection time needs to be further judged.
In some embodiments, for example, the step S120 may be followed by a step S120a.
And S120a, returning to the step of detecting whether the connection signal of the control equipment disappears or not if the disconnection time is smaller than the first preset time.
In the embodiment of the present application, when the disconnection time is less than the first preset time, it indicates that the user returns to the vicinity of the vehicle after leaving the vehicle and reestablishes connection with the vehicle, so step S110 may be returned to avoid forgetting to lock the vehicle when the user is away from the vehicle again.
And S130, if the disconnection time is longer than a first preset time, detecting whether the vehicle is in a locking state.
In the embodiment of the application, when the disconnection time is longer than the first preset time, the user is indicated that the vehicle is not needed for a long period of time, so that whether the vehicle is in a locking state can be further judged. The first preset time may be specified by the user, for example, may be five minutes, and when the disconnection time is greater than five minutes, it is determined whether the vehicle is in the locked state.
And S140, if the vehicle is not in the locked state, executing the vehicle locking action.
In the embodiment of the application, when the vehicle is not in a locking state, the locking action is executed to complete automatic locking of the vehicle.
In another embodiment, as shown in fig. 3, the step S140 may be followed by steps S150-S160.
S150, judging whether the vehicle is in an abnormal motion state.
In the embodiment of the application, after the locking action is executed on the vehicle, the safety of the vehicle can be further confirmed, and particularly whether the vehicle is safe or not can be judged through the abnormal movement mode of the vehicle. For example, when a locked vehicle is stolen conventionally, the vehicle needs to be towed, so that the vehicle can swing back and forth irregularly, and when the vehicle falls down due to unstable gravity center or external collision, the vehicle can fall down to one side more regularly.
And S160, if the vehicle is in the abnormal motion state, uploading the abnormal information of the vehicle to a vehicle cloud management platform through an early warning module.
In the embodiment of the application, when the vehicle is in the abnormal motion state, the condition that a person steals the vehicle is indicated, so that the abnormal information of the vehicle can be uploaded to the vehicle cloud management platform through the early warning module, and the vehicle cloud management platform sends the abnormal information to the control equipment of the user to remind the user.
In some embodiments, such as the present embodiment, as shown in fig. 4, the step S150 may include steps S151-S153.
S151, confirming the state of the vehicle.
In the embodiment of the application, the normal state of the vehicle after locking is standing, and other motion states can only appear under the interference of external force, so that the state of the vehicle needs to be detected at any time after the vehicle is locked. Specifically, an acceleration sensor may be provided in the vehicle to confirm the state of the vehicle by determining the change in speed in the X-axis direction, the Y-axis direction, and the Z-axis direction.
And S152, if the vehicle is in a stationary state, confirming the vehicle as a normal state.
In the embodiment of the application, when the vehicle is in a stationary state, the vehicle can be listed as a normal state.
And S153, if the vehicle is in a non-stationary state, confirming the vehicle as the abnormal motion state.
In the embodiment of the application, when the vehicle is in a non-stationary state, for example, movement or shake occurs, the vehicle may be listed as an abnormal motion state.
In some embodiments, such as the present embodiment, the step S160 may include steps S161-S163, as shown in fig. 5.
And S161, confirming the type of the abnormal motion state.
In the embodiment of the application, the abnormal motion state can be movement or shaking, the type of the abnormal motion state needs to be further confirmed, and the type of the abnormal motion of the vehicle can be further judged through an acceleration sensor in the vehicle.
S162, if the vehicle is in a moving state, uploading abnormal information corresponding to the moving state to the vehicle cloud management platform through the early warning module and controlling the warning device to warn.
In the embodiment of the application, when the vehicle is in a moving state, it is indicated that an external force is present to drag the vehicle to cause the vehicle to displace, and the situation is that other people shift the vehicle to avoid blocking a passageway or occupying a parking space, or that someone is stealing, the abnormal information corresponding to the moving state can be uploaded to the vehicle cloud management platform through the early warning module, the abnormal information can be that the vehicle moves abnormally and possibly has a theft risk, and the like, and meanwhile, the abnormal information can be synchronously sent to the control unit of the vehicle, and the warning device of the vehicle is controlled by the control unit to warn, such as whistle. Specifically, a NBIot (Narrow Band Internet of Things) module, namely an internet of things module, may be provided in the vehicle, when the vehicle is in a normal state, the NBIot module is in a standby state, and when the vehicle is in an abnormal state, the NBIot module starts to work, and the abnormal information is uploaded to the vehicle cloud management platform through the NBIot module.
And S162a, uploading the position information of the vehicle to the vehicle cloud management platform.
In the embodiment of the application, when the vehicle is in a moving state, the position information of the vehicle can be uploaded to the vehicle cloud management platform in real time through the NBIot module, so that a user can conveniently position the vehicle.
S163, if the vehicle is in a shaking state, uploading abnormal information corresponding to the shaking state to the vehicle cloud management platform through the early warning module.
In the embodiment of the application, the shaking state generally means that the vehicle is subject to external impact or shaking caused by unstable gravity center of the vehicle until the vehicle is overturned, and at the moment, larger displacement generally cannot occur, so that abnormal information corresponding to the shaking state can be uploaded to a vehicle cloud management platform, for example, the vehicle has a toppling risk. Specifically, the anomaly information may be uploaded to the vehicle cloud management platform through the NBIot module.
Fig. 6 is a schematic block diagram of an automatic locking device 100 according to an embodiment of the present application. As shown in fig. 6, the present application also provides an auto-locking device 100 corresponding to the above auto-locking method. The auto-lock device 100 includes means for performing the auto-lock method described above. Specifically, referring to fig. 6, the auto-lock apparatus 100 includes a first detection unit 110, a first calculation unit 120, a second detection unit 130, and a first execution unit 140.
The first detecting unit 110 is configured to detect whether a connection signal with the control device disappears if it is detected that the vehicle is in a flameout state; the first calculating unit 120 is configured to calculate a vanishing time of the connection signal to obtain a disconnection time if the connection signal vanishes; the second detecting unit 130 is configured to detect whether the vehicle is in a locked state if the disconnection time is greater than a first preset time; the first execution unit 140 is configured to execute a locking operation if the vehicle is not in the locked state.
In some embodiments, for example, referring to fig. 7, the auto-lock apparatus 100 further includes a second calculating unit 110a, a first judging unit 110b, and a second judging unit 120a.
The second calculating unit 110a is configured to calculate a duration of the connection signal after the vehicle is in a flameout state if the connection signal is not disappeared; the first determining unit 110b is configured to return to the step of detecting whether the vehicle is in the locked state if the duration is greater than a second preset time; the second determining unit 120a is configured to return to the step of detecting whether the connection signal of the control device disappears if the disconnection time is less than the first preset time.
In another embodiment, referring to fig. 8, the auto-lock apparatus 100 includes a first detection unit 110, a first calculation unit 120, a second detection unit 130, a first execution unit 140, a third determination unit 150, and a fourth transmission unit 160.
The first detecting unit 110 is configured to detect whether a connection signal with the control device disappears if it is detected that the vehicle is in a flameout state; the first calculating unit 120 is configured to calculate a vanishing time of the connection signal to obtain a disconnection time if the connection signal vanishes; the second detecting unit 130 is configured to detect whether the vehicle is in a locked state if the disconnection time is greater than a first preset time; the first execution unit 140 is configured to execute a locking action if the vehicle is not in the locked state; the third judging unit 150 is configured to judge whether the vehicle is in an abnormal motion state; the fourth transmission unit 160 is configured to upload, through an early warning module, abnormal information of the vehicle to a vehicle cloud management platform if the vehicle is in the abnormal motion state.
In some embodiments, for example, the third determining unit 150 includes a fourth confirming unit 151, a second confirming unit 152, and a third confirming unit 153, referring to fig. 9.
Wherein the fourth confirmation unit 151 is configured to confirm a state of the vehicle; the second confirmation unit 152 is configured to confirm the vehicle as a normal state if the vehicle is in a stationary state; the third confirmation unit 153 is configured to confirm the vehicle as the abnormal motion state if the vehicle is in a non-stationary state.
In some embodiments, for example, the present embodiment, referring to fig. 10, the fourth transmission unit 160 includes a first acknowledgement unit 161, a first transmission unit 162, a third transmission unit 162a, and a second transmission unit 163.
Wherein the first confirmation unit 161 is configured to confirm the type of the abnormal motion state; the first transmission unit 162 is configured to upload, if the vehicle is in a moving state, abnormal information corresponding to the moving state to the vehicle cloud management platform through the early warning module and control the warning device to perform warning; the third transmission unit 162a is configured to upload the location information of the vehicle to the vehicle cloud management platform; the second transmission unit 163 is configured to upload, if the vehicle is in a shake state, abnormal information corresponding to the shake state to the vehicle cloud management platform through the early warning module.
It should be noted that, as those skilled in the art can clearly understand, the specific implementation process of the above-mentioned automatic locking device and each unit may refer to the corresponding description in the foregoing method embodiments, and for convenience and brevity of description, the description is omitted here.
The above-described automatic locking apparatus may be implemented in the form of a computer program which can be run on a computer device as shown in fig. 11.
Referring to fig. 11, fig. 11 is a schematic block diagram of a computer device 500 according to an embodiment of the present application. The computer device 500 may be a terminal, where the terminal may be an electronic device having a communication function, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and a wearable device.
With reference to FIG. 11, the computer device 500 includes a processor 502, memory, and an interface 507, which are connected by a system bus 501, wherein the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032, when executed, causes the processor 502 to perform an auto-lock method.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the execution of a computer program 5032 in the non-volatile storage medium 503, which computer program 5032, when executed by the processor 502, causes the processor 502 to perform an auto-lock method.
The interface 505 is used to communicate with other devices. It will be appreciated by those skilled in the art that the structure shown in FIG. 11 is merely a block diagram of some of the structures associated with the present inventive arrangements and does not constitute a limitation of the computer device 500 to which the present inventive arrangements may be applied, and that a particular computer device 500 may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
Wherein the processor 502 is configured to execute a computer program 5032 stored in a memory to implement the steps of:
if the vehicle is detected to be in a flameout state, detecting whether a connection signal with the control equipment disappears;
if the connection signal disappears, calculating the vanishing time of the connection signal to obtain the disconnection time;
if the disconnection time is longer than a first preset time, detecting whether the vehicle is in a locking state or not;
and if the vehicle is not in the locking state, executing the locking action.
It should be appreciated that in an embodiment of the application, the processor 502 may be a central processing unit (Central Processing Unit, CPU), the processor 502 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSPs), application specific integrated circuits (Application Specific Integrated Circuit, ASICs), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Those skilled in the art will appreciate that all or part of the flow in a method embodying the above described embodiments may be accomplished by computer programs instructing the relevant hardware. The computer program may be stored in a storage medium that is a computer readable storage medium. The computer program is executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present application also provides a storage medium. The storage medium may be a computer readable storage medium. The storage medium stores a computer program. The computer program, when executed by a processor, causes the processor to perform the steps of:
if the vehicle is detected to be in a flameout state, detecting whether a connection signal with the control equipment disappears;
if the connection signal disappears, calculating the vanishing time of the connection signal to obtain the disconnection time;
if the disconnection time is longer than a first preset time, detecting whether the vehicle is in a locking state or not;
and if the vehicle is not in the locking state, executing the locking action.
The storage medium may be a U-disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, or other various computer-readable storage media that can store program codes.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the application can be combined, divided and deleted according to actual needs. In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The integrated unit may be stored in a storage medium if implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application is essentially or partly contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device to perform all or part of the steps of the method according to the embodiments of the present application.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and for those portions of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.
While the application has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (6)

1. An automatic locking method applied to an intelligent lock, which is characterized by comprising the following steps:
if the vehicle is detected to be in a flameout state, detecting whether a connection signal with control equipment disappears, wherein the control equipment is connected with the intelligent lock through Bluetooth, and the vehicle is a two-wheel vehicle or a motorcycle;
if the connection signal disappears, calculating the vanishing time of the connection signal to obtain the disconnection time;
if the disconnection time is longer than a first preset time, detecting whether the vehicle is in a locking state or not;
if the vehicle is not in the locking state, executing a vehicle locking action;
judging whether the vehicle is in an abnormal motion state or not;
if the vehicle is in the abnormal motion state, confirming the type of the abnormal motion state, wherein the type of the abnormal motion state comprises a moving state and a shaking state;
if the vehicle is in the moving state, uploading abnormal information corresponding to the moving state to a vehicle cloud management platform through an early warning module and controlling a warning device to warn;
if the vehicle is in the shaking state, uploading abnormal information corresponding to the shaking state to a vehicle cloud management platform through an early warning module;
if the vehicle is detected to be in a flameout state, the step of detecting whether the connection signal with the control device disappears further comprises the following steps:
if the connection signal does not disappear, calculating the duration of the connection signal after the vehicle is in a flameout state;
if the duration is longer than a second preset time, indicating that the user needs to stay near the vehicle for a long time without disconnecting the control device, and the user still has the requirement of automatic locking, entering the step of detecting whether the vehicle is in a locking state, wherein the second preset time can be set by the user;
if the connection signal disappears, the step of calculating the disappearance time of the connection signal to obtain the disconnection time further includes:
and if the disconnection time is smaller than the first preset time, indicating that the user returns to the vicinity of the vehicle after leaving the vehicle and reestablishes connection with the vehicle, returning to the step of detecting whether the connection signal of the control equipment disappears.
2. The automatic locking method as claimed in claim 1, wherein the step of judging whether the vehicle is in an abnormal motion state comprises:
confirming a state of the vehicle;
if the vehicle is in a stationary state, confirming the vehicle as a normal state;
and if the vehicle is in a non-stationary state, confirming the vehicle as the abnormal motion state.
3. The method for automatically locking a vehicle according to claim 1, wherein if the vehicle is in the moving state, after the step of uploading the abnormal information corresponding to the moving state to the vehicle cloud management platform and controlling the warning device to perform warning through the early warning module, the method further comprises:
and uploading the position information of the vehicle to the vehicle cloud management platform.
4. An automatic locking device, the device comprising:
the first detection unit is used for detecting whether a connection signal with the control equipment disappears or not if the vehicle is detected to be in a flameout state, wherein the control equipment is connected with the first detection unit through Bluetooth, and the vehicle is a two-wheel vehicle or a motorcycle;
the first calculating unit is used for calculating the vanishing time of the connecting signal to obtain the disconnection time if the connecting signal vanishes;
the second detection unit is used for detecting whether the vehicle is in a locking state or not if the wire breakage time is longer than a first preset time;
the first execution unit is used for executing a locking action if the vehicle is not in the locking state;
a second calculation unit configured to calculate a duration of the connection signal after the vehicle is in a flameout state if the connection signal does not disappear;
the first judging unit is used for entering the step of detecting whether the vehicle is in a locked state or not if the duration time is longer than a second preset time, which can be set by a user, and the user needs to stay nearby the vehicle for a long time under the condition that the control device is not disconnected and the user still has the requirement of automatic locking;
a second judging unit, configured to return to the step of detecting whether the connection signal of the control device disappears if the disconnection time is less than the first preset time, indicating that the user returns to the vicinity of the vehicle and reestablishes connection with the vehicle after leaving the vehicle;
a third judging unit configured to judge whether the vehicle is in an abnormal motion state;
a first confirmation unit configured to confirm a type of the abnormal motion state if the vehicle is in the abnormal motion state, wherein the type of the abnormal motion state includes a moving state and a shaking state;
the first transmission unit is used for uploading abnormal information corresponding to the moving state to a vehicle cloud management platform through an early warning module and controlling a warning device to warn if the vehicle is in the moving state;
and the second transmission unit is used for uploading the abnormal information corresponding to the shaking state to the vehicle cloud management platform through the early warning module if the vehicle is in the shaking state.
5. A computer device comprising a memory and a processor coupled to the memory; the memory is used for storing a computer program; the processor being adapted to run a computer program stored in the memory for performing the steps of the method according to any one of claims 1-3.
6. A computer-readable storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements the steps of the method according to any of claims 1-3.
CN202110777608.5A 2021-07-09 2021-07-09 Automatic locking method, device, computer equipment and storage medium Active CN113362507B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110777608.5A CN113362507B (en) 2021-07-09 2021-07-09 Automatic locking method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110777608.5A CN113362507B (en) 2021-07-09 2021-07-09 Automatic locking method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113362507A CN113362507A (en) 2021-09-07
CN113362507B true CN113362507B (en) 2023-09-05

Family

ID=77538784

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110777608.5A Active CN113362507B (en) 2021-07-09 2021-07-09 Automatic locking method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113362507B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114407908B (en) * 2022-02-21 2024-03-12 浙江绿色慧联有限公司 Remote vehicle control method, system, equipment and medium based on vehicle safety

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101833729A (en) * 2010-04-30 2010-09-15 厦门大学 Reservation system and method for sharing automobile lease
CN101840603A (en) * 2010-03-22 2010-09-22 陈琼 Intelligent management platform of vehicle rental system
CN104691657A (en) * 2015-03-26 2015-06-10 苏州大学 Virtual key-based vehicle lock control system and smart vehicle lock comprising same
CN106230678A (en) * 2016-07-29 2016-12-14 北京新能源汽车股份有限公司 Information processing method based on car borne gateway controller and gateway controller
CN107364511A (en) * 2017-06-16 2017-11-21 上海与德科技有限公司 Locking method, locking device and the vehicle electronic device of vehicle
CN108032834A (en) * 2017-11-15 2018-05-15 广州自由偶像机电科技有限公司 A kind of Vehicular intelligent card alarm
CN108032835A (en) * 2017-11-15 2018-05-15 广州自由偶像机电科技有限公司 A kind of unlocking method of vehicle
CN207607573U (en) * 2017-12-19 2018-07-13 深圳市泰比特科技有限公司 A kind of intelligent electric bicycle control device and intelligent electric bicycle
CN108343328A (en) * 2017-01-22 2018-07-31 观致汽车有限公司 A kind of automatic locking system and method
CN108986266A (en) * 2018-06-29 2018-12-11 重庆长安汽车股份有限公司 Vehicle automatic blocking and method, system and the vehicle for reminding user
CN109072633A (en) * 2016-01-27 2018-12-21 株式会社自动网络技术研究所 Communications system for vehicle, mobile unit and portable equipment
CN109094688A (en) * 2018-08-20 2018-12-28 河南广阔物联网科技有限公司 A kind of electric vehicle intelligence joint defence theft system
CN109727358A (en) * 2019-02-21 2019-05-07 深圳四海万联科技有限公司 Vehicle share system based on bluetooth key
CN109774656A (en) * 2019-02-21 2019-05-21 广州优创电子有限公司 The control method that latches, device and the intelligent bicycle lock and automobile of vehicle
CN110758601A (en) * 2019-10-28 2020-02-07 上海钧正网络科技有限公司 Automatic locking and power-off system and method for electric vehicle
CN111988741A (en) * 2020-08-04 2020-11-24 上海移柯通信技术股份有限公司 Intelligent tracking and positioning anti-theft device based on communication technology and control method
CN113060095A (en) * 2021-04-27 2021-07-02 歌尔股份有限公司 Vehicle locking state detection method and device and electronic equipment

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840603A (en) * 2010-03-22 2010-09-22 陈琼 Intelligent management platform of vehicle rental system
CN101833729A (en) * 2010-04-30 2010-09-15 厦门大学 Reservation system and method for sharing automobile lease
CN104691657A (en) * 2015-03-26 2015-06-10 苏州大学 Virtual key-based vehicle lock control system and smart vehicle lock comprising same
CN109072633A (en) * 2016-01-27 2018-12-21 株式会社自动网络技术研究所 Communications system for vehicle, mobile unit and portable equipment
CN106230678A (en) * 2016-07-29 2016-12-14 北京新能源汽车股份有限公司 Information processing method based on car borne gateway controller and gateway controller
CN108343328A (en) * 2017-01-22 2018-07-31 观致汽车有限公司 A kind of automatic locking system and method
CN107364511A (en) * 2017-06-16 2017-11-21 上海与德科技有限公司 Locking method, locking device and the vehicle electronic device of vehicle
CN108032835A (en) * 2017-11-15 2018-05-15 广州自由偶像机电科技有限公司 A kind of unlocking method of vehicle
CN108032834A (en) * 2017-11-15 2018-05-15 广州自由偶像机电科技有限公司 A kind of Vehicular intelligent card alarm
CN207607573U (en) * 2017-12-19 2018-07-13 深圳市泰比特科技有限公司 A kind of intelligent electric bicycle control device and intelligent electric bicycle
CN108986266A (en) * 2018-06-29 2018-12-11 重庆长安汽车股份有限公司 Vehicle automatic blocking and method, system and the vehicle for reminding user
CN109094688A (en) * 2018-08-20 2018-12-28 河南广阔物联网科技有限公司 A kind of electric vehicle intelligence joint defence theft system
CN109727358A (en) * 2019-02-21 2019-05-07 深圳四海万联科技有限公司 Vehicle share system based on bluetooth key
CN109774656A (en) * 2019-02-21 2019-05-21 广州优创电子有限公司 The control method that latches, device and the intelligent bicycle lock and automobile of vehicle
CN110758601A (en) * 2019-10-28 2020-02-07 上海钧正网络科技有限公司 Automatic locking and power-off system and method for electric vehicle
CN111988741A (en) * 2020-08-04 2020-11-24 上海移柯通信技术股份有限公司 Intelligent tracking and positioning anti-theft device based on communication technology and control method
CN113060095A (en) * 2021-04-27 2021-07-02 歌尔股份有限公司 Vehicle locking state detection method and device and electronic equipment

Also Published As

Publication number Publication date
CN113362507A (en) 2021-09-07

Similar Documents

Publication Publication Date Title
US10232823B1 (en) Apparatus and method for pairing smartphone with vehicle tracking device
US9123244B2 (en) Vehicle tracking of personal devices with response system
US20120326855A1 (en) Prevention of texting while operating a motor vehicle
JP4804545B2 (en) Method and apparatus for preventing theft of motorcycles
JP6336931B2 (en) Vehicle anti-theft device
CN113362507B (en) Automatic locking method, device, computer equipment and storage medium
US20090167516A1 (en) Look-away detecting device, method and program
JP2003531364A (en) Apparatus for checking the validity of the fall judgment
JP2007161226A (en) Antitheft system for vehicle
CN105083212B (en) Door ajar is detected using intrusion sensor
US20160063843A1 (en) Security System For A Motorized Cycle
CN107791840A (en) A kind of device and method for preventing passenger inside the vehicle from overloading
WO2017022317A1 (en) Banking angle detection device and banking angle detection method
KR101927853B1 (en) Anti-theft device for delivery vehicle
CN113060095A (en) Vehicle locking state detection method and device and electronic equipment
JP2002269663A (en) Security system for vehicle
CN209757045U (en) Vehicle axle lock control device
KR20190075293A (en) Apparatus for controlling door of vehicle, method for coctrolling door and tailgate of vehicle and computer readable recording media with program written
CN111824064B (en) Vehicle anti-theft method and device
US10864890B2 (en) Electronic key and method for operating an electronic key
KR102589935B1 (en) Apparatus and method for monitoring camera signals
JP2005119602A (en) Anti-theft apparatus for vehicle
Kumari et al. Driver Drowsiness Detection System Using Sensors
JP2002331848A (en) Driving condition detector
US11932197B2 (en) Digital key relay attack prevention systems and methods

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