Method, device, equipment and program product for detecting motion state
By combining acceleration and air pressure information, the problem of the inability to accurately identify the user's motion state in existing technologies has been solved, achieving higher-precision motion state detection and lower-power device design.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ROBERT BOSCH GMBH
- Filing Date
- 2024-10-21
- Publication Date
- 2026-04-21
AI Technical Summary
In existing technologies, data from a single sensor can only roughly determine the user's motion state and cannot accurately identify the user's specific motion type, such as the inability to distinguish between walking on flat ground and going up and down stairs.
By combining acceleration and air pressure information, data from user equipment is acquired through acceleration and air pressure sensors, and the motion status of user equipment is determined using detection devices, including walking and climbing stairs.
It improves the precision of user motion detection, enabling more accurate identification of specific motion types, reducing device power consumption, and extending device usage time.
Smart Images

Figure CN121890982A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of sensing technology, and more specifically, to a method, apparatus, device, and program product for detecting motion states. Background Technology
[0002] With the rapid development of technology, wearable devices, smart homes, health management systems, and virtual reality and augmented reality technologies have become crucial for improving user experience, providing personalized services, and monitoring health. The detection of movement status primarily relies on sensors; for example, an accelerometer can detect changes in a user's acceleration to determine whether the user is walking. Summary of the Invention
[0003] Embodiments of this disclosure provide a method, apparatus, device, and program product for detecting motion states.
[0004] In a first aspect of this disclosure, a method for detecting motion state is provided. The method includes acquiring acceleration information of a user equipment within a predetermined time period. The method also includes acquiring air pressure information of the user equipment within the predetermined time period. Furthermore, the method includes determining the motion state of the user equipment based on the acceleration information and the air pressure information.
[0005] In a second aspect of this disclosure, an apparatus for detecting motion state is provided. The apparatus includes an acceleration acquisition unit configured to acquire acceleration information of a user equipment within a predetermined time period. The apparatus also includes a barometric pressure acquisition unit configured to acquire barometric pressure information of the user equipment within the predetermined time period. Furthermore, the apparatus includes a state determination unit configured to determine the motion state of the user equipment based on the acceleration information and the barometric pressure information.
[0006] In a third aspect of this disclosure, a wearable device is provided. The wearable device includes one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the one or more processors to implement the method provided according to a first aspect of this disclosure.
[0007] In a fourth aspect of this disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores computer-executable instructions, which are executed by a processor to implement the method provided according to a first aspect of this disclosure.
[0008] In a fifth aspect of this disclosure, a computer program product is provided, comprising computer-executable instructions that are executed by a processor to implement the method provided according to a first aspect of this disclosure.
[0009] It should be understood that the description in the Summary of the Invention section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0010] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:
[0011] Figure 1 A schematic diagram of an example environment in which several embodiments of the present disclosure may be implemented is shown;
[0012] Figure 2 A schematic diagram of a method for detecting motion state according to some embodiments of the present disclosure is shown;
[0013] Figure 3 A schematic diagram of acceleration information according to some embodiments of the present disclosure is shown;
[0014] Figure 4 A schematic diagram of air pressure information according to some embodiments of the present disclosure is shown;
[0015] Figure 5 A schematic diagram illustrating the relationship between acceleration and air pressure according to some embodiments of the present disclosure is shown;
[0016] Figure 6 A schematic flowchart of a method for detecting motion states according to some embodiments of the present disclosure is shown;
[0017] Figure 7 A block diagram of a device for detecting motion states according to some embodiments of the present disclosure is shown; and
[0018] Figure 8 A block diagram of a device that can implement several embodiments of the present disclosure is shown. Detailed Implementation
[0019] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0020] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0021] To further enhance user experience, the refined detection and identification of user movement states is receiving increasing attention. However, current detection and identification of user movement states are based on data from a single sensor. The information contained in a single type of data is limited, allowing only a few movement states to be determined, rather than accurately identifying the finer categories of the user's movement. For example, data from an accelerometer can only determine whether a user is walking and at what speed, but cannot accurately determine whether the user is walking on flat ground or going up or down stairs.
[0022] Therefore, embodiments of this disclosure propose a scheme for detecting motion states. In these embodiments, acceleration and air pressure information of a user device can be acquired within a predetermined time period, and the motion state of the user device can be determined based on this information. In this way, multiple pieces of information about the user device are considered simultaneously during the determination of its motion state. Compared to using only acceleration or air pressure information, using both can identify more types of motion states, improving the precision of motion state detection and classification, and thus expanding the application scope of the detection results.
[0023] Figure 1 A schematic diagram of an example environment 100 in which various embodiments of this disclosure may be implemented is shown. For example... Figure 1As shown, environment 100 includes user 101 and user device 102. User device 102 may be, for example, a wearable device worn by user 101, a device carried by user 101, or a device implanted in user 101. When user 101 is in motion or at rest, user device 102 may move or remain at rest along with user 101.
[0024] In embodiments of this disclosure, user equipment 102 may include mobile phones, tablets, smartwatches, smart bracelets, smart glasses, virtual reality terminal devices, augmented reality terminal devices, etc., equipped with sensors, and this disclosure does not limit this. User equipment 102 may include one or more sensors, based on which information such as air pressure and / or acceleration of user equipment 102 can be detected, and on this basis, the motion state of user equipment 102 can be determined, and thus the motion state of user 101 can be determined.
[0025] In some embodiments, user equipment 102 can detect motion states. For example, when user equipment 102 accompanies user 101 in a walking state, user equipment 102 can detect that user 101 is walking using its configured sensors. When user equipment 102 accompanies user 101 in a stationary state, user equipment 102 can detect that user 101 is stationary. In some embodiments, user equipment 102 can further identify the specific type of walking by user 101. For example, when user 101 walks on a flat surface 103, user equipment 102 can detect that user 101 is walking on a flat surface. When user 101 walks on stairs 104, user equipment 102 can detect that user 101 is going up or down stairs.
[0026] In some embodiments, environment 100 may further include detection device 105. Detection device 105 may include, but is not limited to, mobile phones, tablets, laptops, desktop computers, servers, etc., and may be located near user 101 or deployed in the cloud. Detection device 105 can acquire information from user device 102 via wired and / or wireless means, and can determine the movement state of user 101 based on this information. In other words, the movement state of user 101 can be detected by other devices using information from user device 102.
[0027] It should be understood that in the embodiments of this disclosure, the user equipment 102 can move along with the user 101, and the detection of the motion state of the user 101 is based on the detection of the motion state of the user equipment 102. Therefore, the detection of the motion state of the user equipment 102 can be considered as the detection of the motion state of the user 101. It should also be understood that... Figure 1The environment 100 described herein is merely an example of an embodiment of this disclosure and should not be construed as a limitation on the solutions provided herein. For example, in some embodiments, the user equipment 102 may be worn on an animal or deployed in a robot, vehicle, or other device, and the motion state of the animal, robot, vehicle, etc., can be determined by detecting the motion state of the user equipment 102.
[0028] Figure 2 A schematic diagram of a method 200 for detecting motion state according to some embodiments of the present disclosure is shown. Method 200 can be executed by a detection device, which may be, for example, a detection device 105 or user equipment 102 in environment 100, or a system and / or module in detection device 105 or user equipment 102. The detection device can be implemented in software and / or hardware. For ease of explanation, method 200 will be illustrated below using a detection device as the execution entity. Reference Figure 2 Method 200 may include boxes 202 to 206.
[0029] In block 202, the detection device acquires acceleration information of the user equipment within a predetermined time period. This acceleration information can indicate the acceleration of the user equipment. In some embodiments, the acceleration information can indicate both the magnitude and direction of the acceleration; in other embodiments, the acceleration information can only include the magnitude of the acceleration. In some embodiments, the acceleration information can be acquired by the detection device from the user equipment, and the acceleration of the user equipment can be measured by an acceleration sensor in the user equipment. In some embodiments, the user equipment can be configured with acceleration sensors for measuring the acceleration components of the user equipment in three mutually perpendicular directions (x-axis, y-axis, and z-axis) in three-dimensional space, and the acceleration information can indicate the acceleration components of the user equipment in the x-axis, y-axis, and z-axis directions.
[0030] In some embodiments, the acceleration indicated by the acceleration information is discrete; for example, the acceleration information may include acceleration at multiple predetermined time points within a predetermined time period. In some embodiments, the acceleration indicated by the acceleration information is continuous; for example, the acceleration information may be in the form of a curve, indicating the numerical value of the user device's acceleration at any time within a predetermined time period.
[0031] For example, Figure 3 A schematic diagram of acceleration information in some embodiments of this disclosure is shown. Figure 3The data includes curves 310, 320, 330, and 340. Curve 310 represents the change of the user equipment's acceleration over time; curve 320 represents the change of the user equipment's acceleration component along the x-axis over time; curve 330 represents the change of the user equipment's acceleration component along the y-axis over time; and curve 340 represents the change of the user equipment's acceleration component along the z-axis over time. In some embodiments, the acceleration information acquired by the detection device may include curve 310. In some embodiments, the acceleration information acquired by the detection device may include curves 320, 330, and 340. It should be understood that at any given time, the user equipment's acceleration *a* and its acceleration component *a* along the x-axis... x The acceleration component a along the y-axis y The acceleration component a along the z-axis z The relationship between them is: a 2 =a x 2 +a y 2 +a z 2 .
[0032] In block 204, the detection device acquires air pressure information of the user equipment within a predetermined time period. This air pressure information indicates the atmospheric pressure experienced by the user equipment. In some embodiments, the air pressure information may include atmospheric pressure at multiple time points within the predetermined time period; in other embodiments, the air pressure information may include a curve showing the change in atmospheric pressure over time within the predetermined time period.
[0033] User equipment may include, for example, a barometric pressure sensor. This sensor detects the atmospheric pressure acting on the user equipment, and the detection device can obtain this pressure information from the user equipment. It is understood that atmospheric pressure changes with altitude; that is, as the user equipment's altitude changes, the atmospheric pressure indicated by the user equipment's pressure information also changes, and the pressure information reflects the changes in the user equipment's altitude.
[0034] It should be understood that the predetermined time period corresponding to the air pressure information in box 204 and the predetermined time period corresponding to the acceleration information in box 202 are the same time period. For example, the acceleration information of the user equipment obtained in box 202 is from 13:23:34 on January 1, 2024 to 13:23:37 on January 1, 2024, and the air pressure information of the user equipment obtained in box 204 is also from 13:23:34 on January 1, 2024 to 13:23:37 on January 1, 2024. In the embodiments of this disclosure, the predetermined time period can be a predefined time length, such as 1 second, 3 seconds, 5 seconds, etc. It should be understood that the examples of time and time periods here are merely examples and should not be construed as limiting the solutions provided in this disclosure.
[0035] In box 206, the detection device determines the motion state of the user equipment based on acceleration and air pressure information. The user equipment can include various types of motion states, such as walking and stationary states. Walking can include walking on a flat surface and walking up or down stairs. Based on the acceleration and air pressure information, the detection device can determine which specific motion state the user equipment is in among these various motion states.
[0036] For example, when a user equipment is stationary, its acceleration remains unchanged or changes only slightly. When the user equipment is in motion, it sways with the movement, meaning its acceleration changes periodically. Therefore, based on the user equipment's acceleration information over a period of time, it can be determined whether the user equipment is in a walking state.
[0037] The altitude of a user device can be represented by air pressure information. Since air pressure changes with altitude, air pressure information can be used to determine whether the user device's altitude has changed. In some embodiments, the detection device can predefine a correspondence between altitude and atmospheric pressure. The detection device can determine the user device's altitude based on this correspondence. The detection device can also determine the amount of change in the user device's relative altitude within a predetermined time period.
[0038] By combining acceleration and altitude information, the specific type of movement of the user equipment can be determined. For example, in some embodiments, if acceleration information determines that the user equipment is walking during time period t1, and air pressure information determines that the relative altitude of the user equipment has changed during time period t1, then the user equipment is in a walking state with altitude changes, and the detection device can determine that the user equipment is going up or down stairs during time period t1. In some embodiments, if acceleration information determines that the user equipment is walking during time period t2, and air pressure information determines that the relative altitude of the user equipment has not changed during time period t2, then the detection device can determine that the user equipment is walking on a flat surface during time period t2.
[0039] It should be noted that, although in Figure 2 The diagram shows box 202 preceding box 204, but this is not intended to limit the order of operations performed at boxes 202 and 204. Rather, the operations performed at boxes 202 and 204 may be performed in interchangeable orders or simultaneously. It should also be understood that the enumeration of motion states of the user equipment above is merely illustrative and should not be construed as limiting the technical solutions of this disclosure. This disclosure does not limit the specific types of motion states of the user equipment. In some embodiments, the user equipment may also include more types of motion states. In some embodiments, the type of motion state that the detection device can determine may be predefined.
[0040] In this way, based on acceleration and air pressure information, the specific motion type of the user device can be determined, such as whether the user device is going up or down stairs. This makes the identification of the user device's motion type more accurate. Furthermore, since the power consumption of an air pressure sensor is typically less than 10 microamps during normal operation, its extremely low power consumption makes it ideal for power-sensitive user devices such as wearable devices. Combining acceleration information measured by an accelerometer with air pressure information measured by an air pressure sensor to determine the motion state can improve detection accuracy while maintaining low overall power consumption, thus extending the device's lifespan.
[0041] In some embodiments, in the aforementioned block 204, the barometric pressure sensor included in the user equipment is highly accurate and less susceptible to interference, resulting in a small measurement error for barometric pressure, for example, less than 1 Pa. During the process of the user equipment moving up or down stairs, the barometric pressure sensor can detect the barometric pressure change that occurs with each step, and the barometric pressure information obtained by the detection device from the user equipment can reflect this subtle barometric pressure change.
[0042] For example, Figure 4The diagram illustrates air pressure information in some embodiments of this disclosure. Curve 410 can be an air pressure change curve measured by a sensor with a large measurement error, while curve 420 can be an air pressure change curve measured by a sensor with a small measurement error. Curve 410 does not reflect fine-grained information about air pressure changes, while curve 420 does. The air pressure information acquired by the detection device can be, for example, curve 420, which reflects the air pressure changes of the user equipment during the process of ascending or descending stairs.
[0043] In some embodiments, the air pressure information acquired by the detection device may include information indicating the accuracy of the air pressure information, and the detection device can determine the accuracy of the acquired air pressure information based on this information. In some embodiments, the detection device may fit the acquired air pressure information and determine the variance of the air pressure information. The detection device may compare the variance with a predefined variance threshold to determine the level of accuracy of the air pressure information.
[0044] In some embodiments, in the aforementioned block 206, based on high-precision air pressure information, the detection device can further determine the motion state of the user equipment. For example, if the user equipment is determined to be in a walking state based on acceleration information and the user equipment's height changes based on air pressure information, the detection device can determine the accuracy of the air pressure information and identify its specific type. If the air pressure information is a high-precision, gently sloping air pressure change curve, the detection device can determine that the user equipment is walking on a slope; if the air pressure information is a stepped air pressure change curve, such as curve 420, the detection device can determine that the user equipment is walking on stairs. In this way, the specific type of the user equipment's motion state can be determined more accurately.
[0045] In some embodiments, the detection device can identify the type of change in air pressure information using a predefined recognition model. In some embodiments, the detection device may pre-store various types of air pressure change curves in its memory, and the detection device can match the acquired air pressure information with the predefined air pressure change curves to determine the type of air pressure change curve.
[0046] In some embodiments, the detection device can determine the amount of change in air pressure within a predetermined time period. If the change is greater than or equal to a predetermined air pressure threshold, it can be determined that the relative altitude of the user equipment has changed; if the change is less than the predetermined air pressure threshold, it can be determined that the relative altitude of the user equipment has not changed. This avoids erroneously identifying airflow disturbances in the environment as changes in the relative altitude of the user equipment, thereby improving the accuracy of determining changes in the user's relative altitude.
[0047] In some embodiments, in the aforementioned block 206, the detection device can determine the swing state of the user equipment based on the frequency and amplitude of the acceleration change of the user equipment. This swing state can indicate whether the user equipment is in a walking state. For example, the detection device's memory can predefine an acceleration threshold and a frequency threshold. The detection device can determine that the user equipment is in a walking state if the amplitude of the acceleration change of the user equipment is greater than the predefined acceleration threshold and the frequency of the acceleration change is greater than the predetermined frequency threshold.
[0048] In some embodiments, the oscillation state determined by the detection device can indicate the type of road surface on which the user device is located. For example, in some embodiments, during walking on road surfaces of different materials (e.g., cement, grass, sand, etc.), the acceleration of the user device can vary with different frequencies and / or amplitudes. The detection device can determine the frequency and amplitude of the user device's acceleration variation based on the acceleration information and match this frequency and amplitude with predefined frequencies and amplitudes corresponding to different road surface materials, thereby determining the road surface on which the user device is walking.
[0049] In some embodiments, the frequency and / or amplitude of acceleration changes during the process of walking on stairs are different from those during the process of walking on a flat surface. The detection device can determine the frequency and amplitude of the user device's acceleration changes based on the acceleration information, and match the frequency and amplitude with the predefined amplitude and frequency corresponding to walking on stairs, thereby determining whether the user device is walking on stairs.
[0050] In some embodiments, the acceleration information acquired by the detection device may be an acceleration change curve. The detection device's memory may predefine various correspondences between acceleration change curves and motion states. Based on the matching between the acquired acceleration change curve and the predefined correspondences, the detection device can determine whether the user device is in a walking state. In some embodiments, the detection device can further determine the type of road surface where the user device is located. In some embodiments, based on the matching between the acquired acceleration change curve and the predefined correspondences, the detection device can further determine whether the user device is in a stair-climbing state.
[0051] In some embodiments, the detection device can determine that the user equipment is in a stair-climbing state only when it determines based on acceleration information and that the user equipment's height has changed based on air pressure information. This allows for more accurate identification of whether the user equipment is in a stair-climbing state.
[0052] In the aforementioned box 206, based on acceleration and air pressure information, the detection device can identify various motion states of the user equipment. For example, Figure 5 A schematic diagram illustrating the relationship between acceleration and air pressure in some embodiments of this disclosure is shown. Figure 5 The data includes an acceleration change curve 510 and a pressure change curve 520. The acceleration change curve 510 and the pressure change curve 520 can correspond to the same time axis. That is, the acceleration change curve 510 and the pressure change curve 520 can indicate the acceleration and pressure of the user equipment within the same time period.
[0053] exist Figure 5 The time period may include time periods 501 to 506. In time period 501, the acceleration change curve 510 indicates that the acceleration has not changed, and the air pressure change curve 520 indicates that the air pressure has not changed. Based on this, the detection device can determine that the user equipment is stationary during time period 501. In time periods 502 and 505, the acceleration change curve 510 corresponds to the first acceleration change curve indicating that the user equipment is traveling on a flat road, and the air pressure change curve 520 indicates that the air pressure of the user equipment has not changed. Based on this, the detection device can determine that the user equipment is traveling on a flat road during time periods 502 and 505.
[0054] During time periods 503 and 504, the acceleration change curve 510 corresponds to the second acceleration change curve when the user equipment is in the state of walking up and down stairs, and the air pressure change curve 520 indicates that the air pressure of the user equipment is decreasing. Based on this, the detection device can determine that the user equipment is in the state of going down stairs during time periods 503 and 504. During time period 506, the acceleration change curve 510 corresponds to the second acceleration change curve when the user equipment is in the state of walking up and down stairs, and the air pressure change curve 520 indicates that the air pressure of the user equipment is increasing. Based on this, the detection device can determine that the user equipment is in the state of going up stairs during time period 506.
[0055] In some embodiments, the detection device can determine multiple time periods based on the acceleration change curve and air pressure change curve of the user equipment, within each time period the user equipment has a motion state. For example, Figure 5 The time periods 501 to 506 can be determined by the detection device. That is, the detection device can detect changes in the motion state of the user equipment. For example, the detection device can identify change nodes and time periods with the same attributes in the acceleration change curve and air pressure change curve based on a predefined image recognition model or data classification model, thereby determining the change in the user equipment's motion state over time.
[0056] It should be understood that the embodiments of this disclosure are combined with Figure 3 , Figure 4 and Figure 5 The descriptions of acceleration and air pressure information are for illustrative purposes only and should not be construed as limiting the technical solutions provided in this disclosure. This disclosure does not limit the specific types of acceleration and air pressure information.
[0057] In some embodiments, the detection device and the user equipment are the same device. For example, the detection device may be a wearable device, or it may be user equipment 102 in environment 100, which may be equipped with an accelerometer and a barometric pressure sensor. In block 202, user equipment 102 can obtain its own acceleration information within a predetermined time period from its configured accelerometer. In block 204, user equipment 102 can obtain its own barometric pressure information within a predetermined time period from its configured barometric pressure sensor. In block 206, user equipment 102 can determine its own motion state within the predetermined time period based on the acceleration information and barometric pressure information.
[0058] In some embodiments, the detection device and the user equipment can be different devices. For example, the detection device can be detection device 105 in environment 100, and the user equipment can be user equipment 102 in the aforementioned environment 100. In block 202, user equipment 105 can obtain acceleration information of user equipment 102 within a predetermined time period. In block 204, user equipment 105 can obtain air pressure information of user equipment 102 within a predetermined time period. In block 206, user equipment 105 can determine the motion state of user equipment 102 within the predetermined time period based on the acceleration information and air pressure information.
[0059] In some embodiments, the detection device may first acquire the acceleration information of the user equipment, and after determining that the user equipment is in a walking state based on the acceleration information, acquire air pressure information and determine the specific type of the user equipment's walking state, such as determining whether the user equipment is in a stair-climbing state. For example, Figure 6 A schematic flowchart of a method 600 for detecting motion states according to some embodiments of this disclosure is shown. (See also:) Figure 6 Method 600 may include boxes 602 to 618.
[0060] In box 602, the detection device acquires the acceleration information of the user equipment within a predetermined time period. In box 604, based on the acceleration information, the detection device determines whether the user equipment is in a walking state, for example, whether the acceleration information corresponds to an acceleration change curve indicating that the user equipment is in a walking state. If not, proceed to box 606; if yes, proceed to box 608. In box 606, the detection device determines that the user equipment is in a standing state. In box 608, the detection device determines that the user equipment is in a walking state. In box 610, the detection device acquires the air pressure information of the user equipment within a predetermined time period. In box 612, the detection device determines the relative height of the user equipment based on the air pressure information. This relative height may be, for example, altitude or the height value of the user equipment relative to a predefined zero point. In box 614, the detection device determines whether the relative height of the user equipment has changed within the predetermined time period. If not, proceed to box 616; if yes, proceed to box 618. In box 616, the detection device determines that the user is in a walking state on a flat surface. In box 618, the detection device determines that the user is in a state of going up or down stairs.
[0061] In some embodiments, after determining the motion state of the user equipment, the detection device can send indication information to indicate the motion state of the user equipment. In some embodiments, the detection device may include a display screen, which can display the motion state of the user equipment. Through the above technical solution, the detection device can determine various fine-grained types of motion states based on air pressure and acceleration information, such as identifying the state of going up and down stairs. In this way, more types of motion state indications can be provided to the user, which can improve the user experience.
[0062] It should be noted that, Figure 6 The embodiments shown are merely examples of the solutions provided in this disclosure and should not be construed as limiting the solutions provided in this disclosure. For example, in some embodiments, the detection device may first acquire the air pressure information of the user equipment, and after determining that the user equipment's altitude has changed based on the air pressure information, acquire the user equipment's acceleration information and determine the user equipment's motion state. In some embodiments, the detection device may acquire both the user equipment's acceleration information and air pressure information simultaneously, and then determine the user equipment's motion state.
[0063] Figure 7 A block diagram of a device 700 for detecting motion states according to some embodiments of the present disclosure is shown. Figure 7As shown, the device 700 includes an acceleration acquisition unit 702, configured to acquire acceleration information of the user equipment within a predetermined time period. The device 700 also includes a barometric pressure acquisition unit 704, configured to acquire barometric pressure information of the user equipment within the predetermined time period. Furthermore, the device 700 includes a state determination unit 706, configured to determine the motion state of the user equipment based on the acceleration information and the barometric pressure information.
[0064] In some embodiments, the state determination unit 706 includes: a first state determination unit configured to determine the swing state of the user equipment within a predetermined time period based on acceleration information; a height determination unit configured to determine the relative height of the user equipment within the predetermined time period based on air pressure information; and a second state determination unit configured to determine that the user equipment is in a stair-climbing state within the predetermined time period in response to the swing state indicating that the user equipment is in a walking state and the relative height of the user equipment changes within the predetermined time period.
[0065] In some embodiments, the altitude determination unit includes a first altitude determination unit configured to determine a change in the relative altitude of the user equipment within a predetermined time period in response to a determination of air pressure information indicating a change in the air pressure of the user equipment within a predetermined time period.
[0066] In some embodiments, the acceleration information includes an acceleration change curve of the user equipment over a predetermined time period, wherein the first state determination unit includes a third state determination unit configured to determine that the swing state indicates that the user equipment is in a walking state in response to determining that the acceleration change curve corresponds to a first acceleration change curve indicating that the user equipment is in a walking state.
[0067] In some embodiments, the walking state includes a stair-climbing walking state and a planar walking state. The first state determination unit includes a fourth state determination unit configured to determine that the swing state indicates that the user equipment is in the stair-climbing walking state in response to a determination that the acceleration change curve corresponds to a second acceleration change curve indicating that the user equipment is in the stair-climbing walking state. The second state determination unit includes a fifth state determination unit configured to determine that the user equipment is in the stair-climbing walking state for a predetermined time period in response to the swing state indicating that the user equipment is in the stair-climbing walking state and the relative height of the user equipment changes within a predetermined time period.
[0068] In some embodiments, the air pressure acquisition unit 704 includes a first air pressure acquisition unit configured to acquire air pressure information when it is determined that the user equipment is in a walking state.
[0069] In some embodiments, the acceleration acquisition unit 702 includes a first acceleration acquisition unit configured to acquire acceleration information when it is determined that the relative height of the user equipment has changed.
[0070] In some embodiments, the user equipment includes a wearable device, which includes an acceleration sensor and a barometric pressure sensor. The acceleration acquisition unit 702 includes a second acceleration acquisition unit configured to acquire acceleration information of the wearable device from the acceleration sensor. The barometric pressure acquisition unit 704 includes a second barometric pressure acquisition unit configured to acquire barometric pressure information of the wearable device from the barometric pressure sensor.
[0071] Figure 8 A schematic block diagram of an example device 800 that can be used to implement embodiments of the present disclosure is shown. The detection apparatus in the foregoing method embodiments can be implemented using device 800. Figure 8 As shown, device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to computer program instructions stored in read-only memory (ROM) 802 or loaded into random access memory (RAM) 803. RAM 803 may also store various programs and data required for the operation of device 800. The computing unit 801, ROM 802, and RAM 803 are interconnected via bus 804. Input / output (I / O) interface 805 is also connected to bus 804.
[0072] The computing unit 801 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 801 performs the various methods and processes described above, such as method 200 or method 600. For example, in some embodiments, method 200 or method 600 may be implemented as a computer software program tangibly contained in a computer-readable medium. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 800 via ROM 802. When the computer program is loaded into RAM 803 and executed by the computing unit 801, one or more steps of method 200 or method 600 described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform method 200 or method 600 by any other suitable means (e.g., by means of firmware).
[0073] The functions described above in this document can be performed at least in part by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: field programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload programmable logic devices (CPLDs), and so on.
[0074] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a computer, partially on a computer, partially on a remote computer as a standalone software package, or entirely on a remote computer or server.
[0075] In the context of this disclosure, a computer-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of computer-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. Furthermore, although operations are depicted in a specific order, this should be understood as requiring that such operations be performed in the specific order shown or in sequential order, or requiring that all illustrated operations be performed to achieve the desired result. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the foregoing discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single implementation. Conversely, various features described in the context of a single implementation may also be implemented individually or in any suitable sub-combination in multiple implementations.
[0076] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. A method (200) for detecting motion state, comprising: Acquire (202) the acceleration information of the user equipment within a predetermined time period; (204) Obtain the air pressure information of the user equipment within the predetermined time period; as well as Based on the acceleration information and the air pressure information, the motion state of the user equipment is determined (206).
2. The method (200) according to claim 1, wherein determining (206) the motion state of the user equipment based on the acceleration information and the air pressure information comprises: The swing state of the user equipment within the predetermined time period is determined based on the acceleration information. The relative altitude of the user equipment within the predetermined time period is determined based on the air pressure information. as well as In response to the swing state indicating that the user equipment is in a walking state and the relative height of the user equipment changes within the predetermined time period, it is determined that the user equipment is in a stair-climbing state within the predetermined time period.
3. The method (200) according to claim 2, wherein determining the relative altitude of the user equipment within the predetermined time period based on the air pressure information comprises: In response to determining that the air pressure information indicates a change in the air pressure of the user equipment during the predetermined time period, it is determined that the relative altitude of the user equipment has changed during the predetermined time period.
4. The method (200) according to claim 2, wherein the acceleration information includes the acceleration change curve of the user equipment during the predetermined time period, wherein determining the oscillation state of the user equipment during the predetermined time period based on the acceleration information includes: In response to determining that the acceleration change curve corresponds to a first acceleration change curve indicating that the user equipment is in a walking state, the swaying state is determined to indicate that the user equipment is in a walking state.
5. The method (200) according to claim 4, wherein the walking state includes a stair-climbing walking state and a planar walking state, wherein Determining the swing state of the user equipment within the predetermined time period based on the acceleration information includes: In response to determining that the acceleration change curve corresponds to a second acceleration change curve indicating that the user equipment is in a stair-climbing state, the swing state is determined to indicate that the user equipment is in a stair-climbing state; And determining that the user equipment is in the state of going up and down stairs during the predetermined time period includes: In response to the swing state indicating that the user equipment is in the stair-climbing state and the relative height of the user equipment changes within the predetermined time period, it is determined that the user equipment is in the stair-climbing state within the predetermined time period.
6. The method (200) according to claim 1, wherein obtaining (204) the air pressure information of the user equipment includes: The air pressure information is acquired when it is determined that the user equipment is in a walking state.
7. The method (200) according to claim 1, wherein obtaining (202) the acceleration information of the user equipment includes: The acceleration information is acquired when it is determined that the relative height of the user equipment has changed.
8. The method (200) according to claim 1, wherein the user equipment includes a wearable device, the wearable device including an accelerometer and a barometric pressure sensor, wherein The acceleration information of user equipment (202) includes: The acceleration information of the wearable device is obtained from the acceleration sensor; Obtaining the air pressure information of the user equipment (204) includes: The air pressure information of the wearable device is obtained from the air pressure sensor.
9. A device (700) for detecting motion state, comprising: The acceleration acquisition unit (702) is configured to acquire acceleration information of the user equipment within a predetermined time period; The air pressure acquisition unit (704) is configured to acquire air pressure information of the user equipment during the predetermined time period; as well as The state determination unit (706) is configured to determine the motion state of the user equipment based on the acceleration information and the air pressure information.
10. A wearable device, comprising: At least one processor; as well as A memory coupled to the at least one processor and having instructions stored thereon, which, when executed by the at least one processor, cause the device to perform the method according to any one of claims 1-8.
11. A computer program product comprising computer-executable instructions, wherein the computer-executable instructions are executed by a processor to implement the method according to any one of claims 1 to 8.