Altitude record generation method and device and electronic equipment

By combining barometric pressure data, GPS information, and electronic map elevation information in smart wearable devices, and dividing the data into time periods and performing calibration, the problem of altitude recording errors caused by unstable GPS signals has been solved, resulting in more accurate altitude record generation.

CN120832340APending Publication Date: 2025-10-24HANGZHOU EZVIZ SOFTWARE CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410473354.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-18
Publication Date
2025-10-24

AI Technical Summary

Technical Problem

Existing smart wearable devices cannot ensure the stability of GPS altitude data in scenarios with large fluctuations in GPS signals, such as mountain climbing, leading to increased errors in altitude record generation.

Method used

By continuously collecting air pressure data, global navigation satellite system information, and electronic map elevation information in smart wearable devices, the system divides the air pressure data into periods of air pressure fluctuation and non-air pressure fluctuation. The air pressure data is then calibrated by combining the electronic map elevation information and global navigation satellite system information to generate an altitude record.

Benefits of technology

It reduces the error in altitude record generation and improves the accuracy of altitude records in environments with unstable global navigation satellite system signals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120832340A_ABST
    Figure CN120832340A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an altitude record generation method and device and electronic equipment. According to the embodiment of the invention, when the altitude record needs to be generated, the air pressure fluctuation time period and the non-air pressure fluctuation time period are determined from the stored air pressure data, and the reference altitude is determined by using the electronic map elevation information corresponding to the non-air pressure fluctuation time period and the global navigation satellite system information; according to the reference altitude and the air pressure data of the time period, determining an altitude record of a non-air pressure fluctuation time period; and determining the altitude record of the air pressure fluctuation time period by fitting the electronic map elevation information corresponding to the air pressure fluctuation time period with the global navigation satellite system information. According to the embodiment of the invention, the air pressure data is corrected by combining the electronic map elevation information with the global navigation satellite system information, so that the situation that the height of the barometer is calibrated only according to the unstable global navigation satellite system information is avoided, and the error of the generated altitude record is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of smart wearable devices, and in particular to a method and apparatus for generating an altitude record and an electronic device. BACKGROUND

[0002] Current smart wearable devices can display continuous altitude change information during a movement, i.e. an altitude record during the movement. Related technologies calibrate barometer height using global navigation satellite system height data in a stable state to generate an altitude record. However, this method relies too much on global navigation satellite system height data in the environment and the stability of the meteorological environment. In a scenario where global navigation satellite system signal fluctuation is large, such as a mountain climbing scenario, the stability of the global navigation satellite system height data cannot be ensured. At this time, calibrating the barometer height using unstable global navigation satellite system height data will result in an increased error in the generated altitude record. SUMMARY

[0003] Therefore, the present application provides a method and apparatus for generating an altitude record and an electronic device to reduce the error in the altitude record generated by a smart wearable device.

[0004] The technical solutions provided by the present application are as follows:

[0005] According to an embodiment of the first aspect of the present application, a method for generating an altitude record is provided. The method is applied to a smart wearable device, and the method comprises:

[0006] When an altitude record generation condition is met, determining a barometric pressure fluctuation period and a non-barometric pressure fluctuation period based on barometric pressure data;

[0007] Fitting electronic map elevation information corresponding to the non-barometric pressure fluctuation period and global navigation satellite system information to determine a reference altitude for the non-barometric pressure fluctuation period; and determining an altitude record for the non-barometric pressure fluctuation period based on the reference altitude and barometric pressure data corresponding to the non-barometric pressure fluctuation period;

[0008] Fitting electronic map elevation information corresponding to the barometric pressure fluctuation period and global navigation satellite system information to determine an altitude record for the barometric pressure fluctuation period;

[0009] The barometric pressure data is continuously collected and stored, the electronic map elevation information is continuously collected and stored, and the global navigation satellite system information is continuously collected and stored.

[0010] Optionally, the altitude record generation condition comprises:

[0011] If an operation of viewing the altitude record is triggered by the smart wearable device, it is determined that the altitude record generation condition is met;

[0012] Or, if a message indicating that the current motion has ended is received, it is determined that the altitude record generation condition is met;

[0013] Or, if it is detected that the smart wearable device is in an idle state, it is determined that the altitude record generation condition is met.

[0014] Optionally, the barometric pressure data includes a sampling time and a barometric pressure value corresponding to the sampling time; and the determination of the barometric pressure fluctuation period and the non-barometric pressure fluctuation period based on the barometric pressure data comprises:

[0015] fitting the barometric pressure values included in the barometric pressure data into a barometric pressure fluctuation curve according to the sampling times included in the barometric pressure data, each barometric pressure value on the barometric pressure fluctuation curve corresponding to a slope value, and determining a set of sampling times corresponding to the barometric pressure values with slope values in a first preset range as the barometric pressure fluctuation period;

[0016] determining a set of sampling times other than the barometric pressure fluctuation period as the non-barometric pressure fluctuation period.

[0017] Optionally, the global navigation satellite system information includes global navigation satellite system altitude data and global navigation satellite system latitude and longitude data, the global navigation satellite system altitude data representing current altitude information detected based on the global navigation satellite system, the global navigation satellite system latitude and longitude data representing current latitude and longitude information detected based on the global navigation satellite system, and the electronic map elevation information representing height information corresponding to a current position determined in an electronic map based on the global navigation satellite system latitude and longitude data; and the fitting of the electronic map elevation information corresponding to the non-barometric pressure fluctuation period and the global navigation satellite system information to determine the reference altitude of the non-barometric pressure fluctuation period comprises:

[0018] dividing the non-barometric pressure fluctuation period into at least one target period according to a preset time length;

[0019] determining a target time corresponding to each target period, wherein, at the target time, the difference between the electronic map elevation information and the global navigation satellite system altitude data is within a first preset range;

[0020] determining the average of the electronic map elevation information and the global navigation satellite system altitude data corresponding to the target time as the reference altitude of the target period to which the target time belongs.

[0021] Optionally, the barometric pressure data further includes a barometer height, and the determination of the altitude record of the non-barometric pressure fluctuation period based on the reference altitude and the barometric pressure data corresponding to the non-barometric pressure fluctuation period comprises:

[0022] determining a measured altimeter height corresponding to each time point in the non-barometric fluctuation period, and determining a reference altimeter height corresponding to the target time point corresponding to the target period to which the time point belongs, and determining a target relative height according to the measured altimeter height and the reference altimeter height;

[0023] determining an altitude record of each time point according to a reference altitude of the target period to which the target time point belongs and the target relative height, and determining a set of the altitude records of each time point as the altitude record of the non-barometric fluctuation period.

[0024] Optionally, the GNSS information includes GNSS height data and GNSS latitude and longitude data, the GNSS height data represents current height information detected based on the GNSS, the GNSS latitude and longitude data represents current latitude and longitude information detected based on the GNSS, and the electronic map elevation information represents height information corresponding to a current position determined in the electronic map based on the GNSS latitude and longitude data; and the fitting of the electronic map elevation information corresponding to the barometric fluctuation period and the GNSS information to determine the altitude record of the barometric fluctuation period includes:

[0025] if a difference between the electronic map elevation information corresponding to the barometric fluctuation period and the GNSS height data is within a second preset range, determining an average value of the electronic map elevation information corresponding to the barometric fluctuation period and the GNSS height data as the altitude record of the barometric fluctuation period;

[0026] if the difference between the electronic map elevation information corresponding to the barometric fluctuation period and the GNSS height data is not within the second preset range, predicting the altitude record of the barometric fluctuation period according to the altitude records of the non-barometric fluctuation periods before the start of the barometric fluctuation period and after the end of the barometric fluctuation period.

[0027] Optionally, the global navigation satellite system information comprises global navigation satellite system altitude data, global navigation satellite system longitude and latitude data, and global navigation satellite system signal quality information, the global navigation satellite system altitude data represents current altitude information detected based on the global navigation satellite system, the global navigation satellite system longitude and latitude data represents current longitude and latitude information detected based on the global navigation satellite system, the global navigation satellite system signal quality information represents accuracy of the altitude data and the longitude and latitude data detected by the global navigation satellite system, and the electronic map elevation information represents altitude information corresponding to a current position determined in an electronic map based on the global navigation satellite system longitude and latitude data; before fitting the electronic map elevation information corresponding to the non-barometric fluctuation period and the global navigation satellite system information to determine the reference altitude of the non-barometric fluctuation period, the method further comprises:

[0028] If it is detected that the global navigation satellite system signal quality information is within a preset signal quality range, the global navigation satellite system information to which the global navigation satellite system signal quality information belongs and the corresponding electronic map elevation information are deleted.

[0029] According to the embodiments of the second aspect of the application, an altitude record generation device is provided, which is applied to a smart wearable device, and the device comprises:

[0030] A period determination unit is configured to determine a barometric fluctuation period and a non-barometric fluctuation period based on the pressure data when an altitude record generation condition is met;

[0031] A first record unit is configured to fit the electronic map elevation information corresponding to the non-barometric fluctuation period and the global navigation satellite system information to determine the reference altitude of the non-barometric fluctuation period; and determine the altitude record of the non-barometric fluctuation period based on the reference altitude and the pressure data corresponding to the non-barometric fluctuation period.

[0032] A second record unit is configured to fit the electronic map elevation information corresponding to the barometric fluctuation period and the global navigation satellite system information to determine the altitude record of the barometric fluctuation period.

[0033] The pressure data is continuously collected and stored, the electronic map elevation information is continuously collected and stored, and the global navigation satellite system information is continuously collected and stored.

[0034] Optionally, the period determination unit is specifically configured to:

[0035] If an operation of viewing the altitude record is triggered by the smart wearable device, it is determined that the altitude record generation condition is met.

[0036] Or, if a message indicating that the current movement has ended is received, it is determined that the altitude record generation condition is met;

[0037] Or, if it is detected that the smart wearable device is in an idle state, it is determined that the altitude record generation condition is met;

[0038] And / or, the air pressure data includes a sampling time and an air pressure value corresponding to the sampling time; the time period determination unit is specifically configured to:

[0039] Fit the air pressure value included in the air pressure data as an air pressure fluctuation curve according to the sampling time included in the air pressure data, each air pressure value on the air pressure fluctuation curve corresponds to a slope value, and a set of sampling times corresponding to the air pressure value with the slope value in the first preset range is determined as the air pressure fluctuation period;

[0040] A set of sampling times other than the air pressure fluctuation period is determined as the non-air pressure fluctuation period;

[0041] And / or, the global navigation satellite system information includes global navigation satellite system height data and global navigation satellite system latitude and longitude data, the global navigation satellite system height data represents the current height information detected based on the global navigation satellite system, the global navigation satellite system latitude and longitude data represents the current latitude and longitude information detected based on the global navigation satellite system, and the electronic map elevation information represents the height information corresponding to the current position determined in the electronic map based on the global navigation satellite system latitude and longitude data; The first recording unit is specifically configured to:

[0042] Divide the non-air pressure fluctuation period into at least one target period according to a preset time length;

[0043] Determine the target time corresponding to each target period, wherein the difference between the electronic map elevation information and the global navigation satellite system height data at the target time is within a first preset range;

[0044] The average value of the electronic map elevation information and the global navigation satellite system height data corresponding to the target time is determined as the reference altitude of the target period to which the target time belongs;

[0045] And / or, the air pressure data further includes a barometer height, and the first recording unit is specifically configured to:

[0046] Determine the measured barometer height corresponding to each time in the non-air pressure fluctuation period, and determine the reference barometer height corresponding to the target time corresponding to the target period to which the time belongs, and determine the target relative height according to the measured barometer height and the reference barometer height;

[0047] determining an altitude record at each moment according to a reference altitude of a target period to which the target moment belongs and the target relative altitude, and determining a set of altitude records at each moment as an altitude record for the non-pressure fluctuation period;

[0048] And / or, the global navigation satellite system information includes global navigation satellite system altitude data and global navigation satellite system latitude and longitude data, the global navigation satellite system altitude data represents current altitude information detected based on the global navigation satellite system, the global navigation satellite system latitude and longitude data represents current latitude and longitude information detected based on the global navigation satellite system, and the electronic map elevation information represents altitude information corresponding to the current position determined in the electronic map based on the global navigation satellite system latitude and longitude data; the second recording unit is specifically used to:

[0049] If the difference between the electronic map elevation information and the global navigation satellite system altitude data corresponding to the air pressure fluctuation period is within a second preset range, determining the average value of the electronic map elevation information and the global navigation satellite system altitude data corresponding to the air pressure fluctuation period as the altitude record for the air pressure fluctuation period;

[0050] If the difference between the electronic map elevation information and the global navigation satellite system altitude data corresponding to the pressure fluctuation period is not within a second preset range, predicting the altitude record for the pressure fluctuation period based on altitude records for non-pressure fluctuation periods before and after the pressure fluctuation period;

[0051] And / or, the global navigation satellite system information includes global navigation satellite system altitude data, global navigation satellite system latitude and longitude data, and global navigation satellite system signal quality information, the global navigation satellite system altitude data represents current altitude information detected based on the global navigation satellite system, the global navigation satellite system latitude and longitude data represent current latitude and longitude information detected based on the global navigation satellite system, the global navigation satellite system signal quality information represents the accuracy of the altitude data and the latitude and longitude data detected by the current global navigation satellite system, and the electronic map elevation information represents altitude information corresponding to the current position determined in the electronic map based on the global navigation satellite system latitude and longitude data; before fitting the electronic map elevation information corresponding to the non-pressure fluctuation period and the global navigation satellite system information to determine the reference altitude for the non-pressure fluctuation period, the first recording unit is further used to:

[0052] If it is detected that the global navigation satellite system signal quality information is within a preset signal quality range, the global navigation satellite system information to which the global navigation satellite system signal quality information belongs and the corresponding electronic map elevation information are deleted.

[0053] According to the embodiment of the third aspect of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to the first aspect when executing the program.

[0054] From the above technical solution, it can be seen that the embodiments of the present application continuously collect and store the air pressure data, the global navigation satellite system information and the electronic map elevation information, and when it is necessary to generate the altitude record, the air pressure fluctuation period and the non-air pressure fluctuation period are determined from the stored air pressure data, and different altitude record generation methods are set for the two different periods.

[0055] For the non-air pressure fluctuation period, the reference altitude is determined by using the electronic map elevation information and the global navigation satellite system information corresponding to the period, and the altitude record of the period is determined according to the reference altitude and the air pressure data of the period; and for the air pressure fluctuation period, since the air pressure data of the period fluctuates too much and cannot be used as effective data, the altitude record of the air pressure fluctuation period is directly determined by fitting the electronic map elevation information and the global navigation satellite system information corresponding to the period. In the above scheme, the electronic map elevation information is introduced and combined with the global navigation satellite system information to correct the air pressure data, which avoids calibrating the altimeter height according to only the unstable global navigation satellite system information, and reduces the error of the generated altitude record. BRIEF DESCRIPTION OF DRAWINGS

[0056] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0057] Figure 1 A flowchart of the altitude record generation method provided by the embodiments of the present application is shown in the following figure:

[0058] Figure 2 A structure schematic diagram of the smart wearable device provided by the embodiments of the present application is shown in the following figure:

[0059] Figure 3 A structure schematic diagram of the data storage unit provided by the embodiments of the present application is shown in the following figure:

[0060] Figure 4 A schematic structure diagram of the electronic device provided by the embodiments of the present application is shown in the following figure:

[0061] Figure 5 A structure diagram of the altitude record generation device provided by the embodiments of the present application is shown in the following figure: DETAILED DESCRIPTION

[0062] For those skilled in the art to better understand the technical solutions provided by the embodiments of the present application, and to make the above-mentioned purposes, features and advantages of the embodiments of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be further described in detail below with reference to the drawings.

[0063] Please refer to Figure 1 , Figure 1 A flow chart of an altitude record generation method provided by the embodiments of the present application, the method is applied to a smart wearable device.

[0064] In the present embodiment, the smart wearable device can be a smart watch, a smart bracelet, smart glasses, etc., and the present application does not limit this. The structure of the smart wearable device of the present embodiment will be described below in detail in the detailed description, which will not be repeated here. Figure 2

[0065] As shown in Figure 1 , the method can include the following steps:

[0066] Step 101, when the altitude record generation condition is met, determining the air pressure fluctuation period and the non-air pressure fluctuation period based on the air pressure data.

[0067] In the present embodiment, when it is determined that the altitude record needs to be generated, the air pressure data can be divided into air pressure data corresponding to the air pressure fluctuation period and air pressure data corresponding to the non-air pressure fluctuation period according to other stored data. Among them, the air pressure fluctuation period is used to indicate that the air pressure data value of this period fluctuates too much and cannot be used to determine the altitude record, which is unusable data; the non-air pressure fluctuation period is a period other than the air pressure fluctuation period, which is used to indicate that the corresponding air pressure data fluctuates less and can be used as normal data to determine the altitude record.

[0068] As an embodiment, the altitude record generation condition can include:

[0069] If the operation of viewing the altitude record is triggered through the smart wearable device, it is determined that the altitude record generation condition is met;

[0070] Or, if a message indicating that the current exercise has ended is received, it is determined that the altitude record generation condition is met;

[0071] Or, if it is detected that the smart wearable device is in an idle state, it is determined that the altitude record generation condition is met.

[0072] ​In the embodiment, it is easy to understand that the smart wearable device will automatically start to generate the altitude record in the above-mentioned exercise process when the current exercise has ended, the smart wearable device determines that the altitude record generation condition is met after receiving a message indicating that the current exercise has ended, and the message indicating that the current exercise has ended can be automatically generated by the smart device after detecting that the user is not in the exercise state for a certain time length, or can be manually triggered by the user through gesture or button operation, and the application does not limit this.

[0073] In the embodiment, the user can also manually trigger the smart wearable device to view the altitude record when the current exercise has not ended, such as generating a relevant instruction for viewing the altitude record by clicking or touching a corresponding button, and receiving the instruction for manually triggering the smart wearable device to view the altitude record when the current exercise has not ended, determining that the altitude record generation condition is met, and triggering the smart wearable device to generate the altitude record from the start of the current exercise to the current time.

[0074] In the embodiment, the altitude record generation condition can also be determined to be met when the controller of the smart wearable device is in an idle state, and the automatic generation of the altitude record is started. As an embodiment, the controller of the smart wearable device can be a microcontroller unit (MCU), and when it is detected that the occupancy rate of the controller is lower than a preset threshold (such as when it is detected that the occupancy rate of the MCU is lower than 10%), it indicates that the current controller is in an idle state, and the automatic generation of the altitude record can be started at this time, while not affecting the normal execution of other functions.

[0075] As an embodiment, the air pressure data can include a sampling time and an air pressure value corresponding to the sampling time; and the specific method of determining the air pressure fluctuation period and the non-air pressure fluctuation period based on the air pressure data can include:

[0076] Fitting the air pressure values included in the air pressure data into an air pressure fluctuation curve according to the sampling times included in the air pressure data, each air pressure value on the air pressure fluctuation curve corresponding to a slope value, and determining a set of sampling times corresponding to air pressure values with slope values in a first preset range as the air pressure fluctuation period;

[0077] Determining a set of sampling times other than the air pressure fluctuation period as the non-air pressure fluctuation period.

[0078] In the embodiment, the air pressure data can be continuously collected by the air pressure sensor in the smart wearable device at a first frequency (such as 3 Hz) and stored in the smart wearable device, and the air pressure data collected by the air pressure sensor can include a sampling time and an air pressure value corresponding to the sampling time.

[0079] The storage method of air pressure data will be combined below. Figure 3 A detailed description is given and no further elaboration is given here.

[0080] In this embodiment, the method of fitting the air pressure value included in the air pressure data into an air pressure fluctuation curve according to the sampling time included in the air pressure data may include least squares method, linear regression fitting, maximum likelihood fitting, etc., and this application does not limit this.

[0081] It is easy to understand that each air pressure value on the air pressure fluctuation curve corresponds to a slope value, that is, the slope of the air pressure fluctuation curve at that point. After determining the slope value corresponding to each air pressure value, the air pressure values ​​are filtered according to the slope value. It should be noted that because slope values ​​can have negative values, the first preset range in this embodiment can be the range of the absolute value of the slope value. For example, when the absolute value of the slope value is set to be greater than a preset slope threshold, the set of sampling moments corresponding to the slope value is determined to be the air pressure fluctuation period.

[0082] Furthermore, considering that the density of the atmosphere gradually decreases with increasing altitude, resulting in air pressure changes with altitude, generally, the higher the altitude, the lower the air pressure, and the faster the air pressure changes. As an embodiment, different slope thresholds can be set according to the range of air pressure values. For example, the air pressure value range is divided into a high pressure range and a low pressure range. In the high pressure range, a relatively small slope threshold can be set, and in the low pressure range, a relatively large slope threshold can be set.

[0083] At this point, the description of step 101 ends, and step 102 is executed next.

[0084] Step 102: Fitting the electronic map elevation information corresponding to the non-pressure fluctuation period and the global navigation satellite system information to determine the reference altitude for the non-pressure fluctuation period; and determining the altitude record for the non-pressure fluctuation period using the reference altitude and the pressure data corresponding to the non-pressure fluctuation period.

[0085] In this embodiment, the global navigation satellite system may be a global positioning system (GPS), a Beidou navigation satellite system (BDS), etc., and this application does not limit this.

[0086] In this embodiment, the global navigation satellite system information may be continuously collected by the global navigation satellite system positioning module in the smart wearable device at a second frequency (for example, 1 Hz) and stored in the smart wearable device.

[0087] In the embodiment, the second frequency of collecting the global navigation satellite system information is not directly related to the first frequency of collecting the air pressure data, and the two frequencies can be the same or different, which is not limited in the application.

[0088] In the embodiment, the global navigation satellite system information collected can include global navigation satellite system latitude and longitude data and global navigation satellite system height data. The global navigation satellite system height data represents the current height information detected based on the global navigation satellite system, and the global navigation satellite system latitude and longitude data represents the current latitude and longitude information detected based on the global navigation satellite system. Due to the limitation of the global navigation satellite system signal collection principle, even if the current detected global navigation satellite system latitude and longitude data is very accurate, the global navigation satellite system height data will still fluctuate greatly. Therefore, the electronic map elevation information with small fluctuations when the global navigation satellite system latitude and longitude data is accurately positioned is introduced in the embodiment.

[0089] In the embodiment, the electronic map elevation information represents the height information corresponding to the current position determined in the electronic map based on the global navigation satellite system latitude and longitude data. In other words, the electronic map elevation information is the calibrated height of the position indicated by the corresponding latitude and longitude in the electronic map, which is obtained from the global navigation satellite system information collected by the global navigation satellite system positioning module. It is easy to understand that since one electronic map elevation information can be obtained according to each global navigation satellite system latitude and longitude data, the acquisition and storage frequency of the electronic map elevation information is the same as that of the global navigation satellite system information, that is, both are the second frequency.

[0090] In the embodiment, the process of determining the electronic map elevation information according to the global navigation satellite system latitude and longitude data can be realized by 4G, Bluetooth and other methods, which is not limited in the application.

[0091] The storage method of the global navigation satellite system information and the electronic map elevation information will be described in detail below in combination with Figure 3 The description is omitted here.

[0092] In the embodiment, a method for generating an altitude record of a non-air pressure fluctuation period is proposed. Specifically, the method for fitting the electronic map elevation information and the global navigation satellite system information corresponding to the non-air pressure fluctuation period to determine the reference altitude of the non-air pressure fluctuation period can include:

[0093] The non-air pressure fluctuation period is divided into at least one target period according to a preset time length;

[0094] determining a target time corresponding to the target period, wherein the difference between the electronic map elevation information and the GNSS height data at the target time is within a first preset range;

[0095] determining an average value of the electronic map elevation information and the GNSS height data at the target time as a reference altitude of the target period to which the target time belongs.

[0096] In this embodiment, the non-barometric fluctuation period can be divided into target periods according to a preset time length. For example, if the total time length of the non-barometric fluctuation period is 60 minutes, the non-barometric fluctuation period can be divided into 12 target periods each with a time length of 5 minutes, and a reference altitude is determined for each target period.

[0097] It is easy to understand that during outdoor activities such as mountain climbing, the position of the smart wearable device will change in height and weather environment. The purpose of dividing the target period is to determine a reference altitude again every certain time (target period) to reduce the influence of changes in height and weather environment. In other words, the same reference altitude is used in the same target period, and it is considered that the changes in height and weather environment in the same target period are small and insufficient to affect the altitude detection. The user can adjust the target period by controlling the size of the preset time length.

[0098] In this embodiment, after dividing the non-barometric fluctuation period into target periods, it is necessary to determine a target time corresponding to the target period in the target period. At the target time, the difference between the electronic map elevation information and the GNSS height data is within a first preset range.

[0099] As an example, the method of determining the target time can be to first determine a candidate period in the target period. The candidate period is a period composed of continuous time. The difference between the electronic map elevation information and the GNSS height data at any time included in the candidate period is within a first preset range. After determining the candidate period, any time in the candidate period can be used as the target time corresponding to the target period to which the candidate period belongs. In other words, the target time can be any time in the continuous time in the target period, in which the difference between the electronic map elevation information and the GNSS height data is within a first preset range.

[0100] In the embodiment, the target time actually refers to a time at which the global navigation satellite system signal fluctuation is small. When the difference between the electronic map elevation information of the continuous time in the target time period and the global navigation satellite system height data of the continuous time is within the first preset range, it indicates that the global navigation satellite system signal is relatively stable at the continuous time, and at this time, any time in the continuous time can be taken as the target time corresponding to the target time period. The length of the continuous time can be divided according to user demand, and the application does not limit this.

[0101] As an embodiment, the method for determining the target time can also directly determine the candidate time at which the difference between the electronic map elevation information and the global navigation satellite system height data in the target time period is within the first preset range, and take any time in the candidate time as the target time corresponding to the target time period.

[0102] In the embodiment, for each target time period, the target time corresponding to the target time period is determined. After the target time is determined, the average of the electronic map elevation information corresponding to the target time and the global navigation satellite system height data corresponding to the target time is determined as the reference altitude of the target time period to which the target time belongs. It is easy to understand that, since the global navigation satellite system signal fluctuation of the target time is small, it indicates that the electronic map elevation information corresponding to the target time and the global navigation satellite system height data corresponding to the target time are close to the true altitude at this time, so the average of the two can be taken as the reference altitude of the target time period to which the target time belongs.

[0103] Further, the air pressure data can also include the barometer height, and the determination of the altitude record of the non-air pressure fluctuation time period through the reference altitude and the air pressure data corresponding to the non-air pressure fluctuation time period includes:

[0104] The measured barometer height corresponding to each time in the non-air pressure fluctuation time period is determined, and the reference barometer height corresponding to the target time corresponding to the target time period to which the time belongs is determined, and the target relative height is determined according to the measured barometer height and the reference barometer height;

[0105] According to the reference altitude of the target time period to which the target time belongs and the target relative height, the altitude record of each time is determined, and the set of the altitude record of each time is determined as the altitude record of the non-air pressure fluctuation time period.

[0106] In the embodiment, the barometer height refers to the current altitude height determined by the air pressure sensor. The barometer height is calculated according to the air pressure value collected by the air pressure sensor. The height of the barometer can be calculated according to the air pressure value collected according to the air pressure-potential height formula (hypsometric formula):

[0107]

[0108] wherein h is the barometer height, p0 is the standard atmospheric pressure, and is taken as 101.325 kPa; p is the actual measured atmospheric pressure (i.e., the size of the collected air pressure value), and is in units of kilopascals kPa; T is the actual measured temperature, and is in units of degrees Celsius °C. The actual measured temperature can be measured by a temperature sensor or the like in the smart wearable device, and the present application does not limit this.

[0109] Due to the characteristics of the air pressure sensor itself, the barometer height calculated from the size of the air pressure collected by the air pressure sensor is not highly accurate in terms of absolute height, but is highly accurate in terms of relative height. For example, the barometer height determined at point A is 620 meters, and the barometer height determined at point B is 690 meters, so the actual elevations of points A and B can be quite different from 620 meters and 690 meters, respectively, but the elevation difference (i.e., the relative height) between points A and B is 70 meters, which is relatively accurate.

[0110] In the present embodiment, each air pressure value size corresponds to a barometer height, and the target relative height between the barometer height corresponding to each time in each target period in the non-air pressure fluctuation period (denoted as the measured barometer height) and the barometer height corresponding to the target time of the target period (denoted as the reference barometer height) can be determined.

[0111] For example, the target time in a target period is the 120th second, and the barometer height corresponding to the target time (i.e., the reference barometer height) is 3310 meters. The relative height between the barometer height at the 10th second in the target period (i.e., the measured barometer height, such as 3306 meters) and the barometer height at the target time is calculated, and the target relative height is 3306-3310 = -4 meters.

[0112] In the present embodiment, the above steps are performed for each time corresponding barometer height, and after the target relative height is determined, the elevation record of each time can be determined according to the target relative height and the reference elevation of the target period to which the target time belongs. Specifically, the reference elevation and the target relative height can be added to determine the elevation record of the time.

[0113] For example, still taking the above example, after the target relative height of -4 meters is determined, the reference elevation of the target period corresponding to the target time (such as 3260 meters) is added to the target relative height to determine the elevation record of the 10th second in the target period as 3260 + (-4) = 3256 meters.

[0114] In the embodiment, after the altitude record of each time in the non-barometric fluctuation period is determined, the set of altitude records of each time is taken as the altitude record of the non-barometric fluctuation period.

[0115] So far, the description of step 102 is completed, and step 103 is performed.

[0116] In step 103, the altitude record of the barometric fluctuation period is determined by fitting the electronic map elevation information corresponding to the barometric fluctuation period and the global navigation satellite system information.

[0117] In step 102, a method for generating the altitude record of the non-barometric fluctuation period is proposed, and in the embodiment, a method for generating the altitude record of the barometric fluctuation period is proposed.

[0118] Specifically, the method for determining the altitude record of the barometric fluctuation period by fitting the electronic map elevation information corresponding to the barometric fluctuation period and the global navigation satellite system information can include:

[0119] If the difference between the electronic map elevation information corresponding to the barometric fluctuation period and the global navigation satellite system height data is within the second preset range, the average of the electronic map elevation information corresponding to the barometric fluctuation period and the global navigation satellite system height data is determined as the altitude record of the barometric fluctuation period.

[0120] If the difference between the electronic map elevation information corresponding to the barometric fluctuation period and the global navigation satellite system height data is not within the second preset range, the altitude record of the barometric fluctuation period is predicted according to the altitude records of the non-barometric fluctuation periods before the start of the barometric fluctuation period and after the end of the barometric fluctuation period.

[0121] In the embodiment, the global navigation satellite system information includes global navigation satellite system height data and global navigation satellite system latitude and longitude data, the global navigation satellite system height data represents the current height information detected based on the global navigation satellite system, the global navigation satellite system latitude and longitude data represents the current latitude and longitude information detected based on the global navigation satellite system, and the electronic map elevation information represents the height information corresponding to the current position determined in the electronic map based on the global navigation satellite system latitude and longitude data.

[0122] In the embodiment, in the barometric fluctuation period, the magnitude of the pressure data collected and the barometer height fluctuation calculated are extremely large, at which time the extremely fluctuating pressure data cannot be used to determine the altitude record, and only the altitude record can be determined according to the electronic map elevation information and the global navigation satellite system information corresponding to the period.

[0123] It is easy to understand that before the altitude record is determined by the electronic map elevation information and the global navigation satellite system information corresponding to the air pressure fluctuation period, it is also necessary to detect whether the global navigation satellite system signal is stable in the period. In other words, in the air pressure fluctuation period, if the global navigation satellite system signal fluctuation is small, the electronic map elevation information and the global navigation satellite system information can be used to determine the altitude record, otherwise, a large error will still be generated.

[0124] In the embodiment, it can be first judged whether the difference between the electronic map elevation information and the global navigation satellite system height data corresponding to the air pressure fluctuation period is within the second preset range. If the difference is within the second preset range, it indicates that the values of the two are not much different, and the global navigation satellite system signal is relatively stable. At this time, the average value of the electronic map elevation information and the global navigation satellite system height data corresponding to the air pressure fluctuation period can be directly used as the altitude record of the air pressure fluctuation period according to the method of determining the reference altitude in step 102.

[0125] It is easy to understand that in the case of stable global navigation satellite system signal, the average value of the electronic map elevation information and the global navigation satellite system height data corresponding to each time in the air pressure fluctuation period can be used as the altitude record of the time. At this time, the set of altitude records of each time in the air pressure fluctuation period is used as the altitude record of the air pressure fluctuation period.

[0126] In the embodiment, if the difference between the electronic map elevation information and the global navigation satellite system height data corresponding to the air pressure fluctuation period is not within the second preset range, it indicates that the global navigation satellite system signal is unstable and fluctuates greatly in this period. At this time, the error of using the electronic map elevation information and the global navigation satellite system information is also large, so the altitude record of the air pressure fluctuation period can be predicted according to the altitude records of the non-air pressure fluctuation period before the air pressure fluctuation period and the non-air pressure fluctuation period after the air pressure fluctuation period.

[0127] As an embodiment, after the altitude records corresponding to the non-air pressure fluctuation period before the air pressure fluctuation period and the non-air pressure fluctuation period after the air pressure fluctuation period are determined, the blank part (i.e. the air pressure fluctuation period) between the two altitude records can be smoothed by a curve smoothing transition algorithm. The method of smoothing transition is not limited in the present application.

[0128] As an embodiment, the global navigation satellite system information further comprises global navigation satellite system signal quality information, the global navigation satellite system signal quality information representing an accuracy degree of current global navigation satellite system detecting the height data and the latitude and longitude data, before fitting the electronic map elevation information corresponding to the non-barometric fluctuation period and the global navigation satellite system information to determine the reference altitude of the non-barometric fluctuation period, the method further comprises:

[0129] If it is detected that the global navigation satellite system signal quality information is within a preset signal quality range, the global navigation satellite system information and the corresponding electronic map elevation information to which the global navigation satellite system signal quality information belongs are deleted.

[0130] In the embodiment, when the global navigation satellite system signal is collected by the global navigation satellite system positioning module, the global navigation satellite system signal can further comprise global navigation satellite system signal quality information, and the global navigation satellite system signal quality information can comprise global navigation satellite system signal strength and positioning star number.

[0131] In the embodiment, before fitting the electronic map elevation information corresponding to the non-barometric fluctuation period and the global navigation satellite system information to determine the reference altitude of the non-barometric fluctuation period, it can be determined whether the global navigation satellite system signal quality information is within a preset signal quality range (such as the signal strength is not lower than 30 decibels and the positioning star number is not less than 4), in other words, it is determined whether the global navigation satellite system signal quality is stable, if the global navigation satellite system signal quality information is not within the preset signal quality range, it indicates that the signal strength of the global navigation satellite system is weak or the positioning star number is too small, at this time, it indicates that the global navigation satellite system signal is unstable, and the global navigation satellite system information and the electronic map elevation information obtained according to the global navigation satellite system latitude and longitude data cannot be used as a basis for determining the altitude record. At this time, the global navigation satellite system information and the electronic map elevation information obtained according to the global navigation satellite system latitude and longitude data to which the global navigation satellite system signal quality information belongs are deleted, so that the unstable global navigation satellite system information and the electronic map elevation information are not used for determining the altitude record in the subsequent process.

[0132] Thus, the description of step 103 ends.

[0133] In the embodiment, after the altitude records of the barometric fluctuation period and the non-barometric fluctuation period are determined respectively, the altitude records of the two periods are combined in time sequence, and then the altitude record of the entire movement process can be obtained.

[0134] Thus, the description of step 103 ends. Figure 1 Thus, the description of the altitude record generation method flowchart in the embodiment ends.

[0135] The embodiment continuously collects and stores the air pressure data, the GNSS information and the electronic map elevation information at a preset frequency, and determines the air pressure fluctuation period and the non-air pressure fluctuation period from the stored air pressure data when the altitude record needs to be generated, and sets different altitude record generation methods for the two different periods:

[0136] For the non-air pressure fluctuation period, the reference altitude is determined by using the electronic map elevation information and the GNSS information corresponding to the period, and the altitude record of the period is determined according to the reference altitude and the air pressure data of the period; and for the air pressure fluctuation period, the air pressure data of the period is too large to be used as effective data, and the altitude record of the air pressure fluctuation period can be directly determined by fitting the electronic map elevation information and the GNSS information corresponding to the period. In the above scheme, the electronic map elevation information is introduced, and the air pressure data is corrected in combination with the GNSS information, which avoids correcting the altimeter height only according to the unstable GNSS information, and reduces the error of the generated altitude record.

[0137] Further, in the embodiment, the GNSS signals with weak GNSS signal quality information and the corresponding electronic map elevation information are removed, which avoids additional errors caused by using unstable GNSS signals and electronic map elevation information to correct the altimeter height.

[0138] The following will be described in detail with reference to the accompanying drawings. Figure 2 The structure of the intelligent wearable device provided in the embodiment of the present application is introduced.

[0139] Please refer to Figure 2 , Figure 2 The structure of the intelligent wearable device provided in the embodiment of the present application is introduced.

[0140] Specifically, the intelligent wearable device can include:

[0141] The data acquisition module is configured to acquire external data, and can include:

[0142] The GNSS positioning module is configured to acquire GNSS information at a second frequency, and the GNSS information can include GNSS latitude and longitude data, GNSS altitude data and GNSS signal quality information;

[0143] The air pressure sensor is configured to collect air pressure data at a first frequency, wherein the air pressure data can include a sampling time, a corresponding air pressure value at the sampling time, and an altimeter height.

[0144] The network module is configured to obtain corresponding electronic map elevation information according to global navigation satellite system latitude and longitude data at a second frequency, wherein the network module can be implemented by a wireless communication mode such as 4G or Bluetooth, and the present application does not limit this.

[0145] In addition to the data collection module, the smart wearable device further comprises:

[0146] The data storage and processing module is configured to read the data collected by the data collection module and store the collected data in the module, so as to process the stored data to generate an elevation record.

[0147] The following will be described in combination with Figure 3 The process of storing the collected data will be briefly introduced.

[0148] Please refer to Figure 3 , Figure 3 A data storage unit structure schematic diagram provided by the embodiment of the present application.

[0149] As Figure 3 shown, in the embodiment, taking 3Hz as the first frequency (the frequency of collecting air pressure data) and 1Hz as the second frequency (the frequency of collecting global navigation satellite system information and electronic map elevation information) as examples, after reading the data collected by the data collection module, the data storage and processing module stores 3 pieces of air pressure data, 1 piece of global navigation satellite system information, and 1 piece of electronic map elevation information collected at the same time (such as 1 second) as one piece of original data storage unit in the time and stores it into the data storage module, so that in the continuous time, the data stored in the storage module has the data style of Figure 3 shown.

[0150] Among them, the global navigation satellite system information, the electronic map elevation information, and the air pressure data are stored in each data storage unit, the global navigation satellite system information includes height data, latitude and longitude data, and signal quality information; the electronic map elevation information is the electronic map elevation information determined according to the latitude and longitude data; and the air pressure data includes a sampling time, an air pressure value, and an altimeter height.

[0151] It should be noted that, Figure 3The air pressure data in the data storage unit corresponding to each second actually includes three pieces of data, i.e., three sampling time points, three air pressure values, and three barometer heights. In subsequent calculation processing, the three pieces of air pressure data can be averaged, and the average value is used as the air pressure data of the data storage unit for subsequent processing. Alternatively, one maximum value and one minimum value are removed from the three pieces of air pressure data, and the remaining one piece of air pressure data is used as the air pressure data of the data storage unit for subsequent processing. The application does not limit this.

[0152] This completes the description of the data storage unit structure diagram. Figure 3 The description of the data storage unit structure diagram is completed, and the following continues to describe Figure 2 the smart wearable device.

[0153] In addition, the smart wearable device further comprises:

[0154] The data display module is configured to display the generated altitude record.

[0155] This completes the description of the data storage unit structure diagram. Figure 2 This completes the description of the data storage unit structure diagram.

[0156] Please refer to Figure 4 , Figure 4 is a schematic structural diagram of an electronic device according to an embodiment of the application. At the hardware level, the electronic device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and can also include other hardware required by a business. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs, and forms a terminal interactive device at the logical level. Of course, in addition to the software implementation, the application does not exclude other implementation manners, such as a logic device or a combination of software and hardware, etc. That is, the execution subject of the following processing flow is not limited to each logical unit, but can also be hardware or a logic device.

[0157] Please refer to Figure 5 , Figure 5 is a schematic structural diagram of an altitude record generation device according to an embodiment of the application. The device is applied to a smart wearable device. As shown in Figure 5 , the altitude record generation device can include a time period determination unit 501, a first record unit 502, and a second record unit 503. Specifically, the device includes:

[0158] The time period determination unit 501 is configured to determine an air pressure fluctuation time period and a non-air pressure fluctuation time period based on air pressure data when an altitude record generation condition is met.

[0159] The first recording unit 502 is configured to: fit the electronic map elevation information corresponding to the non-barometric fluctuation period and the global navigation satellite system information to determine a reference altitude of the non-barometric fluctuation period; and determine an altitude record of the non-barometric fluctuation period by using the reference altitude and barometric data corresponding to the non-barometric fluctuation period.

[0160] The second recording unit 503 is configured to: fit the electronic map elevation information corresponding to the barometric fluctuation period and the global navigation satellite system information to determine an altitude record of the barometric fluctuation period.

[0161] The barometric data, the electronic map elevation information and the global navigation satellite system information are continuously collected and stored.

[0162] Optionally, the period determining unit 501 is specifically configured to:

[0163] If an operation of viewing the altitude record is triggered by the smart wearable device, it is determined that the altitude record generation condition is met.

[0164] Alternatively, if a message indicating that the current movement has ended is received, it is determined that the altitude record generation condition is met.

[0165] Alternatively, if it is detected that the smart wearable device is in an idle state, it is determined that the altitude record generation condition is met.

[0166] The barometric data includes a sampling time and a barometric value corresponding to the sampling time, and the period determining unit 501 is specifically configured to:

[0167] fit the barometric values included in the barometric data into a barometric fluctuation curve according to the sampling times included in the barometric data, each barometric value on the barometric fluctuation curve corresponds to a slope value, and a set of sampling times corresponding to the barometric values with slope values in a first preset range is determined as a barometric fluctuation period.

[0168] A set of sampling times other than the barometric fluctuation period is determined as a non-barometric fluctuation period.

[0169] The global navigation satellite system information includes global navigation satellite system height data and global navigation satellite system latitude and longitude data, the global navigation satellite system height data represents current height information detected based on the global navigation satellite system, the global navigation satellite system latitude and longitude data represents current latitude and longitude information detected based on the global navigation satellite system, and the electronic map elevation information represents height information corresponding to a current position determined in an electronic map based on the global navigation satellite system latitude and longitude data; and the first recording unit 502 is specifically configured to:

[0170] divide the non-barometric fluctuation period into at least one target period according to a preset time length;

[0171] determine a target time corresponding to the target period in each target period, wherein, at the target time, the difference between the electronic map elevation information and the GNSS height data is within a first preset range;

[0172] determine the average of the electronic map elevation information and the GNSS height data corresponding to the target time as the reference altitude of the target period to which the target time belongs;

[0173] And / or, the barometric data further includes a barometer height, and the first recording unit 502 is specifically configured to:

[0174] determine the measured barometer height corresponding to each time in the non-barometric fluctuation period, and determine the reference barometer height corresponding to the target time corresponding to the target period to which the time belongs, and determine the target relative height according to the measured barometer height and the reference barometer height;

[0175] determine the altitude record of each time according to the reference altitude of the target period to which the target time belongs and the target relative height, and determine the set of altitude records of each time as the altitude record of the non-barometric fluctuation period;

[0176] And / or, the GNSS information includes GNSS height data and GNSS latitude and longitude data, the GNSS height data represents current height information detected based on the GNSS, the GNSS latitude and longitude data represents current latitude and longitude information detected based on the GNSS, and the electronic map elevation information represents height information corresponding to the current position determined in the electronic map based on the GNSS latitude and longitude data; and the second recording unit 503 is specifically configured to:

[0177] if the difference between the electronic map elevation information and the GNSS height data corresponding to the barometric fluctuation period is within a second preset range, then determine the average of the electronic map elevation information and the GNSS height data corresponding to the barometric fluctuation period as the altitude record of the barometric fluctuation period;

[0178] if the difference between the electronic map elevation information and the GNSS height data corresponding to the barometric fluctuation period is not within the second preset range, then predict the altitude record of the barometric fluctuation period according to the altitude records of the non-barometric fluctuation periods before the start of the barometric fluctuation period and after the end of the barometric fluctuation period;

[0179] And / or, the global navigation satellite system information includes global navigation satellite system altitude data, global navigation satellite system latitude and longitude data, and global navigation satellite system signal quality information, the global navigation satellite system altitude data represents current altitude information detected based on the global navigation satellite system, the global navigation satellite system latitude and longitude data represent current latitude and longitude information detected based on the global navigation satellite system, the global navigation satellite system signal quality information represents the accuracy of the altitude data and the latitude and longitude data detected by the current global navigation satellite system, and the electronic map elevation information represents altitude information corresponding to the current position determined in the electronic map based on the global navigation satellite system latitude and longitude data; before fitting the electronic map elevation information corresponding to the non-pressure fluctuation period and the global navigation satellite system information to determine the reference altitude for the non-pressure fluctuation period, the first recording unit 502 is further used to:

[0180] If it is detected that the global navigation satellite system signal quality information is within a preset signal quality range, the global navigation satellite system information to which the global navigation satellite system signal quality information belongs and the corresponding electronic map elevation information are deleted.

[0181] So far, completed Figure 5 Description of the mid-altitude record generation device.

[0182] Correspondingly, in this embodiment, the embodiment of the present application further provides a computer-readable storage medium, on which a number of computer instructions are stored. When the computer instructions are executed, the method disclosed in the above example of the present application can be implemented.

[0183] Exemplarily, the computer-readable storage medium may be any electronic, magnetic, optical, or other physical storage device that may contain or store information, such as executable instructions, data, and the like. For example, the computer-readable storage medium may be: RAM (Random Access Memory), volatile memory, non-volatile memory, flash memory, a storage drive (such as a hard disk drive), a solid-state drive, any type of storage disk (such as a CD, DVD, etc.), or similar storage media, or a combination thereof.

[0184] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. An elevation log generation method, characterized by, The method is applied to an intelligent wearable device, and the method comprises: When an altitude record generation condition is met, determining a pressure fluctuation period and a non-pressure fluctuation period based on pressure data; Fitting the electronic map elevation information and the global navigation satellite system information corresponding to the non-pressure fluctuation period to determine a reference altitude of the non-pressure fluctuation period; determining an altitude record of the non-pressure fluctuation period based on the reference altitude and the pressure data corresponding to the non-pressure fluctuation period; Fitting the electronic map elevation information and the global navigation satellite system information corresponding to the pressure fluctuation period to determine an altitude record of the pressure fluctuation period; The pressure data is continuously collected and stored, the electronic map elevation information is continuously collected and stored, and the global navigation satellite system information is continuously collected and stored.

2. The method of claim 1, wherein, The altitude record generation condition comprises: If an operation of viewing an altitude record is triggered by the intelligent wearable device, it is determined that the altitude record generation condition is met; Or, if a message indicating that the current movement has ended is received, it is determined that the altitude record generation condition is met; Or, if it is detected that the intelligent wearable device is in an idle state, it is determined that the altitude record generation condition is met.

3. The method of claim 1, wherein, The pressure data comprises a sampling time and a pressure value corresponding to the sampling time; The pressure fluctuation period and the non-pressure fluctuation period are determined based on the pressure data, which comprises: The pressure values included in the pressure data are fitted into a pressure fluctuation curve according to the sampling times included in the pressure data, each pressure value on the pressure fluctuation curve corresponds to a slope value, and a set of sampling times corresponding to pressure values with slope values in a first preset range is determined as the pressure fluctuation period; A set of sampling times other than the pressure fluctuation period is determined as the non-pressure fluctuation period.

4. The method of claim 1, wherein, The global navigation satellite system information comprises global navigation satellite system height data and global navigation satellite system latitude and longitude data, the global navigation satellite system height data represents current height information detected based on the global navigation satellite system, the global navigation satellite system latitude and longitude data represents current latitude and longitude information detected based on the global navigation satellite system, and the electronic map elevation information represents height information corresponding to a current position determined in an electronic map based on the global navigation satellite system latitude and longitude data; Fitting the electronic map elevation information and the global navigation satellite system information corresponding to the non-pressure fluctuation period to determine the reference altitude of the non-pressure fluctuation period comprises: Dividing the non-pressure fluctuation period into at least one target period according to a preset time length; Determining a target time corresponding to each target period in which the difference between the electronic map elevation information and the global navigation satellite system height data is within a first preset range; Determining the average value of the electronic map elevation information and the global navigation satellite system height data corresponding to the target time as the reference altitude of the target period to which the target time belongs.

5. The method of claim 4, wherein, The barometric pressure data further comprises a barometric pressure gauge height, and determining the altitude record of the non-barometric fluctuation period based on the reference altitude of the target period and the target relative height comprises: determining a measured barometric pressure gauge height corresponding to each time point in the non-barometric fluctuation period, and determining a reference barometric pressure gauge height corresponding to a target time point corresponding to a target period to which the time point belongs, determining a target relative height based on the measured barometric pressure gauge height and the reference barometric pressure gauge height; determining an altitude record of each time point based on the reference altitude of the target period to which the target time point belongs and the target relative height, and determining a set of altitude records of each time point as the altitude record of the non-barometric fluctuation period.

6. The method of claim 1, wherein, The global navigation satellite system information comprises global navigation satellite system height data and global navigation satellite system latitude and longitude data, the global navigation satellite system height data representing current height information detected based on the global navigation satellite system, the global navigation satellite system latitude and longitude data representing current latitude and longitude information detected based on the global navigation satellite system, and the electronic map elevation information representing height information of a current position determined in an electronic map based on the global navigation satellite system latitude and longitude data; The fitting of the electronic map elevation information and the global navigation satellite system information corresponding to the non-barometric fluctuation period to determine the altitude record of the non-barometric fluctuation period comprises: if the difference between the electronic map elevation information and the global navigation satellite system height data corresponding to the non-barometric fluctuation period is within a second preset range, determining the average of the electronic map elevation information and the global navigation satellite system height data corresponding to the non-barometric fluctuation period as the altitude record of the non-barometric fluctuation period; if the difference between the electronic map elevation information and the global navigation satellite system height data corresponding to the non-barometric fluctuation period is not within the second preset range, predicting the altitude record of the non-barometric fluctuation period based on the altitude records of the non-barometric fluctuation periods before and after the non-barometric fluctuation period.

7. The method of claim 1, wherein, The global navigation satellite system information comprises global navigation satellite system height data, global navigation satellite system latitude and longitude data, and global navigation satellite system signal quality information, the global navigation satellite system height data representing current height information detected based on the global navigation satellite system, the global navigation satellite system latitude and longitude data representing current latitude and longitude information detected based on the global navigation satellite system, and the global navigation satellite system signal quality information representing the accuracy of the height data and the latitude and longitude data detected by the global navigation satellite system, and the electronic map elevation information representing height information of a current position determined in an electronic map based on the global navigation satellite system latitude and longitude data; before fitting the electronic map elevation information and the global navigation satellite system information corresponding to the non-barometric fluctuation period to determine the reference altitude of the non-barometric fluctuation period, the method further comprises: If it is detected that the global navigation satellite system signal quality information is in a preset signal quality range, global navigation satellite system information to which the global navigation satellite system signal quality information belongs and corresponding electronic map elevation information are deleted.

8. An elevation record generating apparatus characterized by comprising: The device is applied to a smart wearable device, and the device comprises: The period determination unit is configured to determine a pressure fluctuation period and a non-pressure fluctuation period based on the pressure data when an altitude record generation condition is met. The first recording unit is configured to determine a reference altitude of the non-pressure fluctuation period by fitting the electronic map elevation information corresponding to the non-pressure fluctuation period and the global navigation satellite system information. The second recording unit is configured to determine an altitude record of the pressure fluctuation period by fitting the electronic map elevation information corresponding to the pressure fluctuation period and the global navigation satellite system information. The pressure data, the electronic map elevation information, and the global navigation satellite system information are continuously collected and stored.

9. The apparatus of claim 8, wherein, The period determination unit is specifically configured to: If an operation of viewing the altitude record is triggered by the smart wearable device, it is determined that the altitude record generation condition is met. Or, if a message indicating that the current movement has ended is received, it is determined that the altitude record generation condition is met. Or, if it is detected that the smart wearable device is in an idle state, it is determined that the altitude record generation condition is met. The pressure data comprises a sampling time and a pressure value corresponding to the sampling time. The period determination unit is specifically configured to: The pressure values included in the pressure data are fitted into a pressure fluctuation curve according to the sampling times included in the pressure data, each pressure value on the pressure fluctuation curve corresponds to a slope value, and a set of sampling times corresponding to pressure values with slope values in a first preset range is determined as the pressure fluctuation period. A set of sampling times other than the pressure fluctuation period is determined as the non-pressure fluctuation period. The global navigation satellite system information comprises global navigation satellite system height data and global navigation satellite system latitude and longitude data, the global navigation satellite system height data represents current height information detected based on the global navigation satellite system, the global navigation satellite system latitude and longitude data represents current latitude and longitude information detected based on the global navigation satellite system, and the electronic map elevation information represents height information corresponding to a current position determined in an electronic map based on the global navigation satellite system latitude and longitude data. The first recording unit is specifically configured to: Divide the non-pressure fluctuation period into at least one target period according to a preset time length. Determine a target time corresponding to each target period in the target period, wherein the difference between the electronic map elevation information and the global navigation satellite system height data at the target time is within a first preset range. determining an average value of the electronic map elevation information and the global navigation satellite system height data corresponding to the target moment as a reference altitude of a target period to which the target moment belongs; and / or, the barometric pressure data further comprises a barometric pressure gauge height, and the first recording unit is specifically configured to: determining a measured barometric pressure gauge height corresponding to each moment in the non-barometric pressure fluctuation period, and determining a reference barometric pressure gauge height corresponding to the target moment corresponding to a target period to which the moment belongs, determining a target relative height according to the measured barometric pressure gauge height and the reference barometric pressure gauge height; determining an altitude record of each moment according to the reference altitude of the target period to which the target moment belongs and the target relative height, and determining a set of the altitude records of each moment as the altitude records of the non-barometric pressure fluctuation period; and / or, the global navigation satellite system information comprises global navigation satellite system height data and global navigation satellite system latitude and longitude data, the global navigation satellite system height data represents current height information detected based on the global navigation satellite system, the global navigation satellite system latitude and longitude data represents current latitude and longitude information detected based on the global navigation satellite system, and the electronic map elevation information represents height information corresponding to a current position determined in an electronic map based on the global navigation satellite system latitude and longitude data; and the second recording unit is specifically configured to: if a difference between the electronic map elevation information and the global navigation satellite system height data corresponding to the barometric pressure fluctuation period is within a second preset range, determining an average value of the electronic map elevation information and the global navigation satellite system height data corresponding to the barometric pressure fluctuation period as the altitude records of the barometric pressure fluctuation period; if the difference between the electronic map elevation information and the global navigation satellite system height data corresponding to the barometric pressure fluctuation period is not within the second preset range, predicting the altitude records of the barometric pressure fluctuation period according to the altitude records of the non-barometric pressure fluctuation periods before the start of the barometric pressure fluctuation period and after the end of the barometric pressure fluctuation period; and / or, the global navigation satellite system information comprises global navigation satellite system height data, global navigation satellite system latitude and longitude data, and global navigation satellite system signal quality information, the global navigation satellite system height data represents current height information detected based on the global navigation satellite system, the global navigation satellite system latitude and longitude data represents current latitude and longitude information detected based on the global navigation satellite system, and the global navigation satellite system signal quality information represents an accuracy degree of detecting the height data and the latitude and longitude data by the global navigation satellite system, and the electronic map elevation information represents height information corresponding to a current position determined in an electronic map based on the global navigation satellite system latitude and longitude data; and before fitting the electronic map elevation information and the global navigation satellite system information corresponding to the non-barometric pressure fluctuation period to determine the reference altitude of the non-barometric pressure fluctuation period, the first recording unit is further configured to: If it is detected that the global navigation satellite system signal quality information is in a preset signal quality range, global navigation satellite system information to which the global navigation satellite system signal quality information belongs and corresponding electronic map elevation information are deleted.

10. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor implements the method of any one of claims 1-7 when executing the program.

Citation Information

Patent Citations

  • Terrain contour matching-based inertial navigation system speed accumulative error correction method

    CN106052688A

  • Method for calculating altitude according to combination of GPS height and air pressure

    CN114322930A

  • GNSS (Global Navigation Satellite System) integrated navigation positioning precision testing method and system under satellite lock losing condition

    CN115014392A

  • Altitude height determination method and device, storage medium and electronic equipment

    CN116631576A

  • Relative height measuring system and method for parachute

    CN117848283A