CN109141355B - Relative height measuring method based on multiple sensors and wearable equipment - Google Patents

Relative height measuring method based on multiple sensors and wearable equipment Download PDF

Info

Publication number
CN109141355B
CN109141355B CN201810985193.9A CN201810985193A CN109141355B CN 109141355 B CN109141355 B CN 109141355B CN 201810985193 A CN201810985193 A CN 201810985193A CN 109141355 B CN109141355 B CN 109141355B
Authority
CN
China
Prior art keywords
air pressure
value
pressure value
measurement
relative height
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.)
Active
Application number
CN201810985193.9A
Other languages
Chinese (zh)
Other versions
CN109141355A (en
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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201810985193.9A priority Critical patent/CN109141355B/en
Publication of CN109141355A publication Critical patent/CN109141355A/en
Application granted granted Critical
Publication of CN109141355B publication Critical patent/CN109141355B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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)
  • User Interface Of Digital Computer (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

A relative height measuring method based on multiple sensors and a wearable device comprise the following steps: when detecting that a parameter value acquired by an ultraviolet sensor arranged in the wearable device changes, controlling an air pressure sensor arranged in the wearable device to detect a first air pressure value, and determining the detection position of the first air pressure value as an initial position; detecting whether a height measurement instruction is received or not, if so, controlling the air pressure sensor to detect a second air pressure value according to the height measurement instruction, and determining the detection position of the second air pressure value as a measurement position; and determining the relative height of the measuring position relative to the initial position according to the first air pressure value and the second air pressure value, wherein the relative height is used for representing the vertical distance between the measuring position and the initial position. By implementing the embodiment of the invention, the electric quantity loss of the equipment can be reduced.

Description

Relative height measuring method based on multiple sensors and wearable equipment
Technical Field
The invention relates to the technical field of wearable equipment, in particular to a relative height measuring method based on multiple sensors and the wearable equipment.
Background
Because of poor safety awareness and discrimination, the missing and abducted events of children and teenagers occur occasionally, and parents hope to know the accurate position of the children when the children go out alone. For example, when a child enters a shopping mall by itself, parents want to know not only the geographical location of the shopping mall but also the specific floor where the child is located, and therefore, the relative height of the location of the child with respect to the ground needs to be measured.
Currently, height measuring instruments are commonly used to measure relative heights. Specifically, a telephone watch worn by a child is provided with a height measuring instrument, and the relative height of the child relative to the ground can be calculated through data measured by the height measuring instrument. However, with this method of measuring relative height, the height measuring instrument needs to be turned on for a long time without interruption, which aggravates the power consumption of the telephone watch.
Disclosure of Invention
The embodiment of the invention discloses a relative height measuring method based on multiple sensors and wearable equipment, which can reduce the electric quantity loss of the equipment.
The embodiment of the invention discloses a relative height measuring method based on multiple sensors in a first aspect, which comprises the following steps:
when detecting that the parameter value collected by the ultraviolet sensor changes, controlling an air pressure sensor to detect a first air pressure value, and determining the detection position of the first air pressure value as an initial position; the ultraviolet sensor and the air pressure sensor are both arranged in the wearable device;
detecting whether a height measurement instruction is received or not, if so, controlling the air pressure sensor to detect a second air pressure value according to the height measurement instruction, and determining the detection position of the second air pressure value as a measurement position;
determining a relative height of the measurement position relative to the initial position from the first air pressure value and the second air pressure value, the relative height being indicative of a vertical distance between the measurement position and the initial position.
As an alternative implementation, in the first aspect of the embodiments of the present invention, the controlling, according to the height measurement instruction, the air pressure sensor to detect a second air pressure value and determine a detection position of the second air pressure value as a measurement position includes:
controlling the air pressure sensor to detect a measured air pressure value according to the height measurement instruction, and determining a detection position of the measured air pressure value as a measurement position;
acquiring a measurement temperature value of the measurement position;
correcting the measured air pressure value according to the temperature difference value to obtain a second air pressure value of the measured position; wherein the temperature difference is a difference between a sea level standard atmospheric temperature value and the measured temperature value.
As an alternative implementation, in the first aspect of the embodiment of the present invention, the determining the relative height of the measurement position with respect to the initial position according to the first air pressure value and the second air pressure value includes:
determining a plane where the initial position of the first air pressure value is detected as a reference plane;
normalizing the second air pressure value and the measured temperature value to obtain a normalization processing result;
inputting the normalization processing result into a relative height measurement model trained in advance; the training data of the relative height measurement model comprises a sample temperature value, a sample air pressure value and a sample relative height of a plurality of measurement points, wherein the sample relative height is a height value of each measurement point relative to the reference plane;
determining a relative height of the measurement position with respect to the initial position based on an output result of the relative height measurement model.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the determining the relative height of the measurement position with respect to the initial position based on the output result of the relative height measurement model includes:
obtaining an output result of the relative height measurement model;
performing inverse normalization processing on the output result to obtain an inverse normalization processing result;
and determining the relative height of the measurement position relative to the initial position according to the result of the reverse normalization processing.
As an alternative implementation manner, in the first aspect of the embodiment of the present invention, the parameter value collected by the ultraviolet sensor is an ultraviolet intensity value; the method further comprises the following steps:
acquiring a first ultraviolet intensity value acquired by the ultraviolet sensor at a first moment and a second ultraviolet intensity value acquired by the ultraviolet sensor at a second moment, wherein a preset time interval exists between the first moment and the second moment;
calculating a difference value between the first ultraviolet intensity value and the second ultraviolet intensity value, and judging whether the difference value is greater than a preset threshold value;
and if the difference value is larger than the preset threshold value, determining that the parameter value acquired by the ultraviolet sensor is changed.
A second aspect of an embodiment of the present invention discloses a wearable device, including:
the first control unit is used for controlling the air pressure sensor to detect a first air pressure value when detecting that the parameter value collected by the ultraviolet sensor changes, and determining the detection position of the first air pressure value as an initial position; the ultraviolet sensor and the air pressure sensor are both arranged in the wearable device;
the detection unit is used for detecting whether a height measurement instruction is received or not;
the second control unit is used for controlling the air pressure sensor to detect a second air pressure value according to the height measurement instruction after the detection unit detects that the height measurement instruction is received, and determining the detection position of the second air pressure value as a measurement position;
a first determining unit, configured to determine a relative height of the measurement position with respect to the initial position according to the first air pressure value and the second air pressure value, where the relative height is used to indicate a vertical distance between the measurement position and the initial position.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the second control unit includes:
the control subunit is used for controlling the air pressure sensor to detect a measured air pressure value according to the height measurement instruction after the detection unit detects that the height measurement instruction is received, and determining the detection position of the measured air pressure value as a measurement position;
the acquisition subunit is used for acquiring the measurement temperature value of the measurement position;
the correcting subunit is used for correcting the measured air pressure value according to the temperature difference value to obtain a second air pressure value of the measured position; wherein the temperature difference is a difference between a sea level standard atmospheric temperature value and the measured temperature value.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the first determining unit includes:
the first determining subunit is used for determining a plane where the initial position for detecting the first air pressure value is located as a reference plane;
the processing subunit is used for carrying out normalization processing on the second air pressure value and the measured temperature value to obtain a normalization processing result;
the input subunit is used for inputting the normalization processing result to a relative height measurement model trained in advance; the training data of the relative height measurement model comprises a sample temperature value, a sample air pressure value and a sample relative height of a plurality of measurement points, wherein the sample relative height is a height value of each measurement point relative to the reference plane;
a second determining subunit, configured to determine, based on an output result of the relative height measurement model, a relative height of the measurement position with respect to the initial position, the relative height being used to represent a vertical distance between the measurement position and the initial position.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the manner in which the second determining subunit determines the relative height of the measurement position with respect to the initial position based on the output result of the relative height measurement model is specifically:
obtaining an output result of the relative height measurement model;
performing inverse normalization processing on the output result to obtain an inverse normalization processing result;
and determining the relative height of the measurement position relative to the initial position according to the result of the reverse normalization processing.
As an alternative implementation manner, in the second aspect of the embodiment of the present invention, the parameter value collected by the ultraviolet sensor is an ultraviolet intensity value; the wearable device further comprises:
the device comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring a first ultraviolet intensity value acquired by an ultraviolet sensor at a first moment and acquiring a second ultraviolet intensity value acquired by the ultraviolet sensor at a second moment, and a preset time interval exists between the first moment and the second moment;
a calculation unit for calculating a difference between the first ultraviolet intensity value and the second ultraviolet intensity value;
the judging unit is used for judging whether the difference value is larger than a preset threshold value or not;
and the second determining unit is used for determining that the parameter value acquired by the ultraviolet sensor is detected to be changed when the judging unit judges that the difference value is greater than the preset threshold value.
A third aspect of an embodiment of the present invention discloses another wearable device, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute all or part of the steps of any one of the methods disclosed in the first aspect of the embodiments of the present invention.
A fourth aspect of the embodiments of the present invention discloses a computer-readable storage medium, which is characterized by storing a computer program for electronic data exchange, wherein the computer program causes a computer to execute all or part of the steps in any one of the methods disclosed in the first aspect of the embodiments of the present invention.
A fifth aspect of embodiments of the present invention discloses a computer program product, which, when run on a computer, causes the computer to perform some or all of the steps of any one of the methods of the first aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, when detecting that the parameter value collected by the ultraviolet sensor arranged in the wearable device changes, controlling the air pressure sensor arranged in the wearable device to detect a first air pressure value, and determining the detection position of the first air pressure value as an initial position; detecting whether a height measurement instruction is received or not, if so, controlling the air pressure sensor to detect a second air pressure value according to the height measurement instruction, and determining the detection position of the second air pressure value as a measurement position; and determining the relative height of the measuring position relative to the initial position according to the first air pressure value and the second air pressure value, wherein the relative height is used for representing the vertical distance between the measuring position and the initial position. Therefore, by implementing the embodiment of the invention, the ultraviolet sensor and the air pressure sensor can be combined, and the air pressure sensor is started to work when the parameter value acquired by the ultraviolet sensor changes, compared with the prior art in which a height measuring instrument built in the wearable equipment is started uninterruptedly for a long time, the invention can reduce the electric quantity loss of the wearable equipment.
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 embodiments will be briefly described 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 that other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic flow chart of a multi-sensor based relative height measurement method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of another multi-sensor based relative height measurement method disclosed in the embodiments of the present invention;
FIG. 3 is a schematic flow chart of another multi-sensor based relative height measurement method disclosed in the embodiments of the present invention;
fig. 4 is a schematic structural diagram of a wearable device disclosed in the embodiment of the invention;
FIG. 5 is a schematic structural diagram of another wearable device disclosed in the embodiments of the present invention;
FIG. 6 is a schematic structural diagram of another wearable device disclosed in the embodiments of the present invention;
fig. 7 is a block diagram of a partial structure of a telephone watch according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived 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.
It is to be noted that the terms "comprises" and "comprising" and any variations thereof in the embodiments and drawings of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a relative height measuring method based on multiple sensors and wearable equipment, which can reduce the electric quantity loss of the equipment. The following are detailed below.
Example one
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a method for measuring relative height based on multiple sensors according to an embodiment of the present invention. As shown in fig. 1, the multi-sensor based relative height measuring method may include the following steps:
101. when detecting that the parameter value collected by the ultraviolet sensor changes, the wearable device controls the air pressure sensor to detect a first air pressure value, and determines the detection position of the first air pressure value as an initial position; the ultraviolet sensor and the air pressure sensor are both arranged in the wearable device.
In the embodiment of the present invention, the parameter value collected by the ultraviolet sensor may be an ultraviolet intensity value.
As an alternative implementation, before performing step 101, the method may further include the following operations:
the wearable device acquires a first ultraviolet intensity value acquired by the ultraviolet sensor at a first moment and a second ultraviolet intensity value acquired by the ultraviolet sensor at a second moment, wherein a preset time interval exists between the first moment and the second moment;
the wearable device calculates a difference value between the first ultraviolet intensity value and the second ultraviolet intensity value and judges whether the difference value is larger than a preset threshold value or not;
if the difference value is larger than a preset threshold value, the wearable device determines that the change of the parameter value acquired by the ultraviolet sensor is detected.
In the embodiment of the invention, the wearable equipment is internally provided with the ultraviolet sensor, and the ultraviolet sensor can work in real time and is used for detecting the ultraviolet condition of the environment where the wearable equipment is located. The ultraviolet ray collected by the ultraviolet ray sensor is mainly medium-wave ultraviolet ray, and the medium-wave ultraviolet ray mainly appears in outdoor environment. Therefore, when the ultraviolet intensity values acquired by the ultraviolet sensor at two adjacent moments (i.e., the first moment and the second moment) change (i.e., the difference between the first ultraviolet intensity value and the second ultraviolet intensity value is greater than the preset threshold), it may be determined that the environment in which the wearable device is located changes (i.e., changes from an outdoor environment to an indoor environment, or changes from an indoor environment to an outdoor environment). For example, when a first uv intensity value collected by the uv sensor at a first time is greater than a second uv intensity value collected by the uv sensor at a second time, and a difference between the first uv intensity value and the second uv intensity value is greater than a preset threshold, it may indicate that the user (and the wearable device) enters the indoor environment from the outdoor environment; for another example, when a first uv intensity value collected by the uv sensor at a first time is not greater than a second uv intensity value collected by the uv sensor at a second time, and a difference between the first uv intensity value and the second uv intensity value is greater than a preset threshold, it may indicate that the user (and the wearable device) enters the outdoor environment from the indoor environment.
Therefore, the embodiment of the invention can judge whether the environment where the user is located changes or not based on the change conditions of the ultraviolet intensity values at two adjacent moments, and trigger the detection of the air pressure value after determining that the environment where the user is located changes (such as from indoor to outdoor), so that the electric quantity loss of the wearable equipment is reduced.
102. The wearable device detects whether a height measurement instruction is received, and if the height measurement instruction is received, the wearable device triggers to execute step 103; if it is detected that the height measurement command has not been received, execution continues with step 102.
In an embodiment of the present invention, the altitude measurement instruction is configured to instruct the wearable device to measure a relative altitude between an environment in which the wearable device is currently located and a detection position (initial position) of the first air pressure value. In addition, the height measurement instruction may be actively triggered by a user of the wearable device, or may be sent by a terminal device associated with the wearable device, which is not limited in the embodiment of the present invention.
103. The wearable device controls the air pressure sensor to detect a second air pressure value according to the height measurement instruction, and determines the detection position of the second air pressure value as a measurement position.
In this embodiment of the present invention, optionally, the wearable device may control the air pressure sensor to detect a plurality of initial second air pressure values at the measurement position, delete two initial second air pressure values with the highest value and the lowest value among the plurality of initial second air pressure values, and obtain an average value of the remaining initial second air pressure values as the second air pressure value at the measurement position. For example, the wearable device collects 10 initial second air pressure values at the measurement location, then deletes two initial second air pressure values with the highest air pressure value and the lowest air pressure value from the 10 initial air pressure values, and obtains an average value of the remaining 8 initial second air pressure values as the second air pressure value at the measurement location.
104. The wearable device determines a relative height of the measurement position relative to the initial position according to the first air pressure value and the second air pressure value, wherein the relative height is used for representing a vertical distance between the measurement position and the initial position.
In the embodiment of the invention, after the wearable device determines the relative height of the measurement position relative to the initial position, the wearable device can also determine an output mode of the relative height according to a receiving mode of the height measurement instruction. For example, the height measurement instruction is triggered by a user of the wearable device, then the wearable device may output the relative height to a display interface of the wearable device; for another example, if the height measurement instruction is triggered by a user of the monitoring terminal (parent, teacher, etc.) associated with the wearable device, the wearable device may send the relative height to the monitoring terminal for viewing by the user of the monitoring terminal.
In this embodiment of the present invention, optionally, after determining the relative height of the measurement position with respect to the initial position according to the first air pressure value and the second air pressure value, the wearable device may further obtain the position coordinates of the measurement position and the position coordinates of the initial position, and send the relative height of the measurement position with respect to the initial position, the position coordinates of the measurement position, and the position coordinates of the initial position to the monitoring terminal associated with the wearable device, so as to be viewed by a user of the monitoring terminal.
Therefore, by the method described in fig. 1, the ultraviolet sensor and the air pressure sensor can be combined, and the air pressure sensor is started to work when the parameter value acquired by the ultraviolet sensor changes, so that compared with the prior art in which the height measuring instrument built in the wearable device is started uninterruptedly for a long time, the method disclosed by the invention can reduce the electric quantity loss of the wearable device.
Example two
Referring to fig. 2, fig. 2 is a schematic flow chart illustrating another method for measuring relative height based on multiple sensors according to an embodiment of the present invention. As shown in fig. 2, the multi-sensor based relative height measuring method may include the following steps:
in the embodiment of the present invention, the method for measuring relative height based on multiple sensors includes steps 201 to 202, and for the description of steps 201 to 202, please refer to the detailed description of steps 101 to 102 in the first embodiment, which is not repeated herein; wherein, the step 202 detects that the height measurement instruction is received, and the step 203 is triggered to be executed; detecting in step 202 that the height measurement command has not been received, execution continues with step 202.
203. The wearable device controls the air pressure sensor to detect a measured air pressure value according to the height measurement instruction, and determines a detection position of the measured air pressure value as a measurement position.
204. The wearable device obtains a measured temperature value for the measurement location.
In the embodiment of the invention, the wearable device can acquire the measured temperature value of the measuring position by controlling the built-in temperature sensor of the wearable device.
205. The wearable device corrects the measured air pressure value according to the temperature difference value to obtain a second air pressure value of the measured position; wherein the temperature difference is a difference between a standard atmospheric temperature value and a measured temperature value at sea level.
In the embodiment of the invention, as the air pressure value has correlation with the change of the temperature value, the overall trend is that the temperature value is increased and the air pressure value is reduced; otherwise, the temperature value is decreased and the air pressure value is increased. Optionally, based on the correlation between the air pressure value and the temperature value, the wearable device corrects the measured air pressure value according to the temperature difference value, and obtaining the second air pressure value of the measurement location may include: the wearable device calculates a product of the first correction factor and the temperature difference value, and determines a second air pressure value based on the product, a sum of the measured air pressure value and the second correction factor; the temperature difference is the difference between the sea level standard atmospheric temperature value and the measured temperature value, the sea level standard atmospheric temperature value is 288.15K, and the first correction coefficient and the second correction coefficient are preset constants. Therefore, the embodiment of the invention can correct the measured air pressure value through the temperature difference value, thereby improving the measurement precision of the second air pressure value of the measurement position and further improving the accuracy of calculating the relative height.
206. The wearable device determines a relative height of the measurement position relative to the initial position according to the first air pressure value and the second air pressure value, wherein the relative height is used for representing a vertical distance between the measurement position and the initial position.
Therefore, by the method described in fig. 2, the ultraviolet sensor and the air pressure sensor can be combined, and the air pressure sensor is started to work when the parameter value acquired by the ultraviolet sensor changes, so that compared with the prior art in which a height measuring instrument built in the wearable device is started uninterruptedly for a long time, the method disclosed by the invention can reduce the electric quantity loss of the wearable device; in addition, the measured air pressure value can be corrected through the temperature difference value, the measurement precision of the second air pressure value of the measurement position is improved, and the accuracy of calculating the relative height is further improved.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic flow chart of another method for measuring relative height based on multiple sensors according to an embodiment of the present invention. As shown in fig. 3, the multi-sensor based relative height measuring method may include the following steps:
in the embodiment of the present invention, the method for measuring relative height based on multiple sensors includes steps 301 to 305, and for the description of steps 301 to 305, please refer to the detailed description of steps 201 to 205 in the second embodiment, which is not repeated herein.
306. The wearable device determines a plane where an initial position of detecting the first air pressure value is located as a reference plane.
In the embodiment of the present invention, the wearable device controls the air pressure sensor to acquire the first air pressure value when detecting that the parameter value acquired by the ultraviolet sensor changes, so that the reference plane may be a ground, an open balcony, or a balcony, which is not limited in the embodiment of the present invention.
307. And the wearable equipment performs normalization processing on the second air pressure value and the measured temperature value to obtain a normalization processing result.
308. The wearable equipment inputs the normalization processing result into a relative height measurement model trained in advance; the training data of the relative height measurement model comprises a sample temperature value, a sample air pressure value and a sample relative height of a plurality of measurement points, wherein the sample relative height is a height value of each measurement point relative to a reference plane.
In the embodiment of the invention, the wearable device takes the normalization processing result of the air pressure value and the measured temperature value as the input value of the relative height measurement model, so that the convergence rate of the relative height measurement model can be increased, and the acquisition speed of the relative height is increased.
In this embodiment of the present invention, optionally, before the wearable device inputs the normalization processing result to the pre-trained relative height measurement model, the method may further include the following steps:
the wearable device determines a datum point, and the datum point is located on the reference plane;
the wearable equipment determines sample training temperature values, sample air pressure values and sample relative heights corresponding to the plurality of measuring points based on the reference points as training data;
the wearable device trains an initial neural network model by using the training data to obtain the relative height measurement model.
309. The wearable device determines a relative height of the measurement location with respect to the initial location based on an output of the relative height measurement model.
As an alternative embodiment, the wearable device determining the relative height of the measurement position with respect to the initial position based on the output result of the relative height measurement model may include:
the wearable equipment acquires an output result of the relative height measurement model;
the wearable device performs inverse normalization processing on the output result to obtain an inverse normalization processing result;
the wearable device determines a relative height of the measurement location with respect to the initial location from the denormalization process result.
With respect to steps 306 to 309, when determining the relative height of the measurement position with respect to the initial position according to the first air pressure value of the initial position and the second air pressure value of the measurement position, the wearable device may calculate the relative height by using a standard air pressure height formula of the relative height, however, the formula is greatly affected by the atmospheric temperature or humidity (i.e., the formula has a principle error), and further, the measurement of the relative height is affected by a large error. In the embodiment of the invention, the wearable device can determine a plane where the initial position for detecting the first air pressure value is located as a reference plane, and determine the relative height measurement model according to the reference plane; and normalizing the second air pressure value and the measured temperature value to obtain a normalization processing result, inputting the normalization processing result into the relative height measurement model as an input value, and determining the relative height of the measurement position relative to the initial position according to the output result of the relative height measurement model. Therefore, the embodiment of the invention can calculate the relative height of the measurement position relative to the initial position based on the relative height measurement model, improves the calculation accuracy, and reduces the influence of the environmental factor change on the calculation result (namely the relative height of the measurement position relative to the initial position) due to the good stability of the relative height measurement model.
Therefore, by the method described in fig. 3, the ultraviolet sensor and the air pressure sensor can be combined, and the air pressure sensor is started to work when the parameter value acquired by the ultraviolet sensor changes, so that compared with the prior art in which a height measuring instrument built in the wearable device is started uninterruptedly for a long time, the method disclosed by the invention can reduce the electric quantity loss of the wearable device; the measurement precision of the second air pressure value of the measurement position is improved, and the accuracy of calculating the relative height is further improved; in addition, the relative height of the measurement position relative to the initial position can be calculated based on the relative height measurement model, so that the calculation accuracy is improved, and meanwhile, due to the good stability of the relative height measurement model, the influence of the change of the environmental factors on the calculation result (namely the relative height of the measurement position relative to the initial position) is reduced.
Example four
Referring to fig. 4, fig. 4 is a schematic structural diagram of a wearable device according to an embodiment of the present invention. As shown in fig. 4, the wearable device may include:
a first control unit 401, configured to control the air pressure sensor to detect a first air pressure value when detecting that a parameter value collected by the ultraviolet sensor changes, determine a detection position of the first air pressure value as an initial position, and provide the first air pressure value measured at the initial position to the first determination unit 404; wherein, this ultraviolet ray sensor and this baroceptor all place in wearable equipment.
A detection unit 402 for detecting whether the height measurement instruction is received, and providing the detection result to the second control unit 403.
A second control unit 403, configured to, after the detection unit 402 detects that the height measurement instruction is received, control the air pressure sensor to detect a second air pressure value according to the height measurement instruction, determine a detection position of the second air pressure value as a measurement position, and provide the second air pressure value measured by the measurement position to the first determination unit 404.
In this embodiment of the present invention, optionally, the second control unit 403 may control the air pressure sensor to detect a plurality of initial second air pressure values at the measurement position, delete two initial second air pressure values with the highest value and the lowest value among the plurality of initial second air pressure values, and obtain an average value of the remaining initial second air pressure values as the second air pressure value at the measurement position. For example, the second control unit 403 may collect 10 initial second air pressure values at the measurement position, delete two initial second air pressure values with the highest air pressure value and the lowest air pressure value from the 10 initial air pressure values, and obtain an average value of the remaining 8 initial second air pressure values as the second air pressure value at the measurement position.
A first determining unit 404, configured to determine a relative height of the measurement position with respect to the initial position according to the first air pressure value and the second air pressure value, where the relative height is used to indicate a vertical distance between the measurement position and the initial position.
In this embodiment of the present invention, optionally, after determining the relative height of the measurement position with respect to the initial position according to the first air pressure value and the second air pressure value, the first determining unit 404 may further obtain the position coordinate of the measurement position and the position coordinate of the initial position, and send the relative height of the measurement position with respect to the initial position, the position coordinate of the measurement position, and the position coordinate of the initial position to the monitoring terminal associated with the wearable device for the user of the monitoring terminal to view.
Therefore, the wearable device described in fig. 4 can combine the ultraviolet sensor and the air pressure sensor, and the air pressure sensor is started to work when the parameter value acquired by the ultraviolet sensor changes, so that compared with the prior art in which the height measuring instrument built in the wearable device is started uninterruptedly for a long time, the wearable device can reduce the electric quantity loss of the wearable device.
EXAMPLE five
Referring to fig. 5, fig. 5 is a schematic structural diagram of another wearable device according to an embodiment of the present invention, wherein the wearable device shown in fig. 5 is obtained by further optimizing the wearable device shown in fig. 4. In contrast to the wearable device shown in fig. 4, in the wearable device shown in fig. 5, the second control unit 403 may include:
a control subunit 4031, configured to, after the detection unit 402 detects that the height measurement instruction has been received, control the air pressure sensor to detect the measured air pressure value according to the height measurement instruction, determine the detection position of the measured air pressure value as a measurement position, and provide the measurement air pressure value to the correction subunit 4033.
The obtaining subunit 4032 is configured to obtain a measured temperature value of the measurement location, and provide the measured temperature value to the correcting subunit 4033.
A correction subunit 4033, configured to correct the measured air pressure value according to the temperature difference value, to obtain a second air pressure value at the measurement position; wherein the temperature difference is the difference between the sea level standard atmospheric temperature value and the measured temperature value.
In the embodiment of the invention, as the air pressure value has correlation with the change of the temperature value, the overall trend is that the temperature value is increased and the air pressure value is reduced; otherwise, the temperature value is decreased and the air pressure value is increased. Optionally, based on the correlation between the air pressure value and the temperature value, the manner of correcting the measured air pressure value by the correction subunit 4033 according to the temperature difference value to obtain the second air pressure value at the measurement position may specifically be: calculating a product of the first correction factor and the temperature difference value, and determining a second air pressure value based on the product, the measured air pressure value and a sum of the second correction factor; the temperature difference is the difference between the sea level standard atmospheric temperature value and the measured temperature value, the sea level standard atmospheric temperature value is 288.15K, and the first correction coefficient and the second correction coefficient are preset constants. Therefore, the embodiment of the invention can correct the measured air pressure value through the temperature difference value, thereby improving the measurement precision of the second air pressure value of the measurement position and further improving the accuracy of calculating the relative height.
Therefore, the wearable device described in fig. 5 can combine the ultraviolet sensor and the air pressure sensor, and the air pressure sensor is started to work when the parameter value acquired by the ultraviolet sensor changes, so that compared with the prior art in which a height measuring instrument built in the wearable device is started uninterruptedly for a long time, the wearable device can reduce the electric quantity loss of the wearable device; in addition, the measured air pressure value can be corrected through the temperature difference value, the measurement precision of the second air pressure value of the measurement position is improved, and the accuracy of calculating the relative height is further improved.
EXAMPLE six
Referring to fig. 6, fig. 6 is a schematic structural diagram of another wearable device according to an embodiment of the present invention, wherein the wearable device shown in fig. 6 is obtained by further optimizing the wearable device shown in fig. 5. In comparison with the wearable device shown in fig. 5, in the wearable device shown in fig. 5, the first determination unit 404 may include:
the first determining sub-unit 4041 is configured to determine a plane where an initial position of the first air pressure value is detected as a reference plane, and provide the reference plane to the input sub-unit 4043.
The processing sub-unit 4042 is configured to perform normalization processing on the second air pressure value and the measured temperature value to obtain a normalization processing result, and provide the normalization processing result to the input sub-unit 4043.
An input sub-unit 4043 configured to input the normalization processing result to the pre-trained relative height measurement model, and supply an output result obtained by the pre-trained relative height measurement model to the second determination sub-unit 4044; the training data of the relative height measurement model comprises a sample temperature value, a sample air pressure value and a sample relative height of a plurality of measurement points, wherein the sample relative height is a height value of each measurement point relative to a reference plane.
In the embodiment of the present invention, the input subunit 4043 uses the normalization processing result of the air pressure value and the measured temperature value as the input value of the relative altitude measurement model, which can improve the convergence rate of the relative altitude measurement model, thereby improving the acquisition speed of the relative altitude.
In this embodiment of the present invention, optionally, before the inputting the normalization processing result into the pre-trained relative height measurement model, the inputting sub-unit 4043 may further include:
determining a datum point, which is located on the reference plane;
determining sample training temperature values, sample air pressure values and sample relative heights corresponding to the plurality of measuring points based on the reference points as training data;
and training an initial neural network model by using the training data to obtain the relative height measurement model.
A second determining sub-unit 4044, configured to determine a relative height of the measurement position with respect to the initial position based on an output result of the relative height measurement model, the relative height being used to represent a vertical distance between the measurement position and the initial position.
As an alternative embodiment, the second determining sub-unit 4044 may specifically determine the relative height of the measurement position with respect to the initial position based on the output result of the relative height measurement model by:
obtaining an output result of the relative height measurement model;
performing inverse normalization processing on the output result to obtain an inverse normalization processing result;
and determining the relative height of the measurement position relative to the initial position according to the result of the anti-normalization processing.
As an alternative embodiment, as shown in fig. 6, the parameter value collected by the ultraviolet sensor may be an ultraviolet intensity value; the wearable device may further include:
an obtaining unit 405, configured to obtain a first ultraviolet intensity value collected by the ultraviolet sensor at a first time, obtain a second ultraviolet intensity value collected by the ultraviolet sensor at a second time, and provide the first ultraviolet intensity value and the second ultraviolet intensity value to a calculating unit 406; and a preset time interval exists between the first moment and the second moment.
The calculating unit 406 is configured to calculate a difference between the first ultraviolet intensity value and the second ultraviolet intensity value, and provide the calculation result to the determining unit 407.
A judging unit 407, configured to judge whether the difference is greater than a preset threshold, and provide the judgment result to the second determining unit 408.
The second determining unit 408 is configured to determine that the parameter value collected by the ultraviolet sensor is detected to change when the determining unit 407 determines that the difference is greater than the preset threshold, and trigger the first control unit 401 to start.
Therefore, the wearable device described in fig. 6 can combine the ultraviolet sensor and the air pressure sensor, and the air pressure sensor is started to work when the parameter value acquired by the ultraviolet sensor changes, so that compared with the prior art in which a height measuring instrument built in the wearable device is started uninterruptedly for a long time, the wearable device can reduce the electric quantity loss of the wearable device; the measurement precision of the second air pressure value of the measurement position is improved, and the accuracy of calculating the relative height is further improved; in addition, the relative height of the measurement position relative to the initial position can be calculated based on the relative height measurement model, so that the calculation accuracy is improved, and meanwhile, due to the good stability of the relative height measurement model, the influence of the change of the environmental factors on the calculation result (namely the relative height of the measurement position relative to the initial position) is reduced.
Fig. 7 shows only a portion related to the embodiment of the present invention, and for convenience of description, please refer to the method portion of the embodiment of the present invention for a specific technical detail that is not disclosed. This wearable equipment can be for including arbitrary terminal equipment such as phone wrist-watch, intelligent wrist strap, intelligent glasses to the terminal is the phone wrist-watch as an example:
fig. 7 is a block diagram showing a part of the structure of a telephone wristwatch relating to a terminal provided by an embodiment of the present invention. Referring to fig. 7, the telephone watch includes: radio Frequency (RF) circuit 1110, memory 1120, input unit 1130, display unit 1140, sensor 1150, audio circuit 1160, wireless communication module 1170, processor 1180, power supply 1190, and camera 1100. Those skilled in the art will appreciate that the telephone watch configuration shown in fig. 7 does not constitute a limitation of a telephone watch, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The various components of the telephone watch are described in detail below with reference to fig. 7:
RF circuit 1110 may be used for receiving and transmitting signals during a message transmission or call, and in particular, for receiving downlink messages from a base station and then processing the received downlink messages to processor 1180; in addition, the data for designing uplink is transmitted to the base station. In general, RF circuit 1110 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 1110 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 Messaging Service (SMS), and the like.
The memory 1120 may be used to store executable program code, and the processor 1180 coupled to the memory 1120 may be used to execute various functional applications of the telephone watch and data processing by executing the executable program code stored in the memory 1120, and in particular, may be used to execute all or part of the steps of any one of the first to third embodiments of the drowning alarm method based on user behavior. The memory 1120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the stored data area may store data (such as audio data, a phonebook, etc.) created according to the use of the telephone watch, and the like. Further, the memory 1120 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 1130 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the telephone watch. Specifically, the input unit 1130 may include a touch panel 1131 and other input devices 1132. Touch panel 1131, also referred to as a touch screen, can collect touch operations of a user on or near the touch panel 1131 (for example, operations of the user on or near touch panel 1131 by using any suitable object or accessory such as a finger or a stylus pen), and drive corresponding connection devices according to a preset program. Alternatively, the touch panel 1131 may include two parts, namely, 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 1180, and can receive and execute commands sent by the processor 1180. In addition, the touch panel 1131 can be implemented by using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 1130 may include other input devices 1132 in addition to the touch panel 1131. In particular, other input devices 1132 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 1140 may be used to display information input by the user or information provided to the user, as well as various menus of the telephone watch. The Display unit 1140 may include a Display panel 1141, and optionally, the Display panel 1141 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 1131 can cover the display panel 1141, and when the touch panel 1131 detects a touch operation on or near the touch panel, the touch panel is transmitted to the processor 1180 to determine the type of the touch event, and then the processor 1180 provides a corresponding visual output on the display panel 1141 according to the type of the touch event. Although in fig. 7, touch panel 1131 and display panel 1141 are shown as two separate components to implement the input and output functions of the telephone watch, in some embodiments, touch panel 1131 and display panel 1141 may be integrated to implement the input and output functions of the telephone watch.
The phone watch may also include at least one sensor 1150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1141 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1141 and/or the backlight when the mobile phone moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 1160, speaker 1161, and microphone 1162 may provide an audio interface between a user and a telephone watch. The audio circuit 1160 may transmit the electrical signal converted from the received audio data to the speaker 1161, and convert the electrical signal into a sound signal for output by the speaker 1161; on the other hand, the microphone 1162 converts the collected sound signals into electrical signals, which are received by the audio circuit 1160 and converted into audio data, which are processed by the audio data output processor 1180, and then passed through the RF circuit 1110 for transmission to, for example, another telephone watch, or for output to the memory 1120 for further processing.
The wireless communication module 1170 may be configured to transmit information to an external device, receive a control instruction of the external device, and the like, and in particular, transmit the control instruction to the processor 1180 after receiving the control instruction of the external device, and process the control instruction by the processor 1180. The wireless communication module 1170 may include, for example, a wireless fidelity (WiFi) module. WiFi belongs to a short-distance wireless transmission technology, the telephone watch can be used for sending information, helping a user to receive and send emails, browsing webpages, accessing streaming media, receiving control instructions of external equipment and the like through a WiFi module, and wireless broadband internet access is provided for the user.
Processor 1180 is the control center for the telephone watch, and is connected to various components of the overall handset using various interfaces and lines, and performs various functions of the telephone watch and processes data by running or executing software programs and/or modules stored in memory 1120, and calling data stored in memory 1120, thereby monitoring the telephone watch as a whole. Optionally, processor 1180 may include one or more processing units; preferably, the processor 1180 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 within processor 1180.
The telephone watch also includes a power supply 1190 (such as a battery) for powering the various components, which may be logically coupled to the processor 1180 via a power management system that may be used to manage charging, discharging, and power consumption.
Although not shown, the phone watch may also include a bluetooth module or the like, which will not be described in detail herein.
In an embodiment of the present invention, the telephone watch includes a processor 1180 for executing executable program code stored in the memory 1120, and further includes the following functions:
the control sensor 1150 detects the ultraviolet intensity value, and when the ultraviolet intensity value is detected to be changed, the control sensor 1150 detects a first air pressure value, and determines the detection position of the first air pressure value as an initial position;
detecting whether a height measurement command is received, and if so, controlling the sensor 1150 to detect a second air pressure value according to the height measurement command, and determining a detection position of the second air pressure value as a measurement position;
and determining the relative height of the measuring position relative to the initial position according to the first air pressure value and the second air pressure value, wherein the relative height is used for representing the vertical distance between the measuring position and the initial position.
It can be seen that the processor 1180 included in the telephone watch can combine the ultraviolet sensor and the air pressure sensor, and the air pressure sensor is started to work when the parameter value acquired by the ultraviolet sensor changes, so that compared with the prior art in which the height measuring instrument built in the wearable device is started uninterruptedly for a long time, the wearable device and the method can reduce the electric quantity loss of the wearable device.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by hardware instructions of a program, and the program may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM), or other Memory, such as a magnetic disk, or a combination thereof, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
The above embodiments are only used for illustrating the technical solutions of the present application and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art; the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (8)

1. A multi-sensor based relative height measurement method, the method comprising:
when detecting that the parameter value collected by the ultraviolet sensor changes, controlling an air pressure sensor to detect a first air pressure value, and determining the detection position of the first air pressure value as an initial position; the ultraviolet sensor and the air pressure sensor are both arranged in the wearable device;
detecting whether a height measurement instruction is received or not, if so, controlling the air pressure sensor to detect a second air pressure value according to the height measurement instruction, and determining the detection position of the second air pressure value as a measurement position;
determining a relative height of the measurement position relative to the initial position according to the first air pressure value and the second air pressure value, wherein the relative height is used for representing a vertical distance between the measurement position and the initial position; the position coordinates of the measuring position and the initial position are obtained, and the relative height of the measuring position relative to the initial position, the position coordinates of the measuring position and the position coordinates of the initial position are sent to a monitoring terminal associated with wearable equipment for a user of the monitoring terminal to check;
the controlling the air pressure sensor to detect a second air pressure value according to the height measurement instruction, and determining a detection position of the second air pressure value as a measurement position includes:
controlling the air pressure sensor to detect a measured air pressure value according to the height measurement instruction, and determining a detection position of the measured air pressure value as a measurement position;
acquiring a measurement temperature value of the measurement position;
correcting the measured air pressure value according to the temperature difference value to obtain a second air pressure value of the measured position; namely: calculating a product of the first correction factor and the temperature difference value, and determining a second air pressure value based on the product, the measured air pressure value and a sum of the second correction factor; the first correction coefficient and the second correction coefficient are preset constants; wherein the temperature difference is a difference between a sea level standard atmospheric temperature value and the measured temperature value.
2. The method of claim 1, wherein said determining a relative height of said measured position with respect to said initial position from said first air pressure value and said second air pressure value comprises:
determining a plane where the initial position of the first air pressure value is detected as a reference plane;
normalizing the second air pressure value and the measured temperature value to obtain a normalization processing result;
inputting the normalization processing result into a relative height measurement model trained in advance; the training data of the relative height measurement model comprises a sample temperature value, a sample air pressure value and a sample relative height of a plurality of measurement points, wherein the sample relative height is a height value of each measurement point relative to the reference plane;
determining a relative height of the measurement position with respect to the initial position based on an output result of the relative height measurement model.
3. The method of claim 2, wherein determining the relative height of the measured position relative to the initial position based on the output of the relative height measurement model comprises:
obtaining an output result of the relative height measurement model;
performing inverse normalization processing on the output result to obtain an inverse normalization processing result;
and determining the relative height of the measurement position relative to the initial position according to the result of the reverse normalization processing.
4. The method according to any one of claims 1 to 3, wherein the parameter value collected by the ultraviolet sensor is an ultraviolet intensity value; the method further comprises the following steps:
acquiring a first ultraviolet intensity value acquired by the ultraviolet sensor at a first moment and a second ultraviolet intensity value acquired by the ultraviolet sensor at a second moment, wherein a preset time interval exists between the first moment and the second moment;
calculating a difference value between the first ultraviolet intensity value and the second ultraviolet intensity value, and judging whether the difference value is greater than a preset threshold value;
and if the difference value is larger than the preset threshold value, determining that the parameter value acquired by the ultraviolet sensor is changed.
5. A wearable device, comprising:
the first control unit is used for controlling the air pressure sensor to detect a first air pressure value when detecting that the parameter value collected by the ultraviolet sensor changes, and determining the detection position of the first air pressure value as an initial position; the ultraviolet sensor and the air pressure sensor are both arranged in the wearable device;
the detection unit is used for detecting whether a height measurement instruction is received or not;
the second control unit is used for controlling the air pressure sensor to detect a second air pressure value according to the height measurement instruction after the detection unit detects that the height measurement instruction is received, and determining the detection position of the second air pressure value as a measurement position;
a first determining unit, configured to determine a relative height of the measurement position with respect to the initial position according to the first air pressure value and the second air pressure value, where the relative height is used to indicate a vertical distance between the measurement position and the initial position; the position coordinates of the measuring position and the initial position are obtained, and the relative height of the measuring position relative to the initial position, the position coordinates of the measuring position and the position coordinates of the initial position are sent to a monitoring terminal associated with wearable equipment for a user of the monitoring terminal to check;
the second control unit includes:
the control subunit is used for controlling the air pressure sensor to detect a measured air pressure value according to the height measurement instruction after the detection unit detects that the height measurement instruction is received, and determining the detection position of the measured air pressure value as a measurement position;
the acquisition subunit is used for acquiring the measurement temperature value of the measurement position;
the correcting subunit is used for correcting the measured air pressure value according to the temperature difference value to obtain a second air pressure value of the measured position; namely: calculating a product of the first correction factor and the temperature difference value, and determining a second air pressure value based on the product, the measured air pressure value and a sum of the second correction factor; the first correction coefficient and the second correction coefficient are preset constants; wherein the temperature difference is a difference between a sea level standard atmospheric temperature value and the measured temperature value.
6. The wearable device according to claim 5, wherein the first determination unit includes:
the first determining subunit is used for determining a plane where the initial position for detecting the first air pressure value is located as a reference plane;
the processing subunit is used for carrying out normalization processing on the second air pressure value and the measured temperature value to obtain a normalization processing result;
the input subunit is used for inputting the normalization processing result to a relative height measurement model trained in advance; the training data of the relative height measurement model comprises a sample temperature value, a sample air pressure value and a sample relative height of a plurality of measurement points, wherein the sample relative height is a height value of each measurement point relative to the reference plane;
a second determining subunit, configured to determine, based on an output result of the relative height measurement model, a relative height of the measurement position with respect to the initial position, the relative height being used to represent a vertical distance between the measurement position and the initial position.
7. The wearable device according to claim 6, wherein the second determining subunit determines the relative height of the measurement position with respect to the initial position based on the output of the relative height measurement model in particular by:
obtaining an output result of the relative height measurement model;
performing inverse normalization processing on the output result to obtain an inverse normalization processing result;
and determining the relative height of the measurement position relative to the initial position according to the result of the reverse normalization processing.
8. The wearable device according to any one of claims 5 to 7, wherein the parameter value collected by the ultraviolet sensor is an ultraviolet intensity value; the wearable device further comprises:
the device comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring a first ultraviolet intensity value acquired by an ultraviolet sensor at a first moment and acquiring a second ultraviolet intensity value acquired by the ultraviolet sensor at a second moment, and a preset time interval exists between the first moment and the second moment;
a calculation unit for calculating a difference between the first ultraviolet intensity value and the second ultraviolet intensity value;
the judging unit is used for judging whether the difference value is larger than a preset threshold value or not;
and the second determining unit is used for determining that the parameter value acquired by the ultraviolet sensor is detected to be changed when the judging unit judges that the difference value is greater than the preset threshold value.
CN201810985193.9A 2018-08-28 2018-08-28 Relative height measuring method based on multiple sensors and wearable equipment Active CN109141355B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810985193.9A CN109141355B (en) 2018-08-28 2018-08-28 Relative height measuring method based on multiple sensors and wearable equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810985193.9A CN109141355B (en) 2018-08-28 2018-08-28 Relative height measuring method based on multiple sensors and wearable equipment

Publications (2)

Publication Number Publication Date
CN109141355A CN109141355A (en) 2019-01-04
CN109141355B true CN109141355B (en) 2021-10-01

Family

ID=64828344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810985193.9A Active CN109141355B (en) 2018-08-28 2018-08-28 Relative height measuring method based on multiple sensors and wearable equipment

Country Status (1)

Country Link
CN (1) CN109141355B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111751848A (en) * 2019-06-14 2020-10-09 广东小天才科技有限公司 Method for saving power consumption and electronic equipment
CN110689702B (en) * 2019-09-30 2021-11-19 广东小天才科技有限公司 Safety early warning method and device based on intelligent wearable device and intelligent wearable device
CN111397551B (en) * 2020-03-11 2021-07-20 支付宝(杭州)信息技术有限公司 Displacement identification method and device based on air pressure

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103712599A (en) * 2013-12-27 2014-04-09 南京信息工程大学 Relative height measuring device and method
CN104169680A (en) * 2012-03-13 2014-11-26 皇家飞利浦有限公司 Monitoring the change in height of a device using an air pressure sensor
CN104374368A (en) * 2014-06-25 2015-02-25 中国科学院国家天文台 Altimeter based on atmospheric pressure difference and measure method using same
CN105208182A (en) * 2014-06-24 2015-12-30 中兴通讯股份有限公司 Method enabling mobile terminal to automatically adjust parameters and mobile terminal
CN105865417A (en) * 2015-01-19 2016-08-17 上海丽恒光微电子科技有限公司 Height measuring method, height measuring instrument and wearable device
CN108180895A (en) * 2018-01-10 2018-06-19 云南电网有限责任公司电力科学研究院 A kind of method based on height above sea level peak value measurement relative altitude

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1292742A (en) * 1970-03-17 1972-10-11 Kollsman Instr Corp Improvements in and relating to altimeters
CN101968356B (en) * 2010-10-29 2013-08-28 常州市新瑞得仪器有限公司 Digital leveling instrument
JP5652418B2 (en) * 2012-03-27 2015-01-14 カシオ計算機株式会社 Advanced information acquisition device and advanced information acquisition system
US9671224B2 (en) * 2012-06-12 2017-06-06 Trx Systems, Inc. Methods resolving the elevation of a tracked personnel or assets
US9986529B2 (en) * 2013-11-12 2018-05-29 Qualcomm Incorporated Methods and apparatuses for use in determining an altitude of a mobile device
CN105091851B (en) * 2015-04-24 2018-07-17 广东小天才科技有限公司 A kind of method and device measuring height

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104169680A (en) * 2012-03-13 2014-11-26 皇家飞利浦有限公司 Monitoring the change in height of a device using an air pressure sensor
CN103712599A (en) * 2013-12-27 2014-04-09 南京信息工程大学 Relative height measuring device and method
CN105208182A (en) * 2014-06-24 2015-12-30 中兴通讯股份有限公司 Method enabling mobile terminal to automatically adjust parameters and mobile terminal
CN104374368A (en) * 2014-06-25 2015-02-25 中国科学院国家天文台 Altimeter based on atmospheric pressure difference and measure method using same
CN105865417A (en) * 2015-01-19 2016-08-17 上海丽恒光微电子科技有限公司 Height measuring method, height measuring instrument and wearable device
CN108180895A (en) * 2018-01-10 2018-06-19 云南电网有限责任公司电力科学研究院 A kind of method based on height above sea level peak value measurement relative altitude

Also Published As

Publication number Publication date
CN109141355A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN108834068B (en) Positioning method based on wearable device and wearable device
CN109905907B (en) Network searching method and mobile terminal
CN108600546B (en) Environment light detection method and mobile terminal
CN107608855B (en) Reminding method and mobile terminal
CN108597186B (en) Drowning alarm method based on user behavior and wearable device
CN109141355B (en) Relative height measuring method based on multiple sensors and wearable equipment
CN111328119B (en) Voice service processing method and electronic equipment
CN107450029B (en) Battery state checking method and device, computer equipment and computer readable storage medium
CN110784915B (en) Power consumption control method of electronic equipment and electronic equipment
CN108512615B (en) Signal intensity display method and mobile terminal
CN110456923B (en) Gesture sensing data processing method and electronic equipment
CN107784298B (en) Identification method and device
CN107832067B (en) Application updating method, mobile terminal and computer readable storage medium
CN112128925B (en) Method for intelligently remotely controlling air conditioner, intelligent terminal and storage medium
CN108650041B (en) Signal quality display method and mobile terminal
CN111142618A (en) Method for detecting folding angle and electronic equipment
CN108429363B (en) Wireless charging method and wireless charging device
CN108388400B (en) Operation processing method and mobile terminal
CN112414370B (en) Building floor positioning method, electronic device and computer storage medium
CN110730013B (en) Method for improving transmission stray and mobile terminal
CN109041212B (en) Positioning method and wearable device
CN109246305B (en) Navigation processing method of navigation equipment, navigation equipment and mobile terminal
CN111103607A (en) Positioning prompting method and electronic equipment
CN107613140B (en) Alarm clock setting prompting method, mobile terminal and computer readable storage medium
CN111366170B (en) State determination method and electronic equipment

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
GR01 Patent grant
GR01 Patent grant