CN116311786A - State determination method and device, electronic equipment and storage medium - Google Patents
State determination method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN116311786A CN116311786A CN202310087761.4A CN202310087761A CN116311786A CN 116311786 A CN116311786 A CN 116311786A CN 202310087761 A CN202310087761 A CN 202310087761A CN 116311786 A CN116311786 A CN 116311786A
- Authority
- CN
- China
- Prior art keywords
- user
- determining
- state
- time
- static time
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000003068 static effect Effects 0.000 claims abstract description 88
- 230000002159 abnormal effect Effects 0.000 claims abstract description 36
- 238000004590 computer program Methods 0.000 claims description 16
- 230000007613 environmental effect Effects 0.000 claims description 16
- 238000001514 detection method Methods 0.000 description 22
- 230000009471 action Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 8
- 230000036544 posture Effects 0.000 description 7
- 238000012545 processing Methods 0.000 description 6
- 230000008901 benefit Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 4
- 230000005856 abnormality Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 206010010071 Coma Diseases 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 241001465754 Metazoa Species 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000037237 body shape Effects 0.000 description 1
- 230000036760 body temperature Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000003749 cleanliness Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000010408 sweeping Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B21/00—Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
- G08B21/02—Alarms for ensuring the safety of persons
- G08B21/04—Alarms for ensuring the safety of persons responsive to non-activity, e.g. of elderly persons
- G08B21/0407—Alarms for ensuring the safety of persons responsive to non-activity, e.g. of elderly persons based on behaviour analysis
- G08B21/0415—Alarms for ensuring the safety of persons responsive to non-activity, e.g. of elderly persons based on behaviour analysis detecting absence of activity per se
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D21/00—Measuring or testing not otherwise provided for
- G01D21/02—Measuring two or more variables by means not covered by a single other subclass
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B21/00—Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
- G08B21/02—Alarms for ensuring the safety of persons
- G08B21/04—Alarms for ensuring the safety of persons responsive to non-activity, e.g. of elderly persons
- G08B21/0407—Alarms for ensuring the safety of persons responsive to non-activity, e.g. of elderly persons based on behaviour analysis
- G08B21/043—Alarms 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
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B21/00—Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
- G08B21/02—Alarms for ensuring the safety of persons
- G08B21/04—Alarms for ensuring the safety of persons responsive to non-activity, e.g. of elderly persons
- G08B21/0438—Sensor means for detecting
- G08B21/0492—Sensor dual technology, i.e. two or more technologies collaborate to extract unsafe condition, e.g. video tracking and RFID tracking
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B25/00—Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
- G08B25/01—Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium
- G08B25/08—Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium using communication transmission lines
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B7/00—Signalling systems according to more than one of groups G08B3/00 - G08B6/00; Personal calling systems according to more than one of groups G08B3/00 - G08B6/00
- G08B7/06—Signalling systems according to more than one of groups G08B3/00 - G08B6/00; Personal calling systems according to more than one of groups G08B3/00 - G08B6/00 using electric transmission, e.g. involving audible and visible signalling through the use of sound and light sources
Landscapes
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Business, Economics & Management (AREA)
- Emergency Management (AREA)
- General Health & Medical Sciences (AREA)
- Gerontology & Geriatric Medicine (AREA)
- Social Psychology (AREA)
- Psychology (AREA)
- Psychiatry (AREA)
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a state determining method, a state determining device, electronic equipment and a storage medium. The method comprises the following steps: acquiring environment information of a current space, and determining whether a user exists in the current space according to the environment information; when the user exists in the current space, determining state data of the user; wherein the status data includes a static time of the user; the status of the user is determined based on the static time of the user. According to the technical scheme, when the user exists in the current space, the static time of the user is determined, the state of the user is determined according to the static time of the user, and the state of the user is determined according to the static time of the user, so that whether the state of the user is abnormal or not can be accurately judged.
Description
Technical Field
The present invention relates to the field of smart home technologies, and in particular, to a state determining method, a state determining device, an electronic device, and a storage medium.
Background
With the entering of China into an aged society, the elderly are more and more, the physique of the elderly is weaker, the movement is inconvenient, the situation of falling easily occurs in daily life, particularly during bath, and life danger can occur if the falling situation cannot be treated in time after falling. Therefore, user status detection is a concern.
Currently, a wearable fall detection device is used to detect whether a user falls, or a light sensor (such as laser and infrared) is installed in a room to detect whether the user falls. However, the waterproof level of the wearable falling detection device is insufficient, short circuits are easy to occur when the user encounters water, the wearable falling detection device cannot be used when the user bathes, and the device is insufficient in comfort and low in detection accuracy. The light sensor has large detection dead angle, low detection precision, large equipment volume and low detection efficiency, and can easily influence the daily life of a user.
Disclosure of Invention
The invention provides a state determining method, a state determining device, electronic equipment and a storage medium, and aims to accurately judge whether the state of a user is abnormal or not.
According to an aspect of the present invention, there is provided a state determining method, the method comprising:
acquiring environment information of a current space, and determining whether a user exists in the current space according to the environment information;
when the user exists in the current space, determining state data of the user; wherein the status data includes a static time of the user;
the status of the user is determined based on the static time of the user.
Optionally, acquiring environmental information of the current space, and determining whether the current space has the user according to the environmental information includes: acquiring the temperature and the gesture of a target to be detected in a current space; and determining whether the target to be detected is a user or not based on the preset conditions, the temperature and the gesture of the target to be detected.
Optionally, determining the status data of the user includes: acquiring current state data and a historical gesture set of a user; determining a current pose of the user based on the current state data of the user; determining an initial static gesture of the user based on the historical gesture set; and determining the static time of the user based on the time corresponding to the initial static gesture and the time corresponding to the current gesture.
Optionally, determining the state of the user based on the static time of the user includes: when the static time of the user is smaller than the preset time, determining that the state of the user is normal; and when the static time of the user is greater than or equal to the preset time, determining that the state of the user is abnormal.
Optionally, the status data further comprises altitude information of the user. Accordingly, determining the status of the user based on the static time of the user includes: the status of the user is determined based on the user's static time and altitude information.
Optionally, determining the state of the user based on the static time and the altitude information of the user includes: when the static time of the user is smaller than the preset time, determining that the state of the user is normal; and when the static time of the user is greater than or equal to the preset time and the height of the user is less than the preset height, determining that the state of the user is abnormal.
Optionally, after determining that the state of the user is abnormal, the method further includes: generating abnormal prompt information and sending the abnormal prompt information to the client terminal.
According to another aspect of the present invention, there is provided a state determining apparatus, comprising:
the acquisition module is used for acquiring the environment information of the current space and determining whether a user exists in the current space according to the environment information;
the determining module is used for determining the state data of the user when the user exists in the current space; wherein the status data includes a static time of the user;
and the execution module is used for determining the state of the user based on the static time of the user.
According to another aspect of the present invention, there is provided an electronic device including:
at least one processor; and a memory communicatively coupled to the at least one processor;
wherein the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the state determining method according to any one of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute a state determining method according to any of the embodiments of the present invention.
According to the technical scheme, whether a user exists in the current space or not is determined according to the environmental information by acquiring the environmental information of the current space; when the user exists in the current space, determining state data of the user; wherein the status data includes a static time of the user; the status of the user is determined based on the static time of the user. When the user exists in the current space, the static time of the user is determined, the state of the user is determined according to the static time of the user, and the state of the user is determined according to the static time of the user, so that whether the state of the user is abnormal or not can be accurately judged. The problems that the waterproof level of the wearable falling detection equipment is insufficient, the user state cannot be detected when the user takes a bath, and the detection efficiency is low and the daily life of the user is easily influenced due to the fact that the light-sensitive sensor with large detection dead angle, low detection precision and large equipment size is used for detecting the user state are solved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a state determining method according to a first embodiment;
fig. 2 is a flow chart of a state determining method according to the second embodiment;
fig. 3 is a schematic structural view of a state determining device provided in the third embodiment;
fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment.
Detailed Description
In order that the manner in which the invention may be better understood, a more particular description of the invention will be rendered by reference to specific embodiments thereof which are illustrated in the appended drawings. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a schematic flow chart of a state determining method provided in the first embodiment, which is applicable to determining a user state and the like, and the method may be performed by a state determining device provided in the present invention, where the device may be implemented in a form of hardware and/or software, and in a specific embodiment, the device may be integrated into an electronic device. The following embodiment will be described taking the example of the integration of the apparatus in an electronic device, and referring to fig. 1, the method specifically includes the following steps:
s101, acquiring environment information of a current space, and determining whether a user exists in the current space according to the environment information.
The current space may be understood as the space in which the state determining device is deployed, including bathrooms, living rooms, kitchens, etc.; environmental information may be understood as environmental data within the current space, including static environmental data and dynamic environmental data. The static environment data may be posture data of an article in a static state in a current space, for example, posture data of an article such as a table, a chair, a sofa, a washstand, a shower, etc., and the dynamic environment data may be posture data of an article and/or organism in a moving state in a current space, for example, posture data of an organism and/or article such as a person, an animal, a sweeping robot, etc. Further, the item and/or biological pose data includes item and/or biological contours, dimensions, locations, volumes, and the like.
Specifically, the state determining device may be used to obtain environmental information of the current space, including millimeter wave radar, temperature detector, etc., where the millimeter wave radar may identify outline, size, position, volume, etc. of all objects and/or living beings in the current space, and the temperature detector may detect temperatures of all objects and/or living beings in the current space.
Based on the temperature, contour, gesture, volume and other information of each object and/or organism in the current space, whether the user exists in the current space can be determined. For example, when living things whose contours, gestures, and volumes conform to the morphology of a human body and whose temperatures conform to the temperature of the human body exist in the current space, it is determined that the user exists in the current space.
Furthermore, the state determining device can be loaded in the household water heater, so that space is saved, and the cleanliness of the household is improved. The household water heater can be arranged in a bathroom, and the household water heater has the advantages of detecting the state of the old, pregnant women and children when in bath, avoiding the problem that the user falls down and cannot know/help the user when in bath, and guaranteeing the personal safety of the old, pregnant women and children.
Specifically, the state determining device may acquire the environmental information of the current space at regular time, and the time interval for acquiring the environmental information of the current space may be set and adjusted according to the detection requirement and the environment where the state determining device is located, which is not limited in this embodiment.
The advantage of this is that it is possible to accurately determine whether a user is present in the current space based on the environmental information in the current space, so as to acquire status data of the user and detect the status of the user.
S102, when the user exists in the current space, determining state data of the user.
The state data includes a static time of the user, which may be understood as a time when the user maintains a certain action, i.e., a time when the user is in a static state. Specifically, when the old and the pregnant woman fall during bath, and are difficult to rise or fall into coma, the action during falling is always kept, and the static time can be understood as the time period from the moment when the falling action of the user starts to the current moment.
The state determining device may further include a time recorder configured to record a time at which the state determining device obtains the state data of the user, and the state determining device may determine the static time of the user based on the generation time and the current time of the state data corresponding to the falling gesture.
The advantage of this is that the workload of the state determining device can be reduced by only acquiring the state data of the user when the user is present in the current space.
S103, determining the state of the user based on the static time of the user.
The state of the user can be understood as the safety condition of the user, for example, when the user falls down and cannot freely move, the user is considered to be abnormal when assistance is needed, and the user is considered to be normal when the user can freely move.
Determining a status of the user based on the static time of the user, comprising: when the static time of the user is smaller than the preset time, determining that the state of the user is normal; and when the static time of the user is greater than or equal to the preset time, determining that the state of the user is abnormal.
Specifically, the preset time can be understood as a standard for measuring whether the user can freely act, when the static time of the user is smaller than the preset time, the user is considered to be in an active state all the time and can freely act, and the state of the user is determined to be normal. When the static time of the user is greater than or equal to the preset time, the user is considered to maintain the same action for a long time, accidents possibly occur, and the abnormal state of the user is determined.
Further, after the state determining device considers that the user maintains the same action for a long time, warning information such as sound and light can be sent to prompt that the current state of the user is possibly abnormal, state data of the user are obtained again, if the user is still in a static state after receiving the warning information, the user can not be considered to act freely, and the state abnormality of the user is determined.
The setting has the advantages that the judgment standard of the user state can be quantized, whether the user falls down or not can be accurately determined, so that help is provided for the falling user, and the personal safety of the user is guaranteed.
According to the technical scheme, whether a user exists in the current space or not is determined according to the environment information by acquiring the environment information of the current space; when the user exists in the current space, determining state data of the user; wherein the status data includes a static time of the user; the status of the user is determined based on the static time of the user. When the user exists in the current space, the static time of the user is determined, the state of the user is determined according to the static time of the user, and the state of the user is determined according to the static time of the user, so that whether the state of the user is abnormal or not can be accurately judged. The problems that the waterproof level of the wearable falling detection equipment is insufficient, the user state cannot be detected when the user takes a bath, and the detection efficiency is low and the daily life of the user is easily influenced due to the fact that the light-sensitive sensor with large detection dead angle, low detection precision and large equipment size is used for detecting the user state are solved.
Example two
Fig. 2 is a flow chart of a state determining method provided in the second embodiment, and the present embodiment is applicable to determining a user state, and the method may be performed by a state determining apparatus provided in the present invention, where the apparatus may be implemented in a form of hardware and/or software, and in a specific embodiment, the apparatus may be integrated into an electronic device. The following embodiment will be described taking the example of the integration of the device in an electronic apparatus, and referring to fig. 2, the method specifically includes the following steps:
s201, acquiring the temperature and the gesture of a target to be detected in the current space.
The object to be detected can be any object/organism in the current environment, and the gesture can be understood as information such as the shape, the outline, the volume and the like of the object to be detected.
In particular, acquiring the temperature and the gesture of the object to be detected in the current space can be understood as acquiring information such as the temperature, the shape, the contour, the volume and the like of the object/organism in the current environment.
S202, determining whether the target to be detected is a user or not based on preset conditions, the temperature and the gesture of the target to be detected.
The preset condition may be understood as a criterion for measuring whether the target to be detected is a user, including whether the temperature of the target to be detected meets a preset temperature, and whether the shape, the contour, the volume and other postures of the target to be detected meet preset postures.
For example, when the gesture of the target to be detected accords with the human body shape and the temperature accords with the human body temperature, determining that the target to be detected is a user; if the temperature of the object to be detected is below the human body low temperature threshold, the volume of the object to be detected is too small, or the contour of the object to be detected does not conform to the contour of the human body, the object to be detected is determined not to be a user.
S203, determining state data of the user.
Wherein the status data includes a static time of the user and altitude information of the user. The height information of the user can be understood as the current height of the user, for example, the height information of the user when standing is the height of the user, and the height information of the user when falling is the distance from the ground to the highest point of the limbs of the user.
Determining a user's rest time, comprising: acquiring current state data and a historical gesture set of a user; determining a current pose of the user based on the current state data of the user; determining an initial static gesture of the user based on the historical gesture set; and determining the static time of the user based on the time corresponding to the initial static gesture and the time corresponding to the current gesture.
Specifically, the state determining device may acquire the state data of the user at regular time, the current state data may be understood as the state data of the user acquired by the state determining device at the latest time, and the history posture set may be understood as a set of all the state data of the user acquired by the state determining device except the current state data. The historical gesture set comprises each historical gesture of the user and the corresponding moment of each historical gesture. If the user falls and is unable to get up, the pose of the user acquired by the state determination device may be the same, i.e. all poses of the user acquired after the fall remain consistent with the first pose after the fall. The initial static gesture may be understood as the first repeated gesture in the set of historical gestures.
Further, determining the static time of the user based on the time corresponding to the initial static gesture and the time corresponding to the current gesture may be understood as determining the static time of the user based on a time difference between the time corresponding to the first repeated gesture and the time corresponding to the current gesture in the historical gesture set.
S204, determining the state of the user based on the static time of the user.
In one embodiment, S204 may specifically be determining the status of the user based on the user' S static time and altitude information.
Determining a status of the user based on the static time and altitude information of the user, comprising: when the static time of the user is smaller than the preset time, determining that the state of the user is normal; and when the static time of the user is greater than or equal to the preset time and the height of the user is less than the preset height, determining that the state of the user is abnormal.
Specifically, the preset time may be understood as a standard for measuring whether the user can freely move, and the preset height may be understood as a standard for measuring whether the user's height is reasonable. When the static time of the user is smaller than the preset time, whether the height information of the user accords with the preset height or not is considered to be in an active state, the user can freely act, and the state of the user is determined to be normal. When the static time of the user is greater than or equal to the preset time and the height of the user is smaller than the preset height, the user is considered to maintain the same action for a long time and the height is too low, the user may fall down, even coma, and the abnormal state of the user is determined.
Further, when the state determining device considers that the user maintains the same action for a long time and the height is too low, the state determining device can send out warning information such as sound and light to prompt that the current state of the user is possibly abnormal, acquire state data of the user again, and determine that the state of the user is abnormal if the user is still in a static state after receiving the warning information, considers that the user falls down and cannot rise up by himself.
S205, generating abnormal prompt information and sending the abnormal prompt information to the client terminal.
The abnormality notification information may be understood as information including personalized data of the user whose status is abnormal, for example, the identity, age, abnormal data, location where abnormality occurs, and the like of the user, which is not limited in this embodiment.
The client can understand the device which interacts with the emergency contact of the user, specifically, after the client receives the abnormal prompt information sent by the state detection device, the abnormal prompt information is displayed, so that the emergency contact of the user can know the current state of the user, and the user can be helped in time.
According to the technical scheme, the temperature and the gesture of the target to be detected in the current space are obtained; determining whether the target to be detected is a user or not based on preset conditions, the temperature and the gesture of the target to be detected; when the target to be detected is a user, determining state data of the user; determining a state of the user based on the static time of the user; generating abnormal prompt information and sending the abnormal prompt information to the client terminal. The temperature and the gesture of the target to be detected in the current space can be obtained at regular time, whether the target to be detected is a user or not is judged, if the target to be detected is the user, the static time of the user is determined, the state of the user is determined according to the static time of the user, and whether the state of the user is abnormal or not can be accurately judged. After determining that the user is abnormal, generating abnormal prompt information and sending the abnormal prompt information to the client terminal, so that a manager of the client terminal can help the user in time. The problems that the waterproof level of the wearable falling detection equipment is insufficient, the user state cannot be detected when the user takes a bath, and the detection efficiency is low and the daily life of the user is easily influenced due to the fact that the light-sensitive sensor with large detection dead angle, low detection precision and large equipment size is used for detecting the user state are solved.
Example III
Fig. 3 is a schematic structural diagram of a state determining device according to a third embodiment. As shown in fig. 3, the apparatus includes: an acquisition module 301, a determination module 302 and an execution module 303.
The obtaining module 301 is configured to obtain environmental information of the current space, and determine whether a user exists in the current space according to the environmental information.
A determining module 302, configured to determine status data of a user when the user exists in the current space; wherein the status data comprises a static time of the user.
And an execution module 303, configured to determine a state of the user based on the static time of the user.
Optionally, the acquiring module 301 is specifically configured to acquire a temperature and a gesture of a target to be detected in the current space; and determining whether the target to be detected is a user or not based on the preset conditions, the temperature and the gesture of the target to be detected.
Optionally, the determining module 302 is specifically configured to obtain current state data and a historical gesture set of the user; determining a current pose of the user based on the current state data of the user; determining an initial static gesture of the user based on the historical gesture set; and determining the static time of the user based on the time corresponding to the initial static gesture and the time corresponding to the current gesture.
Optionally, the executing module 303 is specifically configured to determine that the state of the user is normal when the static time of the user is less than a preset time; and when the static time of the user is greater than or equal to the preset time, determining that the state of the user is abnormal.
Optionally, the status data further comprises altitude information of the user.
Optionally, the execution module 303 is specifically configured to determine the state of the user based on the static time and the altitude information of the user.
Optionally, the executing module 303 is specifically configured to determine that the state of the user is normal when the static time of the user is less than a preset time; and when the static time of the user is greater than or equal to the preset time and the height of the user is less than the preset height, determining that the state of the user is abnormal.
Optionally, the execution module 303 is further configured to generate an anomaly prompt message after determining that the state of the user is anomaly, and send the anomaly prompt message to the client terminal.
The state determining device provided by the embodiment can execute the state determining method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the executing method.
Example IV
Fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the state determination method.
In some embodiments, the state determination method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the state determination method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the state determination method in any other suitable way (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.
Claims (10)
1. A method of determining a state, comprising:
acquiring environment information of a current space, and determining whether a user exists in the current space according to the environment information;
determining state data of the user when the user exists in the current space; wherein the status data includes a static time of the user;
the status of the user is determined based on the static time of the user.
2. The method of claim 1, wherein the obtaining environmental information of the current space and determining whether the current space has a user according to the environmental information comprises:
acquiring the temperature and the gesture of a target to be detected in the current space;
and determining whether the target to be detected is the user or not based on preset conditions, the temperature and the gesture of the target to be detected.
3. The method of claim 1, wherein said determining status data of the user comprises:
acquiring current state data and a historical gesture set of the user;
determining a current pose of the user based on the current state data of the user;
determining an initial static gesture of the user based on the set of historical gestures;
and determining the static time of the user based on the time corresponding to the initial static gesture and the time corresponding to the current gesture.
4. The method of claim 1, wherein the determining the status of the user based on the static time of the user comprises:
when the static time of the user is smaller than the preset time, determining that the state of the user is normal;
and when the static time of the user is greater than or equal to the preset time, determining that the state of the user is abnormal.
5. The method of claim 1, wherein the status data further comprises altitude information of the user, and wherein the determining the status of the user based on the user's static time comprises:
the status of the user is determined based on the static time and altitude information of the user.
6. The method of claim 5, wherein the determining the status of the user based on the static time and altitude information of the user comprises:
when the static time of the user is smaller than the preset time, determining that the state of the user is normal;
and when the static time of the user is greater than or equal to the preset time and the height of the user is smaller than the preset height, determining that the state of the user is abnormal.
7. The method according to any one of claims 4 or 6, wherein after the determining that the status of the user is abnormal, further comprising:
generating abnormal prompt information and sending the abnormal prompt information to a client terminal.
8. A state determining apparatus, comprising:
the acquisition module is used for acquiring the environment information of the current space and determining whether a user exists in the current space according to the environment information;
the determining module is used for determining the state data of the user when the user exists in the current space; wherein the status data includes a static time of the user;
and the execution module is used for determining the state of the user based on the static time of the user.
9. An electronic device, the electronic device comprising:
at least one processor; and a memory communicatively coupled to the at least one processor;
wherein the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the state determination method of any one of claims 1-7.
10. A computer readable storage medium storing computer instructions for causing a processor to perform the state determination method of any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310087761.4A CN116311786A (en) | 2023-02-01 | 2023-02-01 | State determination method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310087761.4A CN116311786A (en) | 2023-02-01 | 2023-02-01 | State determination method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116311786A true CN116311786A (en) | 2023-06-23 |
Family
ID=86814042
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310087761.4A Pending CN116311786A (en) | 2023-02-01 | 2023-02-01 | State determination method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116311786A (en) |
-
2023
- 2023-02-01 CN CN202310087761.4A patent/CN116311786A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112857268B (en) | Object area measuring method, device, electronic equipment and storage medium | |
WO2017185701A1 (en) | Distance sensor antifouling method and system on mobile terminal | |
JPWO2018087971A1 (en) | MOBILE BODY CONTROL DEVICE AND MOBILE BODY CONTROL PROGRAM | |
JP2018047140A (en) | Detection device, warning system, detection method, and program | |
CN116311786A (en) | State determination method and device, electronic equipment and storage medium | |
CN113780255B (en) | Danger assessment method, device, equipment and storage medium | |
US20190063192A1 (en) | Technique for estimating a state of a drilling apparatus or operation | |
CN117911823A (en) | Drowning identification system, method, device, equipment and storage medium | |
CN115168154B (en) | Abnormal log detection method, device and equipment based on dynamic baseline | |
CN116369861A (en) | Method and device for determining bed leaving state of bed, intelligent mattress and medium | |
CN115616928A (en) | Control panel control method and device based on artificial intelligence | |
CN117292843B (en) | Electrical signal data processing method, apparatus, device and storage medium | |
EP3309747A1 (en) | Motion detection system, motion detection device, motion detection method, and motion detection program | |
CN115938071A (en) | Attitude anomaly alarm method, device, equipment and storage medium | |
CN117290179B (en) | Method, device, equipment and storage medium for determining event timeout state | |
EP4311480A1 (en) | Method for monitoring sleep, apparatus, device, and storage medium | |
CN116991683B (en) | Alarm information processing method, device, equipment and medium | |
CN115373449B (en) | Data processing method, device, equipment and storage medium | |
CN114847716B (en) | Infant compression detection method, device, intelligent mattress and storage medium | |
CN115436899B (en) | Millimeter wave radar detection data processing method, device, equipment and storage medium | |
CN117253096B (en) | Finger-adaptive health index monitoring method, device, equipment and storage medium | |
CN117535953A (en) | Airing machine, control method and device thereof and storage medium | |
CN117347763A (en) | Monitoring method and device based on electricity consumption data, electronic equipment and storage medium | |
CN116991620B (en) | Solution determining method, device, equipment and medium | |
CN116991684B (en) | Alarm information processing method, device, equipment and 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 |