Method and system for alarming child staying in vehicle, intelligent wearable device and storage medium
1. The alarm method for the children staying in the vehicle is characterized by being applied to intelligent wearable equipment and comprising the following steps:
when the intelligent wearable device is in communication connection with a vehicle-mounted system of a vehicle and the intelligent wearable device is detected to be in a worn state, sending a delayed turn-off instruction of the vehicle-mounted system after flameout to the vehicle-mounted system;
when the vehicle is detected to be flameout, starting timing, and monitoring whether the communication connection between the intelligent wearable device and the vehicle-mounted system is disconnected after a first preset time;
if the intelligent wearable device is not disconnected, acquiring a first current distance between the vehicle and the intelligent wearable device through the vehicle-mounted system, and detecting whether the first current distance is smaller than a preset distance;
and if the first current distance is smaller than the preset distance, alarming and reminding.
2. The method for alarming children staying in the vehicle as claimed in claim 1, wherein the step of alarming if the first current distance is smaller than a preset distance comprises:
if the first current distance is smaller than a preset distance, sending first prompt information to the vehicle-mounted system, and monitoring whether first confirmation information returned by the vehicle-mounted system is received within a second preset time;
and if the first confirmation information returned by the vehicle-mounted system is not received within the second preset time, alarming and reminding are carried out.
3. The method for alarming when a child is detained in the vehicle as claimed in claim 2, wherein if the first confirmation message returned by the vehicle-mounted system is not received within the second preset time period, the step of alarming comprises:
if the first confirmation information returned by the vehicle-mounted system is not received within a second preset time, sending second prompt information to a preset terminal, and monitoring whether the second confirmation information returned by the preset terminal is received within a third preset time;
if second confirmation information returned by the preset terminal is not received within a third preset time, detecting whether the communication connection between the intelligent wearable device and the vehicle-mounted system is disconnected, acquiring a second current distance between the vehicle and the intelligent wearable device, and detecting whether the second current distance is smaller than the preset distance;
if the communication connection between the intelligent wearable device and the vehicle-mounted system is not disconnected and the second current distance is smaller than the preset distance, detecting whether the vehicle is started or not through the vehicle-mounted system;
if the vehicle is not started, sending the first prompt message to the vehicle-mounted system, and monitoring whether a first confirmation message returned by the vehicle-mounted system is received within a fourth preset time period;
and if the first confirmation information returned by the vehicle-mounted system is not received within the fourth preset time, alarming and reminding are carried out.
4. The method for alarming when a child is detained in a vehicle as claimed in claim 2, wherein after the step of monitoring whether the first confirmation message returned by the vehicle-mounted system is received within the second preset time period, the method further comprises:
if the first confirmation information returned by the vehicle-mounted system is received within the second preset time, sending third prompt information to the vehicle-mounted system, and monitoring whether the third confirmation information returned by the preset terminal is received within the fifth preset time;
and if the third confirmation information returned by the preset terminal is received within a fifth preset time, sending fourth prompt information to the preset terminal to prompt a user to connect the preset terminal with the vehicle-mounted system.
5. The child stay in-vehicle alerting method of claim 1, further comprising:
when the intelligent wearable device is in communication connection with an on-vehicle system of a vehicle, starting a heart rate sensor, and/or a pressure sensor, and/or a distance sensor, and/or a body temperature sensor to detect whether the intelligent wearable device is in a worn state;
if the intelligent wearable device is detected not to be in the worn state, generating fifth prompt information to confirm whether the child is in the car and/or whether the intelligent wearable device is worn correctly;
monitoring whether fifth confirmation information fed back based on the fifth prompt information is received within a sixth preset time;
and if the fifth confirmation information is received within the sixth preset time and the fifth confirmation information indicates that the child is not in the vehicle, disconnecting the communication connection with the vehicle-mounted system.
6. The method for alarming when a child is detained in a car as claimed in claim 5, wherein after the step of monitoring whether a fifth confirmation message fed back based on the fifth prompt message is received within a sixth preset time period, the method further comprises:
and if the fifth confirmation information is not received within the sixth preset time, continuously detecting whether the intelligent wearable device is in the worn state.
7. The method for alarming children staying in a vehicle as claimed in any one of claims 1 to 6, wherein the manner of alarming reminding comprises at least one of:
sending first alarm information to a preset terminal in a first preset mode and a first preset frequency;
and sending second alarm information to the preset alarm end in a second preset mode and a second preset frequency.
8. The utility model provides an intelligence wearing equipment which characterized in that, intelligence wearing equipment includes: memory, a processor and an alarm program stored on the memory and executable on the processor, the alarm program when executed by the processor implementing the steps of the child retention in-car alarm method of any one of claims 1 to 7.
9. A child detention in-car alarm system is characterized by comprising intelligent wearing equipment and a vehicle-mounted system; wherein the content of the first and second substances,
the intelligent wearable device is the intelligent wearable device as claimed in claim 7;
the vehicle-mounted system is used for starting a vehicle-mounted Bluetooth function to search the intelligent wearable device and establish communication connection with the intelligent wearable device when detecting that a vehicle is started;
the vehicle-mounted system is further used for receiving a vehicle-mounted system delayed closing instruction sent by the intelligent wearable device, and when the vehicle is detected to be flameout, the vehicle-mounted system is delayed to be closed.
10. A computer-readable storage medium, having stored thereon an alarm program which, when executed by a processor, carries out the steps of the child retention in-vehicle alarm method according to any one of claims 1 to 7.
Background
In recent years, with the increase of income of the people, automobiles enter thousands of households, and convenience is provided for outgoing of people. With the great popularity of automobiles, a number of problems have also arisen. Some parents leave young children in the car due to busy work and carelessness, and the flameout car is quickly and highly heated, so that many children die, and a family tragedy is caused; the interior of the vehicle is cold in winter, and children left in the vehicle are infected with wind cold and are ill and painful. Therefore, it is necessary to develop a warning system for children staying in the car to avoid the dangerous situation.
At present, can reform transform the car usually, for example, install high temperature automatic alarm system that windows, the long-range automatic alarm system of inside environment high temperature in the car, or vehicle inside environment monitoring alarm system based on internet of things etc. above-mentioned scheme is difficult for installing by oneself usually, and needs higher hardware cost.
Disclosure of Invention
The invention mainly aims to provide a method and a system for alarming when a child stays in a vehicle, intelligent wearable equipment and a storage medium, and aims to solve the problem that the existing scheme for alarming when the child stays in the vehicle is high in cost.
In order to achieve the purpose, the invention provides a child detention in-vehicle alarm method which is applied to intelligent wearable equipment and comprises the following steps:
when the intelligent wearable device is in communication connection with a vehicle-mounted system of a vehicle and the intelligent wearable device is detected to be in a worn state, sending a delayed turn-off instruction of the vehicle-mounted system after flameout to the vehicle-mounted system;
when the vehicle is detected to be flameout, starting timing, and monitoring whether the communication connection between the intelligent wearable device and the vehicle-mounted system is disconnected after a first preset time;
if the intelligent wearable device is not disconnected, acquiring a first current distance between the vehicle and the intelligent wearable device through the vehicle-mounted system, and detecting whether the first current distance is smaller than a preset distance;
and if the first current distance is smaller than the preset distance, alarming and reminding.
Optionally, if the first current distance is smaller than a preset distance, the step of performing alarm reminding includes:
if the first current distance is smaller than a preset distance, sending first prompt information to the vehicle-mounted system, and monitoring whether first confirmation information returned by the vehicle-mounted system is received within a second preset time;
and if the first confirmation information returned by the vehicle-mounted system is not received within the second preset time, alarming and reminding are carried out.
Optionally, if the first confirmation information returned by the vehicle-mounted system is not received within the second preset time period, the step of performing alarm reminding includes:
if the first confirmation information returned by the vehicle-mounted system is not received within a second preset time, sending second prompt information to a preset terminal, and monitoring whether the second confirmation information returned by the preset terminal is received within a third preset time;
if second confirmation information returned by the preset terminal is not received within a third preset time, detecting whether the communication connection between the intelligent wearable device and the vehicle-mounted system is disconnected, acquiring a second current distance between the vehicle and the intelligent wearable device, and detecting whether the second current distance is smaller than the preset distance;
if the communication connection between the intelligent wearable device and the vehicle-mounted system is not disconnected and the second current distance is smaller than the preset distance, detecting whether the vehicle is started or not through the vehicle-mounted system;
if the vehicle is not started, sending the first prompt message to the vehicle-mounted system, and monitoring whether a first confirmation message returned by the vehicle-mounted system is received within a fourth preset time period;
and if the first confirmation information returned by the vehicle-mounted system is not received within the fourth preset time, alarming and reminding are carried out.
Optionally, after the step of monitoring whether the first confirmation information returned by the vehicle-mounted system is received within a second preset time period, the method further includes:
if the first confirmation information returned by the vehicle-mounted system is received within the second preset time, sending third prompt information to the vehicle-mounted system, and monitoring whether the third confirmation information returned by the preset terminal is received within the fifth preset time;
and if the third confirmation information returned by the preset terminal is received within a fifth preset time, sending fourth prompt information to the preset terminal to prompt a user to connect the preset terminal with the vehicle-mounted system.
Optionally, the child retention in-vehicle alarm method further includes:
when the intelligent wearable device is in communication connection with an on-vehicle system of a vehicle, starting a heart rate sensor, and/or a pressure sensor, and/or a distance sensor, and/or a body temperature sensor to detect whether the intelligent wearable device is in a worn state;
if the intelligent wearable device is detected not to be in the worn state, generating fifth prompt information to confirm whether the child is in the car and/or whether the intelligent wearable device is worn correctly;
monitoring whether fifth confirmation information fed back based on the fifth prompt information is received within a sixth preset time;
and if the fifth confirmation information is received within the sixth preset time and the fifth confirmation information indicates that the child is not in the vehicle, disconnecting the communication connection with the vehicle-mounted system.
Optionally, after the step of monitoring whether fifth confirmation information based on the fifth prompt information feedback is received within a sixth preset time period, the method further includes:
and if the fifth confirmation information is not received within the sixth preset time, continuously detecting whether the intelligent wearable device is in the worn state.
Optionally, the manner of the alarm reminding includes at least one of the following:
sending first alarm information to a preset terminal in a first preset mode and a first preset frequency;
and sending second alarm information to the preset alarm end in a second preset mode and a second preset frequency.
In addition, to achieve the above object, the present invention further provides an intelligent wearable device, including: the alarm system comprises a memory, a processor and an alarm program stored on the memory and capable of running on the processor, wherein the alarm program realizes the steps of the child stay in-car alarm method when being executed by the processor.
In addition, in order to achieve the purpose, the invention also provides a child detention in-car alarm system, which comprises intelligent wearing equipment and a vehicle-mounted system; wherein the content of the first and second substances,
the intelligent wearable device is the intelligent wearable device;
the vehicle-mounted system is used for starting a vehicle-mounted Bluetooth function to search the intelligent wearable device and establish communication connection with the intelligent wearable device when detecting that a vehicle is started;
the vehicle-mounted system is further used for receiving a vehicle-mounted system delayed closing instruction sent by the intelligent wearable device, and when the vehicle is detected to be flameout, the vehicle-mounted system is delayed to be closed.
In addition, to achieve the above object, the present invention also provides a computer readable storage medium having an alarm program stored thereon, which when executed by a processor, implements the steps of the child stay in-vehicle alarm method as described above.
The invention provides a method and a system for warning that a child stays in a vehicle, intelligent wearable equipment and a storage medium, wherein the method is applied to the intelligent wearable equipment; starting timing when the vehicle is detected to be flameout, and monitoring whether the communication connection between the intelligent wearable device and the vehicle-mounted system is disconnected after a first preset time; if the intelligent wearable device is not disconnected, acquiring a first current distance between the vehicle and the intelligent wearable device through the vehicle-mounted system, and detecting whether the first current distance is smaller than a preset distance; if the first current distance is smaller than the preset distance, it indicates that the child is possibly detained in the car after being flamed out, and at the moment, the alarm is given out. Through above-mentioned mode, with the help of intelligent wearing equipment and vehicle-mounted system's communication connection state and distance detectable between the two whether children are detained in the car to warning when detecting to have the risk of detaining. The invention can realize the alarm function of the children staying in the vehicle by depending on the existing intelligent wearable equipment and the vehicle-mounted system, does not need to research and develop a new hardware device, and can shorten the research and development period and save the cost compared with the prior art.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a first embodiment of the child retention in-vehicle alarm method of the invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal is the intelligent wearable device, and the intelligent wearable device can be an intelligent watch, an intelligent bracelet and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU (Central Processing Unit), a communication bus 1002, and a memory 1003. The memory 1003 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1003 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the memory 1003, which is a kind of computer storage medium, may include therein an operating system and an alarm program.
In the terminal shown in fig. 1, the processor 1001 may be configured to call an alarm program stored in the memory 1003 and perform the following operations:
when the intelligent wearable device is in communication connection with a vehicle-mounted system of a vehicle and the intelligent wearable device is detected to be in a worn state, sending a delayed turn-off instruction of the vehicle-mounted system after flameout to the vehicle-mounted system;
when the vehicle is detected to be flameout, starting timing, and monitoring whether the communication connection between the intelligent wearable device and the vehicle-mounted system is disconnected after a first preset time;
if the intelligent wearable device is not disconnected, acquiring a first current distance between the vehicle and the intelligent wearable device through the vehicle-mounted system, and detecting whether the first current distance is smaller than a preset distance;
and if the first current distance is smaller than the preset distance, alarming and reminding.
Further, the processor 1001 may call an alarm program stored in the memory 1003, and further perform the following operations:
if the first current distance is smaller than a preset distance, sending first prompt information to the vehicle-mounted system, and monitoring whether first confirmation information returned by the vehicle-mounted system is received within a second preset time;
and if the first confirmation information returned by the vehicle-mounted system is not received within the second preset time, alarming and reminding are carried out.
Further, the processor 1001 may call an alarm program stored in the memory 1003, and further perform the following operations:
if the first confirmation information returned by the vehicle-mounted system is not received within a second preset time, sending second prompt information to a preset terminal, and monitoring whether the second confirmation information returned by the preset terminal is received within a third preset time;
if second confirmation information returned by the preset terminal is not received within a third preset time, detecting whether the communication connection between the intelligent wearable device and the vehicle-mounted system is disconnected, acquiring a second current distance between the vehicle and the intelligent wearable device, and detecting whether the second current distance is smaller than the preset distance;
if the communication connection between the intelligent wearable device and the vehicle-mounted system is not disconnected and the second current distance is smaller than the preset distance, detecting whether the vehicle is started or not through the vehicle-mounted system;
if the vehicle is not started, sending the first prompt message to the vehicle-mounted system, and monitoring whether a first confirmation message returned by the vehicle-mounted system is received within a fourth preset time period;
and if the first confirmation information returned by the vehicle-mounted system is not received within the fourth preset time, alarming and reminding are carried out.
Further, the processor 1001 may call an alarm program stored in the memory 1003, and further perform the following operations:
if the first confirmation information returned by the vehicle-mounted system is received within the second preset time, sending third prompt information to the vehicle-mounted system, and monitoring whether the third confirmation information returned by the preset terminal is received within the fifth preset time;
and if the third confirmation information returned by the preset terminal is received within a fifth preset time, sending fourth prompt information to the preset terminal to prompt a user to connect the preset terminal with the vehicle-mounted system.
Further, the processor 1001 may call an alarm program stored in the memory 1003, and further perform the following operations:
when the intelligent wearable device is in communication connection with an on-vehicle system of a vehicle, starting a heart rate sensor, and/or a pressure sensor, and/or a distance sensor, and/or a body temperature sensor to detect whether the intelligent wearable device is in a worn state;
if the intelligent wearable device is detected not to be in the worn state, generating fifth prompt information to confirm whether the child is in the car and/or whether the intelligent wearable device is worn correctly;
monitoring whether fifth confirmation information fed back based on the fifth prompt information is received within a sixth preset time;
and if the fifth confirmation information is received within the sixth preset time and the fifth confirmation information indicates that the child is not in the vehicle, disconnecting the communication connection with the vehicle-mounted system.
Further, the processor 1001 may call an alarm program stored in the memory 1003, and further perform the following operations:
and if the fifth confirmation information is not received within the sixth preset time, continuously detecting whether the intelligent wearable device is in the worn state.
Further, the alarm reminding mode comprises at least one of the following modes:
sending first alarm information to a preset terminal in a first preset mode and a first preset frequency;
and sending second alarm information to the preset alarm end in a second preset mode and a second preset frequency.
Based on the hardware structure, the invention provides various embodiments of the alarm method for the child staying in the vehicle.
The invention provides a method for alarming when a child stays in a vehicle.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the child retention in-vehicle alarm method of the present invention.
In this embodiment, the child stay in-vehicle alarm method includes:
step S10, when the intelligent wearable device establishes communication connection with a vehicle-mounted system of a vehicle and detects that the intelligent wearable device is in a worn state, sending a delayed closing instruction of the vehicle-mounted system after flameout to the vehicle-mounted system;
in this embodiment, the child detention in-vehicle alarm method is applied to a child detention in-vehicle alarm system, the child detention in-vehicle alarm system comprises an intelligent wearable device and an in-vehicle system, the in-vehicle system is mounted on a vehicle, and the intelligent wearable device and the in-vehicle system can be in communication connection through a bluetooth wireless communication technology. Wherein, intelligence wearing equipment can intelligent wrist-watch, intelligent bracelet etc..
In this embodiment, the terminal in the embodiment of the present invention is an intelligent wearable device. When detecting that the vehicle starts, the vehicle-mounted system starts the vehicle-mounted Bluetooth function to search the intelligent wearable device and establish communication connection with the intelligent wearable device. When intelligent wearing equipment and the on-vehicle system of vehicle establish communication connection, can start any kind or multiple sensor in rhythm of the heart sensor, pressure sensor, distance sensor and the body temperature sensor to whether detect intelligent wearing equipment and be in by the state of wearing, when detecting that intelligent wearing equipment is in by the state of wearing, send the on-vehicle system delay of flameout back and close the instruction to on-vehicle system. Wherein, this on-vehicle system postpones close the instruction and is used for making on-vehicle system when detecting the vehicle and flame out, postpones and closes to for intelligent wearing equipment provides relevant data, like vehicle and intelligent wearing equipment's connected state, vehicle position etc. so that intelligent wearing equipment judges whether children are detained in the car.
Step S20, starting timing when the vehicle is detected to be flameout, and monitoring whether the communication connection between the intelligent wearable device and the vehicle-mounted system is disconnected after a first preset time;
when the vehicle-mounted system detects that the vehicle is flamed out, the flamed-out message of the vehicle can be sent to the intelligent wearable device through the communication connection between the intelligent wearable device and the vehicle-mounted system, at the moment, the intelligent wearable device starts timing when detecting that the vehicle is flamed out, and whether the communication connection between the intelligent wearable device and the vehicle-mounted system is disconnected when monitoring is carried out for a first preset time. The first preset time is optionally set to be 5-10 minutes, and of course, the first preset time can be set according to actual needs in specific implementation, and the setting is not limited herein.
Further, when detecting that the vehicle stalls, on-vehicle system can broadcast tip information to remind the guardian not to leave children in the car, in order to further reduce children and detain the probability in the car.
Step S30, if the vehicle is not disconnected, acquiring a first current distance between the vehicle and the intelligent wearable device through the vehicle-mounted system, and detecting whether the first current distance is smaller than a preset distance;
if the monitoring is not disconnected after the first preset duration, it indicates that the child is still near the vehicle, at the moment, the first current distance between the vehicle and the intelligent wearable device is obtained through the vehicle-mounted system, specifically, a position obtaining instruction can be sent to the vehicle-mounted system, and the vehicle position can be obtained through the vehicle-mounted GPS positioning system by the vehicle-mounted system and then sent to the intelligent wearable device. At this moment, the intelligent wearable device can also acquire the current position of the intelligent wearable device through a GPS positioning function, and then the current distance between the vehicle and the intelligent wearable device is determined and obtained by combining the vehicle position and is recorded as the first current distance. Then, whether the first current distance is smaller than a preset distance is detected. Wherein, since the accuracy of the civil GPS is 10 meters, the preset distance is optionally set to 10 meters.
And step S40, if the first current distance is smaller than a preset distance, alarming and reminding are carried out.
If the first current distance is smaller than the preset distance, it indicates that the child still stays around the vehicle after the vehicle is flamed out for the first preset time, and the child has a high possibility of being detained in the vehicle, and at the moment, the alarm is given out. The alarm reminding mode can include but is not limited to: 1) sending first alarm information to a preset terminal in a first preset mode and a first preset frequency; 2) and sending second alarm information to the preset alarm end in a second preset mode and a second preset frequency. The preset alarm terminal may be a public security alarm terminal, for example, 12110 (public service short message alarm number unified by the chinese public security organization). The first preset mode and the second preset mode may be the same or different, and may include but are not limited to: the first preset frequency and the second preset frequency can be the same or different, and preferably, the second preset frequency can be higher than the first preset frequency. First alarm information can include by length of time etc. of being detained, and second alarm information includes intelligent wearing equipment locating information, the license plate number of vehicle, guardian's number, by length of time etc. of being detained. It should be noted that the alarm reminding mode can be specifically selected based on the dangerous situation of the actual situation.
Further, after the step S30, the method for alarming that the child is detained in the vehicle further includes:
and if the first current distance is greater than or equal to a preset distance, sending a closing instruction to the vehicle-mounted system to control the vehicle-mounted system to be closed.
If the first current distance is larger than or equal to the preset distance, it indicates that the child is not in the vehicle, and at the moment, a closing instruction is sent to the vehicle-mounted system to control the vehicle-mounted system to be closed, so that the energy consumption of the vehicle is saved.
The embodiment of the invention provides a method for warning that a child stays in a car, which is applied to intelligent wearable equipment, wherein when the intelligent wearable equipment is in communication connection with a car-mounted system of the car and is detected to be in a worn state, namely when the child is detected to be in the car, a delayed closing instruction of the car-mounted system after flameout is sent to the car-mounted system; starting timing when the vehicle is detected to be flameout, and monitoring whether the communication connection between the intelligent wearable device and the vehicle-mounted system is disconnected after a first preset time; if the intelligent wearable device is not disconnected, acquiring a first current distance between the vehicle and the intelligent wearable device through the vehicle-mounted system, and detecting whether the first current distance is smaller than a preset distance; if the first current distance is smaller than the preset distance, it indicates that the child is possibly detained in the car after being flamed out, and at the moment, the alarm is given out. Through above-mentioned mode, with the help of intelligent wearing equipment and vehicle-mounted system's communication connection state and distance detectable between the two whether children are detained in the car to warning when detecting to have the risk of detaining. The invention can realize the alarm function of the children staying in the vehicle by depending on the existing intelligent wearable equipment and the vehicle-mounted system, does not need to research and develop a new hardware device, and can shorten the research and development period and save the cost compared with the prior art.
Further, based on the first embodiment, a second embodiment of the child stay in-vehicle alarm method of the present invention is provided.
In this embodiment, the step S40 may include:
step a41, if the first current distance is smaller than a preset distance, sending a first prompt message to a vehicle-mounted system, and monitoring whether a first confirmation message returned by the vehicle-mounted system is received within a second preset time period;
in this embodiment, when detecting that the first current distance is less than the preset distance, can further send first prompt information to the on-vehicle system, wherein, first prompt information is used for confirming whether guardian is in the car, and the mode of accessible voice broadcast is indicateed.
And then, monitoring whether first confirmation information returned by the preset terminal is received within a second preset time. The second preset time period may be set to 2min, and may also be specifically set according to actual needs, which is not limited herein. Correspondingly, the first confirmation information can be fed back by the guardian by clicking a display screen in the vehicle or by a voice reply mode, and the first confirmation information is the information which is fed back by the guardian and confirms that the guardian is in the vehicle.
Step a42, if the first confirmation information returned by the vehicle-mounted system is not received within a second preset time, alarming and reminding are carried out.
And if the first confirmation information returned by the vehicle-mounted system is not received within the second preset time, alarming and reminding are carried out at the moment. The alarm reminding mode can include but is not limited to: 1) sending first alarm information to a preset terminal in a first preset mode and a first preset frequency; 2) and sending second alarm information to the preset alarm end in a second preset mode and a second preset frequency. The preset alarm terminal may be a public security alarm terminal, for example, 12110 (public service short message alarm number unified by the chinese public security organization). The first preset mode and the second preset mode may be the same or different, and may include but are not limited to: the first preset frequency and the second preset frequency can be the same or different, and preferably, the second preset frequency can be higher than the first preset frequency. First alarm information can include by length of time etc. of being detained, and second alarm information includes intelligent wearing equipment locating information, the license plate number of vehicle, guardian's number, by length of time etc. of being detained. It should be noted that the alarm reminding mode can be specifically selected based on the dangerous situation of the actual situation. For example, in this case, although the child may be detained in the vehicle, the detained time is short, and at this time, the first alarm information may be sent to the preset terminal in the first preset manner and at the first preset frequency, so as to alert the guardian.
Certainly, in specific implementation, when it is monitored that the first confirmation information returned by the vehicle-mounted system is not received within the second preset time period, the step may be continuously executed to send the first prompt information to the vehicle-mounted system, and it is monitored whether the first confirmation information returned by the vehicle-mounted system is received within the second preset time period, so that after the first prompt information is sent for the preset times, when the first confirmation information is not received, the alarm reminding is performed.
Further, after the step a42, the method for alarming when the child is detained in the vehicle further comprises:
step a43, if first confirmation information returned by the vehicle-mounted system is received within a second preset time, sending third prompt information to the vehicle-mounted system, and monitoring whether third confirmation information returned by the preset terminal is received within a fifth preset time;
step a44, if a third confirmation message returned by the preset terminal is received within a fifth preset time, sending a fourth prompt message to the preset terminal to prompt a user to connect the preset terminal with the vehicle-mounted system.
In this embodiment, if the first confirmation information returned by the vehicle-mounted system is received within the second preset time period, the third prompt information is sent to the vehicle-mounted system, wherein the third prompt information is used for confirming whether the guardian is prepared and the child continues to stay in the vehicle for a period of time, and the third prompt information can prompt in a voice broadcast mode.
Then, whether third confirmation information returned by the preset terminal is received within a fifth preset time period is monitored, wherein the fifth preset time period may be set to 2min, and of course, the fifth preset time period may also be specifically set according to actual needs, which is not limited herein. Correspondingly, the third confirmation information can be fed back by the guardian by clicking a display screen in the vehicle or by a voice reply mode, and the third confirmation information is that the guardian feeds back confirmation to be continuously detained in the vehicle for a period of time with the child.
Further, if third confirmation information returned by the preset terminal is received within a fifth preset time period, fourth prompt information is sent to the preset terminal to prompt a user (namely, a guardian) to connect the preset terminal with the vehicle-mounted system, and then the vehicle-mounted system reminds the guardian to leave together with the child in a voice broadcast mode when the vehicle-mounted system detects that the communication connection between the preset terminal and the vehicle-mounted system is disconnected.
In this embodiment, when detecting out children through intelligent wearing equipment and vehicle-mounted system's communication connection state and distance between the two and have the risk of detaining in the car, indicate the guardian earlier to confirm whether the guardian is in the car, when not receiving guardian's acknowledge information, the side reports to the police and reminds, thereby can avoid the wrong report alert.
Further, based on the second embodiment, a third embodiment of the child retention in-vehicle alarm method of the present invention is provided.
In this embodiment, the step a42 includes:
step a421, if the first confirmation information returned by the vehicle-mounted system is not received within a second preset time, sending a second prompt message to a preset terminal, and monitoring whether the second confirmation information returned by the preset terminal is received within a third preset time;
in this embodiment, when it is detected that the first current distance is smaller than the preset distance, the first prompt information may be further sent to the vehicle-mounted system, and when it is detected that the first confirmation information returned by the vehicle-mounted system is not received within the second preset time period, it indicates that the guardian is not in the vehicle, at this time, the second prompt information is sent to the preset terminal, where the preset terminal is a preset terminal device of the guardian, and the second prompt information is used to inform the guardian that the child may be detained in the vehicle and is in a dangerous environment, and request the guardian to confirm whether the child is in a safe state.
And then, monitoring whether second confirmation information returned by the preset terminal is received within a third preset time. The third preset time period may be set to 3min, and may also be specifically set according to actual needs, which is not limited herein. Correspondingly, the second confirmation information can be fed back by the guardian through the preset terminal, and the second confirmation information is information which is fed back by the guardian and confirms that the current state of the child is not dangerous.
Step a422, if a second confirmation message returned by the preset terminal is not received within a third preset time period, detecting whether the communication connection between the intelligent wearable device and the vehicle-mounted system is disconnected, acquiring a second current distance between the vehicle and the intelligent wearable device, and detecting whether the second current distance is smaller than the preset distance;
if it is monitored that second confirmation information returned by the preset terminal is not received within a third preset time, whether the communication connection between the intelligent wearable device and the vehicle-mounted system is disconnected or not is further detected, meanwhile, the current distance between the vehicle and the intelligent wearable device (recorded as a second current distance) is obtained, and whether the second current distance is smaller than the preset distance or not is detected.
Step a423, if the communication connection between the intelligent wearable device and the vehicle-mounted system is not disconnected and the second current distance is smaller than the preset distance, detecting whether the vehicle is started through the vehicle-mounted system;
step a424, if the vehicle is not started, sending the first prompt message to the vehicle-mounted system, and monitoring whether a first confirmation message returned by the vehicle-mounted system is received within a fourth preset time period;
step a425, if the first confirmation information returned by the vehicle-mounted system is not received within a fourth preset time, alarming and reminding are carried out.
If the communication connection between the intelligent wearable device and the vehicle-mounted system is not disconnected, and the second current distance is smaller than the preset distance, the possibility that the child stays in the vehicle is high, at the moment, whether the vehicle is started or not is further detected through the vehicle-mounted system, and whether a driver exists in the vehicle or not is determined, namely whether a guardian exists. And if the vehicle is not started, sending first prompt information to the vehicle-mounted system, and monitoring whether first confirmation information returned by the vehicle-mounted system is received within a fourth preset time. The first prompt information is used for confirming whether the guardian is in the car or not, prompting can be carried out in a voice broadcasting mode, the fourth preset time can be set to be 2min, and of course, the fourth preset time can also be specifically set according to actual needs, and the fourth preset time is not limited here.
And if the first confirmation information returned by the vehicle-mounted system is not received within the fourth preset time, alarming and reminding are carried out. The first confirmation information can be fed back by the guardian by clicking a display screen in the vehicle or by a voice reply mode, and the first confirmation information is the information which is fed back by the guardian and confirms that the guardian is in the vehicle.
The alarm reminding mode can include but is not limited to: 1) sending first alarm information to a preset terminal in a first preset mode and a first preset frequency; 2) and sending second alarm information to the preset alarm end in a second preset mode and a second preset frequency. The preset alarm terminal may be a public security alarm terminal, for example, 12110 (public service short message alarm number unified by the chinese public security organization). The first preset mode and the second preset mode may be the same or different, and may include but are not limited to: the first preset frequency and the second preset frequency can be the same or different, and preferably, the second preset frequency can be higher than the first preset frequency. First alarm information can include by length of time etc. of being detained, and second alarm information includes intelligent wearing equipment locating information, the license plate number of vehicle, guardian's number, by length of time etc. of being detained. It should be noted that the alarm reminding mode can be specifically selected based on the dangerous situation of the actual situation. For example, in this case, after a plurality of detection judgments, the child may be detained in the vehicle, no guardian is in the vehicle, the child is detained for a long time, and the child is likely to be trapped in a high-temperature or low-temperature dangerous environment in the vehicle, so that the second alarm information may be sent to the preset alarm terminal in a second preset manner and at a second preset frequency to seek help of the police.
Further, after the step a422, if it is detected that the communication connection between the smart wearable device and the vehicle-mounted system is disconnected and/or the second current distance is greater than or equal to the preset distance, which indicates that the child is not around the vehicle and the retention risk is removed, a closing instruction is sent to the vehicle-mounted system to control the vehicle-mounted system to be closed, so as to save energy consumption of the vehicle.
Further, after the step a423, if it is detected that the vehicle is started, it is indicated that the vehicle has a guardian in the vehicle, and the vehicle is started again, at this time, a delay shutdown instruction of the vehicle-mounted system after the vehicle is turned off may be sent to the vehicle-mounted system again, and further subsequent steps are performed.
In this embodiment, when detecting out children through intelligent wearing equipment and vehicle-mounted system's communication connection state and distance between the two and have the risk of being detained in the car, whether send tip information earlier and confirm the guardian in the car, when not receiving guardian's confirmation, further detect intelligent wearing equipment and vehicle-mounted system's communication connection state and distance between the two, whether still be located the car with the children after judging send tip information, when sending tip information still detects children and is located the car, further detect whether the car is started, when the vehicle does not start, resend tip information, and then when not receiving guardian's confirmation, the side reports to the police and reminds, thereby can further avoid the wrong report to the police.
Further, based on the first embodiment described above, a fourth embodiment of the child stay in-vehicle alarm method of the present invention is proposed.
In this embodiment, the method for alarming that a child is detained in a vehicle further includes:
step A, when the intelligent wearable device is in communication connection with a vehicle-mounted system of a vehicle, starting a heart rate sensor, a pressure sensor, a distance sensor and a body temperature sensor to detect whether the intelligent wearable device is in a worn state;
in this embodiment, when the intelligent wearable device establishes a communication connection with an on-vehicle system of a vehicle, the heart rate sensor, and/or the pressure sensor, and/or the distance sensor, and/or the body temperature sensor are started to detect whether the intelligent wearable device is in a worn state.
Of course, it can be understood that, in the specific implementation, when the intelligent wearable device establishes communication connection with the vehicle-mounted system of the vehicle, the heart rate monitoring function of the intelligent wearable device can be awakened by the vehicle-mounted system, so that the intelligent wearable device detects whether the intelligent wearable device is in a worn state.
Step B, if the intelligent wearable device is detected not to be in the worn state, generating fifth prompt information to confirm whether the child is in the car and/or whether the intelligent wearable device is worn correctly;
if it is detected that the intelligent wearable device is not worn, it is described that the child does not wear the device correctly or the child leaves the intelligent wearable device in the car, at this time, fifth prompt information is generated to confirm whether the child is in the car and/or whether the intelligent wearable device is worn correctly. The fifth prompt message can be sent to a preset terminal (namely, a terminal corresponding to the guardian), and can also be sent to the vehicle-mounted system, so that the vehicle-mounted system can perform voice prompt or perform text prompt in a vehicle display screen.
Step C, monitoring whether fifth confirmation information fed back based on the fifth prompt information is received within a sixth preset time;
and then, monitoring whether fifth confirmation information fed back based on the fifth prompt information is received within a sixth preset time. The sixth preset time period may be set to 5min, and may also be specifically set according to actual needs, which is not limited herein. Correspondingly, the fifth confirmation information can be directly fed back by the guardian through a preset terminal, and can also be fed back to the vehicle-mounted system in a voice response or screen clicking confirmation mode, and then is returned to the intelligent wearable device through the vehicle-mounted system.
D, if fifth confirmation information is received within a sixth preset time period and the fifth confirmation information indicates that the child is not in the vehicle, disconnecting the communication connection with the vehicle-mounted system;
and if the fifth confirmation information is received within the sixth preset time and the fifth confirmation information indicates that the child is not in the vehicle, at the moment, the communication connection with the vehicle-mounted system is disconnected, and the subsequent monitoring is not required to be continued.
Further, after the step C, the method further comprises:
and E, if the fifth confirmation information is not received within a sixth preset time, continuously detecting whether the intelligent wearable device is in a worn state.
If the fifth confirmation information is not received within the sixth preset time, continuing to execute the following steps: detecting whether the intelligent wearable device is detected to be in a worn state, and then continuing to generate fifth prompt information when the intelligent wearable device is not detected to be in the worn state so as to confirm whether a child is in the vehicle and/or whether the intelligent wearable device is worn correctly until the corresponding fifth confirmation information is received, or sending a flameout vehicle-mounted system delayed closing instruction to a vehicle-mounted system when the intelligent wearable device is detected to be in the worn state, and then executing the subsequent steps.
In this embodiment, when intelligent wearing equipment and the on-vehicle system of vehicle establish communication connection, start rhythm of the heart monitor function to whether detect intelligent wearing equipment and be in by the wearing state, and then when not detecting intelligent wearing equipment and be in by the wearing state, in time generate tip information, whether confirm children in the car and/or intelligent wearing equipment whether by correctly wearing, thereby can guarantee follow-up detection and warning validity and the accuracy of reminding.
The invention also provides a child detention in-car alarm system, which comprises intelligent wearing equipment and a vehicle-mounted system; wherein the content of the first and second substances,
the intelligent wearable device is the intelligent wearable device;
the vehicle-mounted system is used for starting a vehicle-mounted Bluetooth function to search the intelligent wearable device and establish communication connection with the intelligent wearable device when detecting that a vehicle is started;
the vehicle-mounted system is further used for receiving a vehicle-mounted system delayed closing instruction sent by the intelligent wearable device, and when the vehicle is detected to be flameout, the vehicle-mounted system is delayed to be closed.
In this embodiment, this children are detained alarm system in car includes intelligent wearing equipment and on-vehicle system, and this on-vehicle system is carried on the vehicle, and intelligent wearing equipment and on-vehicle system accessible bluetooth wireless communication technique realize communication connection. Wherein, intelligence wearing equipment can intelligent wrist-watch, intelligent bracelet etc..
The specific functions and implementation process of the intelligent wearable device can refer to the steps in the alarm method embodiment for the child staying in the vehicle, and are not described herein again.
The vehicle-mounted system starts the vehicle-mounted Bluetooth function when detecting the vehicle and starting, so as to search for intelligent wearing equipment, and establish communication connection with intelligent wearing equipment, and then receive the vehicle-mounted system delay closing instruction that intelligent wearing equipment sent, when detecting that the vehicle is flamed out, delay closing, so as to provide relevant data for intelligent wearing equipment, like vehicle and intelligent wearing equipment's connected state, vehicle position etc. so that intelligent wearing equipment judges whether children are detained in the car.
In this embodiment, through constructing above-mentioned children and detaining alarm system in the car, through the communication connection state with the help of intelligent wearing equipment and on-vehicle system and the distance between the two detectable children are detained in the car to warning when detecting to have the risk of detaining and reminding. The invention can realize the alarm function of the children staying in the vehicle by depending on the existing intelligent wearable equipment and the vehicle-mounted system, does not need to research and develop a new hardware device, and can shorten the research and development period and save the cost compared with the prior art.
Further, the on-board system is further configured to: and receiving an instruction sent by the intelligent wearable device, and executing corresponding operation according to the instruction, wherein the instruction comprises a position acquisition instruction and a closing instruction.
In this embodiment, the vehicle-mounted system is further configured to receive an instruction sent by the intelligent wearable device, and execute a corresponding operation according to the instruction, where the instruction includes a position acquisition instruction and a closing instruction. Specifically, when the received instruction is a position acquisition instruction, the vehicle position is acquired through a vehicle-mounted GPS positioning system and then sent to the intelligent wearable device, so that the intelligent wearable device can determine the current distance between the vehicle and the intelligent wearable device according to the vehicle position and the current position of the intelligent wearable device; and when the received command is a closing command, closing the vehicle-mounted system so as to save the energy consumption of the vehicle.
The invention also provides a computer-readable storage medium having stored thereon an alarm program which, when executed by a processor, implements the steps of the method for alarming a child staying in a vehicle as described in any one of the above embodiments.
The specific embodiment of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the method for alarming in a child staying in a vehicle, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:车辆的防碰撞方法、车辆和可读存储介质