CN115345201A - Personnel state detection method and device and electronic equipment - Google Patents

Personnel state detection method and device and electronic equipment Download PDF

Info

Publication number
CN115345201A
CN115345201A CN202210955622.4A CN202210955622A CN115345201A CN 115345201 A CN115345201 A CN 115345201A CN 202210955622 A CN202210955622 A CN 202210955622A CN 115345201 A CN115345201 A CN 115345201A
Authority
CN
China
Prior art keywords
change rule
motion data
target
time
person
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210955622.4A
Other languages
Chinese (zh)
Inventor
丁玲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN202210955622.4A priority Critical patent/CN115345201A/en
Publication of CN115345201A publication Critical patent/CN115345201A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • G08B21/04Alarms for ensuring the safety of persons responsive to non-activity, e.g. of elderly persons
    • G08B21/0407Alarms for ensuring the safety of persons responsive to non-activity, e.g. of elderly persons based on behaviour analysis
    • G08B21/043Alarms for ensuring the safety of persons responsive to non-activity, e.g. of elderly persons based on behaviour analysis detecting an emergency event, e.g. a fall
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • G08B21/04Alarms for ensuring the safety of persons responsive to non-activity, e.g. of elderly persons
    • G08B21/0438Sensor means for detecting
    • G08B21/0446Sensor means for detecting worn on the body to detect changes of posture, e.g. a fall, inclination, acceleration, gait

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Gerontology & Geriatric Medicine (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Psychiatry (AREA)
  • Psychology (AREA)
  • Social Psychology (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The embodiment of the invention provides a personnel state detection method, a personnel state detection device and electronic equipment, and relates to the field of state detection. Recording the detected motion data of the target head-mounted equipment in real time; wherein the motion data includes: acceleration; determining a real-time change rule of the motion data according to the corresponding relation between the motion data and the detection time of the motion data; and if the real-time change rule is matched with the target change rule representing the falling state in the preset change rule about the motion data, determining that the target person wearing the target head-mounted equipment is in the falling state. Compared with the related art, the method and the device for detecting the personnel state can improve the accuracy rate of detecting the personnel state.

Description

Personnel state detection method and device and electronic equipment
Technical Field
The present invention relates to the field of status detection, and in particular, to a method and an apparatus for detecting a status of a person, and an electronic device.
Background
In daily life, everyone may have a fall accident. For example, the elderly fall off with sudden illness while active; children fall down outdoors due to heatstroke; workers fall over during work due to excessive exertion, and the like.
When the falling accident happens, if nobody finds that the accident is more serious or even life-threatening, the user hopes to detect the state of the user in real time by wearing the detection equipment, and when the falling accident of the user is detected, the detection equipment can send out an alarm signal to help the falling user to ask for help, and further, the life safety of the user is protected.
In the related art, generally, when it is detected that the variation of the self acceleration is larger than a preset threshold, the detection device may determine that the user has a fall accident based on the variation of the acceleration, and output an alarm signal.
However, in the above related art, if the user wears the detection device on the waist, the time for the fall accident to occur is short, the detected acceleration variation may not be greater than the preset threshold, and the detection device cannot determine that the fall accident has occurred to the user; in addition, when the user uses the detection device by mistake, for example, when the user throws or throws the detection device so that the variation of the acceleration of the detection device is greater than the preset threshold, the detection device may determine that the user has a fall accident based on the detected variation of the acceleration and alarm; in the above situation, the detection device may be mistakenly detected and misreported, and further, the accuracy of the detection device in detecting the state of the user is low.
Disclosure of Invention
The embodiment of the invention aims to provide a personnel state detection method, a personnel state detection device and electronic equipment so as to improve the personnel state detection accuracy. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a method for detecting a person state, where the method includes:
recording the detected motion data of the target head-mounted equipment in real time; wherein the motion data comprises: acceleration;
determining a real-time change rule of the motion data according to the corresponding relation between the motion data and the detection time of the motion data;
and if the real-time change rule is matched with a target change rule representing a falling state in the preset change rules about the motion data, determining that the target person wearing the target head-mounted equipment is in the falling state.
Optionally, in a specific implementation manner, the recording, in real time, the detected motion data of the target head-mounted device includes:
when the change rate of the acceleration of the target head-mounted device in the specified time length is larger than a preset threshold value, recording the detected motion data of the target head-mounted device in real time.
Optionally, in a specific implementation manner, the determining a real-time change rule of the motion data according to the correspondence between the motion data and the detection time of the motion data includes:
and when the recording time length reaches a preset time length, determining a real-time change rule of the motion data in the preset time length according to the corresponding relation between the motion data and the detection time of the motion data in the preset time length.
Optionally, in a specific implementation manner, the motion data further includes: angular velocity and attitude angle;
if the real-time change rule is matched with a target change rule representing a falling state in a preset change rule about motion data, determining that a target person wearing the target head-mounted device is in the falling state, and the method comprises the following steps:
if the acceleration change rule in the real-time change rules is matched with a preset change rule about the free falling body of the equipment, determining that a target person wearing the target head-mounted equipment is in a normal state;
and if the real-time change rule is matched with a preset target change rule about the falling of the person, determining that the target person wearing the target head-mounted equipment is in a falling state.
Optionally, in a specific implementation manner, the method further includes:
and outputting alarm information for prompting the target person to fall.
Optionally, in a specific implementation manner, if the real-time change rule matches a preset change rule related to a person falling, determining that a target person wearing the target head-mounted device is in a falling state includes:
if the real-time change rule is matched with a preset first change rule, determining that a target person wearing the target head-mounted equipment is in a first falling state; wherein the first change rule is used for representing that the person falls down in a non-waking state;
if the real-time change rule meets the preset second change rule, determining that the target person wearing the target head-mounted equipment is in a second falling state; wherein the second change rule represents that the person falls down in the waking state and needs help.
Optionally, in a specific implementation manner, the outputting alarm information for prompting that the target person falls includes:
when the target person is in the first falling state, outputting first alarm information corresponding to the first falling state and used for prompting the target person to fall;
and when the target person is in the second falling state, outputting second alarm information which corresponds to the second falling state and is used for prompting the target person to fall.
Optionally, in a specific implementation manner,
the first variation law comprises: according to the sequence of the detection time from early to late, the absolute value of the acceleration is reduced to 0 from a first initial value, after the absolute value is reduced to 0, the absolute value is increased to a first value larger than the first initial value from 0, and after the absolute value is increased to the first value, the absolute value is reduced to the first initial value from the first value; according to the sequence of the detection time from early to late, the absolute value of the angular speed is increased from 0 to a second value, and after the absolute value is increased to the second value, the absolute value is reduced from the second value to 0; according to the sequence of the detection time from early to late, the absolute value of the attitude angle is increased by a preset first angle value from a second initial value;
the second change rule comprises: according to the sequence of the detection time from early to late, the absolute value of the acceleration is increased to a third value from a third initial value, and after the absolute value is increased to the third value, the absolute value is decreased to the third initial value from the third value; according to the sequence of the detection time from early to late, the absolute value of the angular velocity is increased from 0 to a fourth value, and after the absolute value is increased to the fourth value, the absolute value is reduced from the fourth value to 0; and according to the sequence of the detection time from early to late, the absolute value of the attitude angle is increased by a preset second angle value from a fourth initial value.
Optionally, in a specific implementation manner, the method further includes:
clearing the recorded movement data when the target person is in the normal state.
Optionally, in a specific implementation manner, the method further includes:
when the target person is in the normal state or the real-time change rule is matched with a preset third change rule, outputting prompt information for prompting the target head-mounted device to reset;
wherein the third change rule represents that the person falls down in an awake state without help.
In a second aspect, an embodiment of the present invention provides a device for detecting a person status, where the device includes:
the recording module is used for recording the detected motion data of the target head-mounted equipment in real time; wherein the motion data comprises: acceleration;
the rule determining module is used for determining a real-time change rule of the motion data according to the corresponding relation between the motion data and the detection time of the motion data;
and the state determining module is used for determining that the target person wearing the target head-mounted equipment is in a falling state if the real-time change rule is matched with a target change rule representing the falling state in the preset change rules related to the motion data.
Optionally, in a specific implementation manner, the recording module is specifically configured to:
when the change rate of the acceleration of the target head-mounted device in the specified time length is larger than a preset threshold value, recording the detected motion data of the target head-mounted device in real time.
Optionally, in a specific implementation manner, the rule determining module is specifically configured to:
and when the recording time length reaches a preset time length, determining the real-time change rule of the motion data in the preset time length according to the corresponding relation between the motion data and the detection time of the motion data in the preset time length.
Optionally, in a specific implementation manner, the motion data further includes: angular velocity and attitude angle;
the state determination module is specifically configured to:
if the acceleration change rule in the real-time change rules is matched with a preset change rule about the free falling body of the equipment, determining that a target person wearing the target head-mounted equipment is in a normal state;
and if the real-time change rule is matched with a preset target change rule about the falling of the person, determining that the target person wearing the target head-mounted equipment is in a falling state.
Optionally, in a specific implementation manner, the apparatus further includes:
and the output module is used for outputting alarm information for prompting the falling of the target person.
Optionally, in a specific implementation manner, the state determining module is specifically configured to:
if the real-time change rule is matched with a preset first change rule, determining that a target person wearing the target head-mounted equipment is in a first falling state; wherein the first change rule is used for representing that the person falls down in a non-waking state;
if the real-time change rule meets the preset second change rule, determining that the target person wearing the target head-mounted equipment is in a second falling state; wherein the second change rule represents that the person falls down in the waking state and needs help.
Optionally, in a specific implementation manner, the output module is specifically configured to:
when the target person is in the first falling state, outputting first alarm information corresponding to the first falling state and used for prompting the target person to fall;
and when the target person is in the second falling state, outputting second alarm information corresponding to the second falling state and used for prompting the target person to fall.
Optionally, in a specific implementation manner,
the first change rule comprises: according to the sequence of the detection time from early to late, the absolute value of the acceleration is reduced to 0 from a first initial value, after the absolute value is reduced to 0, the absolute value is increased to a first value larger than the first initial value from 0, and after the absolute value is increased to the first value, the absolute value is reduced to the first initial value from the first value; according to the sequence of the detection time from early to late, the absolute value of the angular speed is increased from 0 to a second value, and after the absolute value is increased to the second value, the absolute value is reduced from the second value to 0; according to the sequence of the detection time from early to late, the absolute value of the attitude angle is increased by a preset first angle value from a second initial value;
the second change rule comprises: according to the sequence of the detection time from early to late, the absolute value of the acceleration is increased to a third value from a third initial value, and after the absolute value is increased to the third value, the absolute value is decreased to the third initial value from the third value; increasing the absolute value of the angular velocity from 0 to a fourth value in the order of the detection time from early to late, and decreasing the absolute value of the angular velocity from the fourth value to 0 after increasing to the fourth value; and according to the sequence of the detection time from early to late, the absolute value of the attitude angle is increased by a preset second angle value from a fourth initial value.
Optionally, in a specific implementation manner, the apparatus further includes:
and the clearing module is used for clearing the recorded motion data when the target person is in the normal state.
Optionally, in a specific implementation manner, the apparatus further includes:
the resetting module is used for outputting prompt information for prompting the target head-mounted equipment to be reset when the target person is in the normal state or the real-time change rule is matched with a preset third change rule;
wherein the third change rule represents that the person falls down in an awake state without help.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the memory and the processor through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the steps of any one of the method embodiments when executing the program stored in the memory.
In a fourth aspect, the present invention provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any of the above method embodiments.
In a fifth aspect, embodiments of the present invention also provide a computer program product comprising instructions, which when run on a computer, cause the computer to perform the steps of any of the above-described method embodiments.
The embodiment of the invention has the following beneficial effects:
as can be seen from the above, by applying the scheme provided by the embodiment of the present invention, when the state of the person wearing the head-mounted device is detected, the change rules of the motion data of the head-mounted device worn by the same person in different states may be different; and different personnel are under same state, and the change law of the motion data of the head mounted equipment of different personnel wearing can be similar. Based on the method, the change rule of the motion data in each personnel state can be counted, so that the corresponding relation between the change rule of the motion data and the personnel state is established.
Therefore, the detected motion data of the target head-mounted equipment worn by the target personnel can be recorded in real time for the target personnel to be subjected to state detection, and further, the real-time change rule of the motion data can be determined according to the corresponding relation between the motion data and the detection time of the motion data. Then, if the real-time change rule of the motion data is matched with a target change rule representing a falling state in the preset change rule of the motion data, it can be determined that the target person wearing the target head-mounted device is in the falling state.
Based on the method, the state of the personnel is determined by utilizing the real-time change rule of the motion data of the head-mounted equipment, and the overall change condition of the head-mounted equipment in the state change process of the personnel can be comprehensively considered, so that the misjudgment of the state of the personnel can be avoided, and the detection accuracy of the state of the personnel is improved.
Wherein, for personnel fall state detection, compare in the method that only carries out personnel's state detection according to the numerical value variation of head mounted device's acceleration, carry out personnel's state detection according to the change rule of the motion data of head mounted device in personnel's complete in-process that takes place the accident of tumbleing, can determine more directly perceivedly and accurately whether personnel are in the state of tumbleing to, can avoid because of the motion data change is less, the false retrieval misstatement that personnel used detection equipment by mistake etc. and lead to, improve the detection accuracy of personnel's state of tumbleing.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by referring to these drawings.
Fig. 1 is a schematic flow chart of a method for detecting a person status according to an embodiment of the present invention;
fig. 2 is another schematic flow chart of a method for detecting a person status according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a method for detecting a person status according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of a method for detecting a person status according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a variation law of a free fall of an apparatus according to an embodiment of the present invention;
fig. 6 (a) -6 (c) are schematic diagrams respectively illustrating a first variation rule provided by the embodiment of the present invention;
FIGS. 7 (a) -7 (c) are schematic diagrams illustrating a second variation rule provided by the embodiment of the present invention, respectively;
fig. 8 is a schematic structural diagram of a device for detecting a person status according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived from the embodiments of the present invention by those skilled in the art based on the description, are within the scope of the present invention.
In the related art, generally, when it is detected that the variation of the acceleration of the detection device is larger than a preset threshold, the detection device may determine that a fall accident occurs to the user based on the variation of the acceleration, and output an alarm signal. However, in the above related art, if the user wears the detection device on the waist, the time for the fall accident to occur is short, the detected acceleration variation may not be greater than the preset threshold, and the detection device cannot determine that the fall accident has occurred to the user; in addition, when the user uses the detection device by mistake, for example, when the user throws or throws the detection device so that the variation of the acceleration of the detection device is greater than a preset threshold, the detection device may determine that the user has a fall accident based on the detected variation of the acceleration and alarm; the above situation can cause the false detection and false alarm of the detection device, and further, the accuracy of the detection device is low when the user state is detected.
In order to solve the above technical problem, an embodiment of the present invention provides a method for detecting a person status.
The method can be suitable for various application scenes in which the states of the workers need to be detected, for example, in the construction process, the states of the workers need to be detected so as to prevent the workers from falling down accidentally; in daily life, it is necessary to detect the state of the elderly person to prevent the elderly person from falling down or the like due to a sudden disease.
Moreover, the method can be applied to various head-mounted devices provided with devices capable of detecting self-movement data, such as a safety helmet provided with an IMU (Inertial Measurement Unit), a head-mounted earphone provided with an IMU, and the like; optionally, a functional module for executing the method may be mounted in the head-mounted device, so that the head-mounted device may detect the state of the person wearing the head-mounted device in real time by operating the functional module.
An IMU is an electronic device that combines accelerometers, gyroscopes and magnetometers to measure specific forces, angular velocities and magnetic fields around an object, and may use one or more accelerometers to detect linear accelerations of the object and one or more gyroscopes to measure the rate of rotation of the object.
Correspondingly, the method can also be applied to electronic equipment for providing services for the head-mounted equipment, such as a mobile phone which is communicated with the head-mounted equipment and a monitoring console for monitoring the head-mounted equipment; the head-mounted device detects the motion data of the head-mounted device and uploads the motion data to the electronic device in real time, and then the electronic device can receive the motion data and execute the method to detect the state of a person wearing the head-mounted device in real time.
For convenience of description, in the following description, the execution subject of the method is referred to as a detection device, for example, the detection device may be a head-mounted device, or an electronic device that provides a service for the head-mounted device. Based on this, the embodiment of the present invention does not specifically limit the application scenario and the execution subject of the method.
The personnel state detection method provided by the embodiment of the invention can comprise the following steps:
recording the detected motion data of the target head-mounted equipment in real time; wherein the motion data comprises: acceleration;
determining a real-time change rule of the motion data according to the corresponding relation between the motion data and the detection time of the motion data;
and if the real-time change rule is matched with a target change rule representing a falling state in the preset change rules about the motion data, determining that the target person wearing the target head-mounted equipment is in the falling state.
As can be seen from the above, with the adoption of the scheme provided by the embodiment of the invention, when the state of the person wearing the head-mounted device is detected, the change rules of the motion data of the head-mounted device worn by the same person can be different because the same person is in different states; and different people can be similar under the same state, the change rule of the motion data of the head-mounted equipment worn by different people can be similar. Based on the method, the change rule of the motion data in each personnel state can be counted, so that the corresponding relation between the change rule of the motion data and the personnel state is established.
Therefore, the motion data of the target head-mounted equipment worn by the target person can be recorded in real time for the target person to be subjected to state detection, and further, the real-time change rule of the motion data can be determined according to the corresponding relation between the motion data and the detection time of the motion data. And then, matching the real-time change rule of the motion data with a target change rule representing a falling state in a preset change rule related to the motion data, so that the target person wearing the target head-mounted equipment can be determined to be in the falling state.
Based on the method, the state of the personnel is determined by utilizing the real-time change rule of the motion data of the head-mounted equipment, and the overall change condition of the head-mounted equipment in the state change process of the personnel can be comprehensively considered, so that the misjudgment of the state of the personnel can be avoided, and the detection accuracy of the state of the personnel is improved.
Compared with a method for detecting the state of the person according to the numerical variation of the acceleration of the head-mounted equipment, the method for detecting the state of the person according to the falling state of the person can detect the state of the person according to the variation rule of the motion data of the head-mounted equipment in the complete process of the falling accident of the person, and can determine whether the person is in the falling state more intuitively and accurately, so that false detection and misinformation caused by small change of the motion data and wrong use of detection equipment of the person can be avoided, and the detection accuracy of the falling state of the person is improved.
The following describes a method for detecting a person status according to an embodiment of the present invention with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of a method for detecting a person status according to an embodiment of the present invention, and as shown in fig. 1, the method may include the following steps S101 to S103.
S101: recording the detected motion data of the target head-mounted equipment in real time; wherein the motion data includes: acceleration;
for a target person wearing the target head-mounted device, the device for detecting the motion data of the target head-mounted device, which is installed in the target head-mounted device, can detect the motion data of the target head-mounted device in real time and record the detected motion data of the target head-mounted device.
The motion data of the target head-mounted device may include an acceleration, that is, the acceleration of the target head-mounted device worn by the target person may be detected in real time, and the detected acceleration may be recorded.
The accelerometer in the head-mounted device may be used to measure the acceleration of the head-mounted device, and specifically, the accelerometer may detect the inertia force of the accelerometer in three axis directions in a preset three-dimensional coordinate system, and then, the detected inertia force may be used to represent the acceleration of the head-mounted device.
Optionally, when the detected motion data of the target head-mounted device is recorded in real time, a numerical value of the motion data of the target head-mounted device may be recorded, and a length of the motion data of the target head-mounted device may also be recorded.
The value of the motion data of the target head-mounted device is a vector having a direction and a magnitude, and the modulo length of the motion data of the target head-mounted device is the length of the vector, which has no direction only in magnitude, and the modulo length of each motion data is a real number not less than 0.
Optionally, the motion data may include acceleration, angular velocity, and attitude angle, so that the detected acceleration value, angular velocity value, and attitude angle value of the target head-mounted device may be recorded in real time, and the detected acceleration mode length, angular velocity mode length, and attitude angle of the target head-mounted device may also be recorded in real time.
In addition, the detected motion data may be recorded in real time in various ways, for example, a graph of the change of the motion data with time may be generated, which is not specifically limited in the embodiment of the present invention.
S102: determining a real-time change rule of the motion data according to the corresponding relation between the motion data and the detection time of the motion data;
when the motion data of the target head-mounted device is recorded, the numerical values of the motion data and the detection time of each numerical value can be recorded, and the corresponding relation between the motion data and the detection time of the motion data is established. In this way, the real-time change rule of the motion data can be determined based on the recorded correspondence between the motion data and the detection time of the motion data.
The motion data of the target head-mounted device may include an acceleration, that is, a real-time change rule of the acceleration may be determined. Moreover, the real-time change rule can be characterized as follows: the rule that the motion data of the target head-mounted device changes along with the change of time.
S103: and if the real-time change rule is matched with a target change rule representing a falling state in a preset change rule about the motion data, determining that a target person wearing the target head-mounted equipment is in the falling state.
When different persons have the same state change, the change rules of the motion data of the head-mounted device worn by the different persons are similar, for example, when the different persons fall under the same condition, the motion tracks of the head-mounted device worn by the different persons are similar, and the change rules of the motion data of the head-mounted device worn by the different persons are also similar. Based on the above, when the person has various state changes to be detected, the change rule of the motion data of the head-mounted device worn by the person in various state change processes can be determined, and at least one preset change rule related to the motion data is obtained.
And for each preset change rule, determining the state of the personnel after the personnel generate the state change capable of generating the preset change rule as the state of the personnel represented by the preset change rule, so that if the real-time change rule of the motion data of the head-mounted equipment is detected and can be matched with the preset change rule, determining the state of the personnel represented by the preset change rule as the state of the personnel wearing the head-mounted equipment.
For example, when a person falls down due to loss of consciousness, the real-time change rule of the motion data of the head-mounted device worn by the person is matched with the preset change rule a, and the state of the person represented by the preset change rule a is as follows: and if the person falls, determining that the person state is: a fall condition.
Based on this, when detecting the falling state of the person, when determining the real-time change rule of the motion data of the target head-mounted device, the real-time change rule may be compared with the preset change rule of the motion data to determine whether the real-time change rule matches with the preset change rule of the motion data, and then, determine the preset change rule that matches with the real-time change rule.
If the real-time change rule is matched with a target change rule representing a falling state in preset change rules about motion data, it can be determined that a target person wearing the target head-mounted equipment is in the falling state represented by the target change rule, namely the target person is in the falling state.
For example, after determining the real-time change rules of the motion data of the target head-mounted device, the four groups of preset change rules a-D related to the motion data of the head-mounted device may respectively compare the real-time change rules with the preset change rules a-D, and if the real-time change rules of the motion data of the target head-mounted device match with the target change rule B representing a falling state, the falling state B0 represented by the target change rule B may be determined as the state of the target person wearing the target head-mounted device, that is, the target person may be determined to be in the falling state B0.
Optionally, the matching between the real-time change rule and the target change rule may be: in the real-time change rule, the similarity between a curve formed by the change of the motion data along with the change of the time and a curve formed by the change of the motion data along with the change of the time in the target change rule is larger than a preset similarity threshold value. The preset similarity threshold may be identified by a percentage, and may be 90% or 75%, which is reasonable, and may be set according to actual needs, and is not specifically limited in the embodiment of the present invention.
Correspondingly, optionally, if the real-time change rule is not matched with any change rule in the preset change rules, it can be stated that the target person does not have a state change to be detected, and therefore, the target person can be determined to be in a normal state.
For the sake of clarity, the preset change rule and the target change rule will be specifically described in the following.
In this way, after the status of the target person is determined, a corresponding processing method may be performed.
Optionally, in a specific implementation manner, as shown in fig. 2, the method for detecting a person state according to an embodiment of the present invention may further include the following step S104:
step S104: and outputting alarm information for prompting the target person to fall.
In this specific implementation manner, when it is determined that the target person is in a falling state, alarm information for prompting the target person to fall may be output.
When the real-time change rule is matched with the preset change rule about the motion data and the target change rule representing the falling state is matched, the target person wearing the target head-mounted equipment can be determined to be in the falling state, so that alarm information for prompting the falling of the target person can be output, related persons can timely provide help for the target person, and the safety of the target person is guaranteed.
The output mode of the alarm information may be sending an alarm notification to a designated device, or continuously playing an alarm ring, which is reasonable, and is not specifically limited in the embodiment of the present invention.
Therefore, by applying the scheme provided by the embodiment of the invention, the state of the personnel is determined by utilizing the real-time change rule of the motion data of the head-mounted equipment, and the overall change condition of the head-mounted equipment in the state change process of the personnel can be comprehensively considered, so that the misjudgment of the state of the personnel can be avoided, and the detection accuracy of the state of the personnel is improved.
Compared with a method for detecting the state of the person according to the numerical variation of the acceleration of the head-mounted equipment, the method for detecting the state of the person according to the falling state of the person can detect the state of the person according to the variation rule of the motion data of the head-mounted equipment in the complete process of the falling accident of the person, and can determine whether the person is in the falling state more intuitively and accurately, so that false detection and misinformation caused by small change of the motion data and wrong use of detection equipment of the person can be avoided, and the detection accuracy of the falling state of the person is improved.
Optionally, in a specific implementation manner, as shown in fig. 3, the step S101 of recording the detected motion data of the target head-mounted device in real time may include the following step S1011:
s1011: when the change rate of the acceleration of the target head-mounted device in the specified time length is larger than a preset threshold value, recording the detected motion data of the target head-mounted device in real time.
In this specific implementation manner, when detecting the state of a person, a scene where the person to be detected is located and various states that may occur in the scene of the person may be determined first, so that a specified duration and a preset threshold for evaluating a degree of change in motion of the head-mounted device may be determined according to an influence of a posture change occurring when the person changes various states in the scene on motion data of the head-mounted device.
For example, when a person falls, the acceleration of the head-mounted device worn by the person may change from 0 to a larger value in a shorter time and then suddenly drop from the larger value to 0, so that the specified time period and the preset threshold may be determined according to the change time and the change amplitude of the acceleration.
Wherein, the above-mentioned appointed time length can be 0.001s, it is rational that it can also be 0.01 s; the preset threshold may be 8m/s 2 It may be 5m/s 2 It is reasonable that, in the embodiment of the present invention, the specified time length and the preset threshold are not specifically limited.
In this way, when the change rate of the acceleration of the head-mounted device within the specified time period is greater than the preset threshold, it can be said that the current state of the person wearing the head-mounted device may be changed.
Illustratively, the IMU in the head-mounted device includes a three-axis accelerometer, when the head-mounted device is at rest, the accelerometer receives a vertically downward gravity, and further, the accelerometer can detect an inertial force having the same magnitude and opposite direction to the gravity, so that the acceleration of the head-mounted device can be determined to be (0, g), and further, the acceleration mode length of the head-mounted device can be determined to be 1g (gravity acceleration), and when the head-mounted device starts to do free-fall movement, the mode length of the inertial force detected by the accelerometer changes from g to 0 in a short time along with the movement of the head-mounted device, so that the acceleration of the head-mounted device can be considered to change from g to 0 in a short time. Then, when the head-mounted device falls to the ground, the inertia force detected by the accelerometer increases instantaneously and gradually decreases to g, and the acceleration mode length of the head-mounted device also increases rapidly and gradually decreases to g.
In the process that the target person wears the target head-mounted device, the detection device may obtain motion data of the target head-mounted device in real time, and calculate a change rate of the acceleration of the target head-mounted device in a specified time period in real time. Furthermore, the detection device may further determine whether the calculated change rate is greater than a preset threshold.
Therefore, when the calculated change rate is not greater than the preset threshold value, it can be shown that the current state of the target person wearing the target head-mounted device does not change, and further state detection is not needed;
when it is detected that the calculated change rate is greater than the preset threshold, it may be indicated that the current state of the target person wearing the target head-mounted device may change, and further state detection is required, so that the detection device may record the motion data of the target head-mounted device in real time from a time when it is detected that the change rate of the acceleration of the target head-mounted device within a specified time period is greater than the preset threshold.
For example, an IMU is installed in the head-mounted device, the IMU may detect a value of the acceleration of the head-mounted device in real time, and then the detection device may calculate a change rate of the acceleration of the head-mounted device in a specified time period in real time based on the value, and further, when it is determined that the change rate of the acceleration of the head-mounted device in the specified time period is greater than a preset threshold, it may be considered that a current state of a person wearing the head-mounted device may have a change, and thus, motion data of a target head-mounted device detected by the IMU may be recorded in real time.
Illustratively, the motion data includes acceleration, the specified time is set to be 0.01s, and the preset threshold is set to be 8m/s 2 When the change rate of the acceleration of the target head-mounted equipment within 0.01s is detected to be more than 8m/s 2 The detected acceleration modal length of the target head-mounted device may be recorded in real time.
Then, a real-time change rule of the motion data of the target head-mounted device can be determined according to the corresponding relation between the recorded motion data and the detection time of the motion data, and the real-time change rule is compared with a preset change rule related to the motion data to determine whether the real-time change rule is matched with the preset change rule related to the motion data, and further determine the preset change rule matched with the real-time change rule.
If the real-time change rule is matched with the target change rule representing the falling state in the preset change rule related to the motion data, it can be determined that the target person wearing the target head-mounted device is in the falling state represented by the target change rule.
Furthermore, on the basis of the step S1011, optionally, in a specific implementation manner, as shown in fig. 4, the step S102 of determining a real-time change rule of the motion data according to a corresponding relationship between the motion data and the detection time of the motion data may include the following step S1021:
step S1021: and when the recording time reaches the preset time, determining the real-time change rule of the motion data in the preset time according to the corresponding relation between the motion data and the detection time of the motion data in the preset time.
According to the scene where the target person wearing the target head-mounted device is located and various states of the target person in the scene, the time length of the target person in the scene when various state changes occur can be determined. Furthermore, the duration of the target head-mounted device worn by the target person when the target person changes various states from the current state to the static state may be determined according to the body position change of the target person when the target person changes various states and by combining the duration of the target person when the target person changes various states. In this way, the preset time length required for determining the change rule of the motion data for evaluating the state of the target person may be set according to the time length that the target head-mounted device changes from the current state to the stationary state.
For example, based on the time length of the target person undergoing various state changes, the preset time length may be determined to be 1s; it is reasonable to determine the preset time period to be 0.8s, and the preset time period is not specifically limited in the embodiment of the present invention.
Based on the above, the detection device may record the motion data of the detected target head-mounted device in real time from the moment when the change rate of the acceleration of the target head-mounted device worn by the target person within the specified time period is detected to be greater than the preset threshold, so that when the recording time period reaches the preset time period, the real-time change rule of the motion data of the target head-mounted device within the preset time period may be determined based on the corresponding relationship between the motion data and the detection time of the motion data within the preset time period.
Wherein, the real-time change rule can be characterized as follows: and a rule that the motion data of the target head-mounted device changes along with time change in the preset time length.
Thus, after the real-time change rule of the motion data of the target head-mounted device within the preset time length is determined, the real-time change rule can be compared with the preset change rule related to the motion data to determine whether the real-time change rule is matched with the preset change rule related to the motion data or not, and then the preset change rule matched with the real-time change rule is determined.
If the real-time change rule is matched with the target change rule representing the falling state in the preset change rule related to the motion data, it can be determined that the target person wearing the target head-mounted device is in the falling state represented by the target change rule.
According to the analysis of the fall state, when a person falls, a plurality of different states may exist, but the change law of the acceleration of the head-mounted device is similar in some cases, for example, the change law of the acceleration of the head-mounted device is similar in two cases that the device is separated from the human body and freely falls and the person falls in a non-waking state; also, the change law of the angular velocity of the head-mounted device is similar in some cases, for example, the change law of the angular velocity of the head-mounted device worn by the person is similar in both cases where the person falls while being awake and needs help and where the person falls while being not awake; based on this, in order to improve the accuracy of detecting the state of the person and reduce the occurrence of false detection, the determined preset change rule about the motion data may include: the change law with respect to acceleration, the change law with respect to angular velocity, and the change law with respect to attitude angle. When the state of the person is detected, the real-time change rules of the acceleration, the angular velocity and the attitude angle of the head-mounted device worn by the person can be respectively compared with the preset change rules about the motion data, so that the preset change rules matched with the real-time change rules of the acceleration, the angular velocity and the attitude angle of the head-mounted device are determined.
Optionally, in a specific implementation manner, the motion data further includes: angular velocity and attitude angle;
correspondingly, in this specific implementation manner, in step S103, if the real-time change rule matches the target change rule representing the falling state in the preset change rule about the motion data, it is determined that the target person wearing the target head-mounted device is in the falling state, and steps 11 to 12 may also be included:
step 11: if the acceleration change rule in the real-time change rules is matched with a preset change rule about the free falling body of the equipment, determining that a target person wearing the target head-mounted equipment is in a normal state;
step 12: and if the real-time change rule is matched with a preset target change rule about the falling of the person, determining that the target person wearing the target head-mounted equipment is in a falling state.
In this specific implementation manner, after the detected motion data of the target head-mounted device is recorded, the real-time change rule of the acceleration, the real-time change rule of the angular velocity, and the real-time change rule of the attitude angle of the target head-mounted device can be determined according to the corresponding relationship between the motion data and the detection time of the motion data.
In the case that the target person is in a normal state but the target head-mounted device worn by the target person falls, the detected real-time change rule of the acceleration of the target head-mounted device may match a preset change rule about the free-falling body of the device, for example, the target person takes the target head-mounted device worn by the target person off and throws the target head-mounted device on the ground, and it may be determined that the acceleration of the target head-mounted device may match the preset change rule about the free-falling body of the device.
Because when the target head-mounted device is separated from personnel and falls, the target head-mounted device only bears gravity, and further, the acceleration change rule of the target head-mounted device is matched with the preset change rule about the free falling body of the device.
Based on this, in order to avoid false detection of the state of the person, it may be first determined whether a real-time change rule of the acceleration of the target head-mounted device may match a preset change rule regarding a free-fall of the device.
If the real-time change rule of the acceleration of the target head-mounted device is matched with the preset change rule about the free falling body of the device, it can be determined that the target head-mounted device is not worn by the target person, the target head-mounted device falls, and the target person does not fall, so that the target state of the target person can be determined to be a normal state.
If the real-time change rule of the acceleration of the target head-mounted device is matched with the preset target change rule about the falling of the target person, it can be determined that the target person wearing the target head-mounted device falls represented by the target change rule, and the target person is in a falling state.
The preset change rule about the free falling body of the equipment is used for representing the change rule of the motion data of the head-mounted equipment when the head-mounted equipment worn by the personnel is separated from the personnel and does the free falling body motion. The device headset is detached from the person and moves in a free fall, which may also be referred to as a device fall.
When the head-mounted device worn by the person makes a free-fall movement, the change rule of the movement data of the head-mounted device can be as shown in fig. 5.
Fig. 5 shows a change rule of an acceleration absolute value of the head-mounted device when the head-mounted device worn by a person detaches from the person and performs a free-fall movement. The abscissa of fig. 5 is the time duration t for the head-mounted device to make a free-fall movement, and the ordinate is the absolute value of the acceleration a of the head-mounted device, where the time duration t is in units of 10ms and the absolute value of the acceleration a is in units of g.
As shown in fig. 5, the head mounted device makes a free fall movement from the person's head at a height of about 1.7 meters, with a fall time of approximately 0.6s. When the head-mounted device worn by the person is stationary, the absolute value of the acceleration a of the head-mounted device is g, and within 0.6s of the free-fall movement of the device, the absolute value of the acceleration a suddenly drops to 0, after which the absolute value of the acceleration a rapidly increases and finally becomes 1g as the head-mounted device falls to the ground.
Of course, the above-listed free-fall motion of the head-mounted device is only an illustration of the change rule of the motion data of the head-mounted device worn by the person, and is not limited.
In various state changes of personnel, falling is a relatively dangerous state change, so that when the state of the personnel is detected, the falling state detection of the personnel is one of relatively important detection items, and whether the personnel falls can be determined based on the change rule of the motion data of the head-mounted equipment worn by the personnel.
In general, a fall by a person may include various situations as follows:
1. a fall of a person in a non-awake state, for example, a fall of a person due to loss of consciousness due to a physical cause (e.g., heatstroke, sudden illness), may also be referred to as an unintentional fall for short, and when an unintentional fall occurs, the person is in a first fall state.
In the case of an involuntary fall, the person does not deliberately support the ground with his hands or other body parts during the fall, and therefore the fall often appears to be a straight fall. Since the unintentional fall is very dangerous, the health of the person is greatly threatened by diseases of the person, the person is more likely to be injured secondarily when falling down and pounding on the ground, and unexpected consequences can be caused if the person is found out in time, so that the person needs to give an alarm when the person is in the first fall state.
When the person falls over unconsciously, the change rule of the motion data of the head-mounted device worn by the person can be used as the first change rule.
Therefore, optionally, in a specific implementation manner, the first variation rule includes: according to the sequence of the detection time from early to late, the absolute value of the acceleration is reduced to 0 from a first initial value, after the absolute value is reduced to 0, the absolute value is increased to a first value larger than the first initial value from 0, and after the absolute value is increased to the first value, the absolute value is reduced to the first initial value from the first value; according to the sequence of the detection time from early to late, the absolute value of the angular velocity is increased from 0 to a second value, and after the absolute value is increased to the second value, the absolute value is reduced from the second value to 0; and according to the sequence of the detection time from early to late, the absolute value of the attitude angle is increased by a preset first angle value from a second initial value.
Illustratively, the trend of the absolute value change of each item of motion data in the first change rule is shown in fig. 6 (a) -6 (c).
Fig. 6 (a) -6 (c) show the absolute value of the acceleration a, the absolute value of the angular velocity ω, and the change law of the attitude angle θ of the head-mounted device worn by the person during the process of involuntary fall. The abscissa of fig. 6 (a) is the time period t during which an involuntary fall of a person occurs, and the ordinate is the absolute value of the acceleration a of the head-mounted device worn by the person, wherein the time period t is in units of 10ms, the absolute value of the acceleration a is in units of g, and g is 9.8m/s2; the abscissa of fig. 6 (b) is the time period t during which an involuntary fall of a person occurs, and the ordinate is the absolute value of the angular velocity ω of the head-mounted device worn by the person, wherein the modular length of the angular velocity ω is in rad/s; the abscissa of fig. 6 (c) is the time period t for which an involuntary fall has occurred for a person, and the ordinate is the attitude angle θ of the head-mounted device worn by the person, where the attitude angle θ is in degrees.
As shown in fig. 6 (a), at the initial moment when a person falls, the absolute value of the acceleration a of the head-mounted device worn by the person is g, and then the absolute value of the acceleration a of the head-mounted device gradually decreases with the change of the posture of the person and rapidly decreases to g as the person falls down. Then, since the head of the person falls on the ground, the head-mounted apparatus collides with the ground and receives a supporting force from the ground, and the absolute value of the acceleration a of the head-mounted apparatus rapidly increases and then becomes g again. As shown in fig. 6 (b), the absolute value of the angular velocity ω of the head-mounted device increases continuously during the fall of the person, and drops abruptly to 0 when the person falls on the ground. As shown in fig. 6 (c), the attitude angle θ of the head-mounted apparatus continuously increases as the posture of the person gradually tilts during the fall of the person, and reaches 90 degrees when the person falls on the ground.
2. The person falls and needs help in the awake state, for example, the person falls due to being caught by an obstacle or being charged by other people, which may be referred to as a serious conscious fall, and at this time, the person is in the second fall state.
When taking place comparatively serious conscious and falling down, personnel can not effectively support at the in-process of falling down, lead to head or other health key parts to take place serious collision when falling down to lose consciousness after falling down, can't get up by oneself or call for help, need report to the police and rescue urgently.
The change rule of the motion data of the head-mounted device worn by the person when the person falls over seriously can be used as the second change rule.
Thus, optionally, in a specific implementation manner, the second variation rule includes: according to the sequence of the detection time from early to late, the absolute value of the acceleration is increased to a third value from a third initial value, and after the absolute value is increased to the third value, the absolute value is reduced to the third initial value from the third value; according to the sequence of the detection time from early to late, the absolute value of the angular speed is increased from 0 to a fourth value, and after the absolute value is increased to the fourth value, the absolute value is reduced from the fourth value to 0; and according to the sequence of the detection time from early to late, the absolute value of the attitude angle is increased by a preset second angle value from a fourth initial value.
For example, the trend of the change of the absolute value of each item of motion data in the second change law may be as shown in fig. 7 (a) -7 (c).
Fig. 7 (a) -7 (c) show the absolute value of the acceleration a, the absolute value of the angular velocity ω, and the change law of the attitude angle θ of the head-mounted device worn by the person in the process of a serious conscious fall. The abscissa of fig. 7 (a) is the time period t during which a relatively serious conscious fall occurs in a person, and the ordinate is the absolute value of the acceleration a of the head mounted device worn by the person, where the time period t is in units of 10ms and the absolute value of the acceleration a is in units of g; the abscissa of fig. 7 (b) is the duration t of a relatively severe conscious fall of a person, and the ordinate is the absolute value of the angular velocity ω of the head-mounted device worn by the person, where the absolute value of the angular velocity ω is in rad/s; the abscissa of fig. 7 (c) is the time period t during which a relatively serious conscious fall has occurred for a person, and the ordinate is the attitude angle θ of the head mounted device worn by the person, where the attitude angle θ is in degrees.
As shown in fig. 7 (a), at the initial time when the person falls, the absolute value of the acceleration a of the head-mounted device worn by the person is g, and then the absolute value of the acceleration a of the head-mounted device is increased and decreased in a parabolic shape with the change in the posture of the person and is decreased to g with the fall of the person. As shown in fig. 7 (b), the absolute value of the angular velocity ω of the head-mounted apparatus increases and then decreases in a parabolic shape as the posture of the person changes, and decreases to 0 as the person falls down on the ground. As shown in fig. 7 (c), the attitude angle θ of the head-mounted apparatus continuously increases as the posture of the person gradually tilts during the fall of the person, and reaches 90 degrees when the person falls on the ground.
3. The personnel fall and need not the condition of succour under the awake state, for example, the personnel fall because of taking place dizzy or being brought up by other people, at the in-process that falls, personnel subconscious reduces the harm that falls and bring through actions such as supporting ground, bending knee and supporting ground with the hand, and personnel still can stand up by oneself or initiatively call for help after falling, need not to report to the police, can be for short comparatively slight conscious fall, and at this moment, the personnel are in the third state of falling.
When the person does not fall slightly, the change rule of the motion data of the head-mounted device worn by the person may be used as the third change rule.
Of course, the fall states listed above are only examples of various fall states that may occur to a person and the change rules of the motion data of the head-mounted device worn by the person in various person states, but not limited to these, and when detecting other fall states or person states other than falls, the method provided by the embodiment of the present invention may be applied.
Based on this, when it is determined that the target person is in a falling state, further, based on a real-time change rule of an acceleration, a real-time change rule of an angular velocity, and a real-time change rule of an attitude angle of the target head-mounted device worn by the target person, what kind of falling of the target head-mounted device occurs can be further determined.
Optionally, in a specific implementation manner, the step 12 may further include the following steps 121 to 122:
step 121: if the real-time change rule is matched with a preset first change rule, determining that a target person wearing the target head-mounted equipment is in a first falling state; the first change rule represents that the person falls down in a non-waking state;
step 122: if the real-time change rule meets the preset second change rule, determining that the target person wearing the target head-mounted equipment is in a second falling state; wherein, the second change law represents that the person falls down in the waking state and needs help.
In the specific implementation manner, after determining a real-time change rule of the acceleration, a real-time change rule of the angular velocity and a real-time change rule of the attitude angle of the target head-mounted device, if the real-time change rules of all pieces of motion data of the target head-mounted device are all matched with a preset first change rule, determining that a target person wearing the target head-mounted device is in a first falling state;
and if the real-time change rule of each item of motion data of the target head-mounted device is matched with a preset second change rule, determining that the target person wearing the target head-mounted device is in a second falling state.
In this way, after the status of the target person is determined, different processing methods may be performed based on the difference in the status of the target person.
The actual states of the people represented by different falling states are different, and based on the fact that the actual states of the people represented by the different falling states are different, different alarm information can be output according to the different falling states when the people are determined to be in the falling states.
Optionally, in a specific implementation manner, the step S104 may further include the following steps 21 to 22:
step 21: when the target person is in a first falling state, outputting first alarm information corresponding to the first falling state and used for prompting the target person to fall;
step 22: and when the target person is in the second falling state, outputting second alarm information which corresponds to the second falling state and is used for prompting the target person to fall.
In this specific implementation manner, in order to facilitate distinguishing different fall states, different alarm information may be set for the different fall states.
For example, for the first fall state, a long chime may be set; for the second fall state, a short ringing tone may be set, wherein the long ringing tone and the short ringing tone have different ringing time lengths, and the ringing time length of the long ringing tone is longer than that of the short ringing tone;
for another example, for a first fall state, a first type of alarm beep may be set; for the second fall state, a second type of alarm beep may be set.
The alarm information is set as first alarm information aiming at the first falling state; to the state of tumbleing of the second kind, the alarm information that sets up is second alarm information.
Therefore, when the target person is determined to be in the first falling state, first alarm information corresponding to the first falling state and used for prompting the target person to fall can be output; when the target person is in the second falling state, second alarm information which corresponds to the second falling state and is used for prompting the target person to fall can be output.
Optionally, in a specific implementation manner, the method for detecting a person state provided in the embodiment of the present invention may further include the following step 31:
step 31: and when the target person is in a normal state, clearing the recorded movement data.
In this specific implementation manner, when the real-time change rule of the motion data of the target head-mounted device does not match the target change rule representing that a person falls, it may be determined that the target person wearing the target head-mounted device is not in a falling state, and thus, the target person may be considered to be in a normal state, and therefore, the recorded motion data of the target head-mounted device may be cleared, so that the target head-mounted device may perform the person state detection method provided in the embodiment of the present invention again.
When it is determined that the real-time change rule of the motion data of the target head-mounted device matches the target change rule representing the falling of the person, the falling state represented by the target change rule matching the real-time change rule of the motion data of the target head-mounted device in the preset change rules of the motion data can be determined as the state of the target person wearing the target head-mounted device.
For example, the states characterized by the target change rules that are matched with the real-time change rules of the acceleration, the angular velocity, and the attitude angle of the target head-mounted device are: a first fall state, it may then be determined that the target person is in the first fall state.
Correspondingly, for the situation that the person is in a normal state and the head-mounted device falls or the person is in a third falling state, the head-mounted device worn by the person cannot continue to work due to data distortion, device abnormality, device shutdown and the like caused by severe collision, so that the person needs to be reminded to reset the head-mounted device, the head-mounted device can normally record the motion data of the person in the subsequent use process, and the scheme provided by the embodiment of the invention is executed to realize the detection of the state of the person, otherwise, in the subsequent use process, the scheme provided by the embodiment of the invention cannot be normally used to detect the memorability of the state of the person once the person falls.
Optionally, in a specific implementation manner, the method for detecting a person state provided in the embodiment of the present invention may further include the following step 41:
step 41: when the target person is in a normal state or the real-time change rule is matched with a preset third change rule, outputting prompt information for prompting the target head-mounted device to reset;
and the third change rule represents that the person falls down in the waking state and does not need help.
In this specific implementation manner, if the state of the target person is a normal state, or the real-time change rule of each item of motion data of the target head-mounted device matches with the preset third change rule, the target head-mounted device collides with the ground, so that, in order to ensure that the target head-mounted device can be used normally in the subsequent use process, prompt information for prompting the target head-mounted device to be reset may be output.
Wherein, the prompt message may be: prompting the target person to check whether the target head-mounted device is damaged; it is reasonable to remind the target person to reset the operating mode of the target head-mounted device, which is not specifically limited in the embodiment of the present invention.
Moreover, the output mode of the prompt message may be to play a specific prompt tone, or to send the prompt message to a specific device, which is all reasonable, and is not specifically limited in the embodiment of the present invention.
Based on the same inventive concept, the embodiment of the present invention further provides a personnel state detection apparatus, corresponding to the personnel state detection method shown in fig. 1 provided in the embodiment of the present invention.
Fig. 8 is a schematic structural diagram of a device for detecting a person status according to an embodiment of the present invention, and as shown in fig. 8, the device may include the following modules:
a recording module 810 for recording the detected motion data of the target head mounted device in real time; wherein the motion data comprises: acceleration;
a rule determining module 820, configured to determine a real-time change rule of the motion data according to a correspondence between the motion data and detection time of the motion data;
a state determining module 830, configured to determine that a target person wearing the target head-mounted device is in a falling state if the real-time change rule matches a target change rule representing the falling state in preset change rules about the motion data.
Therefore, by applying the scheme provided by the embodiment of the invention, the state of the personnel is determined by utilizing the real-time change rule of the motion data of the head-mounted equipment, and the overall change condition of the head-mounted equipment in the state change process of the personnel can be comprehensively considered, so that the misjudgment of the state of the personnel can be avoided, and the detection accuracy of the state of the personnel is improved.
For the detection of the falling state of the person, compared with a method for detecting the state of the person only according to the numerical variation of the acceleration of the head-mounted equipment, the method for detecting the state of the person according to the change rule of the motion data of the head-mounted equipment in the complete process of the falling accident of the person can more intuitively and accurately determine whether the person is in the falling state, thereby avoiding false detection and false alarm caused by small change of the motion data and wrong use of the detection equipment by the person, and improving the detection accuracy of the falling state of the person
Optionally, in a specific implementation manner, the recording module 810 is specifically configured to:
when the change rate of the acceleration of the target head-mounted device in the specified time length is larger than a preset threshold value, recording the detected motion data of the target head-mounted device in real time.
Optionally, in a specific implementation manner, the rule determining module 820 is specifically configured to:
and when the recording time length reaches a preset time length, determining a real-time change rule of the motion data in the preset time length according to the corresponding relation between the motion data and the detection time of the motion data in the preset time length.
Optionally, in a specific implementation manner, the motion data further includes: angular velocity and attitude angle;
the state determining module 830 is specifically configured to:
if the acceleration change rule in the real-time change rules is matched with a preset change rule about the free falling body of the equipment, determining that a target person wearing the target head-mounted equipment is in a normal state;
and if the real-time change rule is matched with a preset target change rule about the falling of the person, determining that the target person wearing the target head-mounted equipment is in a falling state.
Optionally, in a specific implementation manner, the apparatus further includes:
and the output module is used for outputting alarm information for prompting the target person to fall.
Optionally, in a specific implementation manner, the state determining module 830 is specifically configured to:
if the real-time change rule is matched with a preset first change rule, determining that a target person wearing the target head-mounted equipment is in a first falling state; wherein the first law of change characterizes a fall of the person in a non-awake state;
if the real-time change rule meets the preset second change rule, determining that the target person wearing the target head-mounted equipment is in a second falling state; wherein the second change rule represents that the person falls down in the waking state and needs help.
Optionally, in a specific implementation manner, the output module is specifically configured to:
when the target person is in the first falling state, outputting first alarm information corresponding to the first falling state and used for prompting the target person to fall;
and when the target person is in the second falling state, outputting second alarm information corresponding to the second falling state and used for prompting the target person to fall.
Optionally, in a specific implementation manner,
the first change rule comprises: according to the sequence of the detection time from early to late, the absolute value of the acceleration is reduced to 0 from a first initial value, after the absolute value is reduced to 0, the absolute value is increased to a first value larger than the first initial value from 0, and after the absolute value is increased to the first value, the absolute value is reduced to the first initial value from the first value; increasing the absolute value of the angular velocity from 0 to a second value in the order of the detection time from early to late, and decreasing the absolute value of the angular velocity from the second value to 0 after increasing to the second value; according to the sequence of the detection time from early to late, the absolute value of the attitude angle is increased by a preset first angle value from a second initial value;
the second change rule comprises: according to the sequence of the detection time from early to late, the absolute value of the acceleration is increased to a third value from a third initial value, and after the absolute value is increased to the third value, the absolute value is decreased to the third initial value from the third value; increasing the absolute value of the angular velocity from 0 to a fourth value in the order of the detection time from early to late, and decreasing the absolute value of the angular velocity from the fourth value to 0 after increasing to the fourth value; and according to the sequence of the detection time from early to late, the absolute value of the attitude angle is increased by a preset second angle value from a fourth initial value.
Optionally, in a specific implementation manner, the apparatus further includes:
and the clearing module is used for clearing the recorded motion data when the target person is in the normal state.
Optionally, in a specific implementation manner, the apparatus further includes:
the resetting module is used for outputting prompt information for prompting the target head-mounted device to be reset when the target person is in the normal state or the real-time change rule is matched with a preset third change rule;
wherein the third change rule represents that the person falls down in the waking state without help.
An embodiment of the present invention further provides an electronic device, as shown in fig. 9, including a processor 901, a communication interface 902, a memory 903, and a communication bus 904, where the processor 901, the communication interface 902, and the memory 903 complete mutual communication through the communication bus 904,
a memory 903 for storing computer programs;
the processor 901 is configured to implement the steps of any one of the human status detection methods provided in the embodiments of the present invention when executing the program stored in the memory 903.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this is not intended to represent only one bus or type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In a further embodiment provided by the present invention, a computer-readable storage medium is also provided, in which a computer program is stored, which computer program, when being executed by a processor, realizes the steps of any of the above-mentioned method embodiments.
In a further embodiment provided by the present invention, there is also provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the steps of any of the method embodiments of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to be performed in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), among others.
It should be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, apparatus embodiments, electronic device embodiments, computer-readable storage medium embodiments, and computer program product embodiments are described with relative simplicity as they are substantially similar to method embodiments, where relevant only as described in portions of the method embodiments.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (13)

1. A person condition detection method, the method comprising:
recording the detected motion data of the target head-mounted equipment in real time; wherein the motion data comprises: acceleration;
determining a real-time change rule of the motion data according to the corresponding relation between the motion data and the detection time of the motion data;
and if the real-time change rule is matched with a target change rule representing a falling state in the preset change rule related to the motion data, determining that a target person wearing the target head-mounted equipment is in the falling state.
2. The method of claim 1, wherein the recording of the detected motion data of the target headset in real-time comprises:
when the change rate of the acceleration of the target head-mounted device in the specified time length is larger than a preset threshold value, recording the detected motion data of the target head-mounted device in real time.
3. The method according to claim 2, wherein the determining a real-time change rule of the motion data according to the correspondence between the motion data and the detection time of the motion data comprises:
and when the recording time length reaches a preset time length, determining the real-time change rule of the motion data in the preset time length according to the corresponding relation between the motion data and the detection time of the motion data in the preset time length.
4. The method of any of claims 1-3, wherein the motion data further comprises: angular velocity and attitude angle;
if the real-time change rule is matched with a target change rule representing a falling state in a preset change rule about motion data, determining that a target person wearing the target head-mounted device is in the falling state, and the method comprises the following steps:
if the acceleration change rule in the real-time change rules is matched with a preset change rule about the free falling body of the equipment, determining that a target person wearing the target head-mounted equipment is in a normal state;
and if the real-time change rule is matched with a preset target change rule about the falling of the person, determining that the target person wearing the target head-mounted equipment is in a falling state.
5. The method of claim 4, further comprising:
and outputting alarm information for prompting the target person to fall.
6. The method of claim 5,
if the real-time change rule is matched with a preset change rule about the falling of the person, determining that the target person wearing the target head-mounted device is in a falling state, and the method comprises the following steps:
if the real-time change rule is matched with a preset first change rule, determining that a target person wearing the target head-mounted equipment is in a first falling state; wherein the first law of change characterizes a fall of the person in a non-awake state;
if the real-time change rule meets the preset second change rule, determining that the target person wearing the target head-mounted equipment is in a second falling state; wherein the second change rule represents that the person falls down in the waking state and needs help.
7. The method according to claim 6, wherein the outputting alarm information for prompting the target person to fall comprises:
when the target person is in the first falling state, outputting first alarm information corresponding to the first falling state and used for prompting the target person to fall;
and when the target person is in the second falling state, outputting second alarm information corresponding to the second falling state and used for prompting the target person to fall.
8. The method of claim 6,
the first change rule comprises: according to the sequence of the detection time from early to late, the absolute value of the acceleration is reduced to 0 from a first initial value, after the absolute value is reduced to 0, the absolute value is increased to a first value larger than the first initial value from 0, and after the absolute value is increased to the first value, the absolute value is reduced to the first initial value from the first value; according to the sequence of the detection time from early to late, the absolute value of the angular speed is increased from 0 to a second value, and after the absolute value is increased to the second value, the absolute value is reduced from the second value to 0; according to the sequence of the detection time from early to late, the absolute value of the attitude angle is increased by a preset first angle value from a second initial value;
the second change rule comprises: according to the sequence of the detection time from early to late, the absolute value of the acceleration is increased to a third value from a third initial value, and after the absolute value is increased to the third value, the absolute value is decreased to the third initial value from the third value; according to the sequence of the detection time from early to late, the absolute value of the angular velocity is increased from 0 to a fourth value, and after the absolute value is increased to the fourth value, the absolute value is reduced from the fourth value to 0; and according to the sequence of the detection time from early to late, the absolute value of the attitude angle is increased by a preset second angle value from a fourth initial value.
9. The method of claim 4, further comprising:
clearing the recorded movement data when the target person is in the normal state.
10. The method of claim 6, further comprising:
when the target person is in the normal state or the real-time change rule is matched with a preset third change rule, outputting prompt information for prompting the target head-mounted device to reset;
wherein the third change rule represents that the person falls down in the waking state without help.
11. A personnel condition detection apparatus, characterized in that the apparatus comprises:
the recording module is used for recording the detected motion data of the target head-mounted equipment in real time; wherein the motion data comprises: acceleration;
the rule determining module is used for determining a real-time change rule of the motion data according to the corresponding relation between the motion data and the detection time of the motion data;
and the state determining module is used for determining that the target person wearing the target head-mounted equipment is in a falling state if the real-time change rule is matched with a target change rule representing the falling state in the preset change rules related to the motion data.
12. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing the communication between the processor and the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1-10 when executing a program stored in the memory.
13. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of the claims 1-10.
CN202210955622.4A 2022-08-10 2022-08-10 Personnel state detection method and device and electronic equipment Pending CN115345201A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210955622.4A CN115345201A (en) 2022-08-10 2022-08-10 Personnel state detection method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210955622.4A CN115345201A (en) 2022-08-10 2022-08-10 Personnel state detection method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN115345201A true CN115345201A (en) 2022-11-15

Family

ID=83952092

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210955622.4A Pending CN115345201A (en) 2022-08-10 2022-08-10 Personnel state detection method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN115345201A (en)

Similar Documents

Publication Publication Date Title
US9959732B2 (en) Method and system for fall detection
Dzeng et al. A feasibility study of using smartphone built-in accelerometers to detect fall portents
KR20200033934A (en) Fall detection using mobile devices
CN107633655A (en) A kind of fall detection method, terminal and computer-readable recording medium
CN109407504A (en) A kind of personal safety detection system and method based on smartwatch
Leu et al. Fall detection and motion classification by using decision tree on mobile phone
Shi et al. Fall detection on mobile phones using features from a five-phase model
Guo et al. A threshold-based algorithm of fall detection using a wearable device with tri-axial accelerometer and gyroscope
TWI540541B (en) Method of detecting emergency utilized in mobile device
US10721347B2 (en) Detecting patterns and behavior to prevent a mobile terminal drop event
Zhou Headsup: keeping pedestrian phone addicts from dangers using mobile phone sensors
KR20170009265A (en) Black box device for children, system and method for managing safety using the same
Colon et al. Human fall detection with smartphones
Bonifazi et al. A machine learning based sentient multimedia framework to increase safety at work
US9968287B2 (en) Monitoring a person for indications of a brain injury
Gelmini et al. Automatic detection of human's falls from heights for airbag deployment via inertial measurements
Rashidpour et al. Fall detection using adaptive neuro-fuzzy inference system
CN113920688A (en) Collision early warning method and device, VR head-mounted equipment and storage medium
CN115345201A (en) Personnel state detection method and device and electronic equipment
Ye et al. Research of fall detection and alarm applications for the elderly
Ketabdar et al. Fall and emergency detection with mobile phones
WO2018232670A1 (en) Behaviour monitoring method and smart watch
CN112438721A (en) State determination method, electronic device, and computer storage medium
Chen et al. Self-adaptive fall-detection apparatus embedded in glasses
CN112805760B (en) Fall detection method, device, equipment and storage medium

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