WO2019228419A1 - Gait recognition method and recognition device - Google Patents

Gait recognition method and recognition device Download PDF

Info

Publication number
WO2019228419A1
WO2019228419A1 PCT/CN2019/089081 CN2019089081W WO2019228419A1 WO 2019228419 A1 WO2019228419 A1 WO 2019228419A1 CN 2019089081 W CN2019089081 W CN 2019089081W WO 2019228419 A1 WO2019228419 A1 WO 2019228419A1
Authority
WO
WIPO (PCT)
Prior art keywords
air pressure
state
pressure value
walking
pedestrian
Prior art date
Application number
PCT/CN2019/089081
Other languages
French (fr)
Chinese (zh)
Inventor
陈涛
袁宏永
陈建国
苏国锋
Original Assignee
清华大学
北京辰安科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN201820841673.3U external-priority patent/CN209220287U/en
Priority claimed from CN201810549532.9A external-priority patent/CN109009138B/en
Application filed by 清华大学, 北京辰安科技股份有限公司 filed Critical 清华大学
Publication of WO2019228419A1 publication Critical patent/WO2019228419A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C22/00Measuring distance traversed on the ground by vehicles, persons, animals or other moving solid bodies, e.g. using odometers, using pedometers

Definitions

  • the present application relates to the field of sensor detection, and in particular, to a gait recognition method and a recognition device.
  • the pedometer is mainly composed of a vibration sensor and an electronic counter.
  • the vibration sensor captures this movement and uses electrical pulses to Way to the electronic counter to achieve the purpose of step counting.
  • the purpose of this application is to solve at least one of the above-mentioned technical problems.
  • the first purpose of this application is to propose a gait recognition method.
  • This method makes full use of the information of the barometric pressure sensor, and realizes the recognition of gait information through the change of barometric pressure, which improves the recognition accuracy and the user experience.
  • the second object of the present application is to provide a gait recognition device.
  • the third object of the present application is to propose another gait recognition device.
  • a fourth object of the present application is to propose a computer-readable storage medium.
  • the gait recognition method provided by the embodiment of the first aspect of the present application includes: periodically sampling the air pressure measurement data output by the air pressure sensor, wherein the air pressure sensor is built in the cavity of the insole or sole; The air pressure change rule in the cavity is determined according to the collected air pressure measurement data; the gait information of the pedestrian is identified according to the collected air pressure measurement data and the air pressure change rule.
  • the gait recognition device includes: a sampling module for periodically sampling the pressure measurement data output by the pressure sensor, wherein the pressure sensor is built in the insole or Inside a cavity of a shoe sole; a determination module for determining a pressure change rule in the cavity according to the collected pressure measurement data; an identification module for identifying a trip based on the collected pressure measurement data and the pressure change rule Human gait information.
  • the gait recognition device is built into a cavity of an insole or a sole, and the device includes: a device for detecting air pressure data in the cavity; Barometric pressure sensor, memory, microcontroller, and computer program stored on the memory and executable on the microcontroller.
  • the microcontroller executes the program, the first embodiment of the present application is implemented. Gait recognition method.
  • the air pressure measurement data output by the air pressure sensor can be sampled periodically, wherein the air pressure sensor is built in the cavity of the insole or sole and is measured according to the collected air pressure
  • the data determines the air pressure change law in the cavity, and the gait information of the pedestrian is identified according to the collected air pressure measurement data and the air pressure change law. That is, the pressure sensor is placed in the cavity of the insole or the sole, and the cavity is squeezed and deformed when walking. The pressure inside the cavity changes, and the change is more significant.
  • the measured value detected by the pressure sensor changes significantly, similar to the amplifier to amplify the foot.
  • the changing process of the tribal land and the kicker makes the changes in the air pressure measurement value further reflect the gait change. Then, while using the air pressure sensor to measure the air pressure, the pedestrian's gait information is directly identified through the air pressure measurement data, making full use of the pressure sensor's Information, and realize the recognition of gait information through the change of air pressure, which improves the accuracy of recognition and improves the user experience. In addition, it can be used for step counting in pedestrian navigation, reducing the use of other step counting sensors, and reducing the volume, weight, power consumption and cost of pedestrian navigation devices.
  • a computer-readable storage medium provided by an embodiment of the fourth aspect of the present application implements the gait recognition method according to the first aspect of the present invention when the computer program is executed by a processor.
  • FIG. 1 is a flowchart of a gait recognition method according to an embodiment of the present application.
  • FIG. 2 is a diagram illustrating an example of a waveform of pressure measurement data detected by a pressure sensor according to an embodiment of the present application
  • FIG. 3 is a flowchart of a gait recognition method according to an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a gait recognition device according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a gait recognition device according to a specific embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a gait recognition device according to another embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a cavity of an insole according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a gait recognition device according to another specific embodiment of the present application.
  • FIG. 1 is a flowchart of a gait recognition method according to an embodiment of the present application. It should be noted that the gait recognition method in the embodiment of the present application can be applied to the gait recognition device in the embodiment of the present application.
  • the gait recognition method may include:
  • the gait recognition device may include an air pressure sensor.
  • the air pressure sensor may sensitively detect changes in air pressure, and the air pressure sensor is built into the cavity of the insole (or sole). In this way, when a person walks, the size of the cavity in which the air pressure sensor is placed changes due to the squeeze between the foot and the insole (or sole). The air pressure in the cavity will change significantly as the human body walks. There is an obvious change in air pressure caused by the foot tribal land. When the foot is vacated, the air pressure value returns to normal because the cavity is not deformed. Therefore, this application uses this air pressure change pulse signal to accurately record the foot tribal land. , Flying state, and derivation of gait information such as the number of steps of the human body, the step frequency, the landing state, the flying state, and the walking mode.
  • the air pressure measurement data detected by the air pressure sensor while the pedestrian is walking can be collected periodically.
  • the air pressure measurement data detected by the air pressure sensor when a pedestrian is walking may be collected every 5 seconds, and the sampling time may be 10 seconds. In other words, every 5 seconds, air pressure measurement data detected by the air pressure sensor within 10 seconds can be collected.
  • a change law of the air pressure in the cavity during the acquisition time period is determined.
  • the relationship between air pressure and time can be used to represent the law of air pressure change.
  • the collected air pressure measurement data detected by the air pressure sensor while the pedestrian is walking is represented by a correspondence graph between air pressure and time, and the change in air pressure in the cavity can be determined through the correspondence graph.
  • Regularity for example, the air pressure change in the E time period shown in FIG. 2 is large, and the air pressure change in the F time period is relatively stable.
  • the gait information may include, but is not limited to, a tribal land state, a vacated state, a number of steps, a step frequency, a walking manner, and the like.
  • certain algorithmic processing can be performed on the collected air pressure measurement data and the air pressure change rule to obtain gait information of pedestrians, such as landing and flying states (also referred to as landing and flying times), steps, Cadence, walking style, landing strength, etc.
  • the specific implementation process of identifying the gait information of the pedestrian according to the collected air pressure measurement data and the air pressure change rule may include:
  • S310 Determine the foot status of the pedestrian at each sampling time according to the collected air pressure measurement data, wherein the foot status includes a landing status and a flying status;
  • the pressure value Pk at the current sampling time is determined from the collected pressure measurement data, and the difference between the pressure value Pk at the current sampling time and the normal pressure value PN at the current sampling time is calculated. If the absolute value of the difference is greater than the target threshold, it is determined that the foot state of the pedestrian at the current sampling time is a landing state; if the absolute value of the difference is less than the target threshold, it is determined that the pedestrian is in the The foot state at the current sampling time is a vacated state.
  • the foot when a pedestrian is walking, the foot can be divided into a grounded state and a vacated state. When the foot tribe land, touching the ground and kicking the feet are a continuous process. There is a large change in air pressure, which appears to increase or decrease rapidly, as shown in Figure 2.
  • the time period E can be regarded as a landing state
  • the time period F can be regarded as a foot empty state.
  • the pressure value Pk of the current sampling time k can be determined from the collected pressure measurement data, and the pressure value Pk of the current sampling time k and the current sampling time can be determined.
  • the difference between the normal pressure value PN and the target threshold value Tp is compared. For example, if the absolute value of the difference value is greater than the target threshold value Tp, the foot of the pedestrian at the current sampling time may be determined.
  • the state is a landing state; if the absolute value of the difference is less than the target threshold Tp, it is determined that the foot state of the pedestrian at the current sampling time is a vacated state.
  • the normal pressure value at the sampling time is used to indicate the pressure value that is stable and lasts for a certain period of time during the sampling time;
  • the absolute value of the difference between the air pressure value Pk and the normal air pressure value PN at the current sampling time can be used as the determination value of the foot state at the current sampling time, and the determination value can be compared with the target threshold. According to the comparison result, it is determined whether the foot state at the current sampling time is the landing state or the flying state.
  • the pressure value waveform of the target landing state is found from the pressure change rule, wherein the target landing state is used to indicate that the cumulative time of the foot tribe land is greater than the first time A time threshold landing state, and an air pressure value waveform of a target empty state from the air pressure change rule according to the air pressure value waveform corresponding to the empty state, wherein the target empty state is used to indicate the time of foot empty A vacated state whose accumulated time is greater than a second time threshold; based on the pressure value waveform of the target landing state and the pressure value waveform of the target vacated state, determining that the target landing state and the target vacated state alternately appear from the pressure change rule.
  • the target landing state and the target vacant state alternately appear, calculate the number of steps of the pedestrian while walking, and use the number of steps and the number of steps used by the pedestrian to walk the steps Time, calculating the cadence of the pedestrian while walking. For example, if the number of times is one, that is, the number of steps is one step, and the number of times is five times, then the number of steps is five steps.
  • the air pressure value output by the air pressure sensor will show a certain periodic law, which can be analyzed to obtain the number of walking steps.
  • the air pressure change rule in the cavity can be represented by the air pressure change waveform shown in FIG. 2
  • the air pressure change waveform shown in FIG. 2 can be analyzed and processed according to the waveform of the foot tribal land state and the vacated state to obtain walking. Steps M.
  • the foot needs to have two states of landing and flying, and each state needs to meet a certain length of time.
  • the accumulated time of the foot tribe land state is td, and let the accumulated time of the foot tribe land state be tt;
  • the time thresholds of the foot tribal land and airspace are td1 (that is, the first time threshold) and tt1 (the second time threshold).
  • the threshold settings can be obtained based on the analysis of pedestrians' various motion characteristics, and can be designed to be adaptive in the future. Estimation mode.
  • the current state of the foot tribe can be determined in real time, and the cumulative time td and tt of the current step landing and vacation of the foot can be recorded in real time, so the calculation method of the number of walking steps can be as follows:
  • the maximum pressure and the minimum value of the pressure within a preset time are obtained from the collected pressure measurement data, wherein the preset time is used to indicate a walking time covering at least one step; calculating the preset The difference between the maximum value of the air pressure and the minimum value of the air pressure over time, and the difference is taken as the variation range of the air pressure value.
  • walking and running when pedestrians walk, they can be divided into multiple walking modes such as walking and running. They can also distinguish between slow walking and fast walking for walking, and distinguish between jogging and fast running for running.
  • the walking intensity gradually increases.
  • the intensity of the foot tribe gradually increases, the cavity deformation also gradually increases, and the magnitude of the change in the pressure value detected by the pressure sensor will also increase. Therefore, the pedestrian's Way of walking.
  • the difference between the maximum air pressure value and the minimum air pressure value over a period of time can be selected from the collected air pressure measurement data as the determination value of the walking mode.
  • the selected time period that is, the above-mentioned preset time
  • t time needs to be able to cover at least one step of walking time
  • the current time of t can be selected to be within the time period of t
  • the maximum value of the atmospheric pressure and the minimum value of the atmospheric pressure, and the difference between the maximum value of the atmospheric pressure and the minimum value of the atmospheric pressure is taken as the variation range of the atmospheric pressure value.
  • the walking mode is slow walking; when the variation range of the air pressure value is greater than or equal to the first determination threshold and smaller than the second determination When the threshold is determined, the walking mode is determined to be fast walking; when the variation range of the air pressure value is greater than or equal to the second determination threshold value and less than the third determination threshold value, the walking mode is determined to be jogging; when the air pressure value is When the variation range is greater than or equal to the third determination threshold, it is determined that the walking mode is fast running.
  • the Pm value range under different walking modes can be determined and set as the determination threshold for various walking modes, as follows:
  • the walking method is slow walking; if Pm1 ⁇ Pm ⁇ the second decision threshold Pm2, the walking method is fast walking; if Pm2 ⁇ Pm ⁇ the third decision threshold Pm3, the walking method is Jog; if Pm ⁇ Pm3, the walking mode is fast running. Therefore, the change in the air pressure value output by the air pressure sensor can be matched with the determination threshold in various walking modes to identify the walking mode of the pedestrian when walking.
  • the air pressure measurement data output by the air pressure sensor may be sampled periodically, wherein the air pressure sensor is built in the cavity of the insole or the sole of the shoe and is determined according to the collected air pressure measurement data.
  • the air pressure change rule in the cavity, and the gait information of the pedestrian is identified according to the collected air pressure measurement data and the air pressure change rule. That is, the pressure sensor is placed in the cavity of the insole or the sole, and the cavity is squeezed and deformed when walking. The pressure inside the cavity changes, and the change is more significant.
  • the measured value detected by the pressure sensor changes significantly, similar to the amplifier to amplify the foot.
  • the changing process of the tribal land and the kicker makes the changes in the air pressure measurement value further reflect the gait change. Then, while using the air pressure sensor to measure the air pressure, the pedestrian's gait information is directly identified through the air pressure measurement data. Information, and realize the recognition of gait information through the change of air pressure, which improves the accuracy of recognition and improves the user experience. In addition, it can be used for step counting in pedestrian navigation, reducing the use of other step counting sensors, and reducing the volume, weight, power consumption and cost of pedestrian navigation devices.
  • an embodiment of the present application further provides a gait recognition device. Since the gait recognition device provided by the embodiments of the present application is similar to the gait recognition device provided by the foregoing embodiments, The gait recognition method corresponds to this. Therefore, the foregoing implementation manner of the gait recognition method is also applicable to the gait recognition device provided in this embodiment, which will not be described in detail in this embodiment.
  • FIG. 4 is a schematic structural diagram of a gait recognition device according to an embodiment of the present application.
  • the gait recognition apparatus 400 may include a sampling module 410, a determination module 420, and a recognition module 430.
  • the sampling module 410 is configured to periodically sample the air pressure measurement data output by the air pressure sensor, wherein the air pressure sensor is built into the cavity of the insole or sole.
  • the determination module 420 is configured to determine a pressure change rule in the cavity according to the collected pressure measurement data.
  • the identification module 430 is configured to identify the gait information of the pedestrian according to the collected air pressure measurement data and the air pressure change rule.
  • the gait information may include, but is not limited to, a tribal land state, a vacated state, a number of steps, a step frequency, a walking manner, and the like.
  • the recognition module 430 may include: a foot state determination unit 431, a calculation unit 432, an acquisition unit 433, and a determination unit 434.
  • the foot state determination unit 431 is configured to determine the foot state of the pedestrian at each sampling time according to the collected air pressure measurement data, wherein the foot state includes a landing state and a vacated state; as In one example, the foot state determination unit 431 is specifically configured to determine the air pressure value Pk at the current sampling time from the collected air pressure measurement data; calculate the air pressure value Pk at the current sampling time and the normal air pressure at the current sampling time The difference between the values PN; if the absolute value of the difference is greater than the target threshold, determining that the foot state of the pedestrian at the current sampling time is a landing state; if the absolute value of the difference is less than the The target threshold value determines that the foot state of the pedestrian at the current sampling time is a vacated state.
  • the calculation unit 432 is configured to calculate the number of steps and the frequency of the pedestrian while walking according to the pressure change rule, the pressure value waveform corresponding to the landing state, and the pressure value waveform corresponding to the vacated state; as an example
  • the calculation unit 432 is specifically configured to find the air pressure value waveform of the target landing state from the air pressure change rule according to the air pressure value waveform corresponding to the landing state, wherein the target landing state is used to indicate the accumulation of the time of the foot tribe land A landing state with a time greater than a first time threshold; and an air pressure value waveform of a target empty state is found from the air pressure change rule according to the air pressure value waveform corresponding to the empty state, wherein the target empty state is used to indicate a foot
  • the accumulated time at the moment of flight is greater than the threshold state of the second time; according to the pressure value waveform of the target landing state and the pressure value waveform of the target empty state, determine the target landing state and the target empty from the pressure change rule.
  • the obtaining unit 433 is configured to obtain a variation range of the pressure value according to the collected pressure measurement data.
  • the obtaining unit 433 is specifically configured to obtain the maximum pressure within a preset time from the collected pressure measurement data. Value and minimum pressure, wherein the preset time is used to indicate a walking time covering at least one step; calculating a difference between the maximum pressure and the minimum pressure within the preset time, and using the difference As the change range of the air pressure value.
  • the determining unit 434 is configured to determine a walking mode of the pedestrian when walking according to a variation range of the air pressure value.
  • the determining unit 434 is specifically configured to: when the variation range of the air pressure value is smaller than the first determination threshold, determine that the walking mode is slow walking; when the variation range of the air pressure value is greater than or equal to the first When the determination threshold value is less than the second determination threshold value, the walking mode is determined to be fast walking; when the pressure value variation range is greater than or equal to the second determination threshold value and is less than the third determination threshold value, the walking manner is determined It is jogging; when the variation range of the air pressure value is greater than or equal to the third determination threshold, it is determined that the walking mode is fast running.
  • the air pressure sensor can be placed in the cavity of the insole or the sole, and the cavity is compressed and deformed during walking, and the pressure inside the cavity changes, and the change is more significant.
  • the measured value changes significantly, similar to the amplifier amplifying the changing process of the foot tribe and kicking feet, so that the change in the pressure measurement value further reflects the gait change, and then using the pressure sensor to measure the pressure, directly identify the pedestrian through the pressure measurement data
  • the gait information makes full use of the information of the air pressure sensor, and realizes the recognition of gait information through the change of air pressure, which improves the accuracy of recognition and the user experience.
  • it can be used for step counting in pedestrian navigation, reducing the use of other step counting sensors, and reducing the volume, weight, power consumption and cost of pedestrian navigation devices.
  • FIG. 6 is a schematic structural diagram of a gait recognition device according to another embodiment of the present application.
  • the gait recognition device 600 may include: an air pressure sensor 610, a memory 620, a microcontroller 630, and a computer program 640.
  • the gait recognition device 600 may be built into a cavity of an insole or a sole.
  • the gait recognition device 600 may be built into the cavity A of the insole. That is, a cavity may be provided on the insole, and the gait recognition device 600 may be placed in the cavity, and the air pressure data in the cavity may be detected by the air pressure sensor 610 in the gait identification device 600.
  • the computer program 640 can be stored on the memory 620 and can be run on the microcontroller 630.
  • the microcontroller 630 executes the program 640, the gait recognition method described in any one of the foregoing embodiments of the present application can be implemented.
  • the gait recognition device 600 may further include a Bluetooth module 650.
  • the Bluetooth module 650 is connected to the microcontroller 630.
  • the Bluetooth module 650 may be used to perform Bluetooth pairing with the terminal device B, and when the pairing is successful, send the barometric pressure measurement data and gait information stored in the memory 620 to the terminal device B.
  • gait data transmission can be performed using Bluetooth low energy transmission technology, which has good ease of use and low power consumption.
  • the terminal device B is used to perform Bluetooth pairing with the Bluetooth module 650 in the gait recognition device 600 through Bluetooth communication.
  • the microcontroller 630 may use the Bluetooth module 650 to store the pressure measurement data stored in the memory 620 and The gait information is sent to the terminal device B.
  • the corresponding data acquisition application software can be designed on terminal device B to collect, store, display and process data in real time.
  • the terminal device may be a hardware device such as a mobile phone or a tablet computer.
  • the gait recognition device 600 can real-time use the Bluetooth module 650 to measure the pressure measurement data detected by the pressure sensor 610 and the identified gait information. Send to terminal device B for display.
  • the gait identification device 600 may store the pressure measurement data detected by the air pressure sensor 610 and the identified gait information in the memory 620;
  • the historical data stored in the memory 620 can be synchronized to the terminal device B, and the current gait information identification data is displayed.
  • the gait identification device 600 may further include a power module 660.
  • the power module 660 can be used to provide power to the gait identification device 600.
  • a power module 660 may be built in the gait identification device 600. In this way, power is provided to the gait identification device 600 through the power module 660 to ensure that other components or modules of the gait identification device 600 can be used normally.
  • the power module 660 may be a lithium battery.
  • the gait recognition device 600 may further include a prompt module 670 and a power detection module 680.
  • the prompt module 670 is connected to the microcontroller 630
  • the power detection module 680 is connected to the microcontroller 630 and the power module 660, respectively.
  • the power detection module 680 may be configured to send an instruction for insufficient power to the microcontroller 630 when it is detected that the power of the power supply module 660 is less than the first preset threshold.
  • the microcontroller 630 receives the instruction, it controls the prompt module 670 to prompt.
  • the prompting module 670 may include an LED light and / or a micro-vibration motor, or the prompting module 670 may also be a siren or an siren, or it may also be a voice prompting module, that is, reminding through a voice play. The user's current power supply is low.
  • the power detection module 680 can detect the power of the power module 660, and when detecting that the power of the power module 660 is less than a first preset threshold, it sends a Low battery command.
  • the microcontroller 630 receives the instruction, it can light up the LED light and flash the LED light at a preset frequency to remind the user that the current power supply is insufficient and that the power supply module 660 needs to be charged.
  • the gait recognition device 600 may further include a power charging and protection module 690.
  • the power charging and protection module 690 is connected to the power module 660 and the microcontroller 630, respectively.
  • the power charging and protection module 690 can be used to charge the power module 660 and protect it from overcharge. More specifically, when the power detection module 680 detects that the power of the power module 660 is insufficient, the microcontroller 630 may send a power charging instruction to the power charging and protection module 690. When the power charging and protection module 690 receives the power charging instruction, it can charge the power module 660.
  • the power detection module 680 can detect the power of the power module 660 and send a signal to the power charging and protection module 690 when the power of the power module 660 is greater than a certain threshold.
  • the power charging and protection module 690 is receiving When this signal is reached, the charging operation of the power module 660 is stopped to prevent overcharging.
  • the gait recognition device 600 may further include a reset module 6100.
  • the reset module 6100 is connected to the microcontroller 630.
  • the microcontroller 630 detects that the gait recognition device 600 needs to be initialized, it can send a reset instruction to the reset module 6100.
  • the reset module 6100 receives the reset instruction, it can perform a reset operation on the gait recognition device 600.
  • the gait recognition device 600 may have a key externally connected to the reset module 6100. When the user triggers the key, the reset module 6100 can detect that the user has triggered the key. At this time, the reset module 6100 The gait recognition device 600 may be reset.
  • the pedestrian's gait information is identified through the pressure data measured by the pressure sensor, and the information of the sensor is fully used.
  • the number of steps is calculated through the change of the pressure, which improves the accuracy of step counting. In the process, there is no need to tie other devices on the hands and feet of the user, which improves the user experience.
  • the present invention further provides a computer program that, when executed by a processor, implements the gait recognition method according to any one of the above embodiments.
  • first and second are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as “first” and “second” may explicitly or implicitly include at least one of the features. In the description of the present application, the meaning of "plurality” is at least two, for example, two, three, etc., unless it is specifically and specifically defined otherwise.
  • Any process or method description in a flowchart or otherwise described herein can be understood as representing a module, fragment, or portion of code that includes one or more executable instructions for implementing a particular logical function or step of a process
  • the scope of the preferred embodiments of the present application includes additional implementations, in which the functions may be performed out of the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order according to the functions involved, which should It is understood by those skilled in the art to which the embodiments of the present application pertain.
  • a sequenced list of executable instructions that can be considered to implement a logical function can be embodied in any computer-readable medium,
  • the instruction execution system, device, or device such as a computer-based system, a system including a processor, or other system that can fetch and execute instructions from the instruction execution system, device, or device), or combine these instruction execution systems, devices, or devices Or equipment.
  • a "computer-readable medium” may be any device that can contain, store, communicate, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device.
  • computer readable media include the following: electrical connections (electronic devices) with one or more wirings, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disk read-only memory (CDROM).
  • the computer-readable medium may even be paper or other suitable medium on which the program can be printed, because, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other suitable Processing to obtain the program electronically and then store it in computer memory.
  • each part of the application may be implemented by hardware, software, firmware, or a combination thereof.
  • multiple steps or methods may be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it may be implemented using any one or a combination of the following techniques known in the art: Discrete logic circuits, application specific integrated circuits with suitable combinational logic gate circuits, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.
  • a person of ordinary skill in the art can understand that all or part of the steps carried by the methods in the foregoing embodiments may be implemented by a program instructing related hardware.
  • the program may be stored in a computer-readable storage medium.
  • the program is When executed, one or a combination of the steps of the method embodiment is included.
  • each functional unit in each embodiment of the present application may be integrated into one processing module, or each unit may exist separately physically, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or software functional modules. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
  • the aforementioned storage medium may be a read-only memory, a magnetic disk, or an optical disk.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

A gait recognition method, comprising: periodically sampling air pressure measurement data which are outputted by an air pressure sensor (S110), determining an air pressure change rule in a chamber according to the acquired air pressure measurement data (S120); and identifying gait information of a traveler according to the air pressure measurement data and the air pressure change rule (S130), wherein the air pressure sensor is provided in a shoe insert or a chamber of a sole. Also disclosed are a related device and a computer program medium.

Description

步态识别方法和识别装置Gait recognition method and recognition device
相关申请的交叉引用Cross-reference to related applications
本申请要求于2018年5月31日提交中国专利局、申请号为201810549532.9、发明名称为“步态识别方法和识别装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority from a Chinese patent application filed with the Chinese Patent Office on May 31, 2018, with application number 201810549532.9, and with the invention name "gait recognition method and device", the entire contents of which are incorporated herein by reference. .
本申请要求于2018年5月31日提交中国专利局、申请号为201820841673.3、发明名称为“用于步态识别的测量装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on May 31, 2018, with application number 201820841673.3, and the invention name is "measurement device for gait recognition", the entire contents of which are incorporated herein by reference. in.
技术领域Technical field
本申请涉及传感器检测领域,尤其涉及一种步态识别方法和识别装置。The present application relates to the field of sensor detection, and in particular, to a gait recognition method and a recognition device.
背景技术Background technique
目前人们主要通过计步器来获知自己所走的步数,其计步器主要由振动传感器和电子计数器组成,行人在步行时身体重心会上下振动,振动传感器通过捕获这个动作,以电脉冲的方式发送给电子计数器以达到计步的目的。At present, people mainly know the number of steps they take through a pedometer. The pedometer is mainly composed of a vibration sensor and an electronic counter. When a pedestrian walks, the center of gravity of the body will vibrate up and down. The vibration sensor captures this movement and uses electrical pulses to Way to the electronic counter to achieve the purpose of step counting.
但是,通过人为的上下晃动也会导致计步器进行计步,即使在没有走路,计步器仍会认为行人在走路并进行计数,因此导致计步准确率低,用户体验变差。同时,电子计步器能够得到的步态信息非常有限,仅限于步数、步频等信息,不能得到脚部的步态信息。However, artificial swaying will also cause the pedometer to perform step counting. Even when there is no walking, the pedometer still thinks that the pedestrian is walking and counting, thus resulting in low step counting accuracy and poor user experience. At the same time, the gait information that the electronic pedometer can obtain is very limited. It is limited to the number of steps and the frequency, and cannot obtain the gait information of the foot.
发明内容Summary of the Invention
本申请的目的旨在至少在一定程度上解决上述的技术问题之一。The purpose of this application is to solve at least one of the above-mentioned technical problems.
为此,本申请的第一个目的在于提出一种步态识别方法。该方法充分利用了气压传感器的信息,并通过气压变化来实现步态信息的识别,提高了识别准确率,提升了用户的使用体验。For this reason, the first purpose of this application is to propose a gait recognition method. This method makes full use of the information of the barometric pressure sensor, and realizes the recognition of gait information through the change of barometric pressure, which improves the recognition accuracy and the user experience.
本申请的第二个目的在于提出一种步态识别装置。The second object of the present application is to provide a gait recognition device.
本申请的第三个目的在于提出另一种步态识别装置。The third object of the present application is to propose another gait recognition device.
本申请的第四个目的在于提出一种计算机可读存储介质。A fourth object of the present application is to propose a computer-readable storage medium.
为达到上述目的,本申请第一方面实施例提出的步态识别方法,包括:周期性地对气压传感器输出的气压测量数据进行采样,其中,所述气压传感器内置于鞋垫或鞋底的腔体内;根据采集到的气压测量数据确定所述腔体内的气压变化规律;根据所述采集到的气压测量数据和所述气压变化规律,识别出行人的步态信息。In order to achieve the above object, the gait recognition method provided by the embodiment of the first aspect of the present application includes: periodically sampling the air pressure measurement data output by the air pressure sensor, wherein the air pressure sensor is built in the cavity of the insole or sole; The air pressure change rule in the cavity is determined according to the collected air pressure measurement data; the gait information of the pedestrian is identified according to the collected air pressure measurement data and the air pressure change rule.
为达到上述目的,本申请第二方面实施例提出的步态识别装置,包括:采样模块,用于周期性地对气压传感器输出的气压测量数据进行采样,其中,所述气压传感器内置于鞋垫或鞋底的腔体内;确定模块,用于根据采集到的气压测量数据确定所述腔体内的气压变化规律;识别模块,用于根据所述采集到的气压测量数据和所述气压变化规律,识别出行人的步态信息。In order to achieve the above object, the gait recognition device provided by the embodiment of the second aspect of the present application includes: a sampling module for periodically sampling the pressure measurement data output by the pressure sensor, wherein the pressure sensor is built in the insole or Inside a cavity of a shoe sole; a determination module for determining a pressure change rule in the cavity according to the collected pressure measurement data; an identification module for identifying a trip based on the collected pressure measurement data and the pressure change rule Human gait information.
为达到上述目的,本申请第三方面实施例提出的步态识别装置,所述步态识别装置内置于鞋垫或鞋底的腔体内,所述装置包括:用于检测所述腔体内的气压数据的气压传感器、存储器、微控制器及存储在所述存储器上并可在所述微控制器上运行的计算机程序,所述微控制器执行所述程序时,实现本申请第一方面实施例所述的步态识别方法。To achieve the above object, a gait recognition device provided in an embodiment of the third aspect of the present application, the gait recognition device is built into a cavity of an insole or a sole, and the device includes: a device for detecting air pressure data in the cavity; Barometric pressure sensor, memory, microcontroller, and computer program stored on the memory and executable on the microcontroller. When the microcontroller executes the program, the first embodiment of the present application is implemented. Gait recognition method.
根据本申请实施例的步态识别方法和装置,可以周期性地对气压传感器输出的气压测量数据进行采样,其中,所述气压传感器内置于鞋垫或鞋底的腔体内,并根据采集到的气压测量数据确定所述腔体内的气压变化规律,以及根据所述采集到的气压测量数据和所述气压变化规律,识别出行人的步态信息。即利用将气压传感器放置于鞋垫或鞋底的腔体内,利用行走时腔体受挤压变形,腔体内部气压变化,而且变化较为显著,气压传感器检测的测量值变化显著,类似于放大器放大了足部落地和起脚的变化过程,使得气压测量值变化进一步反映出步态变化,进而利用气压传感器在测量气压的同时,直接通过气压测量数据识别出行人的步态信息,充分利用了气压传感器的信息,并通过气压变化来实现步态信息的识别,提高了识别准确率,提升了用户的使用体验。另外,可以用于行人导航中的计步,减少其他计步传感器的使用,减少行人导航装置的体积、重量、功耗和成本。According to the gait recognition method and device in the embodiments of the present application, the air pressure measurement data output by the air pressure sensor can be sampled periodically, wherein the air pressure sensor is built in the cavity of the insole or sole and is measured according to the collected air pressure The data determines the air pressure change law in the cavity, and the gait information of the pedestrian is identified according to the collected air pressure measurement data and the air pressure change law. That is, the pressure sensor is placed in the cavity of the insole or the sole, and the cavity is squeezed and deformed when walking. The pressure inside the cavity changes, and the change is more significant. The measured value detected by the pressure sensor changes significantly, similar to the amplifier to amplify the foot. The changing process of the tribal land and the kicker makes the changes in the air pressure measurement value further reflect the gait change. Then, while using the air pressure sensor to measure the air pressure, the pedestrian's gait information is directly identified through the air pressure measurement data, making full use of the pressure sensor's Information, and realize the recognition of gait information through the change of air pressure, which improves the accuracy of recognition and improves the user experience. In addition, it can be used for step counting in pedestrian navigation, reducing the use of other step counting sensors, and reducing the volume, weight, power consumption and cost of pedestrian navigation devices.
为达到上述目的,本申请第四方面实施例提出的一种计算机可读存储介质,所述计算机程序被处理器执行时实现本发明第一方面实施例所述的步态识别方法。In order to achieve the foregoing object, a computer-readable storage medium provided by an embodiment of the fourth aspect of the present application implements the gait recognition method according to the first aspect of the present invention when the computer program is executed by a processor.
本申请附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。Additional aspects and advantages of the present application will be given in part in the following description, part of which will become apparent from the following description, or be learned through practice of the present application.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments with reference to the accompanying drawings, in which:
图1是根据本申请一个实施例的步态识别方法的流程图;FIG. 1 is a flowchart of a gait recognition method according to an embodiment of the present application; FIG.
图2是根据本申请实施例的气压传感器检测的气压测量数据的波形示例图;2 is a diagram illustrating an example of a waveform of pressure measurement data detected by a pressure sensor according to an embodiment of the present application;
图3是根据本申请实施例的步态识别方法的流程图;3 is a flowchart of a gait recognition method according to an embodiment of the present application;
图4是根据本申请一个实施例的步态识别装置的结构示意图;4 is a schematic structural diagram of a gait recognition device according to an embodiment of the present application;
图5是根据本申请一个具体实施例的步态识别装置的结构示意图;5 is a schematic structural diagram of a gait recognition device according to a specific embodiment of the present application;
图6是根据本申请另一个实施例的步态识别装置的结构示意图;6 is a schematic structural diagram of a gait recognition device according to another embodiment of the present application;
图7是根据本申请实施例的鞋垫的腔体结构示意图;7 is a schematic structural diagram of a cavity of an insole according to an embodiment of the present application;
图8是根据本申请另一个具体实施例的步态识别装置的结构示意图。FIG. 8 is a schematic structural diagram of a gait recognition device according to another specific embodiment of the present application.
具体实施方式Detailed ways
下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本申请,而不能理解为对本申请的限制。Hereinafter, embodiments of the present application are described in detail. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the drawings are exemplary, and are intended to explain the present application, and should not be construed as limiting the present application.
下面参考附图描述本申请实施例的步态识别方法和识别装置。The following describes a gait recognition method and a recognition device according to embodiments of the present application with reference to the drawings.
图1是根据本申请一个实施例的步态识别方法的流程图。需要说明的是,本申请实施例的步态识别方法可应用于本申请实施例的步态识别装置。FIG. 1 is a flowchart of a gait recognition method according to an embodiment of the present application. It should be noted that the gait recognition method in the embodiment of the present application can be applied to the gait recognition device in the embodiment of the present application.
如图1所示,该步态识别方法可以包括:As shown in FIG. 1, the gait recognition method may include:
S110,周期性地对气压传感器输出的气压测量数据进行采样。S110. Sampling the air pressure measurement data output by the air pressure sensor periodically.
需要说明的是,在本申请的实施例中,步态识别装置可包括气压传感器,气压传感器可以灵敏感知气压的变化,将气压传感器内置于鞋垫(或鞋底)的腔体内。这样,人在行走时,由于足部与鞋垫(或鞋底)之间的挤压,放置气压传感器的腔体空间大小发生变化,其内的气压会随着人体行走而产生明显变化,气压传感器输出产生明显的随足部落地而产生的气压变化,足部腾空时,由于腔体未受力变形,气压值恢复正常,为此,本申请利用这个气压变化脉冲信号,可以准确地记录足部落地、腾空状态,并依此推导出人体运动步数、步频、落地状态、腾空状态、步行方式等步态信息。It should be noted that, in the embodiment of the present application, the gait recognition device may include an air pressure sensor. The air pressure sensor may sensitively detect changes in air pressure, and the air pressure sensor is built into the cavity of the insole (or sole). In this way, when a person walks, the size of the cavity in which the air pressure sensor is placed changes due to the squeeze between the foot and the insole (or sole). The air pressure in the cavity will change significantly as the human body walks. There is an obvious change in air pressure caused by the foot tribal land. When the foot is vacated, the air pressure value returns to normal because the cavity is not deformed. Therefore, this application uses this air pressure change pulse signal to accurately record the foot tribal land. , Flying state, and derivation of gait information such as the number of steps of the human body, the step frequency, the landing state, the flying state, and the walking mode.
首先,可周期性地采集行人行走时气压传感器检测的气压测量数据。例如,可每隔5秒采集一次行人行走时气压传感器检测的气压测量数据,其中,采样时间可为10秒。也就是说,每隔5秒钟,可采集一次气压传感器在10秒内检测到的气压测量数据。First, the air pressure measurement data detected by the air pressure sensor while the pedestrian is walking can be collected periodically. For example, the air pressure measurement data detected by the air pressure sensor when a pedestrian is walking may be collected every 5 seconds, and the sampling time may be 10 seconds. In other words, every 5 seconds, air pressure measurement data detected by the air pressure sensor within 10 seconds can be collected.
S120,根据采集到的气压测量数据确定腔体内的气压变化规律。S120. Determine a pressure change rule in the cavity according to the collected pressure measurement data.
可选地,根据采集到的所有气压测量数据来确定在采集时间段内腔体的气压变化规律。举例而言,可通过气压与时间之间的对应关系图来表示该气压变化规律。例如,如图2所示,将采集到的行人行走时气压传感器检测的气压测量数据,利用气压与时间之间的对应关系图来表示,通过该对应关系图即可确定出腔体内的气压变化规律,比如,图2所示的E时间段内的气压变化较大,F时间段内的气压变化比较平稳。Optionally, according to all the collected air pressure measurement data, a change law of the air pressure in the cavity during the acquisition time period is determined. For example, the relationship between air pressure and time can be used to represent the law of air pressure change. For example, as shown in FIG. 2, the collected air pressure measurement data detected by the air pressure sensor while the pedestrian is walking is represented by a correspondence graph between air pressure and time, and the change in air pressure in the cavity can be determined through the correspondence graph. Regularity, for example, the air pressure change in the E time period shown in FIG. 2 is large, and the air pressure change in the F time period is relatively stable.
S130,根据采集到的气压测量数据和气压变化规律,识别出行人的步态信息。其中,在本申请的实施例中,所述步态信息可包括但不限于足部落地状态、腾空状态、步数、步频和步行方式等。S130. Identify the gait information of the pedestrian according to the collected pressure measurement data and the pressure change rule. Wherein, in the embodiment of the present application, the gait information may include, but is not limited to, a tribal land state, a vacated state, a number of steps, a step frequency, a walking manner, and the like.
可选地,对采集到的气压测量数据和所述气压变化规律进行一定的算法处理即可得到行人的步态信息,如落地和腾空状态(也可称为落地和腾空时刻)、步数、步频、步行方式、落地力度等。作为一种示例,如图3所示,所述根据采集到的气压测量数据和气压变化规律,识别出行人的步态信息的具体实现过程可包括:Optionally, certain algorithmic processing can be performed on the collected air pressure measurement data and the air pressure change rule to obtain gait information of pedestrians, such as landing and flying states (also referred to as landing and flying times), steps, Cadence, walking style, landing strength, etc. As an example, as shown in FIG. 3, the specific implementation process of identifying the gait information of the pedestrian according to the collected air pressure measurement data and the air pressure change rule may include:
S310,根据采集到的气压测量数据对行人在每个采样时刻的足部状态进行判定,其中,足部状态包括落地状态和腾空状态;S310. Determine the foot status of the pedestrian at each sampling time according to the collected air pressure measurement data, wherein the foot status includes a landing status and a flying status;
可选地,从采集到的气压测量数据中确定当前采样时刻的气压值Pk,并计算所述当前采样时刻的气压值Pk与当前采样时刻的正常气压值PN之间的差值,如果所述差值的绝对值大于目标阈值,则判定所述行人在所述当前采样时刻的足部状态为落地状态;如果所述差值的绝对值小于所述目标阈值,则判定所述行人在所述当前采样时刻的足部状态为腾空状态。Optionally, the pressure value Pk at the current sampling time is determined from the collected pressure measurement data, and the difference between the pressure value Pk at the current sampling time and the normal pressure value PN at the current sampling time is calculated. If the absolute value of the difference is greater than the target threshold, it is determined that the foot state of the pedestrian at the current sampling time is a landing state; if the absolute value of the difference is less than the target threshold, it is determined that the pedestrian is in the The foot state at the current sampling time is a vacated state.
可以理解,行人在行走时,足部可分为落地状态和腾空状态,在足部落地时,触地和起脚是一个连贯的过程,气压传感器所在腔体受挤压,所述腔体周围气压发生较大变化,表现为快速增大或减小,如图2所示,其中,E时间段可认为是落地状态,F时间段可认为是足部腾空状态。It can be understood that when a pedestrian is walking, the foot can be divided into a grounded state and a vacated state. When the foot tribe land, touching the ground and kicking the feet are a continuous process. There is a large change in air pressure, which appears to increase or decrease rapidly, as shown in Figure 2. Among them, the time period E can be regarded as a landing state, and the time period F can be regarded as a foot empty state.
举例而言,在本示例中,假设采样时刻为k,可从采集到的气压测量数据中确定当前采样时刻k的气压值Pk,并将所述当前采样时刻k的气压值Pk与当前采样时刻的正常气压值PN之间的差值,与目标阈值Tp进行大小比对,例如,如果所述差值的绝对值大于目标阈值Tp,则可判定所述行人在所述当前采样时刻的足部状态为落地状态;如果所述差值的绝对值小于所述目标阈值Tp,则判定所述行人在所述当前采样时刻的足部状态为腾空状态。其中,在本申请的实施例中,所述采样时刻的正常气压值用于指示在采样时刻内处于稳定且持续一定时长状态的气压值;所述目标阈值Tp可通过以下公式计算而得到:Tp=3~5σ,其 中,σ为当前正常气压值的均方差,Tp表示当前采样时刻的正常气压值的均方差σ的3~5倍。For example, in this example, assuming that the sampling time is k, the pressure value Pk of the current sampling time k can be determined from the collected pressure measurement data, and the pressure value Pk of the current sampling time k and the current sampling time can be determined. The difference between the normal pressure value PN and the target threshold value Tp is compared. For example, if the absolute value of the difference value is greater than the target threshold value Tp, the foot of the pedestrian at the current sampling time may be determined. The state is a landing state; if the absolute value of the difference is less than the target threshold Tp, it is determined that the foot state of the pedestrian at the current sampling time is a vacated state. Wherein, in the embodiment of the present application, the normal pressure value at the sampling time is used to indicate the pressure value that is stable and lasts for a certain period of time during the sampling time; the target threshold value Tp can be calculated by the following formula: Tp = 3 ~ 5σ, where σ is the mean square error of the current normal pressure value, and Tp represents 3 to 5 times the mean square error σ of the normal pressure value at the current sampling time.
这样,可通过当前采样时刻的气压值Pk与正常气压值PN之间的差值的绝对值来作为当前采样时刻的足部状态的判定值,并将该判定值与目标阈值进行大小比对,并根据比对结果来判定当前采样时刻的足部状态是落地状态还是腾空状态。In this way, the absolute value of the difference between the air pressure value Pk and the normal air pressure value PN at the current sampling time can be used as the determination value of the foot state at the current sampling time, and the determination value can be compared with the target threshold. According to the comparison result, it is determined whether the foot state at the current sampling time is the landing state or the flying state.
S320,根据气压变化规律、落地状态对应的气压值波形和腾空状态对应的气压值波形,计算行人在行走时的步数和步频;S320. Calculate the number of steps and the frequency of the pedestrian when the pedestrian is walking according to the pressure change rule, the pressure value waveform corresponding to the landing state and the pressure value waveform corresponding to the vacant state;
可选地,根据所述落地状态对应的气压值波形,从所述气压变化规律中找出目标落地状态的气压值波形,其中,目标落地状态用于指示足部落地时刻的累计时间大于第一时间阈值的落地状态,并根据所述腾空状态对应的气压值波形,从所述气压变化规律中找出目标腾空状态的气压值波形,其中,所述目标腾空状态用于指示足部腾空时刻的累计时间大于第二时间阈值的腾空状态;根据所述目标落地状态的气压值波形、目标腾空状态的气压值波形,从所述气压变化规律中,确定所述目标落地状态和目标腾空状态交替出现的次数;之后,根据所述目标落地状态和目标腾空状态交替出现的次数,计算所述行人在行走时的步数,并根据所述步数和所述行人行走所述步数时所使用的时间,计算所述行人在行走时的步频。例如,所述次数为一次,即所述步数为一步,所述次数为5次,则所述步数为5步。Optionally, according to the pressure value waveform corresponding to the landing state, the pressure value waveform of the target landing state is found from the pressure change rule, wherein the target landing state is used to indicate that the cumulative time of the foot tribe land is greater than the first time A time threshold landing state, and an air pressure value waveform of a target empty state from the air pressure change rule according to the air pressure value waveform corresponding to the empty state, wherein the target empty state is used to indicate the time of foot empty A vacated state whose accumulated time is greater than a second time threshold; based on the pressure value waveform of the target landing state and the pressure value waveform of the target vacated state, determining that the target landing state and the target vacated state alternately appear from the pressure change rule. After that, based on the number of times the target landing state and the target vacant state alternately appear, calculate the number of steps of the pedestrian while walking, and use the number of steps and the number of steps used by the pedestrian to walk the steps Time, calculating the cadence of the pedestrian while walking. For example, if the number of times is one, that is, the number of steps is one step, and the number of times is five times, then the number of steps is five steps.
举例而言,如图2所示,行人行走时,气压传感器输出的气压值会呈现出一定的周期性规律,可对该周期性规律进行分析以得到行走步数。例如,假设腔体内的气压变化规律可由如图2所示的气压变化波形来表示,可根据足部落地状态和腾空状态的波形对如图2所示的气压变化波形进行分析处理,可得到行走步数M。For example, as shown in FIG. 2, when a pedestrian is walking, the air pressure value output by the air pressure sensor will show a certain periodic law, which can be analyzed to obtain the number of walking steps. For example, assuming that the air pressure change rule in the cavity can be represented by the air pressure change waveform shown in FIG. 2, the air pressure change waveform shown in FIG. 2 can be analyzed and processed according to the waveform of the foot tribal land state and the vacated state to obtain walking. Steps M.
在本示例中,为避免误判,假定在一步周期内,足部需要有落地和腾空两种状态,且每种状态需要满足一定的时间长度。假设足部落地状态的累计时间为td,设足部腾空状态的累计时间为tt;设足部落地或腾空状态用W表示,足部落地时W=1,足部腾空时W=0,设足部落地和腾空的时间阈值分别为td1(即第一时间阈值)和tt1(即第二时间阈值),该阈值的设定可以根据行人各种运动特征分析得到,后续也可以设计为自适应估计模式。在实际应用中,可实时判定当前足部落地状态,并实时记录足部当前一步落地和腾空累计时间td和tt,那么行走步数计算方法可如下:In this example, to avoid misjudgment, it is assumed that in one step cycle, the foot needs to have two states of landing and flying, and each state needs to meet a certain length of time. Assume that the accumulated time of the foot tribe land state is td, and let the accumulated time of the foot tribe land state be tt; Let the foot tribe land or the vacated state be represented by W, W = 1 when the foot tribe land, W = 0 when the foot is emptied, let The time thresholds of the foot tribal land and airspace are td1 (that is, the first time threshold) and tt1 (the second time threshold). The threshold settings can be obtained based on the analysis of pedestrians' various motion characteristics, and can be designed to be adaptive in the future. Estimation mode. In practical applications, the current state of the foot tribe can be determined in real time, and the cumulative time td and tt of the current step landing and vacation of the foot can be recorded in real time, so the calculation method of the number of walking steps can be as follows:
设定两个条件:Set two conditions:
条件1:W=1且td>td1;Condition 1: W = 1 and td> td1;
条件2:W=0且tt>tt1;Condition 2: W = 0 and tt> tt1;
如果条件1和条件2同时满足,那么可实时判定当前运动为行走一步,当前行走步数为:M=M+1。If condition 1 and condition 2 are satisfied at the same time, it can be determined in real time that the current movement is a walking step, and the current number of walking steps is: M = M + 1.
S330,根据采集到的气压测量数据获取气压值变化幅度;S330: Obtain a change range of the air pressure value according to the collected air pressure measurement data;
可选地,从所述采集到的气压测量数据中获取预设时间内的气压最大值和气压最小值,其中,所述预设时间用于指示覆盖至少一步的行走时间;计算所述预设时间内的气压最大值和气压最小值之间的差值,并将所述差值作为所述气压值变化幅度。Optionally, the maximum pressure and the minimum value of the pressure within a preset time are obtained from the collected pressure measurement data, wherein the preset time is used to indicate a walking time covering at least one step; calculating the preset The difference between the maximum value of the air pressure and the minimum value of the air pressure over time, and the difference is taken as the variation range of the air pressure value.
可以理解,行人行走时,可分为步行、跑步等多种步行方式,也可以对步行区分慢速步行、快速步行,对跑步区分慢跑和快跑,步行强度逐渐增大,步行方式所对应的足部落地时的力度逐渐增大,所述腔体变形也逐渐增大,气压传感器检测的气压值变化的幅度也会增大,所以可以根据气压传感器输出的幅度变化,来判定行人行走时的步行方式。It can be understood that when pedestrians walk, they can be divided into multiple walking modes such as walking and running. They can also distinguish between slow walking and fast walking for walking, and distinguish between jogging and fast running for running. The walking intensity gradually increases. The intensity of the foot tribe gradually increases, the cavity deformation also gradually increases, and the magnitude of the change in the pressure value detected by the pressure sensor will also increase. Therefore, the pedestrian's Way of walking.
举例而言,在判定气压值变化幅度时,可以从所述采集到的气压测量数据中,选取一段时间内气压最大值和气压最小值之差来作为步行方式的判定值。例如,假设选取时间段(即上述的预设时间)为t,其中t时间需要能够覆盖至少一步行走时间,可以从所述采集到的气压测量数据中,选取t当前时刻往前t时间段内的气压最大值和气压最小值,并将所述气压最大值和气压最小值之间的差值作为所述气压值变化幅度。For example, when determining the variation range of the air pressure value, the difference between the maximum air pressure value and the minimum air pressure value over a period of time can be selected from the collected air pressure measurement data as the determination value of the walking mode. For example, assuming that the selected time period (that is, the above-mentioned preset time) is t, where t time needs to be able to cover at least one step of walking time, from the collected pressure measurement data, the current time of t can be selected to be within the time period of t The maximum value of the atmospheric pressure and the minimum value of the atmospheric pressure, and the difference between the maximum value of the atmospheric pressure and the minimum value of the atmospheric pressure is taken as the variation range of the atmospheric pressure value.
S340,根据气压值变化幅度确定行人在行走时的步行方式。S340. Determine the walking mode of the pedestrian when walking according to the variation range of the air pressure value.
可选地,当所述气压值变化幅度小于第一判定阈值时,确定所述步行方式为慢速步行;当所述气压值变化幅度大于或等于所述第一判定阈值,且小于第二判定阈值时,确定所述步行方式为快速步行;当所述气压值变化幅度大于或等于所述第二判定阈值,且小于第三判定阈值时,确定所述步行方式为慢跑;当所述气压值变化幅度大于或等于所述第三判定阈值时,确定所述步行方式为快跑。Optionally, when the variation range of the air pressure value is smaller than the first determination threshold, determining that the walking mode is slow walking; when the variation range of the air pressure value is greater than or equal to the first determination threshold and smaller than the second determination When the threshold is determined, the walking mode is determined to be fast walking; when the variation range of the air pressure value is greater than or equal to the second determination threshold value and less than the third determination threshold value, the walking mode is determined to be jogging; when the air pressure value is When the variation range is greater than or equal to the third determination threshold, it is determined that the walking mode is fast running.
举例而言,假设Pmax为当前时刻往前t时间段内的气压最大值,设Pmin为当前时刻往前t时间段内的气压最小值,气压最大值与气压最小值之差为:Pm=Pmax-Pmin,其中,所述差值Pm即为所述气压值变化幅度;For example, suppose that Pmax is the maximum value of air pressure during the time period t from the current moment, and let Pmin be the minimum value of air pressure during the time period t from the current moment, and the difference between the maximum pressure and the minimum pressure is: Pm = Pmax -Pmin, wherein the difference Pm is the variation range of the pressure value;
通过实际步行实验,可确定不同步行方式下的Pm值范围,设定为各种步行方式下的判定阈值,如下:Through actual walking experiments, the Pm value range under different walking modes can be determined and set as the determination threshold for various walking modes, as follows:
如果Pm<第一判定阈值Pm1,则步行方式为慢速步行;如果Pm1≤Pm<第二判定阈值Pm2,则步行方式为快速步行;如果Pm2≤Pm<第三判定阈值Pm3,则步行方式为慢跑;如果Pm≥Pm3,则步行方式为快跑。由此,可通过气压传感器输出的气压值变化幅度与各种步行 方式下的判定阈值进行匹配,以识别出行人在行走时的步行方式。If Pm <the first decision threshold Pm1, the walking method is slow walking; if Pm1≤Pm <the second decision threshold Pm2, the walking method is fast walking; if Pm2≤Pm <the third decision threshold Pm3, the walking method is Jog; if Pm ≥ Pm3, the walking mode is fast running. Therefore, the change in the air pressure value output by the air pressure sensor can be matched with the determination threshold in various walking modes to identify the walking mode of the pedestrian when walking.
根据本申请实施例的步态识别方法,可以周期性地对气压传感器输出的气压测量数据进行采样,其中,所述气压传感器内置于鞋垫或鞋底的腔体内,并根据采集到的气压测量数据确定所述腔体内的气压变化规律,以及根据所述采集到的气压测量数据和所述气压变化规律,识别出行人的步态信息。即利用将气压传感器放置于鞋垫或鞋底的腔体内,利用行走时腔体受挤压变形,腔体内部气压变化,而且变化较为显著,气压传感器检测的测量值变化显著,类似于放大器放大了足部落地和起脚的变化过程,使得气压测量值变化进一步反映出步态变化,进而利用气压传感器在测量气压的同时,直接通过气压测量数据识别出行人的步态信息,充分利用了气压传感器的信息,并通过气压变化来实现步态信息的识别,提高了识别准确率,提升了用户的使用体验。另外,可以用于行人导航中的计步,减少其他计步传感器的使用,减少行人导航装置的体积、重量、功耗和成本。According to the gait recognition method in the embodiment of the present application, the air pressure measurement data output by the air pressure sensor may be sampled periodically, wherein the air pressure sensor is built in the cavity of the insole or the sole of the shoe and is determined according to the collected air pressure measurement data. The air pressure change rule in the cavity, and the gait information of the pedestrian is identified according to the collected air pressure measurement data and the air pressure change rule. That is, the pressure sensor is placed in the cavity of the insole or the sole, and the cavity is squeezed and deformed when walking. The pressure inside the cavity changes, and the change is more significant. The measured value detected by the pressure sensor changes significantly, similar to the amplifier to amplify the foot. The changing process of the tribal land and the kicker makes the changes in the air pressure measurement value further reflect the gait change. Then, while using the air pressure sensor to measure the air pressure, the pedestrian's gait information is directly identified through the air pressure measurement data. Information, and realize the recognition of gait information through the change of air pressure, which improves the accuracy of recognition and improves the user experience. In addition, it can be used for step counting in pedestrian navigation, reducing the use of other step counting sensors, and reducing the volume, weight, power consumption and cost of pedestrian navigation devices.
与上述几种实施例提供的步态识别方法相对应,本申请的一种实施例还提供一种步态识别装置,由于本申请实施例提供的步态识别装置与上述几种实施例提供的步态识别方法相对应,因此在前述步态识别方法的实施方式也适用于本实施例提供的步态识别装置,在本实施例中不再详细描述。图4是根据本申请一个实施例的步态识别装置的结构示意图。Corresponding to the gait recognition methods provided by the foregoing embodiments, an embodiment of the present application further provides a gait recognition device. Since the gait recognition device provided by the embodiments of the present application is similar to the gait recognition device provided by the foregoing embodiments, The gait recognition method corresponds to this. Therefore, the foregoing implementation manner of the gait recognition method is also applicable to the gait recognition device provided in this embodiment, which will not be described in detail in this embodiment. FIG. 4 is a schematic structural diagram of a gait recognition device according to an embodiment of the present application.
如图4所示,该步态识别装置400可以包括:采样模块410、确定模块420和识别模块430。As shown in FIG. 4, the gait recognition apparatus 400 may include a sampling module 410, a determination module 420, and a recognition module 430.
具体地,采样模块410用于周期性地对气压传感器输出的气压测量数据进行采样,其中,气压传感器内置于鞋垫或鞋底的腔体内。Specifically, the sampling module 410 is configured to periodically sample the air pressure measurement data output by the air pressure sensor, wherein the air pressure sensor is built into the cavity of the insole or sole.
确定模块420用于根据采集到的气压测量数据确定腔体内的气压变化规律。The determination module 420 is configured to determine a pressure change rule in the cavity according to the collected pressure measurement data.
识别模块430用于根据采集到的气压测量数据和气压变化规律,识别出行人的步态信息。作为一种示例,所述步态信息可包括但不限于足部落地状态、腾空状态、步数、步频和步行方式等。其中,在本示例中,如图5所示,该识别模块430可包括:足部状态判定单元431、计算单元432、获取单元433和确定单元434。The identification module 430 is configured to identify the gait information of the pedestrian according to the collected air pressure measurement data and the air pressure change rule. As an example, the gait information may include, but is not limited to, a tribal land state, a vacated state, a number of steps, a step frequency, a walking manner, and the like. Wherein, in this example, as shown in FIG. 5, the recognition module 430 may include: a foot state determination unit 431, a calculation unit 432, an acquisition unit 433, and a determination unit 434.
其中,足部状态判定单元431用于根据所述采集到的气压测量数据对所述行人在每个采样时刻的足部状态进行判定,其中,所述足部状态包括落地状态和腾空状态;作为一种示例,足部状态判定单元431具体用于:从所述采集到的气压测量数据中确定当前采样时刻的气压值Pk;计算所述当前采样时刻的气压值Pk与当前采样时刻的正常气压值PN之间的差值;如果所述差值的绝对值大于目标阈值,则判定所述行人在所述当前采样时刻的足 部状态为落地状态;如果所述差值的绝对值小于所述目标阈值,则判定所述行人在所述当前采样时刻的足部状态为腾空状态。The foot state determination unit 431 is configured to determine the foot state of the pedestrian at each sampling time according to the collected air pressure measurement data, wherein the foot state includes a landing state and a vacated state; as In one example, the foot state determination unit 431 is specifically configured to determine the air pressure value Pk at the current sampling time from the collected air pressure measurement data; calculate the air pressure value Pk at the current sampling time and the normal air pressure at the current sampling time The difference between the values PN; if the absolute value of the difference is greater than the target threshold, determining that the foot state of the pedestrian at the current sampling time is a landing state; if the absolute value of the difference is less than the The target threshold value determines that the foot state of the pedestrian at the current sampling time is a vacated state.
计算单元432用于根据所述气压变化规律、所述落地状态对应的气压值波形和所述腾空状态对应的气压值波形,计算所述行人在行走时的步数和步频;作为一种示例,计算单元432具体用于:根据所述落地状态对应的气压值波形,从所述气压变化规律中找出目标落地状态的气压值波形,其中,目标落地状态用于指示足部落地时刻的累计时间大于第一时间阈值的落地状态;根据所述腾空状态对应的气压值波形,从所述气压变化规律中找出目标腾空状态的气压值波形,其中,所述目标腾空状态用于指示足部腾空时刻的累计时间大于第二时间阈值的腾空状态;根据所述目标落地状态的气压值波形、目标腾空状态的气压值波形,从所述气压变化规律中,确定所述目标落地状态和目标腾空状态交替出现的次数;根据所述目标落地状态和目标腾空状态交替出现的次数,计算所述行人在行走时的步数;根据所述步数和所述行人行走所述步数时所使用的时间,计算所述行人在行走时的步频。The calculation unit 432 is configured to calculate the number of steps and the frequency of the pedestrian while walking according to the pressure change rule, the pressure value waveform corresponding to the landing state, and the pressure value waveform corresponding to the vacated state; as an example The calculation unit 432 is specifically configured to find the air pressure value waveform of the target landing state from the air pressure change rule according to the air pressure value waveform corresponding to the landing state, wherein the target landing state is used to indicate the accumulation of the time of the foot tribe land A landing state with a time greater than a first time threshold; and an air pressure value waveform of a target empty state is found from the air pressure change rule according to the air pressure value waveform corresponding to the empty state, wherein the target empty state is used to indicate a foot The accumulated time at the moment of flight is greater than the threshold state of the second time; according to the pressure value waveform of the target landing state and the pressure value waveform of the target empty state, determine the target landing state and the target empty from the pressure change rule. The number of times the state alternates; the number of times the state alternates according to the target landing state and the target vacant state Calculating the number of steps of the pedestrian is walking; time according to the number of steps and the number of steps of the pedestrian walking is used to calculate pitch during walking of the pedestrian.
获取单元433用于根据所述采集到的气压测量数据获取气压值变化幅度;作为一种示例,获取单元433具体用于:从所述采集到的气压测量数据中获取预设时间内的气压最大值和气压最小值,其中,所述预设时间用于指示覆盖至少一步的行走时间;计算所述预设时间内的气压最大值和气压最小值之间的差值,并将所述差值作为所述气压值变化幅度。The obtaining unit 433 is configured to obtain a variation range of the pressure value according to the collected pressure measurement data. As an example, the obtaining unit 433 is specifically configured to obtain the maximum pressure within a preset time from the collected pressure measurement data. Value and minimum pressure, wherein the preset time is used to indicate a walking time covering at least one step; calculating a difference between the maximum pressure and the minimum pressure within the preset time, and using the difference As the change range of the air pressure value.
确定单元434用于根据所述气压值变化幅度确定所述行人在行走时的步行方式。作为一种示例,确定单元434具体用于:当所述气压值变化幅度小于第一判定阈值时,确定所述步行方式为慢速步行;当所述气压值变化幅度大于或等于所述第一判定阈值,且小于第二判定阈值时,确定所述步行方式为快速步行;当所述气压值变化幅度大于或等于所述第二判定阈值,且小于第三判定阈值时,确定所述步行方式为慢跑;当所述气压值变化幅度大于或等于所述第三判定阈值时,确定所述步行方式为快跑。The determining unit 434 is configured to determine a walking mode of the pedestrian when walking according to a variation range of the air pressure value. As an example, the determining unit 434 is specifically configured to: when the variation range of the air pressure value is smaller than the first determination threshold, determine that the walking mode is slow walking; when the variation range of the air pressure value is greater than or equal to the first When the determination threshold value is less than the second determination threshold value, the walking mode is determined to be fast walking; when the pressure value variation range is greater than or equal to the second determination threshold value and is less than the third determination threshold value, the walking manner is determined It is jogging; when the variation range of the air pressure value is greater than or equal to the third determination threshold, it is determined that the walking mode is fast running.
根据本申请实施例的步态识别装置,可以利用将气压传感器放置于鞋垫或鞋底的腔体内,利用行走时腔体受挤压变形,腔体内部气压变化,而且变化较为显著,气压传感器检测的测量值变化显著,类似于放大器放大了足部落地和起脚的变化过程,使得气压测量值变化进一步反映出步态变化,进而利用气压传感器在测量气压的同时,直接通过气压测量数据识别出行人的步态信息,充分利用了气压传感器的信息,并通过气压变化来实现步态信息的识别,提高了识别准确率,提升了用户的使用体验。另外,可以用于行人导航中的计步,减少其他计步传感器的使用,减少行人导航装置的体积、重量、功耗和成本。According to the gait recognition device in the embodiment of the present application, the air pressure sensor can be placed in the cavity of the insole or the sole, and the cavity is compressed and deformed during walking, and the pressure inside the cavity changes, and the change is more significant. The measured value changes significantly, similar to the amplifier amplifying the changing process of the foot tribe and kicking feet, so that the change in the pressure measurement value further reflects the gait change, and then using the pressure sensor to measure the pressure, directly identify the pedestrian through the pressure measurement data The gait information makes full use of the information of the air pressure sensor, and realizes the recognition of gait information through the change of air pressure, which improves the accuracy of recognition and the user experience. In addition, it can be used for step counting in pedestrian navigation, reducing the use of other step counting sensors, and reducing the volume, weight, power consumption and cost of pedestrian navigation devices.
为了实现上述实施例,本申请还提出了另一种步态识别装置。In order to implement the above embodiments, another gait recognition device is proposed in the present application.
图6是根据本申请另一个实施例的步态识别装置的结构示意图。如图6所示,该步态识别装置600可以包括:气压传感器610、存储器620、微控制器630和计算机程序640。FIG. 6 is a schematic structural diagram of a gait recognition device according to another embodiment of the present application. As shown in FIG. 6, the gait recognition device 600 may include: an air pressure sensor 610, a memory 620, a microcontroller 630, and a computer program 640.
其中,步态识别装置600可内置于鞋垫或鞋底的腔体内。例如,如图7所示,该步态识别装置600可内置于鞋垫的腔体A内。也就是说,鞋垫上可设置一个腔体,步态识别装置600可放置于该腔体内,可通过步态识别装置600中的气压传感器610检测所述腔体内的气压数据。The gait recognition device 600 may be built into a cavity of an insole or a sole. For example, as shown in FIG. 7, the gait recognition device 600 may be built into the cavity A of the insole. That is, a cavity may be provided on the insole, and the gait recognition device 600 may be placed in the cavity, and the air pressure data in the cavity may be detected by the air pressure sensor 610 in the gait identification device 600.
其中,计算机程序640可存储在存储器620上,并可在微控制器630上运行。微控制器630执行所述程序640时,可实现本申请上述任一个实施例所述的步态识别方法。The computer program 640 can be stored on the memory 620 and can be run on the microcontroller 630. When the microcontroller 630 executes the program 640, the gait recognition method described in any one of the foregoing embodiments of the present application can be implemented.
可选地,在本申请的一个实施例中,如图8所示,该步态识别装置600还可包括蓝牙模块650。其中,蓝牙模块650与微控制器630相连。蓝牙模块650可用于与终端设备B进行蓝牙配对,并在配对成功时,将存储器620存储的气压测量数据和步态信息发送给终端设备B。也就是说,为便于数据采集传输,可使用低功耗蓝牙传输技术进行步态数据传输,易用性好且功耗低。利用终端设备B,通过蓝牙通信方式与步态识别装置600中的蓝牙模块650进行蓝牙配对,并在配对成功时,微控制器630可通过蓝牙模块650将存储器620存储的所述气压测量数据和步态信息发送给终端设备B。终端设备B上可设计相应的数据采集应用软件对数据进行实时采集、存储、显示和处理等。作为一种示例,所述终端设备可以是手机、平板电脑等硬件设备。Optionally, in an embodiment of the present application, as shown in FIG. 8, the gait recognition device 600 may further include a Bluetooth module 650. The Bluetooth module 650 is connected to the microcontroller 630. The Bluetooth module 650 may be used to perform Bluetooth pairing with the terminal device B, and when the pairing is successful, send the barometric pressure measurement data and gait information stored in the memory 620 to the terminal device B. In other words, in order to facilitate data collection and transmission, gait data transmission can be performed using Bluetooth low energy transmission technology, which has good ease of use and low power consumption. The terminal device B is used to perform Bluetooth pairing with the Bluetooth module 650 in the gait recognition device 600 through Bluetooth communication. When the pairing is successful, the microcontroller 630 may use the Bluetooth module 650 to store the pressure measurement data stored in the memory 620 and The gait information is sent to the terminal device B. The corresponding data acquisition application software can be designed on terminal device B to collect, store, display and process data in real time. As an example, the terminal device may be a hardware device such as a mobile phone or a tablet computer.
需要说明的是,终端设备B与步态识别装置600通过蓝牙进行通信连接时,步态识别装置600可实时通过蓝牙模块650将气压传感器610检测的气压测量数据以及识别出的所述步态信息发送给终端设备B进行显示。终端设备B与步态识别装置600未进行连接时,步态识别装置600可将气压传感器610检测的气压测量数据以及识别出的所述步态信息存储在存储器620中;当与终端设备B进行蓝牙连接时,可将存储器620中存储的历史数据同步到终端设备B中,并进行当前步态信息识别数据的显示。It should be noted that when the terminal device B and the gait recognition device 600 are connected through Bluetooth, the gait recognition device 600 can real-time use the Bluetooth module 650 to measure the pressure measurement data detected by the pressure sensor 610 and the identified gait information. Send to terminal device B for display. When the terminal device B is not connected to the gait identification device 600, the gait identification device 600 may store the pressure measurement data detected by the air pressure sensor 610 and the identified gait information in the memory 620; When Bluetooth is connected, the historical data stored in the memory 620 can be synchronized to the terminal device B, and the current gait information identification data is displayed.
为了提高本申请步态识别装置的可用性以及可行性,可选地,在本申请的一个实施例中,如图8所示,该步态识别装置600还可包括:电源模块660。其中,电源模块660可用于对步态识别装置600提供供电。具体地,可为步态识别装置600内置一个电源模块660,这样,通过该电源模块660为步态识别装置600提供供电,以保证步态识别装置600的其他部件或模块能够正常使用。作为一种示例,电源模块660可为锂电池。In order to improve the availability and feasibility of the gait identification device of the present application, optionally, in an embodiment of the present application, as shown in FIG. 8, the gait identification device 600 may further include a power module 660. The power module 660 can be used to provide power to the gait identification device 600. Specifically, a power module 660 may be built in the gait identification device 600. In this way, power is provided to the gait identification device 600 through the power module 660 to ensure that other components or modules of the gait identification device 600 can be used normally. As an example, the power module 660 may be a lithium battery.
可选地,在本申请的一个实施例中,如图8所示,该步态识别装置600还可包括:提示模块670和电量检测模块680。其中,提示模块670与微控制器630相连,电量检测模块680分别与微控制器630和电源模块660相连。电量检测模块680可用于在检测到电源模块660的电量小于第一预设阈值时,向微控制器630发送针对电量不足的指令。其中,微控制器630在接收到该指令时,控制提示模块670进行提示。作为一种示例,提示模块670可包括LED灯和/或微型振动马达,或者,该提示模块670还可以是警报器或报警器,或者,也可以是语音提示模块,即通过语音播放的方式提醒用户当前电源的电量不足。Optionally, in an embodiment of the present application, as shown in FIG. 8, the gait recognition device 600 may further include a prompt module 670 and a power detection module 680. The prompt module 670 is connected to the microcontroller 630, and the power detection module 680 is connected to the microcontroller 630 and the power module 660, respectively. The power detection module 680 may be configured to send an instruction for insufficient power to the microcontroller 630 when it is detected that the power of the power supply module 660 is less than the first preset threshold. When the microcontroller 630 receives the instruction, it controls the prompt module 670 to prompt. As an example, the prompting module 670 may include an LED light and / or a micro-vibration motor, or the prompting module 670 may also be a siren or an siren, or it may also be a voice prompting module, that is, reminding through a voice play. The user's current power supply is low.
举例而言,以提示模块670为LED灯为例,电量检测模块680可检测电源模块660的电量,并在检测到电源模块660的电量小于第一预设阈值时,向微控制器630发送针对电量不足的指令。微控制器630在接收到该指令时,可点亮LED灯,并将该LED灯以预设频率进行闪烁,以提示用户当前电源的电量不足,需要对该电源模块660进行充电。For example, taking the reminder module 670 as an LED light as an example, the power detection module 680 can detect the power of the power module 660, and when detecting that the power of the power module 660 is less than a first preset threshold, it sends a Low battery command. When the microcontroller 630 receives the instruction, it can light up the LED light and flash the LED light at a preset frequency to remind the user that the current power supply is insufficient and that the power supply module 660 needs to be charged.
可选地,在本申请的一个实施例中,如图8所示,该步态识别装置600还可包括:电源充电及保护模块690。其中,电源充电及保护模块690分别与电源模块660和微控制器630相连。电源充电及保护模块690可用于对电源模块660进行充电以及过充电保护。更具体地,在电量检测模块680检测到电源模块660的电量不足时,微控制器630可向电源充电及保护模块690发送电源充电指令。电源充电及保护模块690在接收到该电源充电指令时,可对电源模块660进行充电。在充电的过程中,电量检测模块680可对电源模块660的电量进行检测,并在电源模块660的电量大于一定阈值时,向电源充电及保护模块690发送信号,电源充电及保护模块690在接收到该信号时,停止对电源模块660的充电操作,以防止过充电。Optionally, in an embodiment of the present application, as shown in FIG. 8, the gait recognition device 600 may further include a power charging and protection module 690. The power charging and protection module 690 is connected to the power module 660 and the microcontroller 630, respectively. The power charging and protection module 690 can be used to charge the power module 660 and protect it from overcharge. More specifically, when the power detection module 680 detects that the power of the power module 660 is insufficient, the microcontroller 630 may send a power charging instruction to the power charging and protection module 690. When the power charging and protection module 690 receives the power charging instruction, it can charge the power module 660. During the charging process, the power detection module 680 can detect the power of the power module 660 and send a signal to the power charging and protection module 690 when the power of the power module 660 is greater than a certain threshold. The power charging and protection module 690 is receiving When this signal is reached, the charging operation of the power module 660 is stopped to prevent overcharging.
可选地,在本申请的一个实施例中,如图8所示,该步态识别装置600还可包括:复位模块6100。其中,复位模块6100与微控制器630相连。举例而言,微控制器630在检测到步态识别装置600需要初始化时,可向复位模块6100发送复位指令。复位模块6100在接收到所述复位指令时,可对步态识别装置600进行复位操作。作为一种示例,步态识别装置600可外置一个按键,该按键可与复位模块6100相连,当用户触发该按键时,复位模块6100可检测到用户已触发该按键,此时,复位模块6100可对步态识别装置600进行复位操作。Optionally, in an embodiment of the present application, as shown in FIG. 8, the gait recognition device 600 may further include a reset module 6100. The reset module 6100 is connected to the microcontroller 630. For example, when the microcontroller 630 detects that the gait recognition device 600 needs to be initialized, it can send a reset instruction to the reset module 6100. When the reset module 6100 receives the reset instruction, it can perform a reset operation on the gait recognition device 600. As an example, the gait recognition device 600 may have a key externally connected to the reset module 6100. When the user triggers the key, the reset module 6100 can detect that the user has triggered the key. At this time, the reset module 6100 The gait recognition device 600 may be reset.
由此,通过气压传感器测量的气压数据实现行人的步态信息的识别,充分利用了传感器的信息,同时通过气压变化来实现步数的计算,提高了计步的准确率,并且,在整个测量的过程中,无需在用户的手脚上绑戴其他设备,提升了用户的使用体验。Therefore, the pedestrian's gait information is identified through the pressure data measured by the pressure sensor, and the information of the sensor is fully used. At the same time, the number of steps is calculated through the change of the pressure, which improves the accuracy of step counting. In the process, there is no need to tie other devices on the hands and feet of the user, which improves the user experience.
为了实现上述实施例,本发明还提出了一种计算机程序,所述计算机程序被处理器执行时实现上述任一个实施例所述的步态识别方法。In order to implement the above embodiments, the present invention further provides a computer program that, when executed by a processor, implements the gait recognition method according to any one of the above embodiments.
在本申请的描述中,需要理解的是,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In the description of this application, it should be understood that the terms “first” and “second” are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present application, the meaning of "plurality" is at least two, for example, two, three, etc., unless it is specifically and specifically defined otherwise.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, the description with reference to the terms “one embodiment”, “some embodiments”, “examples”, “specific examples”, or “some examples” and the like means specific features described in conjunction with the embodiments or examples , Structure, materials, or features are included in at least one embodiment or example of the present application. In this specification, the schematic expressions of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. In addition, without any contradiction, those skilled in the art may combine and combine different embodiments or examples and features of the different embodiments or examples described in this specification.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any process or method description in a flowchart or otherwise described herein can be understood as representing a module, fragment, or portion of code that includes one or more executable instructions for implementing a particular logical function or step of a process And, the scope of the preferred embodiments of the present application includes additional implementations, in which the functions may be performed out of the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order according to the functions involved, which should It is understood by those skilled in the art to which the embodiments of the present application pertain.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存 储器中。The logic and / or steps represented in the flowchart or otherwise described herein, for example, a sequenced list of executable instructions that can be considered to implement a logical function, can be embodied in any computer-readable medium, For the instruction execution system, device, or device (such as a computer-based system, a system including a processor, or other system that can fetch and execute instructions from the instruction execution system, device, or device), or combine these instruction execution systems, devices, or devices Or equipment. For the purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connections (electronic devices) with one or more wirings, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, because, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other suitable Processing to obtain the program electronically and then store it in computer memory.
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that each part of the application may be implemented by hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods may be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it may be implemented using any one or a combination of the following techniques known in the art: Discrete logic circuits, application specific integrated circuits with suitable combinational logic gate circuits, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。A person of ordinary skill in the art can understand that all or part of the steps carried by the methods in the foregoing embodiments may be implemented by a program instructing related hardware. The program may be stored in a computer-readable storage medium. The program is When executed, one or a combination of the steps of the method embodiment is included.
此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing module, or each unit may exist separately physically, or two or more units may be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。The aforementioned storage medium may be a read-only memory, a magnetic disk, or an optical disk. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limitations on the present application. Those skilled in the art can interpret the above within the scope of the present application. Embodiments are subject to change, modification, substitution, and modification.

Claims (14)

  1. 一种步态识别方法,其特征在于,包括以下步骤:A gait recognition method includes the following steps:
    周期性地对气压传感器输出的气压测量数据进行采样,其中,所述气压传感器内置于鞋垫或鞋底的腔体内;Periodically sampling the air pressure measurement data output by the air pressure sensor, wherein the air pressure sensor is built into the cavity of the insole or sole;
    根据采集到的气压测量数据确定所述腔体内的气压变化规律;Determining a variation rule of the air pressure in the cavity according to the collected air pressure measurement data;
    根据所述采集到的气压测量数据和所述气压变化规律,识别出行人的步态信息。Gait information of a pedestrian is identified according to the collected air pressure measurement data and the air pressure change rule.
  2. 如权利要求1所述的步态识别方法,其特征在于,所述步态信息包括足部落地状态、腾空状态、步数、步频、步行方式;其中,所述根据所述采集到的气压测量数据和所述气压变化规律,识别出行人的步态信息,包括:The gait recognition method according to claim 1, wherein the gait information includes a foot tribe land state, a vacated state, a number of steps, a step frequency, and a walking manner; and wherein the according to the collected air pressure The measurement data and the air pressure change rule to identify pedestrian gait information include:
    根据所述采集到的气压测量数据对所述行人在每个采样时刻的足部状态进行判定,其中,所述足部状态包括落地状态和腾空状态;Determining the foot state of the pedestrian at each sampling time according to the collected air pressure measurement data, wherein the foot state includes a landing state and a flying state;
    根据所述气压变化规律、所述落地状态对应的气压值波形和所述腾空状态对应的气压值波形,计算所述行人在行走时的步数和步频;Calculating the number of steps and the frequency of the pedestrian while walking according to the pressure change rule, the pressure value waveform corresponding to the landing state, and the pressure value waveform corresponding to the vacated state;
    根据所述采集到的气压测量数据获取气压值变化幅度;Acquiring a variation range of the air pressure value according to the collected air pressure measurement data;
    根据所述气压值变化幅度确定所述行人在行走时的步行方式。A walking mode of the pedestrian when walking is determined according to a variation range of the air pressure value.
  3. 如权利要求2所述的步态识别方法,其特征在于,根据所述采集到的气压测量数据对所述行人在每个采样时刻的足部状态进行判定,包括:The gait recognition method according to claim 2, wherein determining the foot state of the pedestrian at each sampling time according to the collected air pressure measurement data comprises:
    从所述采集到的气压测量数据中确定当前采样时刻的气压值Pk;Determine the air pressure value Pk at the current sampling time from the collected air pressure measurement data;
    计算所述当前采样时刻的气压值Pk与当前采样时刻的正常气压值PN之间的差值;Calculating a difference between the pressure value Pk at the current sampling time and the normal pressure value PN at the current sampling time;
    如果所述差值的绝对值大于目标阈值,则判定所述行人在所述当前采样时刻的足部状态为落地状态,其中,所述目标阈值Tp为当前采样时刻的正常气压值的均方差σ的3~5倍,所述当前采样时刻的正常气压值用于指示在当前采样时刻内处于稳定且持续一定时长状态的气压值;If the absolute value of the difference is greater than the target threshold, it is determined that the foot state of the pedestrian at the current sampling time is a landing state, wherein the target threshold Tp is a mean square error σ of a normal pressure value at the current sampling time. 3 to 5 times, the normal pressure value at the current sampling time is used to indicate the pressure value that is stable and lasts for a certain period of time within the current sampling time;
    如果所述差值的绝对值小于所述目标阈值,则判定所述行人在所述当前采样时刻的足部状态为腾空状态。If the absolute value of the difference is smaller than the target threshold, it is determined that the foot state of the pedestrian at the current sampling time is a vacated state.
  4. 如权利要求2所述的步态识别方法,其特征在于,根据所述气压变化规律、所述落地状态对应的气压值波形和所述腾空状态对应的气压值波形,计算所述行人在行走时的步数和步频,包括:The gait recognition method according to claim 2, wherein the pedestrian is calculated when the pedestrian is walking according to the pressure change rule, the pressure value waveform corresponding to the landing state, and the pressure value waveform corresponding to the vacated state. Steps and frequency, including:
    根据所述落地状态对应的气压值波形,从所述气压变化规律中找出目标落地状态的气压值波形,其中,目标落地状态用于指示足部落地时刻的累计时间大于第一时间阈值的落 地状态;According to the air pressure value waveform corresponding to the landing state, find the air pressure value waveform of the target landing state from the air pressure change rule, wherein the target landing state is used to indicate a landing where the cumulative time of the foot tribe land is greater than the first time threshold status;
    根据所述腾空状态对应的气压值波形,从所述气压变化规律中找出目标腾空状态的气压值波形,其中,所述目标腾空状态用于指示足部腾空时刻的累计时间大于第二时间阈值的腾空状态;According to the air pressure value waveform corresponding to the empty state, find the air pressure value waveform of the target empty state from the air pressure change rule, wherein the target empty state is used to indicate that the cumulative time of the foot empty time is greater than the second time threshold Flying state
    根据所述目标落地状态的气压值波形、目标腾空状态的气压值波形,从所述气压变化规律中,确定所述目标落地状态和目标腾空状态交替出现的次数;Determining, according to the pressure value waveform of the target landing state and the pressure value waveform of the target flying state, the number of times that the target landing state and the target flying state alternately appear from the pressure change rule;
    根据所述目标落地状态和目标腾空状态交替出现的次数,计算所述行人在行走时的步数;Calculating the number of steps of the pedestrian while walking according to the number of times that the target landing state and the target vacant state appear alternately;
    根据所述步数和所述行人行走所述步数时所使用的时间,计算所述行人在行走时的步频。Calculate the step frequency of the pedestrian while walking according to the number of steps and the time taken by the pedestrian to walk the steps.
  5. 如权利要求2所述的步态识别方法,其特征在于,根据所述采集到的气压测量数据获取气压值变化幅度,包括:The gait recognition method according to claim 2, wherein acquiring the change range of the air pressure value according to the collected air pressure measurement data comprises:
    从所述采集到的气压测量数据中获取预设时间内的气压最大值和气压最小值,其中,所述预设时间用于指示覆盖至少一步的行走时间;Obtaining a maximum pressure and a minimum value of air pressure within a preset time from the collected air pressure measurement data, wherein the preset time is used to indicate a walking time covering at least one step;
    计算所述预设时间内的气压最大值和气压最小值之间的差值,并将所述差值作为所述气压值变化幅度。Calculate a difference between the maximum value of the air pressure and the minimum value of the air pressure within the preset time, and use the difference as the variation range of the air pressure value.
  6. 如权利要求2或5所述的步态识别方法,其特征在于,根据所述气压值变化幅度确定所述行人在行走时的步行方式,包括:The gait recognition method according to claim 2 or 5, wherein determining the walking mode of the pedestrian when walking according to the variation range of the air pressure value comprises:
    当所述气压值变化幅度小于第一判定阈值时,确定所述步行方式为慢速步行;When the variation range of the air pressure value is smaller than the first determination threshold, determining that the walking mode is slow walking;
    当所述气压值变化幅度大于或等于所述第一判定阈值,且小于第二判定阈值时,确定所述步行方式为快速步行;When the variation range of the air pressure value is greater than or equal to the first determination threshold and less than the second determination threshold, determining that the walking mode is fast walking;
    当所述气压值变化幅度大于或等于所述第二判定阈值,且小于第三判定阈值时,确定所述步行方式为慢跑;When the variation range of the air pressure value is greater than or equal to the second determination threshold and less than the third determination threshold, determining that the walking mode is jogging;
    当所述气压值变化幅度大于或等于所述第三判定阈值时,确定所述步行方式为快跑。When the variation range of the air pressure value is greater than or equal to the third determination threshold, it is determined that the walking mode is fast running.
  7. 一种步态识别装置,其特征在于,包括:A gait recognition device, comprising:
    采样模块,用于周期性地对气压传感器输出的气压测量数据进行采样,其中,所述气压传感器内置于鞋垫或鞋底的腔体内;A sampling module for sampling the air pressure measurement data output by the air pressure sensor periodically, wherein the air pressure sensor is built in the cavity of the insole or the sole;
    确定模块,用于根据采集到的气压测量数据确定所述腔体内的气压变化规律;A determining module, configured to determine a pressure change rule in the cavity according to the collected pressure measurement data;
    识别模块,用于根据所述采集到的气压测量数据和所述气压变化规律,识别出行人的步态信息。An identification module is configured to identify gait information of a pedestrian according to the collected air pressure measurement data and the air pressure change rule.
  8. 如权利要求7所述的步态识别装置,其特征在于,所述步态信息包括足部落地状态、腾空状态、步数、步频、步行方式;其中,所述识别模块包括:The gait recognition device according to claim 7, wherein the gait information includes a foot tribe land state, a vacated state, a number of steps, a step frequency, and a walking manner; wherein the recognition module includes:
    足部状态判定单元,用于根据所述采集到的气压测量数据对所述行人在每个采样时刻的足部状态进行判定,其中,所述足部状态包括落地状态和腾空状态;A foot state determination unit, configured to determine the foot state of the pedestrian at each sampling time according to the collected air pressure measurement data, wherein the foot state includes a landing state and a vacated state;
    计算单元,用于根据所述气压变化规律、所述落地状态对应的气压值波形和所述腾空状态对应的气压值波形,计算所述行人在行走时的步数和步频;A calculation unit, configured to calculate the number of steps and the frequency of the pedestrian while walking according to the pressure change rule, the pressure value waveform corresponding to the landing state, and the pressure value waveform corresponding to the flying state;
    获取单元,用于根据所述采集到的气压测量数据获取气压值变化幅度;An obtaining unit, configured to obtain a variation range of the air pressure value according to the collected air pressure measurement data;
    确定单元,用于根据所述气压值变化幅度确定所述行人在行走时的步行方式。The determining unit is configured to determine a walking mode of the pedestrian when walking according to a variation range of the air pressure value.
  9. 如权利要求8所述的步态识别装置,其特征在于,所述足部状态判定单元具体用于:The gait recognition device according to claim 8, wherein the foot state determination unit is specifically configured to:
    从所述采集到的气压测量数据中确定当前采样时刻的气压值Pk;Determine the air pressure value Pk at the current sampling time from the collected air pressure measurement data;
    计算所述当前采样时刻的气压值Pk与当前采样时刻的正常气压值PN之间的差值;Calculating a difference between the pressure value Pk at the current sampling time and the normal pressure value PN at the current sampling time;
    如果所述差值的绝对值大于目标阈值,则判定所述行人在所述当前采样时刻的足部状态为落地状态,其中,所述目标阈值Tp为当前采样时刻的正常气压值的均方差σ的3~5倍,所述当前采样时刻的正常气压值用于指示在当前采样时刻内处于稳定且持续一定时长状态的气压值;If the absolute value of the difference is greater than the target threshold, it is determined that the foot state of the pedestrian at the current sampling time is a landing state, wherein the target threshold Tp is a mean square error σ of a normal pressure value at the current sampling time. 3 to 5 times, the normal pressure value at the current sampling time is used to indicate the pressure value that is stable and lasts for a certain period of time within the current sampling time;
    如果所述差值的绝对值小于所述目标阈值,则判定所述行人在所述当前采样时刻的足部状态为腾空状态。If the absolute value of the difference is smaller than the target threshold, it is determined that the foot state of the pedestrian at the current sampling time is a vacated state.
  10. 如权利要求8所述的步态识别装置,其特征在于,所述计算单元具体用于:The gait recognition device according to claim 8, wherein the calculation unit is specifically configured to:
    根据所述落地状态对应的气压值波形,从所述气压变化规律中找出目标落地状态的气压值波形,其中,目标落地状态用于指示足部落地时刻的累计时间大于第一时间阈值的落地状态;According to the air pressure value waveform corresponding to the landing state, find the air pressure value waveform of the target landing state from the air pressure change rule, wherein the target landing state is used to indicate a landing where the cumulative time of the foot tribe land is greater than the first time threshold status;
    根据所述腾空状态对应的气压值波形,从所述气压变化规律中找出目标腾空状态的气压值波形,其中,所述目标腾空状态用于指示足部腾空时刻的累计时间大于第二时间阈值的腾空状态;According to the air pressure value waveform corresponding to the empty state, find the air pressure value waveform of the target empty state from the air pressure change rule, wherein the target empty state is used to indicate that the cumulative time of the foot empty time is greater than the second time threshold Flying state
    根据所述目标落地状态的气压值波形、目标腾空状态的气压值波形,从所述气压变化规律中,确定所述目标落地状态和目标腾空状态交替出现的次数;Determining, according to the pressure value waveform of the target landing state and the pressure value waveform of the target flying state, the number of times that the target landing state and the target flying state alternately appear from the pressure change rule;
    根据所述目标落地状态和目标腾空状态交替出现的次数,计算所述行人在行走时的步数;Calculating the number of steps of the pedestrian while walking according to the number of times that the target landing state and the target vacant state appear alternately;
    根据所述步数和所述行人行走所述步数时所使用的时间,计算所述行人在行走时的步 频。The step frequency of the pedestrian while walking is calculated based on the number of steps and the time taken by the pedestrian to walk the steps.
  11. 如权利要求8所述的步态识别装置,其特征在于,所述获取单元具体用于:The gait recognition device according to claim 8, wherein the obtaining unit is specifically configured to:
    从所述采集到的气压测量数据中获取预设时间内的气压最大值和气压最小值,其中,所述预设时间用于指示覆盖至少一步的行走时间;Obtaining a maximum pressure and a minimum value of air pressure within a preset time from the collected air pressure measurement data, wherein the preset time is used to indicate a walking time covering at least one step;
    计算所述预设时间内的气压最大值和气压最小值之间的差值,并将所述差值作为所述气压值变化幅度。Calculate a difference between the maximum value of the air pressure and the minimum value of the air pressure within the preset time, and use the difference as the variation range of the air pressure value.
  12. 如权利要求8或11所述的步态识别装置,其特征在于,所述确定单元具体用于:The gait recognition device according to claim 8 or 11, wherein the determining unit is specifically configured to:
    当所述气压值变化幅度小于第一判定阈值时,确定所述步行方式为慢速步行;When the variation range of the air pressure value is smaller than the first determination threshold, determining that the walking mode is slow walking;
    当所述气压值变化幅度大于或等于所述第一判定阈值,且小于第二判定阈值时,确定所述步行方式为快速步行;When the variation range of the air pressure value is greater than or equal to the first determination threshold and less than the second determination threshold, determining that the walking mode is fast walking;
    当所述气压值变化幅度大于或等于所述第二判定阈值,且小于第三判定阈值时,确定所述步行方式为慢跑;When the variation range of the air pressure value is greater than or equal to the second determination threshold and less than the third determination threshold, determining that the walking mode is jogging;
    当所述气压值变化幅度大于或等于所述第三判定阈值时,确定所述步行方式为快跑。When the variation range of the air pressure value is greater than or equal to the third determination threshold, it is determined that the walking mode is fast running.
  13. 一种步态识别装置,其特征在于,所述步态识别装置内置于鞋垫或鞋底的腔体内,所述装置包括:用于检测所述腔体内的气压数据的气压传感器、存储器、微控制器及存储在所述存储器上并可在所述微控制器上运行的计算机程序,所述微控制器执行所述程序时,实现如权利要求1至6中任一项所述的步态识别方法。A gait recognition device, characterized in that the gait recognition device is built into a cavity of an insole or a sole, and the device includes: an air pressure sensor, a memory, and a microcontroller for detecting air pressure data in the cavity. And a computer program stored on the memory and executable on the microcontroller, when the microcontroller executes the program, the gait recognition method according to any one of claims 1 to 6 is implemented .
  14. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至6中任一项所述的步态识别方法。A computer-readable storage medium having stored thereon a computer program, characterized in that when the computer program is executed by a processor, the gait recognition method according to any one of claims 1 to 6 is implemented.
PCT/CN2019/089081 2018-05-31 2019-05-29 Gait recognition method and recognition device WO2019228419A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201810549532.9 2018-05-31
CN201820841673.3U CN209220287U (en) 2018-05-31 2018-05-31 Measuring device for Gait Recognition
CN201810549532.9A CN109009138B (en) 2018-05-31 2018-05-31 Gait recognition method and recognition device
CN201820841673.3 2018-05-31

Publications (1)

Publication Number Publication Date
WO2019228419A1 true WO2019228419A1 (en) 2019-12-05

Family

ID=68697185

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/089081 WO2019228419A1 (en) 2018-05-31 2019-05-29 Gait recognition method and recognition device

Country Status (1)

Country Link
WO (1) WO2019228419A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1151266A (en) * 1995-12-06 1997-06-11 黄瑞孟 Electronic measuring shoes
CN102670207A (en) * 2012-05-15 2012-09-19 北京大学 Gait analysis method based on plantar pressure
EP3026396A2 (en) * 2016-02-11 2016-06-01 Sensirion AG Computerized method and hardware component for deriving step counts from a pressure sensor
CN106723612A (en) * 2016-11-21 2017-05-31 歌尔股份有限公司 A kind of step counting system
CN107168120A (en) * 2017-06-05 2017-09-15 合肥师范学院 A kind of foot-operated step count set and its control method
CN108742637A (en) * 2018-05-31 2018-11-06 北京辰安科技股份有限公司 Physical condition detection method and detecting system based on Gait Recognition device
CN108801263A (en) * 2018-05-31 2018-11-13 北京辰安科技股份有限公司 pedestrian navigation positioning system and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1151266A (en) * 1995-12-06 1997-06-11 黄瑞孟 Electronic measuring shoes
CN102670207A (en) * 2012-05-15 2012-09-19 北京大学 Gait analysis method based on plantar pressure
EP3026396A2 (en) * 2016-02-11 2016-06-01 Sensirion AG Computerized method and hardware component for deriving step counts from a pressure sensor
CN106723612A (en) * 2016-11-21 2017-05-31 歌尔股份有限公司 A kind of step counting system
CN107168120A (en) * 2017-06-05 2017-09-15 合肥师范学院 A kind of foot-operated step count set and its control method
CN108742637A (en) * 2018-05-31 2018-11-06 北京辰安科技股份有限公司 Physical condition detection method and detecting system based on Gait Recognition device
CN108801263A (en) * 2018-05-31 2018-11-13 北京辰安科技股份有限公司 pedestrian navigation positioning system and method

Similar Documents

Publication Publication Date Title
CN109009138B (en) Gait recognition method and recognition device
JP5733503B2 (en) Measuring device, measuring method, and measuring program
US20190318617A1 (en) Electronic device and control method thereof
CN105979858B (en) Heart rate monitor apparatus
KR101690649B1 (en) Activity classification in a multi-axis activity monitor device
US10422814B2 (en) Fall detection using machine learning
KR101988718B1 (en) Method and System of Collecting and analyzing gait for healthcare and smart life-logger
CN108742637B (en) Body state detection method and detection system based on gait recognition device
JP6083799B2 (en) Mobile device location determination method, mobile device, mobile device location determination system, program, and information storage medium
CN105263411A (en) Fall detection system and method.
JP2010536040A5 (en)
JP2005309691A (en) Electronic pedometer
CN106132287A (en) Heart rate monitor system
WO2019228417A1 (en) System and method for pedestrian navigation and positioning
CN106456060A (en) Activity amount measuring device, activity amount measuring method, activity amount measuring program
WO2019228419A1 (en) Gait recognition method and recognition device
US10299702B2 (en) Devices and methods for determining step characteristics
KR20140089264A (en) Method and system for estimating length of pdr stride by using wps
JP2013186109A (en) Radiation dose measurement system, and data collection device and measurement station for the same
CN209220287U (en) Measuring device for Gait Recognition
CN107727134B (en) Method and system for improving outdoor activity detection accuracy rate and wearable device
KR101553236B1 (en) The Classifying and Counting Algorithm for Real-time Walk/Run Exercise based on An Acceleration Sensor
CN112785989B (en) Bright screen control method and device for display equipment, display equipment and storage medium
KR20170111408A (en) Apparatus and method for step calculation
WO2016063661A1 (en) Information processing device, information processing method, and program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19812589

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19812589

Country of ref document: EP

Kind code of ref document: A1