CN114440829A - Method and device for determining layer height in walking process of wearable equipment - Google Patents

Method and device for determining layer height in walking process of wearable equipment Download PDF

Info

Publication number
CN114440829A
CN114440829A CN202210117501.2A CN202210117501A CN114440829A CN 114440829 A CN114440829 A CN 114440829A CN 202210117501 A CN202210117501 A CN 202210117501A CN 114440829 A CN114440829 A CN 114440829A
Authority
CN
China
Prior art keywords
data
walking
wearable device
geomagnetic
sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210117501.2A
Other languages
Chinese (zh)
Inventor
陈同
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhenshi Information Technology Shanghai Co ltd
Original Assignee
Zhenshi Information Technology Shanghai Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhenshi Information Technology Shanghai Co ltd filed Critical Zhenshi Information Technology Shanghai Co ltd
Priority to CN202210117501.2A priority Critical patent/CN114440829A/en
Publication of CN114440829A publication Critical patent/CN114440829A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C5/00Measuring height; Measuring distances transverse to line of sight; Levelling between separated points; Surveyors' levels
    • G01C5/06Measuring height; Measuring distances transverse to line of sight; Levelling between separated points; Surveyors' levels by using barometric means

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

The invention discloses a method and a device for determining the layer height of a wearable device in the walking process, wherein the method comprises the following steps: gather walking in-process acceleration sensor's data and geomagnetic sensor's data, according to acceleration sensor's data and geomagnetic sensor's data, obtain the contained angle of walking direction and geomagnetic north, when the change of confirming walking in-process walking direction and geomagnetic north's contained angle is greater than the predetermined threshold value, gather baroceptor's data, according to baroceptor's data, determine wearing equipment walking in-process layer height. Whether the user turns is identified through data collected by the acceleration sensor with low power consumption and the geomagnetic sensor, so that the air pressure sensor is started to realize layer height identification in the walking process, and the user experience is improved.

Description

Method and device for determining layer height in walking process of wearable equipment
Technical Field
The embodiment of the invention relates to the technical field of intelligent equipment, in particular to a method and a device for determining the layer height of wearable equipment in a walking process.
Background
In recent years, wearable devices have become popular, i.e. wearable devices that are worn directly on the body or are a portable device integrated into the clothing or accessories of the user. Wearable equipment is not only a hardware equipment, realizes powerful function through software support and data interaction, high in the clouds interaction more, and wearable equipment will bring very big transition to our life, perception.
At present, in the application of some wearable devices, the wearable device can identify the height of the floor where the wearable device is located currently, but only can realize the height of a part of fixed floors, and when the wearable device is always in the walking process, the wearable device cannot automatically identify the floor. Therefore, a scheme that the wearable device can determine the layer height in the walking process is needed.
Disclosure of Invention
The embodiment of the invention provides a method and a device for determining layer height in a walking process of wearable equipment, which can automatically obtain real-time layer height information in the walking process.
In a first aspect, a method for determining a layer height of a wearable device in a walking process provided by an embodiment of the present invention includes:
collecting data of an acceleration sensor and data of a geomagnetic sensor in a walking process;
obtaining an included angle between the walking direction and the geomagnetic north according to the data of the acceleration sensor and the data of the geomagnetic sensor;
collecting data of an air pressure sensor when the change of the included angle between the walking direction and the geomagnetic north is larger than a preset threshold value in the walking process;
and determining the layer height of the wearable device in the walking process according to the data of the air pressure sensor.
Optionally, obtaining an included angle between the walking direction and the magnetic north according to the data of the acceleration sensor and the data of the geomagnetic sensor includes:
determining an azimuth angle between the wearable device and the ground through the data of the acceleration sensor;
calculating the walking direction of the wearable device and the magnetic field intensity in the walking vertical direction by combining the azimuth angle of the wearable device and the ground and the data of the geomagnetic sensor;
and determining an included angle between the walking direction and the geomagnetic north according to the magnetic field intensity in the walking vertical direction.
Optionally, when it is determined that the change of the included angle between the walking direction and the magnetic north is greater than a preset threshold value in the walking process, acquiring data of the air pressure sensor, including:
and when the included angle between the walking direction and the magnetic north and the included angle between the walking direction and the magnetic north determined last time in the walking process are determined to be larger than a preset threshold value, acquiring data of the air pressure sensor.
Optionally, the determining the layer height of the wearable device in the walking process according to the data of the air pressure sensor includes:
subtracting standard air pressure from the data of the air pressure sensor to obtain a height difference;
and determining whether the difference value between the height difference and the height difference determined last time is larger than a difference threshold value, if so, determining the height difference as the layer height of the wearable device in the walking process.
In a second aspect, an embodiment of the present invention provides a device for determining a layer height of a wearable device during walking, including:
the acquisition unit is used for acquiring data of the acceleration sensor and data of the geomagnetic sensor in the walking process;
the processing unit is used for obtaining an included angle between the walking direction and the geomagnetic north according to the data of the acceleration sensor and the data of the geomagnetic sensor; collecting data of an air pressure sensor when the change of the included angle between the walking direction and the geomagnetic north is larger than a preset threshold value in the walking process; and determining the layer height of the wearable device in the walking process according to the data of the air pressure sensor.
Optionally, the processing unit is specifically configured to:
determining an azimuth angle between the wearable device and the ground through the data of the acceleration sensor;
calculating the walking direction of the wearable device and the magnetic field intensity in the walking vertical direction by combining the azimuth angle of the wearable device and the ground and the data of the geomagnetic sensor;
and determining an included angle between the walking direction and the geomagnetic north according to the magnetic field intensity in the walking vertical direction.
Optionally, the processing unit is specifically configured to:
and when the included angle between the walking direction and the magnetic north and the included angle between the walking direction and the magnetic north determined last time in the walking process are determined to be larger than a preset threshold value, acquiring data of the air pressure sensor.
Optionally, the processing unit is specifically configured to:
subtracting standard air pressure from the data of the air pressure sensor to obtain a height difference;
and determining whether the difference value between the height difference and the height difference determined last time is greater than a difference threshold value, and if so, determining the height difference as the layer height in the walking process.
In a third aspect, an embodiment of the present invention further provides a computing device, including:
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing the layer height determination method in the walking process of the wearable device according to the obtained program.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable non-volatile storage medium, which includes computer-readable instructions, and when the computer reads and executes the computer-readable instructions, the computer is caused to execute the method for determining a layer height in a walking process of the wearable device.
In the embodiment of the invention, the data of the acceleration sensor and the data of the geomagnetic sensor are collected in the walking process, the included angle between the walking direction and the geomagnetic north is obtained according to the data of the acceleration sensor and the data of the geomagnetic sensor, when the change of the included angle between the walking direction and the geomagnetic north in the walking process is determined to be larger than a preset threshold value, the data of the air pressure sensor is collected, and the layer height of the wearable device in the walking process is determined according to the data of the air pressure sensor. Whether the user turns is identified through data collected by the acceleration sensor with low power consumption and the geomagnetic sensor, so that the air pressure sensor is started to realize layer height identification in the walking process, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a system architecture according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a method for determining a layer height during walking of a wearable device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a layer height determining device in a walking process of wearable equipment according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
First, a wearable device to which an embodiment of the present invention is applied will be described with reference to a structure shown in fig. 1. In the embodiment of the present invention, the wearable device 100 may include, but is not limited to, a Radio Frequency (RF) circuit 110, a memory 120, an input unit 130, a WiFi module 170, a display unit 140, a sensor 150, an audio circuit 160, a processor 180, and a motor 190.
Wherein those skilled in the art will appreciate that the wearable device 100 configuration shown in fig. 1 is merely exemplary and not limiting, the wearable device 100 may also include more or fewer components than shown, or combine certain components, or a different arrangement of components.
The RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, for processing downlink information of a base station after receiving the downlink information; in addition, the uplink data of the wearable device 100 is sent to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication ("GSM"), General Packet Radio Service ("GPRS"), Code Division Multiple Access ("CDMA"), Wideband Code Division Multiple Access ("WCDMA"), Long Term Evolution ("LTE"), email, Short message Service ("SMS"), and the like.
The memory 120 may be used to store software programs and modules, and the processor 180 executes various functional applications and data processing of the wearable device 100 by operating the software programs and modules stored in the memory 120. The memory 120 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the wearable device 100, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 130 may be used to receive input numeric or character information and generate key signals related to user settings and function control of the wearable device 100. Specifically, the input unit 130 may include a touch panel 131, an image pickup device 132, and other input devices 133. The camera device 132 can take a picture of an image to be captured, so as to transmit the image to the processor 150 for processing, and finally, present the image to the user through the display panel 141. The touch panel 131, also referred to as a touch screen, may collect touch operations of a user on or near the touch panel 131 (e.g., operations of the user on or near the touch panel 131 using any suitable object or accessory such as a finger or a stylus pen), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 131 may include two parts, i.e., a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and receives and executes commands sent from the processor 180. In addition, the touch panel 131 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 130 may include other input devices 132 in addition to the touch panel 131 and the image pickup device 132. In particular, the other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a joystick, and the like.
Among them, the display unit 140 may be used to display information input by the user or information provided to the user and various menus of the wearable device 100. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 131 can cover the display panel 141, and when the touch panel 131 detects a touch operation on or near the touch panel 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event.
The visual output external display panel 141 that can be recognized by human eyes can be used as a display device in the embodiment of the present invention to display text information or image information. Although in fig. 1, the touch panel 131 and the display panel 141 are two separate components to implement the input and output functions of the wearable device 100, in some embodiments, the touch panel 131 and the display panel 141 may be integrated to implement the input and output functions of the wearable device 100.
In addition, the wearable device 100 may also include at least one sensor 150, such as a posture sensor, a distance sensor, a light sensor, and other sensors.
Specifically, the attitude sensor may also be referred to as a motion sensor, and as one of the motion sensors, an angular velocity sensor (also referred to as a gyroscope) may be cited, which is configured to measure a rotational angular velocity of the wearable device 100 in a state of motion when the wearable device 100 is deflected or tilted, so that the gyroscope can accurately analyze and determine an actual motion of a user using the wearable device 100, and perform a corresponding operation on the wearable device 100. For example: the motion sensing and the shake (the shake of the wearable device 100 achieves some functions) and the inertial navigation can be achieved according to the motion state of the object when no signal is available in a Global Positioning System (GPS for short), such as in a tunnel.
The sensor may be an optical sensor, which is mainly used to collect information such as wavelength and intensity of various light rays of light and adjust the backlight intensity of the display panel 141.
In addition, in the embodiment of the present invention, as the sensor 150, other sensors such as a barometer, a hygrometer, a thermometer, and an infrared sensor may also be configured, which are not described herein again.
The light sensor may also include a proximity sensor that may turn off the display panel 141 and/or backlight when the wearable device 100 is moved to the ear.
Audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between the user and the wearable device 100. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal, and the electrical signal is received by the audio circuit 160 and converted into audio data, and the audio data is processed by the audio data output processor 180, and then transmitted to, for example, another wearable device 100 via the RF circuit 110, or the audio data is output to the memory 120 for further processing.
WiFi belongs to a short-distance wireless transmission technology, the wearable device 100 can help a user to receive and send emails, browse webpages, access streaming media and the like through the WiFi module 170, and wireless broadband internet access is provided for the user. Although fig. 1 shows the WiFi module 170, it is understood that it does not belong to the essential constitution of the wearable device 100, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 180 is a control center of the wearable device 100, connects various parts of the whole wearable device 100 by using various interfaces and lines, and performs various functions of the wearable device 100 and processes data by running or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the wearable device 100. Alternatively, processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications.
It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The wearable device 100 may further include at least one motor 190, and since the wearable device 100 is a power consuming device, the motor 190 may be a small motor, and at the same time, a plurality of motors may be configured for the wearable device 100 according to the amount of power that the motors can provide.
The wearable device 100 also includes a power source (not shown) to power the various components.
Preferably, the power source may be logically connected to the processor 180 through a power management system, so as to implement functions of managing charging, discharging, and power consumption management through the power management system. Although not shown, the wearable device 100 may further include a bluetooth module or the like, which is not described herein.
It should be noted that the structure shown in fig. 1 is only an example, and the embodiment of the present invention is not limited thereto.
Fig. 2 exemplarily shows a process of determining a layer height in a walking process of a wearable device according to an embodiment of the present invention, where the process may be executed by a layer height determining apparatus in a walking process of a wearable device, and the apparatus may be a wearable device or may be located in a wearable device.
As shown in fig. 2, the process specifically includes:
step 201, collecting data of an acceleration sensor and data of a geomagnetic sensor in a walking process.
In the embodiment of the invention, the wearable device can acquire data of the acceleration sensor and data of the geomagnetic sensor in real time, wherein the acceleration sensor can calculate the acceleration of the swing arm when the user uses the wearable device. The acceleration sensor may use a three-axis acceleration sensor. The data of the geomagnetic sensor can be used for calculating the angle of the swing arm relative to the ground.
Step 202, obtaining an included angle between the walking direction and the geomagnetic north according to the data of the acceleration sensor and the data of the geomagnetic sensor.
Specifically, an azimuth angle between the wearable device and the ground is determined through data of the acceleration sensor. And then, calculating the walking direction of the wearable device and the magnetic field intensity in the walking vertical direction by combining the azimuth angle of the wearable device and the ground and the data of the geomagnetic sensor. And finally, determining the included angle between the walking direction and the geomagnetic north according to the magnetic field intensity in the walking vertical direction.
In the practical application process, an included angle between a plane where the wearable device is located and a ground surface plane is set to be a, a crossing line between the plane where the wearable device is located and the ground surface plane is set to be a traveling axis, an included angle between a y axis of the plane where the wearable device is located and the traveling axis is set to be b, and the y axis of the plane where the wearable device is located is the y axis of the acceleration sensor.
The three-axis data of the acceleration sensor are x, y and z respectively, the preset weighting is m, and the xy weighting is mxy. The three-axis data of the geomagnetic sensor are tx, ty, and tz, respectively.
From the above data, the azimuth can be calculated: the a-angle can be calculated by acos (z/m) and the b-angle can be calculated by asin (y/mxy).
After the angle of the azimuth angle is obtained, the geomagnetic component twalk in the walking vertical direction can be calculated through tx sin (a) and ty cos (a), and the rest components are marked as txyrest. Then, the magnetic field strength tpara in the direction perpendicular to the walking can be calculated by tz cos (b) + txyrest. According to the magnetic field intensity tpara and the geomagnetic component twalk, an included angle between the walking direction and the geomagnetic north is calculated through atan (twalk/tpara).
Step 203, when the change of the included angle between the walking direction and the geomagnetic north is larger than a preset threshold value in the walking process, collecting data of the air pressure sensor.
After the included angle between the walking direction and the geomagnetic north is obtained, whether the change of the included angle between the walking direction and the geomagnetic north in the walking process is larger than a preset threshold value or not can be continuously judged. The preset threshold may be set empirically, for example, may be set to 180 °, and two changes of the included angle greater than 180 ° indicate that the wearing apparatus is turning.
The included angle determined this time and the included angle determined last time are determined according to data periodically collected by a geomagnetic sensor, in the continuous judging process, after the included angle between the walking direction and the geomagnetic north is calculated by data collected in the first period, because there is no geomagnetic data before the first period, the included angle calculated by the data collected in the first period is an initial value, the included angle between the walking direction calculated by data collected in the second period and the geomagnetic north is compared with the included angle calculated by the data collected in the first period, a variable quantity is obtained, if the variable quantity exceeds 180 degrees, the wearable device turns, the data of the barometric sensor can be collected at the moment, and the current layer height is calculated. The walking process is avoided, the air pressure data are collected in real time, and the power consumption of the wearable device is reduced.
And step 204, determining the layer height of the wearable device in the walking process according to the data of the air pressure sensor.
Specifically, the standard air pressure is subtracted from the data of the air pressure sensor to obtain a height difference; and determining whether the difference value between the height difference and the height difference determined last time is larger than a difference threshold value, and if so, determining the height difference as the layer height of the wearable device in the walking process.
The air pressure sensor in the wearable device can be a built-in air pressure needle instrument and is used for detecting air pressure change values to form an air pressure layer, and when the air pressure of the wearable device is relatively stable, the height difference can be calculated. Assuming that the ground pressure layer is a standard atmospheric pressure, when a user carries the wearable device to enter a high-rise building and rises to a certain floor to enter a static state, the air pressure needle is started again to measure the current air pressure value, and the height of the ground pressure layer is subtracted from the height of the current air pressure layer to obtain the height difference of the floor where the user is located at present.
After the height difference of the current position is obtained, the height difference can be compared with the height difference determined last time, when the difference value of the height difference and the height difference is larger than the difference threshold value, the user is indicated to ascend one floor instead of being located in the middle of two floors, and the height difference of the current position can be determined as the floor height of the wearable device in the walking process.
The above embodiment shows, gather walking in-process acceleration sensor's data and geomagnetic sensor's data, according to acceleration sensor's data and geomagnetic sensor's data, obtain walking direction and the north contained angle of earth magnetism, when confirming the change of walking in-process walking direction and the north contained angle of earth magnetism is greater than the predetermined threshold value, gather baroceptor's data, according to baroceptor's data, determine wearing equipment walking in-process floor height. Whether the user turns is identified through data collected by the acceleration sensor with low power consumption and the geomagnetic sensor, so that the air pressure sensor is started to realize layer height identification in the walking process, and the user experience is improved.
Based on the same technical concept, fig. 3 exemplarily shows a structure of a device for determining a layer height during walking of a wearable device, which can execute a flow for determining a layer height during walking of a wearable device, according to an embodiment of the present invention.
As shown in fig. 3, the apparatus may include:
the acquisition unit 301 is used for acquiring data of the acceleration sensor and data of the geomagnetic sensor in the walking process;
the processing unit 302 is configured to obtain an included angle between a walking direction and geomagnetic north according to the data of the acceleration sensor and the data of the geomagnetic sensor; when the change of the included angle between the walking direction and the geomagnetic north is larger than a preset threshold value in the walking process, collecting data of an air pressure sensor; and determining the layer height of the wearable device in the walking process according to the data of the air pressure sensor.
Optionally, the processing unit 302 is specifically configured to:
determining an azimuth angle between the wearable device and the ground through the data of the acceleration sensor;
calculating the walking direction of the wearable device and the magnetic field intensity in the walking vertical direction by combining the azimuth angle of the wearable device and the ground and the data of the geomagnetic sensor;
and determining an included angle between the walking direction and the geomagnetic north according to the magnetic field intensity in the walking vertical direction.
Optionally, the processing unit 302 is specifically configured to:
and when the included angle between the walking direction and the magnetic north and the included angle between the walking direction and the magnetic north determined last time in the walking process are larger than a preset threshold value, acquiring data of the air pressure sensor.
Optionally, the processing unit 302 is specifically configured to:
subtracting standard air pressure from the data of the air pressure sensor to obtain a height difference;
and determining whether the difference value between the height difference and the height difference determined last time is greater than a difference threshold value, and if so, determining the height difference as the layer height in the walking process.
Based on the same technical concept, an embodiment of the present invention further provides a computing device, including:
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing the layer height determination method in the walking process of the wearable device according to the obtained program.
Based on the same technical concept, the embodiment of the invention also provides a computer-readable non-volatile storage medium, which comprises computer-readable instructions, and when the computer reads and executes the computer-readable instructions, the computer is enabled to execute the method for determining the layer height of the wearable device in the walking process.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method for determining the layer height of a wearable device in the walking process is characterized by comprising the following steps:
collecting data of an acceleration sensor and data of a geomagnetic sensor in a walking process;
obtaining an included angle between the walking direction and the geomagnetic north according to the data of the acceleration sensor and the data of the geomagnetic sensor;
collecting data of an air pressure sensor when the change of the included angle between the walking direction and the geomagnetic north is larger than a preset threshold value in the walking process;
and determining the layer height of the wearable device in the walking process according to the data of the air pressure sensor.
2. The method of claim 1, wherein obtaining the angle between the walking direction and the geomagnetic north according to the data of the acceleration sensor and the data of the geomagnetic sensor comprises:
determining an azimuth angle between the wearable device and the ground through the data of the acceleration sensor;
calculating the walking direction of the wearable device and the magnetic field intensity in the walking vertical direction by combining the azimuth angle of the wearable device and the ground and the data of the geomagnetic sensor;
and determining an included angle between the walking direction and the geomagnetic north according to the magnetic field intensity in the walking vertical direction.
3. The method of claim 1, wherein collecting data of the air pressure sensor when it is determined that a change in an angle between the walking direction and the magnetic north during walking is greater than a preset threshold value comprises:
and when the included angle between the walking direction and the magnetic north and the included angle between the walking direction and the magnetic north determined last time in the walking process are determined to be larger than a preset threshold value, acquiring data of the air pressure sensor.
4. The method of any one of claims 1 to 3, wherein the determining the layer height of the wearable device during walking from the data of the air pressure sensor comprises:
subtracting standard air pressure from the data of the air pressure sensor to obtain a height difference;
and determining whether the difference value between the height difference and the height difference determined last time is larger than a difference threshold value, if so, determining the height difference as the layer height of the wearable device in the walking process.
5. The utility model provides a wearing equipment walking in-process layer height determining means which characterized in that includes:
the acquisition unit is used for acquiring data of the acceleration sensor and data of the geomagnetic sensor in the walking process;
the processing unit is used for obtaining an included angle between the walking direction and the geomagnetic north according to the data of the acceleration sensor and the data of the geomagnetic sensor; collecting data of an air pressure sensor when the change of the included angle between the walking direction and the geomagnetic north is larger than a preset threshold value in the walking process; and determining the layer height of the wearable device in the walking process according to the data of the air pressure sensor.
6. The apparatus as claimed in claim 5, wherein said processing unit is specifically configured to:
determining an azimuth angle between the wearable device and the ground through the data of the acceleration sensor;
calculating the walking direction of the wearable device and the magnetic field intensity in the walking vertical direction by combining the azimuth angle of the wearable device and the ground and the data of the geomagnetic sensor;
and determining an included angle between the walking direction and the geomagnetic north according to the magnetic field intensity in the walking vertical direction.
7. The apparatus as claimed in claim 5, wherein said processing unit is specifically configured to:
and when the included angle between the walking direction and the magnetic north and the included angle between the walking direction and the magnetic north determined last time in the walking process are determined to be larger than a preset threshold value, acquiring data of the air pressure sensor.
8. The apparatus according to any one of claims 5 to 7, wherein the processing unit is specifically configured to:
subtracting standard air pressure from the data of the air pressure sensor to obtain a height difference;
and determining whether the difference value between the height difference and the height difference determined last time is greater than a difference threshold value, and if so, determining the height difference as the layer height in the walking process.
9. A computing device, comprising:
a memory for storing program instructions;
a processor for calling program instructions stored in said memory to execute the method of any one of claims 1 to 4 in accordance with the obtained program.
10. A computer-readable non-transitory storage medium including computer-readable instructions which, when read and executed by a computer, cause the computer to perform the method of any one of claims 1 to 4.
CN202210117501.2A 2022-02-08 2022-02-08 Method and device for determining layer height in walking process of wearable equipment Pending CN114440829A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210117501.2A CN114440829A (en) 2022-02-08 2022-02-08 Method and device for determining layer height in walking process of wearable equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210117501.2A CN114440829A (en) 2022-02-08 2022-02-08 Method and device for determining layer height in walking process of wearable equipment

Publications (1)

Publication Number Publication Date
CN114440829A true CN114440829A (en) 2022-05-06

Family

ID=81372146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210117501.2A Pending CN114440829A (en) 2022-02-08 2022-02-08 Method and device for determining layer height in walking process of wearable equipment

Country Status (1)

Country Link
CN (1) CN114440829A (en)

Similar Documents

Publication Publication Date Title
CN107826109B (en) Lane keeping method and apparatus
CN109164477B (en) Application positioning method and mobile terminal
CN107532900A (en) One kind determines calibration parameter method and mobile device
CN108846663B (en) Two-dimensional code adjusting method and device and mobile terminal
CN108337368B (en) Method for updating positioning data and mobile terminal
CN108362304B (en) Data processing method and mobile terminal
CN110109539A (en) A kind of gestural control method, wearable device and computer readable storage medium
CN109739300A (en) A kind of method of controlling antenna and terminal
CN113587938B (en) Vehicle positioning method and device and storage medium
CN109936817B (en) Positioning method and terminal equipment
CN109141355B (en) Relative height measuring method based on multiple sensors and wearable equipment
CN108447146A (en) Shooting direction bias detecting method and device
CN108196663B (en) Face recognition method and mobile terminal
CN109932685A (en) A kind of localization method, mobile terminal and indoor locating system
CN114849215B (en) Rope skipping counting method and device based on intelligent wearable equipment
CN113194280A (en) Security level generation method and device for security area, storage device and electronic device
CN109618278B (en) Positioning method and mobile terminal
CN108632466B (en) Volume compensation method and mobile terminal
CN115060285A (en) Step counting statistical method and device based on acceleration sensor
CN108494946B (en) Method and device for correcting electronic compass in mobile terminal
CN110708673A (en) Position determination method and portable multifunctional equipment
CN114440829A (en) Method and device for determining layer height in walking process of wearable equipment
CN114190920B (en) Method and device for identifying age of user by wearable device
CN110166947B (en) Position sharing method, first mobile terminal and base station
CN114397956B (en) Wearing equipment use mode switching method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination