Gradient determination method and device and mobile terminal
The terminal device uses the target positioning signal to calculate the altitude and horizontal distance change values, which solves the problem of inaccurate slope calculation of existing ski equipment and achieves accurate measurement and real-time feedback of the slope of the ski slope.
Patent Information
- Application Number
- CN202310263689.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-10
- Publication Date
- 2024-09-10
AI Technical Summary
It is difficult for existing ski equipment to accurately calculate the slope of the snow path through the acceleration signal worn on the wrist. It is greatly affected by random movements of the hand, resulting in inaccurate slope calculation.
Use terminal equipment to determine the altitude change value and horizontal distance change value through target positioning signals (such as satellite positioning signals, barometer signals), calculate the slope information of the slope, and use multi-dimensional filtering and correction mechanisms to improve the accuracy of slope calculation.
It achieves accurate calculation of the slope of the snow slope, reduces the impact of hand movements on positioning signals, improves the accuracy and real-time performance of slope calculation, and reduces the occurrence of outliers.
Smart Images

Figure CN118623840A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer communication technology, and in particular to a slope determination method and device, and a mobile terminal. Background Art
[0002] As people's living standards improve, more and more people are engaging in skiing. Whether they are curious about skiing, skiing enthusiasts, or professional skiers, the demand for skiing is increasing. In skiing, one of the indicators that attracts much attention is the slope of the ski slope. The slope can reflect the ability of the skier to a certain extent. The larger the slope, the more refined the technique required to overcome it, and the higher the risk. Therefore, the slope needs to be calculated during skiing to provide feedback to the skier.
[0003] Currently, the slope is usually calculated by collecting acceleration signals from devices worn on the skier's wrist. However, since the skier's hand movements are random and have a great impact on acceleration when skiing, this method is easily affected by random hand movements and cannot accurately calculate the slope. Summary of the invention
[0004] In view of this, the present disclosure provides a slope determination method and device, and a mobile terminal, which can accurately calculate the slope of a slope by using a target positioning signal.
[0005] According to a first aspect of an embodiment of the present disclosure, a slope determination method is provided, the method being applied to a terminal device, the method comprising:
[0006] Determining multiple target positioning signals of the terminal device within the slope range;
[0007] Based on the multiple target positioning signals, determining an altitude change value and a horizontal distance change value of the terminal device;
[0008] The slope information of the slope is calculated based on the altitude change value and the horizontal distance change value.
[0009] In combination with any embodiment of the present disclosure, the determining a plurality of target positioning signals of the terminal device within a slope range includes:
[0010] Determining an abnormal positioning signal among multiple initial positioning signals;
[0011] After removing the abnormal positioning signal from the multiple initial signals, the multiple target positioning signals are obtained.
[0012] In combination with any embodiment of the present disclosure, determining an abnormal positioning signal among multiple initial positioning signals includes:
[0013] Determining an abnormal signal to be processed among the multiple initial positioning signals;
[0014] According to the initial positioning signal after the abnormal signal to be processed, it is determined that the abnormal information to be processed is the abnormal positioning signal.
[0015] In combination with any embodiment of the present disclosure, determining an abnormal positioning signal among multiple initial positioning signals includes:
[0016] Determine, based on at least two initial positioning signals collected within a first time period, a first horizontal distance change value and a first altitude change value of the terminal device within the first time period;
[0017] When the first horizontal distance change value is less than a distance change threshold and / or the first altitude change value is greater than an altitude change threshold, at least two initial positioning signals collected within the first time period are determined as abnormal positioning signals.
[0018] In combination with any embodiment of the present disclosure, the target positioning signal includes at least one of the following: a satellite positioning signal; a geographic location signal; a barometer signal;
[0019] The method further includes: determining a current position of the terminal device relative to the slope according to the target positioning signal.
[0020] In combination with any embodiment of the present disclosure, the step of determining an abnormal positioning signal from a plurality of initial positioning signals further includes:
[0021] When it is determined within the first time period that the parameter value of the associated parameter meets the preset abnormal condition, at least two initial positioning signals collected within the first time period are determined as abnormal positioning signals.
[0022] In combination with any implementation manner of the present disclosure, the associated parameter includes at least one of the following:
[0023] The speed of the terminal device;
[0024] The acceleration of the terminal device;
[0025] Horizontal accuracy of target positioning signal;
[0026] Vertical accuracy of target positioning signal.
[0027] In combination with any embodiment of the present disclosure, the step of calculating the slope information of the slope according to the altitude change value and the horizontal distance change value includes:
[0028] The slope information of the slope is calculated based on the altitude change value and the horizontal distance change value determined by the target positioning signal in the target window; wherein the target window includes the latest determined target positioning signal and a preset number of historical positioning signals located before the latest target positioning signal.
[0029] In combination with any embodiment of the present disclosure, the slope information of the slope is calculated based on the altitude change value and the horizontal distance change value determined according to the target positioning signal in the target window, including:
[0030] Calculating the cumulative sum of the altitude change values of the target positioning signal in the target window to obtain a first sum;
[0031] Calculate the cumulative sum of the horizontal distance change values of the target positioning signal in the target window to obtain a second sum;
[0032] The slope information of the slope is calculated according to the first sum value and the second sum value.
[0033] In combination with any embodiment of the present disclosure, after calculating the slope information of the slope according to the altitude change value and the horizontal distance change value, the method further includes:
[0034] In response to a slope change value between the slope information and the historical slope information calculated last time exceeding a slope change threshold, the slope information is corrected.
[0035] In combination with any embodiment of the present disclosure, the correcting the slope information includes:
[0036] When the historical slope information is less than the slope information, determining the sum of the historical slope information and the first threshold information as the corrected slope information;
[0037] When the historical slope information is greater than the slope information, the difference between the historical slope information and the second threshold information is determined as the corrected slope information.
[0038] In combination with any embodiment of the present disclosure, after calculating the slope information of the slope according to the altitude change value and the horizontal distance change value, the method further includes:
[0039] The average slope value is obtained according to the change in altitude and horizontal distance during the entire movement process on the slope;
[0040] Based on the average slope value, determining a slope value range to which a maximum theoretical slope value belongs;
[0041] The maximum slope value in the slope information is corrected to within the slope value range to obtain a corrected maximum slope value.
[0042] In combination with any embodiment of the present disclosure, when the slope is located in a ski resort, the slope information is the slope information of the ski trail.
[0043] In combination with any embodiment of the present disclosure, the method further includes:
[0044] According to the altitude change value in the target positioning signal, a plurality of target positioning signals corresponding to at least one snow track are identified.
[0045] In combination with any embodiment of the present disclosure, the step of calculating the slope information of the slope according to the altitude change value and the horizontal distance change value includes:
[0046] For any of the snow trails, the slope information of the snow trail is calculated based on the altitude change values and horizontal distance change values determined by multiple target positioning signals corresponding to the snow trail.
[0047] In combination with any embodiment of the present disclosure, the method further includes:
[0048] Acquire geographic information of a target location where the terminal device is located, wherein the geographic information at least includes altitude information;
[0049] The step of determining the altitude change value of the terminal device based on the multiple target positioning signals includes:
[0050] The altitude change value of the terminal device is determined according to the altitude information in the geographic information and the target positioning signal.
[0051] In combination with any embodiment of the present disclosure, the geographic information further includes known slope information of the slope;
[0052] The method further comprises:
[0053] The calculated slope information of the slope is corrected according to the known slope information of the slope to obtain corrected slope information.
[0054] According to a second aspect of an embodiment of the present disclosure, a slope determination device is provided, the device being applied to a terminal device, the device comprising:
[0055] A signal determination module, used to determine a plurality of target positioning signals of the terminal device within a slope range;
[0056] A displacement determination module, used to determine an altitude change value and a horizontal distance change value of the terminal device based on the multiple target positioning signals;
[0057] The slope calculation module is used to calculate the slope information of the slope according to the altitude change value and the horizontal distance change value.
[0058] According to a third aspect of an embodiment of the present disclosure, there is provided a non-temporary computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the slope determination methods described in the first aspect above.
[0059] According to a fourth aspect of an embodiment of the present disclosure, there is provided a mobile terminal, including:
[0060] processor;
[0061] a memory for storing processor-executable instructions;
[0062] Wherein, the processor is configured to execute the executable instructions to implement the steps of any slope determination method described in the first aspect above.
[0063] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0064] The slope determination method provided by the present disclosure uses the positioning signal of the terminal device to determine the altitude change value and the horizontal distance change value of the terminal device to calculate the slope. The hand movements or movements of other parts of the body have little effect on the positioning signal, and the altitude change value and the horizontal distance change value can accurately represent the position change when sliding on the slope, so that the slope can be accurately calculated.
[0065] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0067] Figure 1 is a flow chart of a slope determination method according to an exemplary embodiment of the present disclosure;
[0068] Figure 2 is a flow chart of another slope determination method according to an exemplary embodiment of the present disclosure;
[0069] Figure 3 is a schematic diagram of an abnormal situation in a skiing scene according to an exemplary embodiment of the present disclosure;
[0070] Figure 4 is a block diagram of a slope determination device according to an exemplary embodiment of the present disclosure;
[0071] Figure 5 It is a structural schematic diagram of a mobile terminal according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0072] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0073] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. The singular forms of "a", "said" and "the" used in this disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0074] It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0075] Currently, the slope is usually calculated using the acceleration signal recorded by a bracelet worn on the skier's wrist. Since the skier's hand movements are random when skiing, the acceleration signal recorded by the bracelet worn on the wrist is random, and thus cannot represent the current skiing movement. It can be said that the ski slope algorithm based on the bracelet cannot use the acceleration signal to determine the slope in principle.
[0076] Based on this, the embodiments of the present disclosure propose a slope determination method and device, and a mobile terminal, which can calculate the slope of the slope using the altitude change value and the horizontal distance change value obtained through the target positioning signal. Since the influence of hand movements or movements of other parts of the body on the altitude and the horizontal distance is very small, and the altitude change value and the horizontal distance change value can accurately represent the position change when sliding on the slope, the slope can be accurately calculated.
[0077] It should be noted that the technical solution provided by the present invention can be applied not only to skiing scenarios, but also to other scenarios that require calculating the slope of a slope, such as calculating the slope of a road when skateboarding, calculating the slope of a lane when mountain biking, and calculating the slope of a slide when sliding down a slide, etc.
[0078] like Figure 1 As shown, Figure 1 The present invention is a flowchart of a slope determination method shown in at least one embodiment of the present invention. The method can be used for a terminal device, wherein the terminal device can be an electronic device worn or carried by a user, for example, a wearable device such as a smart bracelet, a smart watch or smart glasses, or a user device such as a mobile phone, a game console, or a tablet, and includes the following steps:
[0079] In step 102, a plurality of target positioning signals of the terminal device within a slope range are determined.
[0080] In this step, the target positioning signal contains information that can represent the geographical location of the terminal device, such as longitude and latitude, movement route, altitude, etc.
[0081] Exemplarily, the target positioning signal may specifically be one or more of a satellite positioning signal, a barometer signal, a base station positioning signal, a gyroscope signal, an accelerometer signal, and other sensor signals.
[0082] This embodiment does not limit the method of determining the target positioning signal. For example, when the target positioning signal is a GPS (Global Positioning System) positioning signal, a GPS signal receiver or a locator is provided on the terminal device to receive the GPS positioning signal sent by the GPS positioning system; for another example, when the target positioning signal includes a barometer signal, the barometer signal is collected by a barometer built into the terminal device.
[0083] This step may be performed when a user wears or carries the terminal device and moves it along a slope, and multiple target positioning signals of the terminal device within the slope are determined. The movement along the slope may be moving up or down the slope.
[0084] In step 104, based on the multiple target positioning signals, the altitude change value and the horizontal distance change value of the terminal device are determined.
[0085] Among them, the altitude change value is the height difference between the altitudes of the terminal devices represented by different target positioning signals; the horizontal distance change value is the distance difference between the horizontal positions of the terminal devices represented by different target positioning signals.
[0086] For example, the altitude change value and horizontal distance change value of the corresponding terminal device can be obtained according to the changes in altitude and longitude and latitude in the GPS positioning signal over a period of time.
[0087] For another example, the altitude change value of the terminal device can be calculated based on the pressure change in the barometer signal within a period of time, and the horizontal distance change value of the terminal device can be calculated based on the accelerometer signal within the same period of time.
[0088] In step 106, the slope information of the slope is calculated based on the altitude change value and the horizontal distance change value.
[0089] The slope information may include information on changes in the slope value, may include the real-time slope when the terminal device moves along the slope, and may also include information such as the maximum slope, minimum slope, and average slope of the slope.
[0090] For example, if the altitude change and the horizontal distance change are regarded as the two right-angled sides of a right triangle, the slope of the slope can be calculated using inverse trigonometric functions based on the ratio of the two.
[0091] The slope determination method provided by the present disclosure uses the target positioning signal of the terminal device to determine the altitude change value and the horizontal distance change value of the terminal device to calculate the slope. The altitude change value and the horizontal distance change value can accurately represent the position change when sliding on the slope, so that the slope can be accurately calculated.
[0092] In skiing, cycling and other sports involving slopes, especially in harsh outdoor environments, the target positioning signal often cannot fully guarantee accuracy. In addition, since collisions, falls and bumps may occur at any time during sports, the signal may jitter abnormally in extreme cases. The above abnormal conditions and other abnormal conditions during sports will cause unstable signals, which will lead to inaccurate slope determination.
[0093] Figure 2 The present disclosure provides a slope determination method in at least one embodiment, which describes the slope determination process in more detail, especially the processing of target positioning signals under abnormal conditions, so as to accurately calculate the slope. Figure 2 As shown, the method may include the following processing, wherein it should be noted that this embodiment does not limit the execution order of each step.
[0094] In step 202, an abnormal positioning signal is determined among a plurality of initial positioning signals.
[0095] The initial positioning signal may be a satellite positioning signal acquired by the terminal device, and the following description will take the GPS positioning signal as an example.
[0096] Abnormal positioning signals are signals that can easily cause errors in determining the slope of the slope. Due to the instability of the signal, they usually lead to abnormal changes in the altitude change value and the horizontal distance change value required to calculate the slope. If various abnormal signals cannot be handled well, the output slope information will deviate from the actual situation.
[0097] Exemplarily, the core algorithm for calculating the slope using the inverse tangent function using the GPS positioning signal is:
[0098]
[0099] Wherein, Δh represents the altitude change value within a period of time Δt, Δs represents the horizontal distance change value within the same period of time, and the horizontal distance change value is the accumulated value of the horizontal distance changes in multiple GPS positioning signals.
[0100] The following are some situations where slope calculation may easily lead to errors and anomalies:
[0101] 1. When there is a calculation error in Δh and Δs, it will lead to a slope calculation error;
[0102] 2. When Δs has a calculation error and the value of Δs is very small, since Δs is the denominator, it will cause abnormal slope calculation;
[0103] 3. When there is a calculation error in Δh and the value of Δh is very large, the slope calculation will be abnormal because Δh is the numerator.
[0104] It can be understood that, in other examples, when the inverse cotangent function is used to calculate the slope, the above Δh and Δs are just the opposite.
[0105] Taking the skiing scene as an example, combined with Figure 3 The above-mentioned situations that are prone to errors and anomalies correspond to specific scenarios in skiing, mainly distributed in the following situations: walking with snowshoes at the bottom of the slope, walking with snowshoes at the top of the slope, and falling down during skiing. Figure 3 The figure shows the amplitude diagram of slope, altitude, horizontal distance and speed in a skiing scene without abnormal positioning signal processing.
[0106] When walking at the top or bottom of a slope or on a snow track, the slope calculated at these moments cannot reflect the slope the skier is actually sliding on, and because the speed is very slow and the distance is very short during walking, Δs is very likely to have errors, and even a very small value will appear, and Δh will not change much, resulting in abnormal slope. In a fall scenario, Δs will decrease sharply over a period of time, or even become 0, and Δh will also become 0, resulting in abnormal calculated slope. In outdoor snowy and icy environments or even deep in the mountains, the probability of deterioration in the accuracy of GPS positioning signals is very high, resulting in calculation errors of Δh and Δs, and then abnormal slope calculation.
[0107] After analyzing the possible errors and abnormal situations, it is necessary to determine the abnormal positioning signal from multiple dimensions synchronously when determining the abnormal positioning signal among multiple initial positioning signals. The emphasis on "synchronization" here is because the slope is calculated by inverse trigonometric functions and the inverse trigonometric function is a division formula. When the altitude dimension and the horizontal distance dimension are processed separately, it is likely that the two processed signals are not strictly synchronized, resulting in abnormal values after division. However, digital filtering under normal circumstances cannot guarantee that the two signals are completely synchronized after filtering. To ensure synchronous zero-delay filtering, a data signal of a certain length is required for processing, which will lose the real-time nature of slope determination. Therefore, this embodiment does not use traditional digital filtering methods and zero-delay filtering methods to directly filter the initial positioning signal, but determines the abnormal positioning signal from filtering conditions in at least two dimensions.
[0108] This embodiment does not limit the specific method of determining an abnormal positioning signal among multiple initial positioning signals.
[0109] For example, a preset abnormal condition may be set based on possible abnormal situations, and when the target positioning signal meets the preset abnormal condition, it is determined to be an abnormal positioning signal.
[0110] For another example, among the multiple initial positioning signals, an abnormal signal to be processed is determined; and according to the initial positioning signal after the abnormal signal to be processed, the abnormal information to be processed is determined to be the abnormal positioning signal.
[0111] When the initial positioning signal meets the preset abnormal conditions, it does not necessarily mean that it is abnormal. For example, when skiing, if you jump over a large step or a cliff, the altitude suddenly drops by 2 meters, but the horizontal position remains unchanged. At this time, it can be determined as an abnormal signal to be processed. Then, based on the altitude information in the subsequent initial positioning signal, confirm whether there is a 2-meter drop. If so, the abnormality to be processed is not considered to be an abnormal positioning signal. If not, the abnormal positioning signal to be processed is determined to be an abnormal positioning signal.
[0112] In one embodiment, determining an abnormal positioning signal among a plurality of initial positioning signals comprises:
[0113] Determine, based on at least two initial positioning signals collected within a first time period, a first horizontal distance change value and a first altitude change value of the terminal device within the first time period;
[0114] When the first horizontal distance change value is less than a distance change threshold and / or the first altitude change value is greater than an altitude change threshold, at least two initial positioning signals collected within the first time period are determined as abnormal positioning signals.
[0115] In this example, filtering conditions in two dimensions are set respectively: filtering condition in altitude dimension: the first altitude change value is greater than the altitude change threshold; filtering condition in horizontal distance dimension: the first horizontal distance change value is less than the distance change threshold.
[0116] During the sliding process, when the displacement in the first time period, such as 1 second (i.e., the first horizontal distance change value), is less than 0.1 meters, it can be determined that you are walking on the top of a slope, the bottom of a slope, or on a snow track. Since Δs is too small, it is very easy to cause errors in slope calculation, and the slope in the non-sliding state should not be calculated. Therefore, the GPS positioning signal in the first time period is determined as an abnormal positioning signal and will be filtered out.
[0117] During the gliding process, the height that can be descended or ascended within a period of time is limited. When the first altitude change value within the first time period, such as 1 second, exceeds the preset maximum value, it can be determined that the current state is not gliding. Therefore, the GPS positioning signal within the first time period is determined as an abnormal positioning signal and will be filtered out.
[0118] This embodiment can synchronously determine the abnormal positioning signal through the altitude dimension and the horizontal distance dimension, thereby ensuring the accuracy of the horizontal distance change value and the altitude change value, which are the most important when calculating the slope, and thus reducing the abnormal values of the slope calculation.
[0119] In one embodiment, the GPS positioning signals may be synchronously filtered from more dimensions, wherein the abnormal positioning signals are determined from the multiple initial positioning signals, and further comprises:
[0120] When it is determined within the first time period that the parameter value of the associated parameter meets the preset abnormal condition, at least two initial positioning signals collected within the first time period are determined as abnormal positioning signals.
[0121] The associated parameters may be parameters obtained from the initial positioning signal, or may be parameters obtained from sensors such as an accelerometer or a gyroscope of the terminal device. The preset abnormal condition may be determined by a person skilled in the art according to actual needs. For example, the parameter values of various associated parameters in a normal gliding state may be collected to obtain a normal parameter value range. When the parameter value of the associated parameter exceeds the normal parameter value range or a threshold value, the preset abnormal condition is met.
[0122] The associated parameter may include at least one of the following: the speed of the terminal device; the acceleration of the terminal device; the horizontal accuracy of the target positioning signal; and the vertical accuracy of the target positioning signal.
[0123] For example, the horizontal accuracy and vertical accuracy of the GPS positioning signal are related to the reliability of the slope calculation and can be used as the basic filtering conditions of the GPS positioning signal. For example, when the horizontal accuracy of the GPS positioning signal is greater than 4 and the vertical accuracy is greater than 2, it can be determined that the GPS positioning signal at this moment is an abnormal GPS positioning signal, which cannot be used to calculate the slope and needs to be filtered.
[0124] For example, when the acceleration of the terminal device is greater than 10m / s^2, it can be determined that the device is in an abnormal collision or fall situation, and the GPS positioning signal at this time is determined as an abnormal GPS positioning signal. The acceleration here can be calculated from the GPS positioning signal, for example, the velocity can be obtained by first differential of the displacement, and the acceleration can be obtained by second differential of the velocity; it can be obtained from the acceleration signal collected by the acceleration sensor inside the terminal device.
[0125] For example, when the speed is greater than 30m / s, it exceeds the maximum speed of normal outdoor skiing, and the GPS positioning signal at this time is determined to be an abnormal positioning signal. The speed here can be calculated from the GPS positioning signal, for example, the speed can be obtained based on the first differential of the displacement, or the GPS positioning signal itself contains the speed; it can be further calculated from the acceleration signal collected by the acceleration sensor inside the terminal device.
[0126] The selection of the thresholds under the filtering of the above dimensions can be performed by those skilled in the art according to different GPS positioning signals and differences in accuracy as required.
[0127] In addition, the current position of the terminal device relative to the slope can also be determined to further clarify the abnormal situation when an abnormality occurs. The target positioning signal includes at least one of the following: a satellite positioning signal; a geographic location signal; a barometer signal; the method also includes: determining the current position of the terminal device relative to the slope according to the target positioning signal. The geographic location signal can be a position signal obtained by positioning through a nearby base station or other radio station equipment.
[0128] like Figure 3 As shown, for example, when the altitude value in the target positioning signal is at the apex of the altitude curve, it can be determined that the terminal device is currently at the top of the slope, or when the altitude value is at the bottom of the altitude curve, it can be determined that the terminal device is currently at the bottom of the slope.
[0129] In other examples, the geographical information of the slope itself can also be combined to determine the current position of the terminal device relative to the slope. For example, when the height of the slope itself is between 600 meters and 650 meters above sea level, and the altitude value in the current target positioning signal is 600 meters, it is determined that the terminal device is currently at the bottom of the slope.
[0130] In step 204, after removing the abnormal positioning signal from the multiple initial signals, the multiple target positioning signals are obtained.
[0131] Abnormal positioning signals that do not meet the filtering conditions of at least one dimension in the multiple initial signals are removed, that is, filtering is performed synchronously according to the filtering conditions of multiple dimensions.
[0132] In step 206, based on the multiple target positioning signals, the altitude change value and the horizontal distance change value of the terminal device are determined.
[0133] In step 208, the slope information of the slope is calculated based on the altitude change value and the horizontal distance change value determined by the target positioning signal in the target window.
[0134] The target window includes the latest determined target positioning signal and a preset number of historical positioning signals before the latest target positioning signal.
[0135] In this step, a certain window length is selected and the slope is determined by a sliding window. The altitude change value and horizontal distance change value determined by the target positioning signal in the target window can be the accumulated value of the altitude change value and horizontal distance change value corresponding to multiple target positioning signals in the target window, or the altitude change value and horizontal distance change value between two target positioning signals at the head and tail ends of the target window.
[0136] In order to ensure the accuracy of the slope, some current calculation algorithms sacrifice the real-time nature of the algorithm output. That is, the average slope over a long period of time is calculated by measuring the changes in altitude and distance of the positioning signal over this period of time. Although the longer the sampling time, the more information the algorithm obtains, the more complete the signal processing, and the final output slope will be more stable, the calculated slope is not timely or accurate enough.
[0137] Therefore, the window length of the target window used in this example may be smaller than a preset window length threshold value so as to perform smoothing filtering without affecting the real-time performance of the slope calculation.
[0138] In one example, this step specifically includes: calculating the cumulative sum of the altitude change values of the target positioning signal in the target window to obtain a first sum; calculating the cumulative sum of the horizontal distance change values of the target positioning signal in the target window to obtain a second sum; and calculating the slope information of the slope based on the first sum and the second sum.
[0139] For example, a target window of a certain length is selected. In this example, the target window contains 10 sample points, each sample point is a target positioning signal, and every 10 sample points in the target positioning signal after filtering are used as a target window to be processed. The accumulated value of the horizontal distance change in the target window is taken as Δs, and the total change value of the altitude in the target window is taken as Δh. The slope is calculated using the calculation formula in (1) to obtain a slope value. Each time a valid target positioning signal is generated, the last historical positioning signal in the target window is deleted, and the newly generated target positioning signal is added to the target window as a new target window to be processed. The slope is calculated using the calculation formula in (1) to obtain a new slope value. Repeat the above operation to obtain the slope value at each moment.
[0140] In step 210, in response to a slope change value between the slope information and the historical slope information calculated last time exceeding a slope change threshold, the slope information is corrected.
[0141] In this step, the calculated slope is corrected in real time using historical slope information. When sliding along a slope, the range of slope change is limited, otherwise it means that the slope information is abnormal and needs to be corrected.
[0142] In one embodiment, the correcting the slope information includes:
[0143] When the historical slope information is smaller than the slope information, the sum of the historical slope information and the first threshold information is determined as the corrected slope information; when the historical slope information is greater than the slope information, the difference between the historical slope information and the second threshold information is determined as the corrected slope information.
[0144] It should be noted that the slope change threshold, the first threshold information and the second threshold information may be the same value or different values. The following description assumes that the three are the same value.
[0145] After the slope calculation in the previous step, a new slope value slope will be generated nowThis step compares the newly generated slope value with the previously generated slope value slope last The slope change value between the historical slope information can be judged and corrected in real time.
[0146] When the slope change value exceeds the slope change threshold, it can be determined that the slope calculation is abnormal and needs to be corrected. The correction method can be to determine the slope change trend (increase or decrease), and then ensure that the slope is corrected with the same trend. For example, in this example, the slope change threshold is set to 3°. When the slope now =30°, slope last = 20°, the slope change value is 30-20 = 10°> 3°, then the slope calculation is abnormal, and the slope is changed to now Modified to 20+3=23°.
[0147] In other examples, when correcting the slope information, the method adopted may also be: calculating the change value between multiple historical slope information, and when correcting, adding or subtracting the change value from the historical slope information obtained last time according to the same change trend to obtain new slope information.
[0148] In one implementation, the average slope of the slope can also be used to correct the maximum slope value in the slope information. Based on the above embodiment, the method further includes: obtaining an average slope value according to the altitude change value and the horizontal distance change value of the entire movement process on the slope. Based on the average slope value, determining the slope value range to which the maximum theoretical slope value belongs; correcting the maximum slope value in the slope information to the slope value range to obtain the corrected maximum slope value.
[0149] For example, after a skiing trip, the accumulated horizontal displacement increments generated during the entire skiing process are calculated as Δs, and the altitude drop or rise during the entire skiing process is calculated as Δh. The average slope of the mountain is calculated using the calculation formula in (1), and the maximum slope during the entire skiing process is corrected based on the average slope of the mountain. According to the mean value theorem, the maximum slope must be greater than the average slope of the mountain and less than twice the average slope of the mountain.
[0150] The correction method can be: when the maximum slope value is greater than twice the average slope value, the maximum slope value is modified to twice the average slope value; when the maximum slope value is less than the average slope value, the maximum slope value is modified to the average slope value.
[0151] The slope determination method of this embodiment can obtain real-time slope information such as sliding slope and maximum sliding slope, and the slope information is accurate, real-time and robust; during the movement process, the slope changes very quickly, and often a certain slope does not last for a long time, so the slope can be calculated in real time and in a timely manner, which not only improves the real-time nature of the slope calculation, but also provides a basis for accurately calculating various slope information of the slope; the target positioning signal is filtered using a multi-dimensional filtering method to ensure the synchronization of signal processing, so that the abnormal value of the slope output is greatly reduced; in addition, multiple abnormal judgment and correction mechanisms are adopted to ensure the accuracy of the real-time output of the slope, thereby ensuring the robustness of the entire slope information calculation.
[0152] In one implementation, since the altitude determined based on a target positioning signal such as a satellite positioning signal is inaccurate, the altitude can be accurately determined with the assistance of geographic information. Based on the above embodiment, it also includes: obtaining geographic information of the target location where the terminal device is located, the geographic information at least includes altitude information; determining the altitude change value of the terminal device based on the multiple target positioning signals includes: determining the altitude change value of the terminal device based on the altitude information in the geographic information and the target positioning signal.
[0153] The geographic information is information obtained by measuring the slope in advance, which can be information obtained from a map or a website. The geographic information at least includes the altitude information of the target location. The altitude change value can be calculated based on the target positioning signal according to the altitude range limited by the geographic information. Exemplarily, when the geographic information is map information, the map information can be a 3D satellite map that identifies the latitude and longitude and altitude of the target location, or a ski route map that identifies the altitude of each location on the ski route.
[0154] For example, when the height of the slope itself is between 600 meters and 650 meters above sea level in the geographic information, and the altitude value in the current target positioning signal is 590 meters, it can be adjusted to 600 meters, and the altitude change value can be calculated based on the adjusted altitude value.
[0155] In other embodiments, the geographic information further includes known slope information of the slope; and the method further includes: correcting the calculated slope information of the slope according to the known slope information of the slope to obtain corrected slope information.
[0156] This step uses the known slope information of the slope to correct the slope information that exceeds the slope range defined by the known slope information. For example, if the known slope information of the slope is a maximum slope of 48° and a minimum slope of 21°, when the calculated maximum slope information of the slope is 55°, it is corrected to 48°, and when the calculated maximum slope information of the slope is 18°, it is corrected to 21°.
[0157] In one embodiment, when the slope is located in a ski resort, the slope information is the slope information of the ski trail. In this embodiment, the application scenario can be that a skier uses a wearable device to record the real-time slope during skiing. For example, it can be applied to smart bracelets and watches to calculate the slope of the ski trail when the wearer is skiing in an outdoor ski resort.
[0158] Based on the above embodiment, the method further includes: identifying and obtaining a plurality of target positioning signals corresponding to at least one snow track according to the altitude change value in the target positioning signal.
[0159] When a skier carries a terminal device to ski on a certain ski slope, the altitude of the determined target positioning signal will continue to rise or fall, so multiple target positioning signals corresponding to at least one ski slope can be identified by the altitude change value. For example, when the slope of the altitude change is within a fixed range, the continuous target positioning signals are determined as multiple target positioning signals corresponding to a certain ski slope; for another example, the target positioning signals between the highest altitude value and the adjacent lowest altitude value are determined as multiple target positioning signals corresponding to a certain ski slope.
[0160] Based on the above embodiment, the step of calculating the slope information of the slope according to the altitude change value and the horizontal distance change value includes:
[0161] For any of the snow trails, the slope information of the snow trail is calculated based on the altitude change values and horizontal distance change values determined by multiple target positioning signals corresponding to the snow trail.
[0162] After determining the multiple target positioning signals corresponding to the snow trail, the slope of the snow trail can be calculated based on the altitude change values and horizontal distance change values determined by the multiple target positioning signals corresponding to the above-mentioned snow trails, and the slope at each moment when skiing on the snow trail, the maximum slope and the average slope and other information can be obtained for reference by skiers.
[0163] The ski slope algorithm in this embodiment can intelligently identify some scenarios that are likely to cause abnormalities in the slope algorithm, incorporate abnormal judgment and correction mechanisms into the real-time slope determination process, and at the end of each trip, calibrate the maximum slope of the entire trip based on the average slope of the mountain to ensure that the output values of the real-time slope and the maximum slope are not abnormal.
[0164] The effects of this solution are as follows:
[0165] Recruit subjects (sample size 20 people) to ski single trips and multiple trips at different ski resorts (2 different ski resorts) and different ski trails (beginner trails, intermediate trails, and advanced trails), and collect a total of 246 valid data. During the collection process, the maximum slope displayed by the ski resort in each data is recorded as an evaluation standard, and the corresponding positioning signal is collected and the slope determination method in the above embodiment is used to calculate the corresponding maximum slope.
[0166] Result analysis:
[0167] As shown in Table 1, the proportion of slope errors less than 5° exceeds 90%, the average error is <3°, and the maximum error does not exceed 10°, which ensures the real-time accuracy of slope determination and greatly improves the problem of abnormal slope determination.
[0168] Table 1
[0169]
[0170] For the aforementioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present disclosure is not limited by the described order of actions, because according to the present disclosure, certain steps can be performed in other orders or simultaneously.
[0171] Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present disclosure.
[0172] Corresponding to the aforementioned application function implementation method embodiment, the present disclosure also provides an application function implementation device and a corresponding terminal embodiment.
[0173] Reference Figure 4 According to a block diagram of a slope determination device shown in an exemplary embodiment, the device is applied to a terminal device, and the device may include:
[0174] A signal determination module 41, used to determine a plurality of target positioning signals of the terminal device within a slope range;
[0175] A displacement determination module 42, configured to determine an altitude change value and a horizontal distance change value of the terminal device based on the multiple target positioning signals;
[0176] The slope calculation module 43 is used to calculate the slope information of the slope according to the altitude change value and the horizontal distance change value.
[0177] In some optional embodiments, the signal determination module 41 is specifically configured to:
[0178] Determining an abnormal positioning signal among multiple initial positioning signals;
[0179] After removing the abnormal positioning signal from the multiple initial signals, the multiple target positioning signals are obtained.
[0180] In some optional embodiments, the signal determination module 41, when used to determine an abnormal positioning signal among multiple initial positioning signals, is specifically used to:
[0181] Determine, based on at least two initial positioning signals collected within a first time period, a first horizontal distance change value and a first altitude change value of the terminal device within the first time period;
[0182] When the first horizontal distance change value is less than a distance change threshold and / or the first altitude change value is greater than an altitude change threshold, at least two initial positioning signals collected within the first time period are determined as abnormal positioning signals.
[0183] In some optional embodiments, the signal determination module 41 is further configured to:
[0184] When it is determined within the first time period that the parameter value of the associated parameter meets the preset abnormal condition, at least two initial positioning signals collected within the first time period are determined as abnormal positioning signals.
[0185] In some optional embodiments, the associated parameter includes at least one of the following:
[0186] The speed of the terminal device;
[0187] The acceleration of the terminal device;
[0188] Horizontal accuracy of target positioning signal;
[0189] Vertical accuracy of target positioning signal.
[0190] In some optional embodiments, calculating the slope information of the slope according to the altitude change value and the horizontal distance change value includes:
[0191] The slope information of the slope is calculated based on the altitude change value and the horizontal distance change value determined by the target positioning signal in the target window; wherein the target window includes the latest determined target positioning signal and a preset number of historical positioning signals located before the latest target positioning signal.
[0192] In some optional embodiments, the slope calculation module 43 is specifically used to:
[0193] Calculating the cumulative sum of the altitude change values of the target positioning signal in the target window to obtain a first sum;
[0194] Calculate the cumulative sum of the horizontal distance change values of the target positioning signal in the target window to obtain a second sum;
[0195] The slope information of the slope is calculated according to the first sum value and the second sum value.
[0196] In some optional embodiments, the slope calculation module 43 is further used for:
[0197] In response to a slope change value between the slope information and the historical slope information calculated last time exceeding a slope change threshold, the slope information is corrected.
[0198] In some optional embodiments, the slope calculation module 43, when used to correct the slope information, is specifically used to:
[0199] When the historical slope information is less than the slope information, determining the sum of the historical slope information and the first threshold information as the corrected slope information;
[0200] When the historical slope information is greater than the slope information, the difference between the historical slope information and the second threshold information is determined as the corrected slope information.
[0201] In some optional embodiments, the slope calculation module 43 is further used for:
[0202] The average slope value is obtained according to the change in altitude and horizontal distance during the entire movement process on the slope;
[0203] Based on the average slope value, determining a slope value range to which a maximum theoretical slope value belongs;
[0204] The maximum slope value in the slope information is corrected to within the slope value range to obtain a corrected maximum slope value.
[0205] In some optional embodiments, when the slope is located in a ski resort, the slope information is the slope information of the ski trail.
[0206] In some optional embodiments, the signal determination module 41 is further configured to:
[0207] According to the altitude change value in the target positioning signal, a plurality of target positioning signals corresponding to at least one snow track are identified.
[0208] In some optional embodiments, the slope calculation module 43 is specifically used to:
[0209] For any of the snow trails, the slope information of the snow trail is calculated based on the altitude change values and horizontal distance change values determined by multiple target positioning signals corresponding to the snow trail.
[0210] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can refer to the partial description of the method embodiments. The device embodiments described above are only schematic, wherein the units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the disclosed solution. A person of ordinary skill in the art may understand and implement it without creative work.
[0211] Accordingly, on the one hand, an embodiment of the present disclosure provides a mobile terminal, comprising: a processor; and a memory for storing processor executable instructions; wherein the processor is configured to execute the executable instructions to implement any of the above-mentioned slope determination methods.
[0212] Figure 5 1 is a schematic diagram of a structure of a mobile terminal 500 according to an exemplary embodiment. For example, the mobile terminal 500 may be a user device, and may specifically be a mobile phone, a computer, a digital broadcast terminal, a message transceiver device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, a wearable device such as a smart watch, a smart glasses, a smart bracelet, a smart running shoe, etc.
[0213] Reference Figure 5 The mobile terminal 500 may include one or more of the following components: a processing component 502 , a memory 504 , a power component 506 , a multimedia component 508 , an audio component 510 , an input / output (I / O) interface 512 , a sensor component 514 , and a communication component 516 .
[0214] The processing component 502 generally controls the overall operation of the mobile terminal 500, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 502 may include one or more modules to facilitate the interaction between the processing component 502 and other components. For example, the processing component 502 may include a multimedia module to facilitate the interaction between the multimedia component 508 and the processing component 502.
[0215] The memory 504 is configured to store various types of data to support operations on the device 500. Examples of such data include instructions for any application or method operating on the mobile terminal 500, contact data, phone book data, messages, pictures, videos, etc. The memory 504 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0216] The power component 506 provides power to various components of the mobile terminal 500. The power component 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the mobile terminal 500.
[0217] The multimedia component 508 includes a screen that provides an output interface between the mobile terminal 500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front camera and / or a rear camera. When the device 500 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0218] The audio component 510 is configured to output and / or input audio signals. For example, the audio component 510 includes a microphone (MIC), and when the mobile terminal 500 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 504 or sent via the communication component 516. In some embodiments, the audio component 510 also includes a speaker for outputting audio signals.
[0219] I / O interface 512 provides an interface between processing component 502 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0220] The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the mobile terminal 500. For example, the sensor assembly 514 can detect the open / closed state of the device 500, the relative positioning of the components, such as the display and keypad of the mobile terminal 500, and the sensor assembly 514 can also detect the position change of the mobile terminal 500 or a component of the mobile terminal 500, the presence or absence of user contact with the mobile terminal 500, the orientation or acceleration / deceleration of the mobile terminal 500, and the temperature change of the mobile terminal 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0221] The communication component 516 is configured to facilitate wired or wireless communication between the mobile terminal 500 and other devices. The mobile terminal 500 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G LTE, 5G NR or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0222] In an exemplary embodiment, the mobile terminal 500 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above methods.
[0223] In an exemplary embodiment, a non-temporary computer-readable storage medium is also provided, such as a memory 504 including instructions, which, when executed by a processor 520 of a mobile terminal 500, enables the mobile terminal 500 to execute any of the slope determination methods described above.
[0224] The non-transitory computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
[0225] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0226] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A slope determination method, characterized in that: The method is applied to a terminal device, and the method comprises: Determining multiple target positioning signals of the terminal device within the slope range; Based on the multiple target positioning signals, determining an altitude change value and a horizontal distance change value of the terminal device; The slope information of the slope is calculated based on the altitude change value and the horizontal distance change value.
2. The method according to claim 1, characterized in that The determining of a plurality of target positioning signals of the terminal device within a slope range includes: Determining an abnormal positioning signal among multiple initial positioning signals; After removing the abnormal positioning signal from the multiple initial signals, the multiple target positioning signals are obtained.
3. The method according to claim 2, characterized in that The step of determining an abnormal positioning signal among a plurality of initial positioning signals comprises: Determining an abnormal signal to be processed among the multiple initial positioning signals; According to the initial positioning signal after the abnormal signal to be processed, it is determined that the abnormal information to be processed is the abnormal positioning signal.
4. The method according to claim 2, characterized in that: The step of determining an abnormal positioning signal among a plurality of initial positioning signals comprises: Determine, based on at least two initial positioning signals collected within a first time period, a first horizontal distance change value and a first altitude change value of the terminal device within the first time period; When the first horizontal distance change value is less than a distance change threshold and / or the first altitude change value is greater than an altitude change threshold, at least two initial positioning signals collected within the first time period are determined as abnormal positioning signals.
5. The method according to claim 4, characterized in that The step of determining an abnormal positioning signal among a plurality of initial positioning signals further comprises: When it is determined within the first time period that the parameter value of the associated parameter meets the preset abnormal condition, at least two initial positioning signals collected within the first time period are determined as abnormal positioning signals.
6. The method according to any one of claims 1 to 5, characterized in that: The target positioning signal includes at least one of the following: a satellite positioning signal; a geographic location signal; a barometer signal; The method further includes: determining a current position of the terminal device relative to the slope according to the target positioning signal.
7. The method according to claim 5, characterized in that The associated parameters include at least one of the following: The speed of the terminal device; The acceleration of the terminal device; Horizontal accuracy of target positioning signal; Vertical accuracy of target positioning signal.
8. The method according to claim 1 or 2, characterized in that: The step of calculating the slope information of the slope according to the altitude change value and the horizontal distance change value includes: The slope information of the slope is calculated based on the altitude change value and the horizontal distance change value determined by the target positioning signal in the target window; wherein the target window includes the latest determined target positioning signal and a preset number of historical positioning signals located before the latest target positioning signal.
9. The method according to claim 8, characterized in that The step of calculating the slope information of the slope based on the altitude change value and the horizontal distance change value determined according to the target positioning signal in the target window includes: Calculating the cumulative sum of the altitude change values of the target positioning signal in the target window to obtain a first sum; Calculate the cumulative sum of the horizontal distance change values of the target positioning signal in the target window to obtain a second sum; The slope information of the slope is calculated according to the first sum value and the second sum value.
10. The method according to claim 1 or 2, characterized in that: After calculating the slope information of the slope according to the altitude change value and the horizontal distance change value, the method further includes: In response to a slope change value between the slope information and the historical slope information calculated last time exceeding a slope change threshold, the slope information is corrected.
11. The method according to claim 10, characterized in that The correcting the slope information comprises: When the historical slope information is less than the slope information, determining the sum of the historical slope information and the first threshold information as the corrected slope information; When the historical slope information is greater than the slope information, the difference between the historical slope information and the second threshold information is determined as the corrected slope information.
12. The method according to claim 1 or 2, characterized in that: After calculating the slope information of the slope according to the altitude change value and the horizontal distance change value, the method further includes: The average slope value is obtained according to the change in altitude and horizontal distance during the entire movement process on the slope; Based on the average slope value, determining a slope value range to which a maximum theoretical slope value belongs; The maximum slope value in the slope information is corrected to within the slope value range to obtain a corrected maximum slope value.
13. The method according to claim 1, characterized in that When the slope is located in a ski resort, the slope information is the slope information of the ski trail.
14. The method according to claim 13, characterized in that The method further comprises: According to the altitude change value in the target positioning signal, a plurality of target positioning signals corresponding to at least one snow track are identified.
15. The method according to claim 14, characterized in that The step of calculating the slope information of the slope according to the altitude change value and the horizontal distance change value includes: For any of the snow trails, the slope information of the snow trail is calculated based on the altitude change values and horizontal distance change values determined by multiple target positioning signals corresponding to the snow trail.
16. The method according to claim 1, characterized in that The method further comprises: Acquire geographic information of a target location where the terminal device is located, wherein the geographic information at least includes altitude information; The step of determining the altitude change value of the terminal device based on the multiple target positioning signals includes: The altitude change value of the terminal device is determined according to the altitude information in the geographic information and the target positioning signal.
17. The method according to claim 16, characterized in that The geographic information also includes known slope information of the slope; The method further comprises: The calculated slope information of the slope is corrected according to the known slope information of the slope to obtain the corrected slope information.
18. A mobile terminal, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the executable instructions to implement the steps of the slope determination method according to any one of claims 1 to 17.
19. A slope determination device, characterized in that: The device is applied to a terminal device, and the device includes: A signal determination module, used to determine a plurality of target positioning signals of the terminal device within a slope range; A displacement determination module, used to determine an altitude change value and a horizontal distance change value of the terminal device based on the multiple target positioning signals; The slope calculation module is used to calculate the slope information of the slope according to the altitude change value and the horizontal distance change value.
20. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the slope determination method according to any one of claims 1 to 17 are implemented.
