Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Please refer to fig. 1, which is a flowchart illustrating a method for implementing an automatic alarm according to a first embodiment of the present invention, including the following steps:
step 101: acquiring the height difference of a monitoring target in a fixed time period;
step 102: judging whether the height difference in the fixed time period exceeds an alarm threshold value, if so, entering a step 103, and if not, returning to the step 101;
step 103: and carrying out remote alarm.
It can be seen from the above embodiments of the present invention that when a falling accident occurs in an environment having a large height difference such as a hilly area, the height of the monitoring target is rapidly decreased, and when the height difference of the monitoring target exceeds an alarm threshold, the falling accident is considered to have occurred, and a remote alarm is performed, thereby implementing an automatic alarm function.
In practical application, the implementation process of the first embodiment is as follows, please refer to fig. 2, and includes the following steps:
step 201: acquiring an automatic alarm parameter value from a human-computer interaction interface;
in the above step, the alarm parameter includes: data acquisition period delta T, data statistics period T, alarm threshold H and recourse information.
The following describes each alarm parameter in detail by way of example. When the data acquisition period delta t is 1s, acquiring the height value of the monitoring target every 1 s; when the data statistics period T is 2s, calculating the height difference delta H of the monitoring target at the current moment and the previous 2ss moment; and when the alarm threshold value H is 40m, if the height difference delta H of the monitoring target in the data statistics period is more than 40m, executing remote alarm.
The local alarm mode can be one or the combination of a plurality of modes of sound alarm, image alarm and vibration alarm. Through sound, image and vibration information, the fact that the alarm system starts to execute the alarm function of the machine can be known.
The help seeking information comprises basic information of the monitoring target and position information of the help seeking target. The basic information of the monitoring target comprises personal basic information of the name, age, gender and the like of the monitoring target. Meanwhile, the help-seeking target may be a single help-seeking target or a plurality of help-seeking targets. When a plurality of help-seeking targets exist, the help-seeking information also comprises the steps of setting priorities for the plurality of help-seeking targets and appointing the target which is preferentially sought for help.
In addition, in the steps, besides the alarm parameter value is obtained from the human-computer interaction interface, the parameter value of the alarm parameter can be obtained according to a preset default value.
Step 202: acquiring the height value of a monitoring target at the time point of the data acquisition period according to the data acquisition period;
step 203: calculating the height difference of the monitoring target between the starting point and the end point of the data statistics period according to the height value at the time point of the data acquisition period;
for example, when the data statistic period T is 2s, the height difference Δ H1 between the 2 nd and 0 th is calculated at the time of the 2 nd, the height difference Δ H2 between the 3 rd and 1 st is calculated at the time of the 3 rd, and so on.
Step 204: judging whether the height difference of the monitoring target between the starting point and the end point of the data statistics period exceeds an alarm threshold value, if so, enteringstep 205, and if not, enteringstep 202;
when it is determined that the height difference between the start point and the end point of the data statistics period does not exceed the alarm threshold, the height value of the monitoring target at the time point of the data acquisition period is continuously acquired, and whether the height difference between the start point and the end point of the data statistics period exceeds the alarm threshold is determined, and when the height difference exceeds the alarm threshold, the process proceeds to step 205.
Step 205: and carrying out remote alarm.
The method comprises the steps of obtaining a monitoring target position from a GPS module of the mobile equipment, and sending basic information of the monitoring target and the monitoring target position to a single or a plurality of help-seeking targets according to the help-seeking target position information.
When a plurality of help seeking targets are set, the basic information and the position of the monitoring target are sent to the help seeking target with the highest priority according to the position information of the help seeking target according to the priority order set in the help seeking information.
It can be seen from the above embodiments that, when a falling accident occurs in an environment with a large height difference such as a hilly area, the height of the monitoring target drops sharply, when the height difference of the monitoring target exceeds an alarm threshold, the falling accident is considered to occur, a remote alarm is performed, the acquired basic information of the monitoring target and the position information of the monitoring target are sent to a single or a plurality of help-seeking targets, so that the help-seeking targets can acquire the position information of the victim in time, and timely and effective rescue work can be taken.
In the embodiment, when the height difference is judged to exceed the alarm threshold, the alarm of the local machine can be carried out firstly, and when the alarm of the local machine is determined not to be the error alarm caused by the misoperation, the remote alarm is further adopted to realize the alarm function. Please refer to fig. 3, which is a flowchart illustrating a method for implementing an automatic alarm according to a third embodiment of the present invention, including the following steps:
step 301: acquiring an automatic alarm parameter value from a human-computer interaction interface;
in the above step, the alarm parameter includes: the system comprises a data acquisition period delta T, a data statistics period T, an alarm threshold H, an alarm timing time tmr, a local alarm mode and recourse information. When the alarm timing time tmr is 60s, if the local alarm is cancelled by the user within 60s after the local alarm is triggered, the local alarm is considered as a false alarm caused by misoperation, if the local alarm is confirmed or no response is given within 60s after the local alarm is triggered, the local alarm is considered as a correct alarm, and the remote alarm is further executed.
Step 302: acquiring the height value of a monitoring target at the time point of the data acquisition period according to the data acquisition period;
step 303: calculating the height difference of the monitoring target between the starting point and the end point of the data statistics period according to the height value at the time point of the data acquisition period;
step 304: judging whether the height difference of the monitoring target between the starting point and the end point of the data statistics period exceeds an alarm threshold value, if so, entering astep 305, and if not, entering astep 302;
step 305: alarming by the machine and triggering an alarm timer to start timing;
and alarming according to the acquired alarm parameter value and an alarm mode specified by the alarm parameter value. For example, the alarm mode may be one or more of an audible alarm, a visual alarm and a vibratory alarm.
Step 306: judging whether the local alarm is cancelled within the alarm timing time, if so, enteringstep 302, otherwise, enteringstep 307;
when the alarm timing time tmr is 60s, if the local alarm is cancelled within 60s after the local alarm is triggered, the local alarm is considered to be a false alarm caused by misoperation, no falling accident actually occurs, and the height value of the monitored target is continuously acquired; if the alarm of the local machine is not cancelled within 60s after the alarm of the local machine is triggered, the falling accident is considered to occur, and the remote alarm is further triggered.
Step 307: and carrying out remote alarm.
The method comprises the steps of obtaining a monitoring target position, such as longitude and latitude coordinates, from a GPS module of the mobile device, and sending basic information of the monitoring target and the monitoring target position to one or more help-seeking targets according to the help-seeking target position information.
When a plurality of help seeking targets are set, the basic information and the position of the monitoring target are sent to the help seeking target with the highest priority according to the position information of the help seeking target according to the priority order set in the help seeking information.
Through the embodiment, when the height difference of the monitored target exceeds the alarm threshold value, the alarm of the local machine is firstly carried out, the alarm timer is triggered to start timing, then whether the alarm of the local machine is cancelled within the alarm timing time or not is continuously judged, if the alarm of the local machine is cancelled within the alarm timing time, the local machine alarms are considered to be a false alarm caused by misoperation, and the falling accident does not happen actually; if the alarm of the machine is not cancelled within the alarm timing time, the falling accident is considered to occur, and remote alarm is further carried out. The function of alarming when a falling accident occurs in an environment with large height change is realized, so that the help seeking target can obtain the position information of the victim in time, and timely and effective rescue work can be taken. At the same time, false alarms due to some malfunctions are prevented.
Corresponding to the method for implementing automatic alarm provided above, an embodiment of an apparatus for implementing automatic alarm is also provided, please refer to fig. 4, which is a structural diagram of a first embodiment of the apparatus for implementing automatic alarm according to the present invention, the apparatus includes a first obtainingunit 401, a heightdifference obtaining unit 402, afirst judging unit 403, a first triggeringunit 404, and aremote alarm unit 405, and its internal structure and connection relationship are further described below by combining the working principle of the apparatus.
A parametervalue obtaining unit 401, configured to obtain an automatic alarm parameter value, where the automatic alarm parameter includes a data acquisition period, a data statistics period, an alarm threshold, and assistance-seeking information.
A heightdifference obtaining unit 402, configured to obtain a height difference of the monitoring target in a fixed time period;
afirst judging unit 403, configured to judge whether the height difference obtained by the heightdifference obtaining unit 402 exceeds an alarm threshold, and notify a judgment result to a first triggering unit;
a first triggeringunit 404, configured to trigger theremote alarm unit 405 when the determination result of the first determiningunit 403 is yes, and trigger the heightdifference obtaining unit 402 when the determination result of the first determiningunit 403 is no;
and aremote alarm unit 405 for performing remote alarm.
In the embodiment, the height difference acquiring unit acquires the height difference of the monitored target in real time, when the monitored target has a falling accident in a hilly area or other environments with large height difference, the height difference of the monitored target is rapidly reduced, the first judging unit judges that the height difference of the monitored target exceeds the alarm threshold value, and then the remote alarm unit is triggered to alarm remotely, so that the automatic alarm function is realized.
Please refer to fig. 5, which is a structural diagram of a second embodiment of the apparatus for implementing automatic alarm according to the present invention, the apparatus includes a second obtaining unit 501, a height difference obtaining unit 502, a first determining unit 503, a first triggering unit 504, a local alarm unit 505, a second determining unit 506, a second triggering unit 507, and a remote alarm unit 508, and the internal structure and connection relationship of the apparatus will be further described below in conjunction with the working principle of the apparatus.
A second obtaining unit 501, configured to obtain an automatic alarm parameter value, where the automatic alarm parameter is a data acquisition period, a data statistics period, an alarm threshold, an alarm timing time, a local alarm mode, and help-seeking information;
a height difference obtaining unit 502, configured to obtain a height difference of the monitoring target in a fixed time period;
a first judgment unit 503; the height difference acquiring unit 502 is used for judging whether the height difference acquired by the height difference acquiring unit exceeds an alarm threshold value or not and informing a judgment result to the first triggering unit; a first triggering unit 504, configured to trigger the local alarm unit 505 when the determination result of the first determining unit 503 is yes, and trigger the height difference obtaining unit 502 when the determination result of the first determining unit 503 is no;
a local alarm unit 505 for performing local alarm;
a second judging unit 506, configured to, when the local alarm unit 505 alarms, judge whether the local alarm is cancelled within an alarm timing time, and notify a second triggering unit of a judgment result;
a second triggering unit 507, configured to trigger the height difference obtaining unit 502 when the determination result of the second determining unit 505 is yes, and trigger the remote alarm unit 508 when the determination result of the second determining unit 505 is no;
and a remote alarm unit 508 for performing remote alarm.
It can be seen from the above embodiments that, when the first judging unit judges that the height difference of the monitored target exceeds the alarm threshold, the local alarm unit is triggered to alarm, then the second judging unit judges whether the local alarm is cancelled within the alarm timing time, if the local alarm is cancelled, the falling accident is not caused, the local alarm is a false alarm caused by misoperation, and the height difference obtaining unit is triggered to continue to obtain the height difference of the monitored target; if the alarm is not cancelled, the alarm is judged to be a falling accident, and the remote alarm unit is further triggered to carry out remote alarm, so that the help-seeking target can obtain the position information of the victim in time, and timely and effective rescue work can be carried out. Meanwhile, false alarm caused by some misoperation is also prevented.
Those skilled in the art will appreciate that all or part of the steps in the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, where the program may be stored in a computer readable storage medium, and the program includes the following steps: A. acquiring the height difference of a monitoring target in a fixed time period; B. and B, judging whether the height difference in the fixed time period exceeds an alarm threshold value, if so, carrying out remote alarm, and if not, returning to the step A. The storage medium, such as: ROM/RAM, magnetic disk, optical disk, etc.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.