WO2016019504A1 - 一种定位方法、装置及移动终端 - Google Patents
一种定位方法、装置及移动终端 Download PDFInfo
- Publication number
- WO2016019504A1 WO2016019504A1 PCT/CN2014/083686 CN2014083686W WO2016019504A1 WO 2016019504 A1 WO2016019504 A1 WO 2016019504A1 CN 2014083686 W CN2014083686 W CN 2014083686W WO 2016019504 A1 WO2016019504 A1 WO 2016019504A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- positioning
- mobile terminal
- speed value
- time
- module
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S13/00—Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
- G01S13/02—Systems using reflection of radio waves, e.g. primary radar systems; Analogous systems
- G01S13/06—Systems determining position data of a target
- G01S13/46—Indirect determination of position data
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S5/00—Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
- G01S5/02—Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
- G01S5/0294—Trajectory determination or predictive filtering, e.g. target tracking or Kalman filtering
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S5/00—Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
- G01S5/02—Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
- G01S5/12—Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves by co-ordinating position lines of different shape, e.g. hyperbolic, circular, elliptical or radial
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S5/00—Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
- G01S5/02—Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
- G01S5/0257—Hybrid positioning
- G01S5/0263—Hybrid positioning by combining or switching between positions derived from two or more separate positioning systems
- G01S5/0264—Hybrid positioning by combining or switching between positions derived from two or more separate positioning systems at least one of the systems being a non-radio wave positioning system
Definitions
- the present invention relates to the field of communications, and in particular, to a positioning method, device, and mobile terminal.
- Positioning is one of the main applications of short-range wireless technology.
- the wireless positioning technology such as Zi G Bee, Ultra Wide Band (UWB), Ultrasonic Ultrasonic, and Radio Frequency Identification Devices (RFID) has been researched for many years.
- RFID Radio Frequency Identification Devices
- the industry has set off a research boom in new wireless positioning technologies such as BLE and WiFi, especially in the field of indoor positioning and LBS, which has great market demand and commercial value.
- Positioning technology is used in diversified engineering practices and often presents a variety of technical issues.
- positioning and trajectory fitting effects can have a strong impact on actual applications and user experience, especially for personnel management (downhole, substation, factory floor, etc.), asset tracking, production scheduling, etc. This is especially true for class applications. Therefore, how to improve the positioning and display effect and the trajectory fitting effect of the target-oriented motion and the complex and variable positioning application, improve the ability of the product to adapt to the diversified positioning application, realize the user experience and enhance the product competitiveness, and become wireless positioning. The focus of product and technology research and development workers.
- Existing wireless positioning products broadcast wireless signals at a fixed frequency during positioning (for example, a common frequency 1 ⁇ ), and the user can set the wireless broadcast frequency value by means of over-the-air upgrade.
- the wireless tag broadcast frequency can be regarded as the system positioning frequency or the positioning refresh frequency.
- the result seen by the user at the display terminal is the positioning position of the wireless tag every time the wireless signal is broadcasted according to the frequency.
- some new products integrate accelerometers in the tag to detect tag motion and motion, allowing the tag to sleep while still, broadcasting signals at a set frequency during motion, and wirelessly positioning.
- an in-vehicle positioning device determines whether the vehicle is in a running state or a stopped state by locating the speed of the carrier, and sets two time intervals for transmitting the positioning report for the positioning device according to different states of the vehicle, and uses different time in the driving and stopping states. Interval, but the time interval used in each state is fixed.
- trajectory misjudgment can have unintended consequences.
- the trajectory 101 is the actual trajectory of the mobile terminal, but since the distance between the four locating positions is too large, the erroneous trajectory is caused to be the illustrated trajectory 102. Summary of the invention
- the embodiment of the invention provides a positioning method, a device and a mobile terminal, which are used for improving the accuracy of the trajectory fitting and eliminating the erroneous erroneous phenomenon.
- a first aspect of the embodiments of the present invention provides a positioning method, including:
- the mobile terminal determines a desired travel L, which is an expected value of the mobile terminal travel distance between adjacent two positions;
- the mobile terminal acquires its own speed value V;
- the mobile terminal performs positioning according to the adjusted positioning frequency.
- the determining, by the mobile terminal, the positioning frequency according to the expected travel L and the self speed value V includes:
- the mobile terminal acquires the second positioning time t of the mobile terminal according to the expected travel L and the self speed value v;
- the positioning of the mobile terminal according to the adjusted positioning frequency specifically includes:
- the mobile terminal triggers a second positioning operation during the second positioning time t.
- the mobile terminal acquires the location according to the expected travel L and the self speed value v.
- the second positioning time t of the mobile terminal specifically includes:
- the mobile terminal acquires the interval time T according to the following formula:
- the second positioning time t of the mobile terminal is a sum of the current time determined by the mobile terminal and the time interval T.
- the mobile terminal adjusts the positioning frequency according to the expected travel L and the self speed value V. Specifically include:
- the mobile terminal takes the time point of triggering the first positioning operation as the time starting point, integrates the self speed value V in time, and acquires the path L′ of the mobile terminal moving;
- the mobile terminal adjusts the positioning frequency according to the moving route L' and the expected stroke L.
- the mobile terminal determines the specific travel L Includes:
- the mobile terminal acquires a positioning error R and a closed path length around all unreachable areas in the positioning scenario;
- the mobile terminal determines that the expected travel L has a value range of 2R ⁇ L ⁇ (C/2);
- the mobile terminal determines that the expected travel L has a value range of 2R ⁇ L ⁇ (d/2), and the d is a minimum closed path length greater than 4R;
- the mobile terminal determines the specific travel L Includes:
- the mobile terminal determines a current positioning scenario
- the mobile terminal determines the expected trip L corresponding to the current positioning scenario according to a preset relationship between a preset positioning scenario and a desired trip.
- Adjusting the positioning frequency by L and the self speed value V specifically includes:
- the mobile terminal When the self speed value V is not equal to 0, the mobile terminal according to the expected trip L and the Describe the speed value of the V to adjust the positioning frequency;
- the method further includes:
- the mobile terminal adjusts the positioning frequency to 0.
- the mobile terminal acquires its own speed value V. Before the steps include:
- the mobile terminal triggers a positioning operation.
- the method further includes:
- the mobile terminal When the mobile terminal does not obtain the self-speed value V, the mobile terminal adjusts the positioning frequency to a preset fixed positioning frequency.
- a second aspect of the embodiments of the present invention provides an apparatus, including:
- an adjustment module configured to adjust a positioning frequency according to the expected travel L determined by the determining module and the self speed value V obtained by the acquiring module, so that the positioning module performs the positioning between the adjacent two positionings according to the adjusted positioning frequency.
- the positioning module is configured to perform positioning according to the adjusted positioning frequency of the adjustment module.
- the adjusting module is specifically configured to: when triggering the first positioning operation, according to the expected travel L and Describe the speed value v of the self, and obtain the second positioning time t;
- the positioning module is specifically configured to trigger a second positioning operation when the second positioning time t is performed.
- the adjusting module specifically includes:
- the first obtaining unit is configured to obtain the interval time T according to the following formula:
- the adjusting module specifically includes:
- a second obtaining unit configured to use a time point for triggering the first positioning operation as a time starting point, and integrate the self speed value V in time to obtain a path L′ of movement of the device;
- An adjusting unit configured to adjust a positioning frequency according to the moving route L′ and the desired stroke L, so that the positioning module moves the device between adjacent two positionings according to the adjusted positioning frequency and The deviation of the desired stroke L is less than a specified threshold.
- the determining module specifically includes: , used to obtain the positioning error R and the length of the closed path around all unreachable areas in the positioning scene;
- a first determining unit configured to determine that the expected travel L has a value range of 2R ⁇ L ⁇ (C/2) when the minimum closed path length C is greater than 4R;
- a second determining unit configured to determine that the expected stroke L has a value range of 2R ⁇ L ⁇ (d/2) when the minimum closed path length C is not greater than 4R, and the d is a minimum closed path length greater than 4R; a unit, configured to receive a desired trip selected by a user in a range of values of the expected trip L! ⁇ .
- the determining module specifically includes: a determining unit, configured to determine a current positioning scenario
- a fourth determining unit configured to determine the expected trip L corresponding to the current positioning scenario according to a preset correspondence between the preset positioning scenario and the expected trip.
- the adjusting module is specifically used to When the self-speed value V is not equal to 0, the positioning frequency is adjusted according to the desired stroke L determined by the determining module and the self-speed value V obtained by the acquiring module, so that the positioning module performs the positioning frequency according to the adjusted positioning frequency.
- the deviation of the distance traveled by the device between two adjacent positionings and the desired stroke L is less than a specified threshold;
- the adjusting module is further configured to: when determining that the self speed value is equal to 0, adjust the positioning frequency to 0.
- the apparatus further includes: a startup module, Used to trigger a positioning operation.
- the adjusting module is further configured to: When it is determined that the self speed value V is not obtained, the positioning frequency is adjusted to be a fixed positioning frequency.
- a third aspect of the embodiments of the present invention provides a mobile terminal, including: a memory, a processor, an input device, and an output device; wherein the memory is connected to the processor, and the processor is connected to the input device, The processor is connected to the output device;
- the processor is configured to perform the following steps by: invoking an operation instruction stored in the memory: determining a desired trip L, the expected trip being an expected value of the mobile terminal moving path between two adjacent positioning;
- Positioning is performed according to the adjusted positioning frequency.
- the processor performs the step of adjusting the positioning frequency according to the expected travel L and the self speed value V.
- the second positioning operation is triggered at the second positioning time t.
- the processor performs the performing according to the expected travel L and the self speed value v
- the following steps are specifically performed: Obtain the interval time T as follows:
- the interval time T L / v, that is, the interval time T is equal to the ratio of the expected travel L to the self speed value V; determining that the second positioning time t of the mobile terminal is the current time determined by the mobile terminal and the The sum of the time intervals T.
- the processor performs the performing according to the expected travel L and the self speed value V When adjusting the positioning frequency, perform the following steps:
- the positioning frequency is adjusted according to the moved route L' and the desired stroke L.
- the processor performs the determining When the step of the trip L is performed, the following steps are specifically performed:
- the minimum closed path length C is not greater than 4R, it is determined that the desired stroke L has a value range of 2R ⁇ L ⁇ (d/2), and the d is a minimum closed path length greater than 4R;
- a desired stroke L selected by the user in the range of values of the desired stroke L is received.
- the processor performs the determining When the step of the trip L is performed, the following steps are specifically performed:
- a sixth implementation manner of the third aspect When the step of adjusting the positioning frequency L and the self speed value V to adjust the positioning frequency is performed, the following steps are specifically performed: When the self speed value V is not equal to 0, the mobile terminal adjusts the positioning frequency according to the expected stroke L and the self speed value V;
- the positioning frequency is adjusted to be 0.
- Trigger a positioning operation Trigger a positioning operation.
- the processor is further configured to perform the following Steps:
- the embodiment of the present invention has the following advantages:
- the mobile terminal first determines the expected travel L, which is the expected value of the mobile terminal moving distance between two adjacent positioning, and then obtains its own speed. a value V, and then adjusting the positioning frequency according to the desired stroke L and the self speed value V, such that the deviation of the distance traveled by the mobile terminal between the adjacent two positionings according to the adjusted positioning frequency and the desired stroke L is less than a specified threshold.
- the adjusted positioning frequency the phase difference is not large, the accuracy of the trajectory fitting is improved, and the trajectory misjudgment phenomenon is eliminated: as shown in Fig.
- the positioning position of the desired value L is dl, d2, d3, d4.
- FIG. 1 is a schematic diagram showing a display effect of a positioning track according to an embodiment of the present invention
- FIG. 2 is a schematic diagram showing another effect of displaying a positioning trajectory according to an embodiment of the present invention.
- FIG. 3 is a schematic flowchart of a positioning method according to an embodiment of the present invention.
- FIG. 4 is a schematic diagram of another positioning track display effect according to an embodiment of the present invention.
- FIG. 5 is a schematic diagram of another positioning track display effect according to an embodiment of the present invention
- FIG. 6 is a schematic diagram showing another effect of displaying a positioning track according to an embodiment of the present invention.
- FIG. 7 is another schematic flowchart of a positioning method according to an embodiment of the present invention.
- FIG. 8 is another schematic flowchart of a positioning method according to an embodiment of the present invention.
- FIG. 9 is an equivalent diagram of a mobile path calculation process according to an embodiment of the present invention.
- FIG. 10 is a schematic diagram of an example of an unreachable area according to an embodiment of the present invention.
- FIG. 11 is a schematic diagram of an effect of positioning error in an embodiment of the present invention.
- FIG. 12 is another schematic flowchart of a positioning method according to an embodiment of the present invention.
- FIG. 13 is another schematic flowchart of a positioning method according to an embodiment of the present invention.
- FIG. 14 is a schematic diagram of a handover state of a mobile terminal according to an embodiment of the present invention.
- Figure 15 is a schematic structural view of a device in an embodiment of the present invention.
- Figure 16 is a schematic view showing another structure of the device in the embodiment of the present invention.
- FIG. 17 is another schematic structural view of a device according to an embodiment of the present invention.
- FIG. 18 is another schematic structural view of a device according to an embodiment of the present invention.
- Figure 19 is a schematic view showing another structure of the device in the embodiment of the present invention.
- FIG. 20 is another schematic structural view of a device according to an embodiment of the present invention.
- 21 is another schematic structural view of a device according to an embodiment of the present invention.
- FIG. 22 is another schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
- FIG. 23 is a schematic structural diagram of a wireless tag according to an embodiment of the present invention.
- FIG. 24 is a schematic structural view of a vehicle positioning system according to an embodiment of the present invention.
- 25 is a schematic structural diagram of a wireless positioning module according to an embodiment of the present invention.
- 26 is another schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
- FIG. 27 is another schematic structural diagram of a mobile terminal according to an embodiment of the present invention. detailed description
- an embodiment of the positioning method in the embodiment of the present invention includes: 301, the mobile terminal determines the expected travel L;
- the mobile terminal determines a desired trip L, which is the expected value of the travel path of the mobile terminal between adjacent two positions.
- the mobile terminal determines the desired travel L. For example, when the mobile terminal is powered on, or when the mobile terminal is ready to start positioning, it is not limited herein.
- the mobile terminal obtains its own speed value V;
- the mobile terminal can continuously monitor its own speed value. When other operations require the use of its own speed value, the mobile terminal acquires its own speed value V.
- the mobile terminal adjusts the positioning frequency according to the expected travel L and the self speed value V. After determining the desired travel and obtaining the own speed value V, the mobile terminal adjusts the positioning frequency according to the desired travel L and the self speed value V, so that the mobile terminal The deviation of the distance traveled by the mobile terminal between the adjacent two positionings of the mobile terminal according to the adjusted positioning frequency and the expected travel L is less than a specified threshold.
- the positioning frequency is a concept indicating the number of times of positioning in a specific time, but the time interval, in order to satisfy the deviation between the distance of the mobile terminal moving between the adjacent two positioning and the expected stroke L is less than the specified threshold, each After the secondary positioning, the time interval or the positioning frequency needs to be adjusted.
- the specific adjustment method is used to determine the timing, and different adjustment methods are used to determine the positioning time when adjusting the positioning frequency.
- the timing is also different. For example, some methods can adjust the positioning frequency to determine the positioning timing of the second positioning when performing the first positioning, and some methods need to be between the first positioning and the second positioning. During this period of time, the positioning frequency is adjusted until the second positioning is to be performed, and the timing of the second positioning can be accurately determined. There may be other methods, which are not limited herein.
- the specified threshold may be set in advance according to the scenario of the application of the mobile terminal, or the mobile terminal may be preset by the manufacturer before leaving the factory, and may be customized by the user before each positioning, which is not limited herein.
- the specified threshold is the deviation of the actual moving distance of the mobile terminal from the expected trip L of the mobile terminal, so the specified threshold should be much smaller than the expected trip L.
- the mobile terminal performs positioning according to the adjusted positioning frequency.
- the positioning is performed according to the adjusted positioning frequency, and each adjacent two times The distance traveled by the mobile terminal between positioning is close to the desired trip L.
- the mobile terminal first determines a desired travel L, which is an expected value of the travel distance of the mobile terminal between two adjacent positionings, obtains its own speed value v, and then adjusts the positioning according to the expected travel L and its own speed value V.
- the frequency is such that the deviation of the distance traveled by the mobile terminal between the adjacent two positionings according to the adjusted positioning frequency is less than the specified threshold, and the positioning is performed according to the adjusted positioning frequency, thereby ensuring the adjacent
- the average length of the positioning trajectory between the two positionings is not much different from the expected stroke L, which improves the trajectory fitting accuracy and eliminates the trajectory misjudgment phenomenon: as shown in Fig. 2, the different values dl, d2 are taken for the desired stroke L.
- the distribution of the location points at d3, d4 because the distribution of the location points is uniformly controllable, and the expected value of the stroke L can support the accurate estimation of the target trajectory in complex scenes and fast motions, reducing the cause of the scene.
- the probability of misjudgment of the trajectory caused by complex or moving speed is too fast.
- positioning with a fixed frequency may also result in uneven positioning of the positioning position due to changes in the target traveling speed, affecting the positioning display effect and the user experience.
- the positioning position aliasing occurs due to the positioning error, causing confusion in the user's senses.
- the terminal moves for a certain distance and slows down, it will produce the aliasing phenomenon of the positioning position as shown in Fig. 4.
- the speed of the mobile terminal is suddenly increased, the uneven positioning effect as shown in Fig. 5 will appear.
- the positioning method in the embodiment of the present invention improves the positioning and display effect: As shown in FIG. 6, the positioning position of the mobile terminal is generally distributed according to the distance that is close to the user's expectation, and the distribution is more uniform, and the distribution effect is affected by the terminal moving speed. The impact of change is small. For the positioning application with various motion forms, it can improve the positioning and display effect.
- the automatic positioning frequency can be automatically set: the appropriate positioning frequency can be automatically calculated according to the desired stroke L set by the user and the self-speed V of the mobile terminal, so as to ensure the average length of the positioning trajectory between adjacent two positionings and the expectation. The stroke L is not much different.
- the mobile terminal adjusts the positioning frequency according to the desired travel L and the self speed value V.
- the distance between the mobile terminal and the expected travel L between the two adjacent positionings is satisfied.
- the deviation is less than the specified threshold, there are many specific implementation methods for adjusting the positioning frequency. The following two examples are taken as examples:
- next positioning time t is calculated according to the expected travel L and the own speed value V.
- another embodiment of the positioning method in the embodiment of the present invention includes:
- the mobile terminal determines a desired travel L.
- the mobile terminal determines a desired trip L, which is the expected value of the mobile terminal's travel distance between adjacent two locations.
- the mobile terminal determines the desired travel L. For example, when the mobile terminal is powered on, or when the mobile terminal is ready to start positioning, it is not limited herein.
- the mobile terminal acquires its own speed value V.
- the mobile terminal can continuously monitor its own speed value. When other operations require the use of its own speed value, the mobile terminal acquires its own speed value V.
- the mobile terminal when triggering the first positioning operation, acquires the second positioning time t of the mobile terminal according to the expected travel L and the self speed value v;
- the second positioning time t of the mobile terminal is obtained according to the expected travel L and the self speed value v.
- obtaining the second positioning time t determines the positioning frequency between the first positioning and the second positioning, and triggering the second positioning operation according to the second positioning time t enables the first positioning operation.
- the deviation of the distance traveled by the mobile terminal between the secondary positioning operation and the second positioning operation and the expected stroke L is less than a specified threshold.
- first time and the second time are not used to limit the absolute timing of the two positioning operations during the positioning process of the mobile terminal, that is, the first positioning operation does not mean that the mobile terminal starts after the positioning is started.
- the first positioning operation is only used to indicate the relative timing between the first positioning operation and the second positioning operation.
- the first positioning operation may be any positioning operation after the mobile terminal starts positioning, and the second positioning operation is performed. That is, the next positioning operation adjacent to the first positioning operation after the first positioning operation.
- the specific operation of acquiring the second positioning time t of the mobile terminal according to the expected travel L and the self speed value v may be various:
- the following positioning step can be used to calculate the second positioning time t:
- the mobile terminal obtains the interval time according to the following formula:
- the interval time T L/v, i.e. the interval time T is equal to the ratio of the desired travel L to the self speed value V; the interval time T actually represents the time interval between two adjacent positions.
- the mobile terminal determines that the second positioning time t is a sum of the current time of the mobile terminal and the time interval T. It can be understood that, in this way, the positioning frequency is adjusted, and each time the positioning is performed, the current self-speed value v is obtained, that is, the current time is the time when a positioning operation is being performed, and the time when the speed value V is acquired. The purpose of obtaining the self speed value V is to calculate the next positioning time.
- the second positioning operation is performed at the arrival time t, the speed value of the terminal is acquired again, and the interval time is calculated according to the desired stroke L and the self speed value V. The next positioning time is obtained. In this way, the positioning frequency is adjusted to ensure that the deviation of the distance traveled by the mobile terminal between adjacent two positionings and the expected stroke L is less than a specified threshold.
- the delay of acquiring the speed value V or the possible change of the speed value V between the two positionings may be considered.
- the deviation adjustment is performed on the second positioning time t. For example, a certain deviation time may be subtracted, or a certain weight may be multiplied, and the like, which is not limited herein.
- the mobile terminal triggers a second positioning operation when the second positioning time t is performed. After acquiring the second positioning time t, the mobile terminal triggers the second positioning operation at the second positioning time t. According to the above analysis, the second positioning operation is triggered at the second positioning time t to ensure each phase. The distance traveled by the mobile terminal between the two neighboring positions is close to the expected trip L.
- the specific implementation manner of triggering the second positioning operation at the second positioning time t is not limited, and the current time is not strictly added to the calculated interval time T.
- a timer of time T is directly started.
- the timer time T is reached, the second positioning is triggered.
- the operation may be included in the range of the second positioning operation at the second positioning time t.
- the mobile terminal may first determine whether the interval time T is greater than a minimum interval time. If the minimum interval time is less than the minimum interval time, the minimum interval time is used as the If the interval between the second positioning is greater than the minimum interval, the interval T is used as the interval with the second positioning, so as to prevent the positioning frequency from being too high due to the excessive speed of the mobile terminal.
- the mobile terminal calculates the second positioning time t according to the desired travel L and the self speed value V, and triggers the second positioning operation when the second positioning time t, so that the two adjacent positioning positions are
- the deviation of the distance traveled by the mobile terminal from the expected trip L is less than a specified threshold, and the difference in the frequency of each positioning is obtained by each positioning, so that the frequency of each positioning changes correspondingly, and the calculation amount is very small. That is, the purpose of moving the mobile terminal between the two positionings is not much different from the expected travel L.
- the mobile device's mobile path L' is obtained according to the speed value V, and the positioning frequency is adjusted according to the moving path L' and the desired travel L.
- another embodiment of the positioning method in this embodiment includes :
- the mobile terminal determines the expected travel L
- the mobile terminal determines a desired trip L, which is the expected value of the travel path of the mobile terminal between adjacent two positions.
- the mobile terminal determines the desired travel L. For example, when the mobile terminal is powered on, or when the mobile terminal is ready to start positioning, it is not limited herein.
- the mobile terminal acquires its own speed value V;
- the mobile terminal can continuously monitor its own speed value. When other operations require the use of its own speed value, the mobile terminal acquires its own speed value V.
- the mobile terminal uses the time point of triggering the first positioning operation as the time starting point, and integrates the self speed value V in time to obtain the path L' moved by the mobile terminal;
- the time point for triggering the first positioning operation is the time starting point, and the self speed value V is integrated over time to obtain the distance L′ of the mobile terminal moving.
- the time point at which the first positioning operation is triggered is the time starting point, and the speed value V is integrated over time, ie The distance L that the mobile terminal moves from the point of time when the first positioning operation is triggered can be obtained.
- the mobile terminal integrates the self-speed value V over time, and the specific process of obtaining the path L′ moved by the mobile terminal can be as follows: Assuming that the i-th positioning time is the mobile terminal high-frequency acquisition speed value, for example, the instantaneous speed v is obtained every other small time period, starting from the f' time, the mobile terminal's moving path J' is accumulated as follows: ; where, represents the instantaneous speed obtained from the 'time', the jth time.
- the moving path operation process shown in the above formula can be expressed equivalently by FIG. 9.
- FIG. 9(a) shows the speed of the mobile terminal acquired by two adjacent positioning, and the horizontal coordinate of each vertical line indicates the time of acquiring the speed, and the height of the vertical line indicates the speed.
- the value, the distance between two adjacent vertical lines indicates the time interval of the acquisition speed, and the adjacent two vertical lines constitute the vertical bar area indicating the estimated distance of the mobile terminal in the time. Therefore, from the beginning of the time to the arbitrary time f, the area enclosed by the vertical line, the time coordinate axis and the velocity envelope corresponding to the time is an estimated value of the travel distance of the mobile terminal from 1 ' to time t, The area corresponds to the value of the travel path curve at time f in Fig. 9(b). As the moving distance continues to accumulate, until the difference between the time L' and the desired stroke L is less than a prescribed threshold, it is determined that the next positioning is performed at the time, and a positioning operation is triggered.
- the mobile terminal can continuously obtain the self-speed value ⁇ at a very high frequency, and then integrate the self-speed value V in time to obtain the mobile terminal moving. Distance L'.
- the mobile terminal adjusts the positioning frequency according to the traveled route L′ and the desired travel L. After the mobile terminal acquires the moved route L′, the mobile terminal adjusts the positioning frequency according to the moved route L′ and the desired travel L. And causing the mobile terminal to perform a deviation between the distance traveled by the mobile terminal and the expected travel L between two adjacent positionings according to the adjusted positioning frequency, which is less than a specified threshold. It can be understood that, in step 803, the self-speed value V is integrated in time, and the path L moved by the mobile terminal is obtained, from the start of the first positioning operation to the triggering of the second positioning operation.
- a continuous continuous process as the time increases, the moving distance L is also continuously increased, so adjusting the positioning frequency in step 804 is also a continuous process until it is determined that the second positioning operation is triggered to end, and then determining The condition for triggering the second positioning operation is the path L of the movement, and the desired stroke L is less than the specified threshold.
- the result of adjusting the positioning frequency is that when the mobile terminal determines that the moving route L′ and the expected stroke L are smaller than the specified threshold, the second positioning operation is triggered, and then the time at which the mobile terminal triggers the second positioning operation is time.
- the starting point, in time integrates its own speed value V, and acquires the distance L that the mobile terminal moves from the second positioning operation to the third positioning operation, and thus cycles.
- the specified threshold may be set in advance according to the scenario of the application of the mobile terminal, or the mobile terminal may be preset by the manufacturer before leaving the factory, and may be customized by the user before each positioning, which is not limited herein.
- the specified threshold is the deviation of the actual moving distance of the mobile terminal from the expected trip L of the mobile terminal, so the specified threshold should be much smaller than the expected trip L.
- the mobile terminal performs positioning according to the adjusted positioning frequency.
- the positioning is performed according to the adjusted positioning frequency, and the distance traveled by the mobile terminal between each adjacent two positioning is close to the expected stroke L.
- step 804 the mobile terminal adjusts the positioning frequency, that is, the timing of triggering the second positioning operation.
- step 804 when the mobile terminal determines to trigger the second positioning operation, in step 805, the mobile terminal triggers the positioning operation.
- the mobile terminal obtains the moving route L′ by integration, and adjusts the positioning frequency according to the moving route L′ and the desired stroke L, so that the obtained mobile terminal moves more accurately and can accurately meet the adjacent two.
- the deviation between the distance traveled by the mobile terminal between the secondary positioning and the expected travel L is less than a specified threshold.
- the mobile terminal may use different manners to adjust the positioning frequency, so that the deviation between the distance traveled by the mobile terminal between the two adjacent positioning and the expected travel L is less than a specified threshold. Further, in practical applications, the mobile terminal can also determine the desired itinerary in various ways. The following describes the steps for the mobile terminal to determine the expected trip L: It can be understood that the mobile terminal determines that the desired travel L can be manually set by the user in each different positioning scenario, or can be automatically selected by the mobile terminal according to the positioning scenario:
- the mobile terminal can give different expected strokes according to different positioning scene conditions.
- the specific step of determining the desired stroke L may be:
- the mobile terminal acquires the positioning error R and the length of the closed path around all unreachable areas in the positioning scene.
- the positioning scenario includes a certain range of areas near the location where the mobile terminal is located, for example, the mobile terminal is in the warehouse. If the positioning is performed, the positioning scenario may be determined as the warehouse; if the mobile terminal is located in the factory, the positioning scenario may be determined as the factory, etc., and if the positioning is performed on a road of a certain city, the positioning scenario may be Determined to be the city, or to include the road and a certain range of areas around the road. For a specific situation in the positioning scenario, the mobile terminal may obtain the electronic map corresponding to the positioning scenario.
- the unreachable area is an unreachable closed area in the positioning scene, for example, from one location of the city to another.
- the location scene is the city, some closed buildings from one location to another are Unreachable areas need to bypass these unreachable areas to reach the destination, but cannot pass directly through these unreachable areas.
- the size of the unreachable area in a positioning scene can be varied, for example, the coverage of each closed building.
- the area is different.
- the length of the path around the unreachable area is the length of the closed path corresponding to the unreachable area, which is about the circumference of the unreachable area. As shown in FIG. 10, the length of the unreachable area and the closed path is an example.
- the line frame is surrounded by an unreachable area.
- the dotted line surrounding the solid line frame indicates the length of the closed path of the unreachable area. It can be seen that the length of the corresponding closed path is different according to the size of the unreachable area, and the mobile terminal obtains After the scene is located, the closed path length of all unreachable areas can be calculated according to the map of the positioning scene. At the same time, the mobile terminal can obtain the positioning error R according to the positioning system related data, as shown in FIG. 11 as an example of positioning error, each positioning. The error may be centered on the positioning point and the radius is within the range of the positioning error R. After the mobile terminal obtains the closed path length and the positioning error R, different desired travel ranges can be determined according to the different relationship between the closed path length and the positioning error R.
- the mobile terminal When passing through the unreachable area, in order to clearly judge the motion trajectory of the mobile terminal, the mobile terminal must perform positioning once during the unreachable area, so as to clearly know which side of the unreachable area the mobile terminal is from.
- Bypass the length of the path bypassing each side of the unreachable area is half of the length of the closed path, that is, the expected travel L is less than half the length of the closed path to ensure that no trajectory misjudgment occurs. Further, if it is to pass There is no misjudgment for each unreachable area on the map, so the desired stroke L needs to be less than half the minimum closed path length of all closed path lengths.
- the mobile terminal determines that the expected travel L has a value range of 2R ⁇ L ⁇ (C/2), where C is the smallest closed path length of all closed path lengths of the positioning scene. ;
- the mobile terminal determines that the expected travel L has a value range of 2R ⁇ L ⁇ (C/2), and takes values within this range to ensure that no aliasing is generated. Phenomenon can also ensure that no trajectory misjudgment occurs in any place on the map.
- the minimum closed path C is not greater than 4R.
- the condition that L is greater than 2R and L is less than C/2 cannot be satisfied at the same time.
- Different values can be selected according to the application scenario and the requirements for the positioning trajectory. Range, if the requirement for non-aliasing is higher, you can choose L to be greater than 2R, and if the trajectory is not required to be higher, you can choose L to be less than C/2.
- the mobile terminal determines that the expected travel L has a value range of 2R ⁇ L ⁇ (Cl/2), and the C1 is a minimum closed path length greater than 4R.
- the minimum path length C1 larger than 4R can be selected in the closed path length to determine the value of L. 2R ⁇ L ⁇ (Cl/2), although there may be erroneous trajectory when the closed path length is less than the unreachable area of C1, it can ensure non-aliasing during the whole positioning process, and can guarantee When the closed path length is greater than the unreachable area of C, the trajectory is not misjudged. In practical applications, in some cases, such as some dangerous areas, even if positioning aliasing occurs, it must be ensured that the trajectory is not misjudged.
- the expected stroke L has a value range of L ⁇ (C/2).
- the mobile terminal receives the expected trip selected by the user within the range of the expected trip L! ⁇ . After the mobile terminal determines the value range of the desired trip L, the user may be provided to select within the range, and the user may randomly select within the range, or select a suitable expected trip L according to the user's preference or according to the current scene. There is no limit here.
- the value range of the above-mentioned desired stroke L is only a range of values that can make the positioning display effect better considering the non-aliasing and the trajectory is not misjudged.
- the expected stroke can also be completely completed. It is specified by the user, and is not limited by the length of the closed path of the unreachable area, positioning error, etc. However, in this case, it cannot be guaranteed that the positioning position aliasing or the track misjudgment does not occur.
- the automatic selection can also be divided into multiple types. One can set the desired travel in each positioning scene that may appear first by the user, and then match when determining the positioning scene, and the other can be determined after the positioning scene is determined.
- the background determines the range of the expected trip L according to the manner in the manual selection process described above, and then the mobile terminal randomly selects a desired trip L within the range of values or automatically selects the value from the desired trip according to a predetermined rule. Select a desired stroke L within the range.
- the mobile terminal may first determine a closed path length and a positioning error R that may occur in each positioning scenario, and then refer to each situation in the manual selection process and each The range of values of the travel L is expected, and the selection items that may appear in each positioning scene are set in advance by the user.
- the mobile terminal can determine the current positioning scenario, automatically retrieve the scene map corresponding to the positioning scenario, and calculate the closed path length and the positioning error R of the current scenario, according to the preset positioning scenario and expectation.
- the preset relationship of the current positioning scene is determined by the corresponding relationship of the stroke, and the preset desired stroke is taken as the desired stroke L, which is the desired stroke that the user presets for the positioning scene.
- the mobile terminal invokes the preset
- the preset desired itinerary for example, 2 meters
- the second scene map in the preset positioning scene is matched, and the mobile terminal calls the preset preset desired stroke (for example, 15 meters) corresponding to the preset second scene map as the desired itinerary for moving the terminal to locate in the park.
- the mobile terminal determines the positioning scenario, obtains a range of values of the expected trip in the current positioning scenario, and then randomly, within the range of values, or according to a predefined The rule selects a desired stroke L.
- Each of the above embodiments can determine the desired travel L in a plurality of different manners for the mobile terminal, and can adjust the positioning frequency in a plurality of different manners to achieve the path of moving the mobile terminal between adjacent two positionings.
- the mobile terminal may perform different operations according to the different conditions of acquiring the speed value V.
- Another embodiment of the positioning method includes:
- the method for adjusting the positioning frequency and determining the desired travel L of the mobile terminal is not described.
- the specific process refer to the method described in the foregoing embodiments, where the mobile terminal adjusts the positioning frequency and determines Various ways of expecting the stroke L can be applied to this embodiment.
- the mobile terminal triggers a positioning operation
- a positioning operation is triggered when the mobile terminal is powered on or when the positioning function is turned on to start positioning.
- each operation can be divided into various different working modes according to different purposes of various operations.
- the mobile terminal performs the operation of directly triggering the first positioning, which may be included in the startup mode.
- the mobile terminal starts the positioning function, it directly enters the startup mode, in which the positioning operation is triggered. This is to prevent the mobile terminal from automatically entering other modes that do not trigger the positioning operation when the speed value obtained by the mobile terminal is always 0 due to static or other reasons, resulting in no triggering during the entire positioning process.
- the operation cannot know the location of the mobile terminal.
- the mobile terminal acquires its own speed value V;
- the mobile terminal can continuously monitor its own speed value, and when it needs to use other operations At the body speed value, the mobile terminal acquires its own speed value V.
- the mobile terminal determines an expected trip L.
- the mobile terminal determines a desired trip L, which is the expected value of the travel path of the mobile terminal between adjacent two positions.
- the mobile terminal is configured according to the expected route.
- the mobile terminal After the mobile terminal obtains its own speed value, if the speed value V is not equal to 0, the mobile terminal adjusts the positioning frequency according to the expected travel L and the self speed value V, so that the mobile terminal performs the adjustment according to the adjusted positioning frequency.
- the deviation of the distance traveled by the mobile terminal between two adjacent positionings and the expected stroke L is less than a specified threshold.
- the positioning frequency is adjusted during the positioning process to meet the purpose that the deviation of the distance between the movement of the mobile terminal and the expected travel L between adjacent two positionings is less than a specified threshold, and may be included in variable frequency positioning.
- the mobile terminal enters a variable frequency positioning mode, in which the mobile terminal performs the step 1204.
- the desired travel L may be performed after the variable frequency positioning mode is entered, and may be performed at other occasions, for example, when the mobile terminal is powered on or when the positioning function is ready to start positioning, which is not limited herein.
- the mobile terminal adjusts the positioning frequency to 0; when the obtained self speed value is equal to 0, the mobile terminal adjusts the positioning frequency to 0.
- step 1205 may be included in the low power consumption mode.
- the obtained self speed value is 0, it indicates that the mobile terminal is in a stationary state at this time, and the positioning position does not change. If the positioning is continued using a certain frequency, The mobile terminal power is wasted, and the positioning point may be aliased. Therefore, when the acquired self speed value V is equal to 0, the mobile terminal can enter a low power mode, in which the mobile terminal adjusts The positioning frequency is 0. At this time, the mobile terminal does not trigger the positioning operation, saves power, and enters a low power state.
- the mobile terminal adjusts the positioning frequency to a preset fixed positioning frequency.
- the speed value v may not be obtained due to equipment failure or speed loss.
- the mobile terminal cannot obtain the self speed value V, the mobile terminal adjusts.
- the positioning frequency is a preset fixed positioning frequency, and the positioning frequency is fixed, that is, the positioning time interval between two adjacent positioning is fixed, and the mobile terminal will follow a fixed time interval! ⁇ Trigger the positioning operation.
- Adjusting the positioning frequency to the preset fixed positioning frequency can be included in the fixed frequency positioning mode. If the mobile terminal cannot obtain its own speed value v, it cannot enter the variable frequency positioning mode and use the frequency change positioning, but cannot determine the movement. The terminal is in a stationary state, so the positioning frequency needs to be adjusted to a preset fixed positioning frequency, so that the positioning operation is triggered by a fixed time interval. When the mobile terminal cannot obtain its own speed value V, it enters a fixed frequency positioning mode. In the fixed frequency positioning mode, the positioning frequency is adjusted to a preset fixed positioning frequency.
- the mobile terminal performs positioning according to the adjusted positioning frequency.
- the positioning is performed according to the adjusted positioning frequency.
- the mobile terminal acquires its own speed value v, and enters the startup mode in step 1201.
- the mobile terminal acquires its own speed value v to determine the subsequent entry according to the situation of acquiring its own speed value V.
- Which positioning mode, after entering each positioning mode, the frequency at which the mobile terminal acquires its own speed value V will be determined according to the requirements of each positioning mode, for example, in the variable frequency positioning mode, if the second positioning time is acquired
- the mobile terminal obtains its own speed value V every time the positioning operation is triggered. If the method of obtaining the distance moved by the mobile terminal is used, the mobile terminal continuously acquires its own speed at a higher frequency throughout the process.
- the speed value V In the low power mode, the speed value V can be obtained at a certain frequency, or the speed value V can be continuously monitored to change the positioning mode according to the condition of V; in the fixed frequency positioning mode, The self speed value V is obtained each time the positioning operation is triggered. In addition to the variable frequency positioning mode, the acquisition of its own speed value V is calculated. In other modes, the self speed value V is obtained to determine whether the condition for entering another positioning mode is satisfied.
- the whole positioning process is a continuous loop process.
- the mobile terminal After the positioning function is started, the mobile terminal enters the startup mode, triggers a positioning operation, and then adopts a variable frequency positioning mode and a fixed frequency positioning mode according to the condition of acquiring the own speed value. Continuous conversion between low power modes, which can continue until the positioning function stops.
- the mobile terminal when the mobile terminal starts positioning, the mobile terminal first enters the startup mode for the first time positioning, so as to prevent the mobile terminal from automatically entering the low power when the obtained speed value is always 0 due to static or other reasons after the power is turned on.
- the consumption mode makes it impossible to know the location of the mobile terminal, and then enters other modes according to the acquisition speed value.
- the mobile terminal When the obtained speed value is not 0, the mobile terminal enters the variable frequency positioning mode; when the obtained speed value is 0, the mobile terminal enters the low power mode, so that the mobile terminal can automatically perform positioning when the mobile terminal moves.
- the mobile terminal When the mobile terminal is stationary, the positioning is stopped and the low power consumption state is entered, and the power consumption of the mobile terminal can be improved more effectively and reasonably.
- the mobile terminal cannot obtain its own speed value V, the mobile terminal enters the fixed frequency positioning mode. This can prevent the situation that the mobile terminal's speed measuring component is unable to be located due to the failure of the speed measuring component, so that the positioning function of the mobile terminal is more reliable.
- the mobile terminal switches between different positioning modes according to the situation that the speed value V is obtained.
- the mobile terminal obtains the speed value V of the mobile terminal, and before the switching of the positioning mode, the mobile terminal may first It is judged whether the duration of the self speed value V reaches the delay time for switching the positioning mode to prevent erroneous operation or avoid frequent switching phenomenon caused by acquiring fluctuations of its own speed value.
- the mobile terminal acquires its own speed before the value of V, the mobile terminal may also receive a first delay time set by the user T swl, a second delay time T sw2, the third delay time T sw3;
- the first delay time T swl is a delay time for determining whether to enter the variable frequency positioning mode; when the self speed value V is not equal to 0, the mobile terminal enters the variable frequency positioning mode, which may be: When the self speed value V is not equal to 0, and the duration is greater than the first delay time Tswl , the mobile terminal enters the variable frequency positioning mode.
- the second delay time T sw2 is a delay time for determining whether to enter the low power mode
- the mobile terminal When the mobile terminal enters the low power consumption mode, the mobile terminal may be: when the self speed value is equal to 0, and the duration is greater than the second delay time T sw2 , the moving The terminal enters a low power mode.
- the third delay time T sw3 is a delay time for determining whether to enter the fixed frequency positioning mode.
- the mobile terminal does not obtain the self speed value V
- the mobile terminal enters the fixed frequency positioning mode, which may be:
- the mobile terminal enters a fixed frequency positioning mode.
- another embodiment of the positioning method in the embodiment of the present invention includes:
- the mobile user terminal receives the first set delay time T swl, a second delay time T sw2, the third delay time T sw3;
- a first delay time T swl set by the user Before opening the mobile terminal positioning function, you may receive a first delay time T swl set by the user, a second delay time T sw2, the third delay time T sw3.
- the mobile terminal triggers a positioning operation
- the mobile terminal acquires its own speed value V.
- the mobile terminal determines a desired travel L
- the mobile terminal adjusts the positioning frequency according to the expected stroke L and the self speed value V, so that Deviating the distance traveled by the mobile terminal between the two adjacent positioning positions of the mobile terminal according to the adjusted positioning frequency and the expected travel L is less than a specified threshold;
- the mobile terminal adjusts the positioning frequency to 0.
- the mobile terminal when the mobile terminal does not obtain the self-speed value v, and the duration is greater than the third delay time Tsw3 , the mobile terminal adjusts the positioning frequency to a preset fixed positioning frequency;
- the mobile terminal performs positioning according to the adjusted positioning frequency.
- FIG. 14 is a schematic diagram of a mobile terminal positioning state switching, and the mobile terminal transfers back and forth between the four positioning modes indicated by the ellipse according to the corresponding conditions in the box.
- the startup mode is that when the mobile terminal starts the positioning function, the positioning operation is forcibly triggered;
- the variable frequency positioning mode is that when determining that the speed value of the mobile terminal is not 0, the positioning frequency is adjusted so that the adjacent two are performed according to the adjusted positioning frequency.
- the deviation of the distance traveled by the mobile terminal between the secondary positioning and the expected travel L is less than a specified threshold;
- the low power mode is to adjust the positioning frequency to 0 when determining that its own speed value is 0;
- the fixed frequency positioning mode is to adjust the positioning frequency to be preset when the speed value is not obtained. Positioning frequency.
- the mobile terminal when the mobile terminal enters the startup mode and triggers a positioning operation, if the mobile terminal acquires the speed value and remains in an unstable state, and cannot satisfy the delay time of entering any other positioning mode, It can be set that when the stable speed value is not obtained in the preset time and enters the variable frequency positioning mode, the low power positioning mode or the fixed frequency positioning mode, after the preset time arrives, Directly enter the fixed frequency positioning mode, and then transfer according to the transfer rule of each mode according to the situation of the own speed value V.
- the mobile terminal triggers a positioning operation and performs positioning when various conditions are met.
- the mobile terminal may mainly include processing each integrated in the mobile terminal by using a correlation algorithm.
- Sensor data obtained by sensors (such as accelerometers, gyroscopes, magnetic sensors, etc.) without the need for inertial positioning of the external infrastructure, and wireless positioning using external signals such as wifi, Bluetooth, and cellular signals.
- the INS positioning may be used, or the wireless positioning may be used, and the combination of the INS positioning and the wireless positioning may be used, which is not limited herein.
- the initial position, the azimuth and other related parameters included in the initial condition of the INS may be pre-calibrated.
- the mobile terminal may specify a priority for triggering the positioning operation, for example, the wireless positioning priority may be higher than the inertial navigation positioning, and after the positioning operation is triggered, it is first determined whether the wireless signal can be received. If the wireless signal can be received, the wireless positioning is used; if the wireless signal cannot be received, it means that the wireless positioning cannot be used, and the inertial navigation positioning can be used.
- the mobile terminal can be set to use only the inertial navigation positioning. Since the inertial navigation positioning does not need to rely on the external infrastructure, the inertial navigation positioning can be used immediately as long as the conditions for triggering the positioning operation are satisfied.
- Wireless positioning differs by means of external infrastructure (such as Locator): There are two types of network systems for mobile terminal to perform wireless positioning calculation. One is network-centric positioning, and the other is mobile terminal. The positioning of the center.
- the mobile terminal Under the network-centric wireless positioning system, the mobile terminal periodically broadcasts a wireless signal, and the surrounding infrastructure Locator device receives the wireless signal of the mobile terminal, extracts the mobile terminal address or ID, measures the RSSL AOA or related physical quantity, and together with its own address or ID. The related information is sent to the server together, and the coordinate value of the mobile terminal is calculated by the server.
- the infrastructure Locator device periodically broadcasts wireless signals, the mobile terminal receives the Locator wireless signal, extracts Locator device addresses or coordinates, IDs, and other related information, and measures related physical quantities such as RSSI and AOA. The information calculates the coordinates of the mobile terminal and displays the location on the screen of the mobile terminal.
- the mobile terminal triggering the positioning operation may be: the mobile terminal performs a wireless signal broadcast, so that the surrounding infrastructure Locator receives the wireless signal, and then moves the mobile terminal.
- the related information of the terminal is sent to the server to calculate the coordinate value of the mobile terminal.
- the mobile terminal triggering the positioning operation may specifically be: when the mobile terminal receives the wireless signal sent by the infrastructure Locator after triggering a positioning operation, according to the infrastructure The information about the Locator calculates the coordinate value of the mobile terminal.
- the Locator since the Locator sends the wireless signal to transmit at a fixed frequency, and does not keep transmitting, the mobile terminal should perform positioning once after triggering a positioning operation, but in some cases, it may not be reached at this time.
- the period in which the Locator sends the wireless signal the mobile terminal cannot perform the positioning immediately, so at this time, in order to ensure that the trajectory between the two positioning points is as close as possible to the desired stroke after the positioning, the mobile terminal will be in the most recent after triggering a positioning operation.
- the positioning is performed once, that is, the coordinate value of the mobile terminal is calculated according to the related information of the infrastructure Locator.
- the mobile terminal Before the positioning function is turned on, the mobile terminal can receive the user-set desired stroke L (for example, 10 meters) for a fixed time interval T fix (for example, 2 seconds) in the fixed frequency positioning mode, for determining whether to enter or not.
- the first delay time T swl of the variable frequency positioning mode (for example, 500 milliseconds) is used to determine whether to enter the second delay time T sw2 of the low power mode (for example, 600 milliseconds) for determining whether to enter a fixed frequency
- the third delay time T sw3 of the positioning mode for example, 700 milliseconds
- the minimum time interval T min for example, 1 second
- the mobile terminal When the user turns on the positioning function, the mobile terminal enters the startup mode, triggers a positioning operation, and uses the wireless positioning method for positioning, wherein in the network-centric positioning system, the mobile terminal can The positioning is performed by transmitting a wireless signal broadcast. In the positioning system centered on the mobile terminal, the mobile terminal can receive the wireless signal sent by the nearest surrounding infrastructure Locator for positioning; after the mobile terminal is positioned once, the mobile terminal itself is acquired.
- the speed value v can be obtained by obtaining a measured speed value of various sensors (such as an acceleration sensor) or a speedometer installed on the mobile terminal;
- the mobile terminal adjusts the positioning frequency to 0, enters a low power consumption state, and continuously acquires the speed value v of the mobile terminal itself; If it can obtain its own speed value V, V is always 0, then the mobile terminal maintains the low power mode and continuously acquires v until the positioning function is turned off or V changes;
- the surrounding infrastructure Locator device receives the wireless signal of the mobile terminal, extracts the mobile terminal address or ID, and measures RSSI and AOA. Or related physical quantity, and sent to the server together with related information such as its own address or ID, and the coordinate value of the mobile terminal is calculated by the server; if in the positioning system centered on the mobile terminal, the mobile terminal receives the last time after 5 seconds a wireless signal sent by the infrastructure Locator, and calculating coordinate values of the mobile terminal according to the information about the infrastructure Locator;
- variable frequency positioning mode after the mobile terminal performs one positioning, and obtains its own speed value V of 4 m/s and the duration is greater than the first delay time T swl 500 ms, the mobile terminal maintains the variable frequency positioning mode.
- T L / v
- the interval time T is 2.5 seconds
- the interval time is 2.5 seconds greater than the minimum interval time of 1 second
- the mobile terminal triggers a positioning operation after 2.5 seconds, and uses the wireless positioning method for positioning. If the wireless signal is not detected at this time, the mobile terminal may perform a certain positioning by using the inertial navigation method;
- the mobile terminal speed measuring component If the mobile terminal speed measuring component is faulty or the speed is lost, the mobile terminal cannot obtain its own speed value V.
- the duration is longer than the third delay time T sw3 700 milliseconds, the mobile terminal enters the fixed frequency positioning mode, and according to the fixed time interval T fix 2 seconds, the positioning operation is triggered every 2 seconds.
- the mobile terminal thus switches between the variable frequency positioning mode, the low power mode and the fixed frequency positioning mode according to the condition of acquiring the own speed value V until the positioning function is turned off.
- an embodiment of the apparatus 1500 in the embodiment of the present invention includes:
- the obtaining module 1502 is configured to acquire a self speed value v;
- the adjustment module 1503 is configured to adjust the positioning frequency according to the expected travel L determined by the determining module 1501 and the self speed value V obtained by the acquiring module 1502, so that the positioning module 1504 performs two adjacent positioning according to the adjusted positioning frequency. a deviation between the distance traveled by the device and the desired stroke L is less than a specified threshold;
- the positioning module 1504 is configured to perform positioning according to the adjusted positioning frequency of the adjustment module 1503.
- the determining module 1501 first determines a desired stroke L, which is an expected value of the device moving distance between adjacent two positionings, and the obtaining module 1502 obtains the own speed value v, and then the adjusting module 1503 determines the desired stroke L. Adjusting the positioning frequency with the own speed value V, so that the deviation of the distance between the device moving between the two adjacent positionings according to the adjusted positioning frequency and the desired stroke L is less than a specified threshold, and the positioning module 1504 follows the adjusted positioning frequency.
- Positioning is performed to ensure that the average length of the positioning trajectory between adjacent positioning is not much different from the expected stroke L, which improves the accuracy of the trajectory fitting and eliminates the erroneous collocation phenomenon: as shown in Fig. 2,
- the travel L takes the distribution of the position points of different values dl, d2, d3, d4. Since the distribution position of the positioning position is uniformly controllable, the expected travel L can be used to support complex scenes and target movements during fast motion. Accurate estimation of the trajectory reduces errors in the trajectory caused by complex scenes or too fast moving speed Judgment probability.
- positioning with a fixed frequency may also result in uneven positioning of the positioning position due to changes in the target traveling speed, affecting the positioning display effect and the user experience.
- the positioning position aliasing phenomenon occurs due to the positioning error, causing confusion to the user's senses.
- the device speed is When the temperature suddenly becomes faster, an uneven positioning effect as shown in Fig. 5 appears.
- the positioning method in the embodiment of the present invention improves the positioning display effect: As shown in FIG. 6, the device positioning position points are generally distributed according to the distance that is close to the user's expectation, and the distribution is more uniform, and the distribution effect is changed by the moving speed of the device. The impact is small. For the positioning application with various motion forms, it can improve the positioning and display effect.
- the automatic positioning frequency can be automatically set: the appropriate positioning frequency can be automatically calculated according to the desired stroke L set by the user and the self-speed V of the mobile terminal, so as to ensure the average length of the positioning trajectory between adjacent two positionings and the expectation. The stroke L is not much different.
- the adjustment module 1503 adjusts the positioning frequency according to the desired stroke L determined by the determining module 1501 and the self-speed value V obtained by the obtaining module 1502.
- the adjustment module 1503 calculates the next positioning time t directly according to the desired stroke L and the self speed value V.
- another embodiment of the apparatus 1600 in the embodiment of the present invention includes: a determining module 1601, which is used to determine a desired a stroke L, the desired stroke being an expected value of the device travel distance between adjacent two positions;
- the obtaining module 1602 is configured to obtain a speed value V of the self
- the adjustment module 1603 is configured to adjust the positioning frequency according to the expected travel L determined by the determining module 1601 and the self speed value V obtained by the acquiring module 1602, so that the positioning module 1604 performs two adjacent positioning according to the adjusted positioning frequency. a deviation between the distance traveled by the device and the desired stroke L is less than a specified threshold;
- the positioning module 1604 is configured to perform positioning according to the adjusted positioning frequency of the adjusting module 1603.
- the adjusting module 1603 is specifically configured to: when triggering the first positioning operation, according to the desired travel L and Deriving the self-speed value v, obtaining the second positioning time t, such that the distance traveled by the device between the first positioning operation and the second positioning operation after the positioning according to the second positioning time t The deviation of L is less than the specified threshold;
- the positioning module 1604 is specifically configured to trigger a second positioning operation when the second positioning time t acquired by the adjustment module 1603.
- the first positioning operation can also be triggered by the positioning module 1604.
- the positioning module 1604 triggers a positioning operation for positioning, and the positioning module 1604 can perform positioning by using various positioning technologies (such as wireless positioning or inertial positioning, etc.).
- the positioning module 1604 may also be configured to perform positioning by using a positioning device such as a radio frequency module or a positioning operation module in the device when determining the condition for triggering the positioning operation, which is not limited herein.
- the adjusting module 1603 may be configured to obtain the second positioning time t according to the expected distance L and the self-speed value v.
- the adjusting module 1603 may specifically include:
- the first obtaining unit 16031 is configured to obtain the interval time T according to the following formula:
- the determining unit 16032 is configured to determine that the second positioning time t is the current time determined by the device and the The sum of the time intervals T.
- the positioning frequency is adjusted, and each time the positioning module 1602 acquires the current own speed value V, the current time is the time when the positioning module 1604 is performing a positioning operation, and is also the acquiring module 1602.
- the time at which the own speed value V is obtained, and the purpose of the self-speed value V obtained by the acquisition module 1602 is to cause the adjustment module 1603 to calculate the next positioning time.
- the determining unit 16032 adds the interval time using the current time, that is, the second positioning time t, between the two positioning operations after the positioning module 1604 triggers the first positioning operation and the second positioning operation is triggered, at the interval time.
- the obtaining module 1602 obtains its own speed value again, and the adjusting module 1603 calculates the interval time according to the expected stroke L and the own speed value V to obtain the next positioning time.
- the positioning frequency is adjusted to ensure the adjacent positioning.
- the deviation between the distance traveled by the mobile terminal and the expected trip L is less than the purpose of specifying a threshold.
- the adjusting module 1603 calculates the second positioning time t by using the foregoing steps
- the delay of acquiring the speed value V by the acquiring module 1602, or the possible change of the speed value V between the two positionings may be considered.
- the deviation adjustment is performed on the calculated second positioning time t. For example, a certain deviation time may be subtracted, or a certain weight may be multiplied, etc., which is not limited herein.
- the positioning module 1604 is triggered when the second positioning time t is There are many implementations of the second positioning operation, and the determining unit 16032 does not need to add the current time to the interval T calculated by the first acquiring unit 16031 to obtain the next positioning time.
- the positioning module 1604 is next to the next time. After the positioning time t reaches the post-positioning, for example, after the first obtaining unit 16031 calculates the interval time T, the positioning module 1604 can directly start a timer with a time T. After the timer time T is reached, the positioning module 1604 triggers the second time.
- the positioning operation may also include that the positioning module 1604 triggers the second positioning operation during the second positioning time t, and there are many other specific implementation manners, which are not limited herein.
- the first obtaining unit 16031 may further determine whether the interval time T is greater than a minimum interval time. If the minimum interval time is less than the minimum interval time, the minimum interval time is used as the second positioning. If the interval time is greater than the minimum interval time, the interval time T is used as the interval time with the second positioning, so as to prevent the positioning frequency from being too high due to the excessive speed of the mobile terminal.
- the adjustment module 1603 calculates the second positioning time t according to the desired travel L and the self speed value V, and the positioning module 1604 triggers the second positioning operation at the second positioning time t, so that the second positioning operation is performed twice.
- the deviation between the distance between the positioning of the device and the desired stroke L is less than a specified threshold value, and the difference in the frequency of each positioning is obtained by each positioning, so that the frequency of each positioning changes correspondingly, and the consumption is minimal.
- the calculation amount that is, the purpose of making the distance between the movement of the mobile terminal between the two positionings and the expected stroke L be small.
- the adjustment module 1503 obtains the moving path L′ of the mobile terminal according to the speed value V, and adjusts the positioning frequency according to the moving path L′ and the desired stroke L.
- the device 1700 One embodiment includes:
- the obtaining module 1702 is configured to acquire a speed value v of the self
- the adjustment module 1703 is configured to adjust the positioning frequency according to the expected travel L determined by the determining module 1701 and the self speed value V obtained by the acquiring module 1702, so that the positioning module 1704 performs two adjacent positioning according to the adjusted positioning frequency. a deviation between the distance traveled by the device and the desired stroke L is less than a specified threshold;
- the positioning module 1704 is configured to perform positioning according to the adjusted positioning frequency of the adjustment module 1703.
- the adjustment module 1703 specifically includes:
- a second obtaining unit 17031 configured to use a time point for triggering the first positioning operation as a time starting point, and integrate the self speed value V in time to obtain a path L′ of movement of the device;
- the adjusting unit 17032 is configured to adjust the positioning frequency according to the moved route L′ acquired by the second acquiring unit 17031 and the expected travel L, so that the positioning module 1704 performs two adjacent positioning according to the adjusted positioning frequency.
- the deviation between the distance traveled by the device and the desired stroke L is less than a specified threshold.
- the second obtaining unit 17031 integrates the self-speed value V in time, and the specific process of obtaining the path L′ of the mobile terminal movement may be as follows:
- the acquisition module 1702 acquires a high-frequency acquisition speed value, for example, every other minute time period, and the second acquisition unit 17031 starts from the time and performs the movement path of the device.
- the moving path operation process shown in the above formula can be equivalently represented by FIG. 9.
- FIG. 9(a) is the mobile terminal speed acquired by the second obtaining unit 17031 during two adjacent positioning, and each vertical line abscissa represents the acquiring module 1702.
- the height of the vertical line represents the speed value obtained by the acquisition module 1702
- the distance between two adjacent vertical lines represents the time interval of the acquisition speed
- the adjacent vertical lines constitute the vertical area indicating that the device passes in time. Estimated distance. Therefore, from the beginning of the time to the arbitrary time, the area enclosed by the vertical line, the time coordinate axis and the velocity envelope corresponding to the time t is the estimated value of the movement distance from the device to the time t, which is the same as that of FIG. (1))
- the moving path curve values at the middle time correspond. As the moving distance continues to accumulate, until the difference between the time L' and the desired stroke L is less than a prescribed threshold, it is determined that the next positioning is performed at the time, and a positioning operation is triggered.
- the integration operation is not purely using numerical values, but the idea of integration is used, so The method of integrating the pure numerical value is used, or the method of integrating the time segment into a plurality of small segments to calculate the distance and then accumulating, and the second obtaining unit 17031 is considered to be using the own speed value.
- V integrates this way in time. It can be understood that, when the adjustment module 1703 adjusts the positioning frequency in this embodiment, the obtaining module 1702 can continuously obtain the self speed value v at a very high frequency, and the second acquiring unit 17031 performs the time value on the own speed value V. Integral, get the distance L' of the mobile terminal moving.
- the second obtaining unit 17031 can also perform some on the basis of the moving path L', taking into account the acquisition delay or error. The deviation is calculated and then processed.
- the second obtaining unit 17031 integrates the self-speed value V in time, and acquires the path L moved by the mobile terminal, starting from triggering the first positioning operation and triggering the second positioning operation.
- a continuous continuous process as the time increases, the moving distance L is also continuously increased, so the adjustment unit 17032 adjusts the positioning frequency is also a continuous process, until it is determined that the second positioning operation is triggered to end.
- the adjusting unit 17032 determines that the condition for triggering the second positioning operation is that the moving route L′ and the desired stroke L are smaller than the specified threshold.
- the result of the adjustment unit 17032 adjusting the positioning frequency is that when the adjusting unit 17032 determines the moving path L and the desired stroke L is smaller than the specified threshold, the second positioning operation is triggered, and then the second obtaining unit 17031 triggers the second time.
- the time point of the positioning operation is the time starting point, and the self speed value V is integrated in time, and the distance L′ that the mobile terminal moves from the second positioning operation to the third positioning operation is acquired again, and thus cycles.
- the specified threshold may be set in advance according to the scenario of the application of the mobile terminal, or the mobile terminal may be preset by the manufacturer before leaving the factory, and may be customized by the user before each positioning, which is not limited herein.
- the specified threshold is the deviation of the actual moving distance of the mobile terminal from the expected trip L of the mobile terminal, so the specified threshold should be much smaller than the expected trip L.
- the second obtaining unit 17031 obtains the moving route L by integration, and the adjusting unit 17032 adjusts the positioning frequency according to the moving route L′ and the desired stroke L, so that the obtained device moves the route more accurately and can be more accurate.
- a condition that satisfies the deviation of the distance traveled by the mobile terminal between the two adjacent positionings from the expected trip L is less than a specified threshold.
- the adjustment module in each embodiment may use different manners to adjust the positioning frequency, so that the deviation of the distance traveled by the mobile terminal between the two adjacent positionings and the expected stroke L is less than a specified threshold. Further, in practical applications, the determining module in each embodiment may also The desired travel is determined in a number of ways, and the steps of determining the desired travel L by the mobile terminal are described in detail below:
- the determining module 1501 determines that the desired stroke L can be manually set by the user in each different positioning scenario, or can be automatically selected by the determining module 1501 according to the positioning scenario:
- the determining module 1501 can give different expectations according to different positioning scene conditions. The range of values of the trip, for the user to select the desired trip L.
- another embodiment of the apparatus 1800 in the embodiment of the present invention includes:
- the obtaining module 1802 is configured to acquire a speed value v of the self
- the adjustment module 1803 is configured to adjust the positioning frequency according to the expected travel L determined by the determining module 1801 and the self speed value V obtained by the acquiring module 1802, so that the positioning module 1804 performs two adjacent positioning according to the adjusted positioning frequency. a deviation between the distance traveled by the device and the desired stroke L is less than a specified threshold;
- the positioning module 1804 is configured to perform positioning according to the adjusted positioning frequency of the adjusting module 1803.
- the determining module 1801 specifically includes:
- the obtaining unit 18011 is configured to acquire a positioning error R and a closed path length around all unreachable areas in the positioning scene;
- the first determining unit 18012 is configured to determine that the expected travel L has a value range of 2R ⁇ L ⁇ (C/2) when the minimum closed path length C is greater than 4R;
- a second determining unit 18013 configured to determine, when the minimum closed path length C is not greater than 4R, that the expected range of the stroke L is 2R ⁇ L ⁇ (d/2), wherein the d is a minimum closed path length greater than 4R;
- the receiving unit 18014 is configured to receive a desired trip L selected by the user in the value range of the expected trip L.
- the determining module 1801 sets the desired stroke in the above manner, and can ensure that the positioning trajectory obtained by the positioning is not aliased, and no false positive phenomenon occurs.
- the automatic selection can also be divided into multiple types. One can set the desired travel in each positioning scene that may appear first by the user, and the determining module can perform matching when determining the positioning scene, and the other can determine the positioning for the determining module. After the scene, the value range of the desired trip L is determined in the background according to the manner in the manual selection process described above, and then the determining module randomly selects a desired trip L within the range of values or automatically from the expectation according to a predetermined rule. Select a desired stroke L within the range of the stroke.
- FIG. 19 another embodiment of the apparatus 1900 in the embodiment of the present invention includes:
- a determining module 1901 configured to determine a desired travel L, the expected travel being an expected value of the device travel distance between adjacent two positions;
- the obtaining module 1902 is configured to acquire a self speed value V;
- the adjustment module 1903 is configured to adjust the positioning frequency according to the expected travel L determined by the determining module 1901 and the self speed value V acquired by the acquiring module 1902, so that the positioning module 1904 performs two adjacent positioning according to the adjusted positioning frequency. a deviation between the distance traveled by the device and the desired stroke L is less than a specified threshold;
- the positioning module 1904 is configured to perform positioning according to the adjusted positioning frequency of the adjusting module 1903.
- the determining module 1901 specifically includes:
- a third determining unit 19011, configured to determine a current positioning scenario
- the fourth determining unit 19012 is configured to determine the expected trip L corresponding to the current positioning scenario according to a preset relationship between the preset positioning scenario and the expected trip.
- the positioning scene includes a certain range of areas near the location where the device is located. For example, if the device is located in the warehouse, the positioning scene may be determined as the warehouse. If the device is located in the factory, the positioning scene may be determined as The factory or the like, if it is located on a road of a certain city, the positioning scene may be determined as the city, or an area including the road and a certain range around the road. For a specific situation in the positioning scenario, the device may be in an electronic map corresponding to the positioning scenario. Obtain. The device is generally positioned in a fixed number of positioning scenes, and the user can preset the preset desired stroke corresponding to the positioning scene.
- the third determining unit 19011 determines the current positioning scenario, for example, as a warehouse
- the fourth determining unit 19012 determines a desired itinerary corresponding to the warehouse set by the user.
- the determining module 1901 can automatically determine the desired itinerary according to the current positioning scenario, and avoids that the user needs to input the desired itinerary after switching the positioning scenario every time, thereby improving the user experience.
- FIG. 18 and FIG. 19 respectively describe that the determination module can determine the desired stroke L in a plurality of different manners.
- the embodiment shown in FIG. 15, FIG. 16 or FIG. 17 can be used for the adjustment module respectively.
- the positioning frequency is adjusted in different ways, so as to achieve the purpose of making the deviation of the distance between the two movements of the device and the desired stroke L smaller than a specified threshold. In practical applications, the device can also obtain according to the acquisition.
- the positioning frequency is additionally adjusted according to the different conditions of the speed value V.
- another embodiment of the apparatus 2000 in the embodiment of the present invention includes:
- the obtaining module 2002 is configured to acquire a speed value V of its own
- the adjustment module 2003 is configured to adjust the positioning frequency according to the expected travel L determined by the determining module 2001 and the self speed value V obtained by the acquiring module 2002, so that the positioning module 2004 performs two adjacent positioning according to the adjusted positioning frequency. a deviation between the distance traveled by the device and the desired stroke L is less than a specified threshold;
- the positioning module 2004 is configured to perform positioning according to the adjusted positioning frequency of the adjustment module 2003.
- the adjustment module 2003 is specifically configured to: when determining that the self speed value V is not equal to 0, according to the determining Determining the desired travel L determined by the module and the self speed value V obtained by the acquisition module to adjust the positioning frequency, so that the positioning module moves the distance between the two adjacent positionings according to the adjusted positioning frequency and the It is expected that the deviation of the stroke L is less than the specified threshold;
- the adjustment module 2003 is further configured to: when determining that the self speed value is equal to 0, adjust the positioning frequency to 0;
- the adjustment module 2003 can also be used to adjust the positioning frequency to a fixed positioning frequency when it is determined that the self speed value V is not obtained;
- the adjustment module 2003 adjusts the positioning frequency to 0.
- the device remains in the stationary state after starting the positioning, the device enters the low power mode, and does not perform. Positioning, the position of the device cannot be known at this time. Therefore, after the positioning function is activated, a positioning operation needs to be directly performed.
- the device further includes:
- the startup module 2005 is used to directly trigger a positioning operation when the positioning function is activated.
- the device adjusts the positioning frequency according to different conditions of its own speed value, and can be divided into four positioning modes, which are respectively:
- the startup mode is executed by the startup module 2005, and when the positioning function is turned on, the positioning operation is forcibly triggered once;
- the latter three positioning modes are all performed by the adjustment module 2003, and the three modes are switched according to the different conditions of the speed values thereof, and the positioning frequencies are adjusted according to the three modes:
- the positioning frequency is adjusted such that the deviation between the distance traveled by the mobile terminal and the desired stroke L between adjacent two positionings according to the adjusted positioning frequency is less than the specified width.
- the positioning frequency is adjusted to a preset fixed positioning frequency.
- the acquisition module 2002 acquires its own speed before the value of V, the device may also receive a first delay time set by the user T swl, a second delay time T sw2, the third delay time T sw3;
- the first delay time T swl is a delay time of the adjustment module 2003 determining whether to perform the variable frequency positioning mode
- the adjustment module 2003 performs a variable frequency positioning mode when the self speed value V is not equal to 0 and the duration is greater than the first delay time Tswl .
- the second delay time T sw2 is a delay time of the adjustment module 2003 determining whether to execute the low power mode
- the adjustment module 2003 performs a low power consumption mode when the self speed value is equal to 0 and the duration is greater than the second delay time Tsw2 .
- the third delay time T sw3 is a delay time of the adjustment module 2003 determining whether to perform the fixed frequency positioning mode;
- the adjustment module 2003 performs a fixed frequency positioning mode.
- the adjustment module has a judgment delay time before switching to each positioning mode, so that misoperation can be effectively prevented, and the switching between states is more stable.
- the positioning frequency is adjusted according to the different conditions of obtaining the own speed value V in the embodiment shown in FIG. 15. To avoid redundancy, the positioning frequency is not adjusted to the adjustment module and the determining module determines the desired travel L.
- the various manners are described, however, it can be understood that the various manners in which the determining module determines the desired stroke L in the embodiment shown in FIGS. 18 and 19 and the adjusting module in the embodiment shown in FIG. 15, FIG. 16, or FIG.
- Various ways of adjusting the positioning frequency can be applied to the apparatus of the present embodiment.
- the adjustment module 2003 enters different positioning modes according to different conditions of the speed value V.
- the apparatus 2100 may further include: a mode determining module 2101, configured to: According to the situation of the self speed value acquired by the obtaining module 2002, the adjustment module 2003 is instructed to enter the corresponding positioning mode.
- a mode determining module 2101 configured to: According to the situation of the self speed value acquired by the obtaining module 2002, the adjustment module 2003 is instructed to enter the corresponding positioning mode.
- the device may be a mobile terminal.
- the determining module 2001 may receive a desired stroke L (for example, 10 meters) set by the user, and the device may also receive a fixed setting in the fixed frequency positioning mode set by the user.
- the time interval T fix (for example, 2 seconds) is used to determine whether to enter the first delay time T swl of the variable frequency positioning mode (for example, 500 milliseconds), and the second delay for determining whether to enter the low power mode Time T sw2 (for example, 600 milliseconds), a third delay time T sw3 (for example, 700 milliseconds) for determining whether to enter the fixed frequency positioning mode, the minimum time interval (for example, 1 second);
- the startup module 2005 enters the startup mode, the positioning module 2004 triggers a positioning operation, and uses the wireless positioning mode for positioning, wherein in the network-centric positioning system, the mobile terminal can send a wireless signal broadcast.
- Positioning in the mobile terminal In the positioning system of the heart, the mobile terminal can receive the wireless signal sent by the nearest surrounding infrastructure Locator for positioning;
- the obtaining module 2002 obtains the speed value v of the mobile terminal itself, and the obtaining manner may be obtaining the measured speed values of various sensors (such as an acceleration sensor) or a speedometer installed on the mobile terminal;
- the adjustment module 2003 enters the low power mode, and the positioning frequency is adjusted to 0; if the self speed value v, V can be obtained - If it is 0, the adjustment module 2003 maintains the low power mode and continuously acquires v until the positioning function is turned off or V changes;
- the positioning module 2004 performs positioning using the wireless positioning method. Specifically, if the mobile terminal performs a wireless signal broadcast after 5 seconds in the network-centric positioning system, the surrounding infrastructure Locator device receives the wireless signal of the mobile terminal, extracts the mobile terminal address or ID, and measures RSSI and AOA. Or related physical quantity, and sent to the server together with related information such as its own address or ID, and the coordinate value of the mobile terminal is calculated by the server; if in the positioning system centered on the mobile terminal, the mobile terminal receives the last time after 5 seconds a wireless signal sent by the infrastructure Locator, and calculating coordinate values of the mobile terminal according to the information about the infrastructure Locator;
- the acquisition module 2002 cannot obtain the self speed value V and the duration is greater than the third delay time T sw3 700 milliseconds
- the adjustment module 2003 enters the fixed frequency positioning mode, according to the fixed time interval T fix 2 seconds, the positioning module 2004 is triggered to perform a positioning operation every 2 seconds.
- the adjustment module 2003 switches between the variable frequency positioning mode, the low power mode and the fixed frequency positioning mode according to the condition of obtaining the own speed value V until the positioning function is turned off.
- the device in the foregoing embodiments may be a mobile terminal, or any other device that can use the positioning method in the present invention, which is not limited herein.
- the device in the example is described.
- the following describes the mobile terminal in the embodiment of the present invention from the perspective of hardware processing.
- another embodiment of the mobile terminal 2200 in the embodiment of the present invention includes: an input device 2201.
- the device 2202, the processor 2203, and the memory 2204 (wherein the number of processors 2203 in the mobile terminal 2200 may be one or more, and one processor 2203 in FIG. 22 is taken as an example).
- the input device 2201, the output device 2202, the processor 2203, and the memory 2204 may be connected by a bus or other means, wherein FIG. 22 is exemplified by a bus connection.
- the mobile terminal further includes a speed measuring device for detecting a speed value of the self;
- the input device 2201 can obtain its own speed value from the speed measuring device according to the instruction of the processor 2203, and can also receive the parameter input by the user;
- the output device 2202 can display the positioning effect to the user
- the processor 2203 is configured to perform the following steps by: invoking an operation instruction stored in the memory 2204: determining a desired travel L, which is an expected value of the mobile terminal moving path between two adjacent positioning;
- the deviation is less than the specified threshold; Performing positioning according to the adjusted positioning frequency;
- the processor 2203 when the processor 2203 performs the step of adjusting the positioning frequency according to the expected travel L and the self speed value V, the following steps are specifically performed:
- the second positioning operation is triggered at the second positioning time t.
- the processor 2203 when the processor 2203 performs the step of acquiring the second positioning time t of the mobile terminal according to the expected travel L and the self speed value v, the following steps are specifically performed. :
- the interval time T L / v, that is, the interval time T is equal to the ratio of the expected travel L to the self speed value V; determining that the second positioning time t of the mobile terminal is the current time determined by the mobile terminal and the The sum of the time intervals T;
- the processor 2203 when the processor 2203 performs the step of adjusting the positioning frequency according to the expected travel L and the self speed value V, the following steps are specifically performed:
- the processor 2203 when the processor 2203 performs the step of determining the expected trip L, the following steps are specifically performed:
- the minimum closed path length C is not greater than 4R, it is determined that the desired stroke L has a value range of 2R ⁇ L ⁇ (d/2), and the d is a minimum closed path length greater than 4R;
- the processor 2203 performs the step of determining a desired trip L In time, the following steps are performed:
- the processor 2203 when the processor 2203 performs the step of adjusting the positioning frequency according to the expected travel L and the self speed value V, the following steps are specifically performed:
- the mobile terminal adjusts the positioning frequency according to the expected stroke L and the self speed value V;
- the positioning frequency is adjusted to 0;
- the processor 2203 is further configured to perform the following steps before performing the step of acquiring the self speed value V:
- the processor 2203 is further configured to: when the self speed value V is not obtained, adjust the positioning frequency to a preset fixed positioning frequency.
- the mobile terminal in the embodiment of the present invention has been described above. In practical applications, the mobile terminal can be in various different forms, and each module in the mobile terminal can be implemented by software or by hardware, except The division of the above-mentioned modules and units may be implemented in another manner. For example, a plurality of units or modules may be combined or integrated into another system, and the mobile terminal in the embodiment of the present invention may be combined with several different application scenarios. Description:
- the mobile terminal uses the wireless positioning mode and is located in the network-centric wireless positioning system
- the mobile terminal describes the application scenario of the wireless tag:
- FIG. 23 is a schematic structural diagram of a wireless tag, which is integrated with an acceleration sensor 2301 as a mobile terminal speed source, and a micro control unit 2302 for controlling the mobile terminal to switch and trigger positioning in multiple positioning modes.
- Control Unit MCU
- RF module 2303 for transmitting wireless signals for positioning, and also has matching power and management circuits, buttons and other functional units;
- a speed monitoring module 23021, a working mode decision control module 23022, a positioning function starting trigger module 23023, and other supporting signal processing modules, a speed estimation module, a button detection, a parameter configuration, and the like can be formed by software, except for completion.
- Signal processing, speed In addition to the calculation and control decision function, the button action can also be detected to achieve wireless positioning and parameter configuration switching;
- the speed monitoring module 23021 can acquire the information of the acceleration sensor 2301, and after processing, extract the own speed value;
- the working mode decision control module 23022 can select the working mode from the startup mode, the low power mode, the variable frequency positioning mode, and the fixed frequency positioning mode according to the condition of the speed value acquired by the speed monitoring module 23021.
- the positioning function start trigger module 23023 can control the radio frequency module 2303 to transmit a wireless signal for positioning according to the working mode transmission control command selected by the working mode decision control module 23022.
- the radio frequency module 2303 performs a positioning operation according to the control command sent by the positioning function start trigger module 23023.
- the radio technology of the radio frequency module 2303 can select Bluetooth Low Energy (BLE), and the Locator is arranged to receive the BLE signal. ;
- Parameter configuration is required before wireless positioning, and there are various parameter configuration schemes.
- the wireless tag is powered on into the parameter configuration mode by pressing a button, and the wireless module is in a connectable state as a slave device.
- the wireless tag is switched in the broadcast broadcast mode by the button to realize wireless positioning;
- the second solution is to reserve the USB port in the wireless tag, and perform parameter configuration and software upgrade through the wired connection.
- the working mode decision control module 23022 controls the wireless terminal to first enter the startup mode, and the working mode decision control module 23022 sends a command to the radio frequency module 2303 to enable the radio frequency module 2303 to broadcast a data packet for the first time. Positioning.
- the acceleration sensor 2301 begins to collect the acceleration signal and transmit it to the MCU 2302.
- the speed monitoring module 23021 in the MCU 2302 may include a signal processing module and a speed estimation module.
- the specific process of obtaining the speed value may be: First, the signal processing module performs pre-processing such as filtering and denoising the original acceleration signal, and transmits the processing result. To the speed estimation module, the speed estimation module estimates the current speed based on the received acceleration signal.
- the speed estimation module can output two pieces of information to the speed monitoring module 23021. , one is the sign information to achieve speed estimation, and the other is to estimate The current speed value obtained.
- the speed estimation failure flag information is sent to the speed monitoring module 23021, and the speed monitoring module 23021 determines the speed estimation failure time and the delay time converted into each mode (for example, determining whether to enter the variable respectively) a frequency positioning mode, a first delay time of the low power mode and the fixed frequency positioning mode, a relationship between the second delay time and the third delay time, and notifying the working mode decision control module 23022, the working mode decision control module 23022
- the result obtained by the speed monitoring module 23021 (the current speed is not obtained) is determined to switch to the fixed frequency positioning mode to the external broadcast signal or continue to remain in the fixed frequency positioning mode, and notify the radio frequency module 2303 to operate in the state;
- the speed estimation module estimates the current speed
- the speed estimation success flag information and the estimated current speed value are simultaneously sent to the speed monitoring module 23021
- the speed monitoring module 23021 analyzes the current speed value change, and notifies the working mode decision control module 23022 of the analysis result.
- the decision control module determines whether to enter the low power mode, the variable frequency positioning mode, or the original state according to the speed monitoring result, and the specific process is processed according to the flow of the positioning method shown in FIG.
- the radio tag RF module 2303 can be selected from a variety of optional BLE single mode chips, for example
- the company's integrated enhanced 8051 MCU Soc chip CC2540 If more hardware support and data processing requirements are not required, the functions of the speed monitoring module 23021, the working mode decision control module 23022, and the positioning function start trigger module 23023 in the above MCU 2302 can be integrated into the BLE chip, and the acceleration sensor is directly connected.
- the BLE chip reduce costs and simplify hardware and software design; of course, if the BLE chip resources can not meet the more peripheral support and data processing services required by the application, you can also choose to use the structure shown in Figure 23, the external MCU as the master
- the unit is connected to an accelerometer, BLE chip and other peripherals.
- the mobile terminal in the present invention may include any mobile device having a speed measurement and a wireless broadcast function, and the specific form thereof is not limited.
- the mobile terminal may be a vehicle or a positioning device mounted on the vehicle. The device is not limited herein.
- the mobile terminal is used as a vehicle for driving in an indoor environment (for example, a vehicle in a closed parking lot, a work vehicle in a factory building, etc.), and a vehicle traveling in an indoor environment is described as another application scenario of the mobile terminal:
- Figure 24 is a schematic diagram of the positioning system of the vehicle, which may include a speed measuring module. 2401, a wireless positioning module 2402, further comprising a power supply system 2403 and an optional control module 2404 and a display module 2405;
- the speed measuring module 2401 is responsible for measuring the traveling speed of the vehicle, and transmitting the measurement result to the wireless positioning module 2402;
- the wireless positioning module 2402 dynamically adjusts the working mode of the wireless positioning according to the output result of the speed measuring module 2401;
- the control module 2404 is configured to enable the user to control the switching and restarting of the wireless positioning module 2402.
- the display module 2405 is configured to display the working state of the wireless positioning module 2402, including the wireless positioning module 2402 power switch indication, and the wireless positioning module 2402 to broadcast the indication;
- the power supply system 2403 provides power for the above four types of functional modules.
- the power supply mode can be flexibly selected according to specific conditions, and different power sources can be used for separate power supply or a single power supply for centralized power supply;
- Speed measuring module 2401 Most vehicles have instruments that measure the speed of the vehicle. For vehicles that do not have a vehicle speed measuring device, vehicle speed measuring sensors, such as photoelectric, magnetoelectric, Hall-type, and other vehicle speed sensors, can be installed in appropriate positions when deploying the positioning system, and can be flexibly selected according to cost and performance requirements;
- vehicle speed measuring sensors such as photoelectric, magnetoelectric, Hall-type, and other vehicle speed sensors
- FIG. 25 is a schematic structural diagram of an optional wireless positioning module, which mainly includes an MCU2501, a radio frequency circuit 2502, a power input interface 2503, a control signal input interface 2504, a speed signal input interface 2505, and a status signal output interface 2506.
- MCU2501 is responsible for vehicle speed signal processing analysis and wireless positioning working mode dynamic control; RF circuit 2502 broadcasts BLE wireless signal according to the instruction issued by MCU2501; power input interface 2503 is used for external power signal input, and the voltage and current are adjusted and matched by the interface.
- the power signal input interface 2504 is configured to receive a control signal for powering up and down and restarting the wireless positioning module from the outside;
- the speed signal input interface 2505 is configured to receive a vehicle speed signal from the outside, and after the electrical parameters are matched by the conditioning circuit Input to the I/O port;
- the status signal output interface 2506 is used to output two status indication signals of the wireless positioning module, and one signal provides the wireless positioning module power supply
- the off signal provides a wireless signal broadcast positioning indication, that is, the wireless signal outputs a change every time the data packet is broadcast.
- Control module 2404 It can be a button or switch arranged on the dashboard of the vehicle, or it can be selected by touch screen. In the daily use of the vehicle, it may be necessary to use the indoor positioning function, or it may not be used temporarily.
- the speed measurement function is usually the function that the vehicle must always have. Therefore, it is necessary to separately set the interface for controlling the power switch of the wireless positioning module 2402, through the control button or switch. Controls the start and stop of the wireless positioning function.
- the reset button or switch is for restarting when the wireless positioning module 2404 program runs out;
- Display module 2405 The display module provides two directions of the wireless positioning module 2402 power switch and the wireless broadcast status.
- the wireless positioning module 2402 provides a broadcast indication every time a data packet is broadcast.
- the display module 2405 is flexible and can be either a display or a light.
- Power supply module 2403 Some vehicles have their own power supply, which can be connected to each module to supply power.
- the wireless positioning module 2402 can be switched to a connectable peripheral state by a control button, a smart terminal APP (for example, a mobile phone) for parameter configuration is developed, an APP is opened, and the intelligent terminal Bluetooth module is connected to the wireless positioning module 2402, and Parameters such as desired travel, minimum interval time, fixed interval time, and delay time are stored in the wireless positioning module 2402.
- the wireless positioning module 2402 is switched back to the broadcast state through the control button (Broadcasts can also design the data port configured by the parameter in the control module, connect to the port through the PC, and configure the wireless positioning module 2402 by using the PC software. .
- the wireless positioning module 2402 is powered off separately by the Power Off switch of the control module 2404 to reduce system power consumption.
- the wireless positioning module 2402 When the user uses the positioning function, the wireless positioning module 2402 is activated by Power On. After the wireless positioning module 2402 is powered on, it firstly detects whether the speed measuring module 2401 sends a speed signal and analyzes the speed change. The entire positioning process always detects and analyzes the speed signal, and controls the working mode of the wireless positioning module 2402 according to the detection analysis result; The data packet used for the initial positioning is received by the surrounding Locator device to complete the initial positioning.
- the wireless positioning module 2402 does not receive the speed signal sent by the speed measuring module 2401, and continuously When the duration of the received speed signal is greater than the third delay time, the wireless positioning module works in the fixed frequency positioning mode, and the time interval of the adjacent two broadcasts is a fixed time interval T fix ;
- the wireless positioning module 2402 If the wireless positioning module 2402 receives the speed signal sent by the speed measuring module 2401, but the speed value is equal to zero, and the speed value is continuously equal to zero for a time greater than the second delay time, the wireless positioning module 2402 stops the data packet broadcast and enters the low power mode. ;
- t ( i +1) t ( i ) + max(T (i) , T min ), where t( i+1 ) is the next broadcast time, which is the last broadcast time, and D is the calculated interval time.
- maxCTw/I ⁇ n) means taking 1>) and the larger value;
- the wireless positioning module 2402 remains unchanged: 1) The speed signal received by the wireless positioning module when broadcasting the data packet is not zero, but the duration is less than the first delay time; 2) the wireless positioning module The speed signal received when broadcasting the data packet is zero, but the duration is less than the second delay time; 3) The wireless positioning module does not receive the speed signal when broadcasting the data packet, but the duration is less than the third delay time.
- the above two application scenarios are all in a network-centric wireless positioning system, and the mobile terminal can also be applied to a wireless positioning system centered on a mobile terminal.
- a wireless signal is periodically broadcast by an infrastructure Locator, and a mobile terminal receives a wireless signal for positioning calculation.
- Typical application scenarios include: 1. Receiving wireless signals by mobile terminals such as smart phones and tablet computers for positioning calculation and position display, so that users know their location; 2. The mobile terminal performs positioning calculation and controls its own running status according to the positioning result. For example, robots automatically navigate.
- the system mainly includes Locator devices and smartphones. Depending on the system architecture, related devices such as servers can also be included.
- Locator device requires Locator devices to broadcast wireless signals at fixed intervals, wireless technology still Let BLE be used as an example. At this point, Locator needs to work in Broadcast mode.
- the Locator broadcast packet contains the Locator device address (or ID, coordinates), current broadcast frequency, and other parameters required for positioning. It is usually necessary to deploy multiple Locator devices to cover the entire positioning area (Locator can be flexibly deployed in indoor ceilings, walls, etc.).
- the mobile terminal receives the data packet broadcast by the peripheral Locator device periodically, and extracts the current broadcast frequency and related information used for positioning calculation, such as device address (or ID, coordinates) and wireless signal measurement value (such as SSL AOA, etc.). ), using this information to perform positioning calculations to obtain positioning coordinates.
- the mobile terminal can be a smart device such as a smart phone or a tablet computer, and the device has a display screen, which can display the indoor map and the location of the mobile terminal for user positioning and navigation. It can also be a mechanical device such as a robot that uses the positioning coordinates to control the operating state of the device for implementing a specific application (such as autonomous navigation).
- FIG. 26 is a schematic diagram of another structure of a mobile terminal.
- the mobile terminal mainly includes: a wireless signal receiving and measuring module 2601, a speed measuring module 2602, an arithmetic module 2603, and a power supply module 2604. If the mobile terminal belongs to a user positioning navigation device such as a smart phone, The display module 2605 can also be included, and if it belongs to a device such as a navigation robot, the execution module 2606 can also be included.
- the wireless signal receiving measurement module 2601 is responsible for receiving the data packet broadcast by the Locator device, extracting the current broadcast frequency contained therein and the related information used for the positioning calculation described above, and transmitting the positioning calculation related information to the arithmetic module 2603.
- the wireless signal receiving measurement module 2601 can use different wireless technologies, including BLE, WiFi, etc. If BLE technology is used, the module needs to work in Observer mode.
- the speed measuring module 2602 is used to measure the traveling speed of the mobile terminal.
- speed measurement methods available for mobile terminals, such as smartphone-type devices for user positioning and navigation, which can be measured by built-in acceleration sensors.
- mechanical devices such as robots, there are various types of photoelectric devices.
- Speed sensor is available.
- the mobile terminal itself may not include the speed measuring module 2602.
- the mobile terminal can be connected by a wireless connection such as Bluetooth through a portable speed measuring device or other speed measuring device. The mobile terminal transmits the speed measurement data to the mobile terminal in real time.
- the operation module 2603 is configured to receive the output information of the wireless signal receiving measurement module 2601 and the speed measuring module 2602, and firstly, according to the correlation calculation used by the positioning calculation output by the wireless signal receiving measurement module 2601 The information calculates the positioning coordinates, and outputs the positioning result to the display module 2605, and performs the working mode control decision according to the speed information output by the speed measuring module 2602.
- the display/execution module 2605 receives the positioning information output by the arithmetic module 2603, implements the mobile terminal position display or performs related actions based on the positioning information.
- the power supply module 2604 is configured to provide power supply for the above modules.
- the power supply mode may be that the power is separately supplied by using multiple power sources, or the power may be centralized by using one power source.
- FIG. 27 a schematic diagram of different types of mobile terminals is shown in FIG. 27 (a) for indicating A schematic diagram of a smart phone, which may include a touch screen, an acceleration sensor, an arithmetic module, a wireless signal receiving measurement module, a power supply system, and a map data storage module, and FIG. 27(b) is used to represent a robot.
- the structure diagram may include a servo structure, a speed measuring device, an arithmetic module, a wireless signal receiving and measuring module, a power supply system, and a map data storage module.
- the parameters that need to be configured include: Expected travel, delay time.
- the configuration parameters can be input through the touch screen.
- the indoor positioning APP When the user uses the positioning function, activate the indoor positioning APP or open the positioning function through the touch screen. After the completion of the opening, 1) firstly detect whether the speed measuring module sends the speed signal and analyze the speed change. The entire positioning process always detects and analyzes the speed signal, and controls the working mode of the mobile terminal online according to the detection analysis result; 2) using the BLE device received from the Locator The signal completes the initial positioning calculation. If there is a screen, the map and location are displayed.
- the mobile terminal If the mobile terminal does not detect the speed signal, and the continuous speed signal is not received for longer than the conversion time, the mobile terminal operates in a fixed frequency positioning mode. In this mode, the mobile terminal receives the BLE signal broadcasted by the Locator period every time. Complete a positioning calculation and send the positioning result to the display/execution module; If the mobile terminal detects the speed signal, but the speed value is equal to zero, and the time when the speed value is continuously equal to zero is greater than the conversion time, the mobile terminal stops receiving the BLE signal and the positioning calculation, thereby reducing the power consumption of the mobile terminal. If possible, let the wireless signal receiving measurement module go to sleep to further reduce power consumption.
- the low power mode reached by the mobile terminal can be flexibly defined according to actual conditions.
- the disclosed systems, devices, and methods may be implemented in other ways.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
- the mutual coupling or direct connection or communication connection shown or discussed may be an indirect engagement or communication connection through some interface, device or unit, and may be in electrical, mechanical or other form.
- the components displayed by the unit may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solution of the embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on this understanding, this issue
- the technical solution of the present invention may be embodied in the form of a software product in the form of a software product, or a part of the technical solution, which is stored in a storage medium and includes a plurality of instructions.
- a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the steps of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Telephone Function (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
- Navigation (AREA)
Abstract
本发明实施例公开了一种定位方法及移动终端,用于提高轨迹拟合精度,消除轨迹误判现象,改善定位展现效果且自动设置适合的定位频率。本发明实施例方法包括:移动终端先确定期望行程L,该期望行程为相邻两次定位之间移动终端移动路程的期望值,再获取自身速度值v,然后根据该期望行程L和自身速度值v调整定位频率,使得相邻两次定位之间移动终端移动的路程与期望行程L的偏差小于指定阈值,按照调整后的定位频率进行定位。
Description
一种定位方法、 装置及移动终端 技术领域
本发明涉及通信领域, 尤其涉及一种定位方法、 装置及移动终端。
背景技术
定位是短距离无线技术的主要应用之一。紫蜂 ZigBee、超宽带(Ultra Wide Band , UWB )、 超声波 Ultrasonic , 无线射频识别设备 ( adio Frequency Identification Devices , RFID )等无线定位技术已经研究多年, 市场上已有相 关成熟产品, 广泛应用在人员定位、 资产追踪、 车库管理、 室内导航、 物流管 理、 生产调度等诸多领域。 近年来, 业界又掀起了 BLE、 WiFi等新型无线定 位技术的研究热潮, 特别在室内定位和 LBS领域具有巨大市场需求和商业价 值。定位技术用于多样化工程实际,经常显现出各种技术问题。除定位精度外, 定位展现和轨迹拟合效果也会对实际应用和用户体验产生强烈影响,尤其是对 人员定位 (井下、 变电站、 工厂车间等)、 资产追踪、 生产调度等监测管理和安 全防护类应用, 更是如此。 因此, 面向目标运动和场景复杂多变的定位应用, 如何改善其定位展现效果和轨迹拟合效果,提高产品适应多样化定位应用的能 力, 实现用户体验和产品竟争力的提升, 成为无线定位产品和技术研发工作者 的关注焦点。
现有的无线定位产品(例如无线标签)在定位时以固定频率广播无线信号 (例如常见频率 1Ηζ), 用户可通过空中升级等方式设置无线广播频率值。 无线 标签广播频率可视为系统定位频率或定位刷新频率,用户在显示终端所见结果 就是无线标签按此频率每次广播无线信号时的定位位置。 为延长电池工作寿 命,有些新产品在标签内集成加速度传感器来检测标签静止和运动,使标签在 静止时能够休眠, 在运动时按设定频率广播信号, 进行无线定位。 例如, 一种 车载定位装置通过定位载体的速度来判断车辆是处于行驶状态或停止状态,根 据车辆的不同状态, 为定位装置发送定位报告设置了两种时间间隔,在行驶和 停止状态使用不同时间间隔, 但在每种状态下所用时间间隔是固定的。
但是釆用固定广播频率的方式来进行定位, 在需要拟合目标行进轨迹、分 析历史到达位置时, 容易导致行进轨迹的误判: 在定位环境几何特征比较复杂
的场合, 目标行进速度过快时, 会引起相邻两次定位时目标位置距离加大, 加 上存在定位误差, 容易导致各时刻定位位置过于发散而引起行进轨迹的误判。 特别是对因操作规程、作业管理、安全问题而对行进轨迹特别敏感的定位应用, 轨迹误判会引起意想不到的后果。如图 1所示,轨迹 101为移动终端实际轨迹, 但由于四个定位位置点间隔距离过大, 会导致误判轨迹为图示轨迹 102。 发明内容
本发明实施例提供了一种定位方法、装置及移动终端, 用于提高轨迹拟合 精度, 消除轨迹误判现象。
本发明实施例第一方面提供了一种定位方法, 包括:
移动终端确定期望行程 L,所述期望行程为相邻两次定位之间所述移动终 端移动路程的期望值;
所述移动终端获取自身速度值 V;
所述移动终端根据所述期望行程 L与所述自身速度值 V调整定位频率,使 得所述移动终端根据调整后的定位频率进行的相邻两次定位之间所述移动终 端移动的路程与所述期望行程 L的偏差小于指定阔值;
所述移动终端按照所述调整后的定位频率进行定位。
结合本发明实施例的第一方面,本发明实施例第一方面的第一种实现方式 中,所述移动终端根据所述期望行程 L与所述自身速度值 V调整定位频率具体 包括:
在触发第一次定位操作时,所述移动终端根据所述期望行程 L与所述自身 速度值 v, 获取所述移动终端的第二次定位时间 t;
所述移动终端按照所述调整后的定位频率进行定位具体包括:
所述移动终端在所述第二次定位时间 t时触发第二次定位操作。
结合本发明实施例第一方面的第一种实现方式,本发明实施例第一方面的 第二种实现方式中, 所述移动终端根据所述期望行程 L与所述自身速度值 v, 获取所述移动终端的第二次定位时间 t具体包括:
所述移动终端按照如下公式获取间隔时间 T:
T = L/v, 即间隔时间 T等于所述期望行程 L与所述自身速度值 V的比值;
所述移动终端的第二次定位时间 t为所述移动终端确定的当前时刻与所述 时间间隔 T的和值。
结合本发明实施例第一方面的第一种实现方式,本发明实施例第一方面的 第三种实现方式中, 所述移动终端根据所述期望行程 L 与所述自身速度值 V 调整定位频率具体包括:
所述移动终端以触发第一次定位操作的时间点为时间起点,在时间上对所 述自身速度值 V积分, 获取所述移动终端移动的路程 L';
所述移动终端根据所述移动的路程 L'与所述期望行程 L调整定位频率。 结合本发明实施例的第一方面至第一方面的第三种实现方式中任一种实 现方式, 本发明实施例第一方面的第四种实现方式中, 所述移动终端确定期望 行程 L具体包括:
所述移动终端获取定位误差 R和定位场景中围绕所有不可达区域的闭合 路径长度;
当最小闭合路径长度 C大于 4R时,所述移动终端确定期望行程 L的取值 范围为 2R < L < (C/2);
当最小闭合路径长度 C不大于 4R时,所述移动终端确定期望行程 L的取 值范围为 2R < L < (d/2), 所述 d为大于 4R的最小闭合路径长度;
所述移动终端接收用户在所述期望行程 L 的取值范围中选取的期望行程
L。
结合本发明实施例的第一方面至第一方面的第三种实现方式中任一种实 现方式, 本发明实施例第一方面的第五种实现方式中, 所述移动终端确定期望 行程 L具体包括:
所述移动终端确定当前定位场景;
所述移动终端根据预设的定位场景与期望行程的对应关系,确定所述当前 定位场景对应的所述期望行程 L。
结合本发明实施例的第一方面至第一方面的第五种实现方式中任一种实 现方式, 本发明实施例第一方面的第六种实现方式中, 所述移动终端根据所述 期望行程 L与所述自身速度值 V调整定位频率具体包括:
当所述自身速度值 V不等于 0时,所述移动终端根据所述期望行程 L与所
述自身速度值 V调整定位频率;
所述方法还包括:
当所述自身速度值等于 0时, 所述移动终端调整定位频率为 0。
结合本发明实施例的第一方面至第一方面的第六种实现方式中任一种实 现方式, 本发明实施例第一方面的第七种实现方式中, 所述移动终端获取自身 速度值 V的步骤之前还包括:
所述移动终端触发一次定位操作。
结合本发明实施例的第一方面至第一方面的第七种实现方式中任一种实 现方式, 本发明实施例第一方面的第八种实现方式中, 所述方法还包括:
当所述移动终端获取不到所述自身速度值 V时,所述移动终端调整定位频 率为预置固定定位频率。
本发明实施例第二方面提供了一种装置, 包括:
确定模块, 用于确定期望行程 L, 所述期望行程为相邻两次定位之间所述 装置移动路程的期望值;
获取模块, 用于获取自身速度值 V;
调整模块,用于根据所述确定模块确定的期望行程 L与所述获取模块获取 的自身速度值 V调整定位频率,使得定位模块根据调整后的定位频率进行的相 邻两次定位之间所述装置移动的路程与所述期望行程 L的偏差小于指定阔值; 定位模块, 用于按照所述调整模块调整后的定位频率进行定位。
结合本发明实施例的第二方面,本发明实施例第二方面的第一种实现方式 中, 所述调整模块具体用于, 在触发第一次定位操作时, 根据所述期望行程 L 与所述自身速度值 v, 获取第二次定位时间 t;
所述定位模块具体用于,在所述第二次定位时间 t时触发第二次定位操作。 结合本发明实施例第二方面的第一种实现方式,本发明实施例第二方面的 第二种实现方式中, 所述调整模块具体包括:
第一获取单元, 用于按照如下公式获取间隔时间 T:
T = L/v, 即间隔时间 T等于所述期望行程 L与所述自身速度值 V的比值; 确定单元, 用于确定第二次定位时间 t为所述装置确定的当前时刻与所述 时间间隔 T的和值。
结合本发明实施例第二方面的第一种实现方式,本发明实施例第二方面的 第三种实现方式中, 所述调整模块具体包括:
第二获取单元, 用于以触发第一次定位操作的时间点为时间起点,在时间 上对所述自身速度值 V积分, 获取所述装置移动的路程 L';
调整单元, 用于根据所述移动的路程 L'与所述期望行程 L调整定位频率, 使得所述定位模块根据调整后的定位频率进行的相邻两次定位之间所述装置 移动的路程与所述期望行程 L的偏差小于指定阔值。
结合本发明实施例的第二方面至第二方面的第三种实现方式中任一种实 现方式,本发明实施例第二方面的第四种实现方式中,所述确定模块具体包括: 获取单元, 用于获取定位误差 R和定位场景中围绕所有不可达区域的闭 合路径长度;
第一确定单元, 用于当最小闭合路径长度 C大于 4R时, 确定期望行程 L 的取值范围为 2R < L < (C/2);
第二确定单元, 用于当最小闭合路径长度 C不大于 4R时, 确定期望行程 L的取值范围为 2R < L < (d/2), 所述 d为大于 4R的最小闭合路径长度; 接收单元, 用于接收用户在所述期望行程 L 的取值范围中选取的期望行 程!^。
结合本发明实施例的第二方面至第二方面的第三种实现方式中任一种实 现方式,本发明实施例第二方面的第五种实现方式中,所述确定模块具体包括: 第三确定单元, 用于确定当前定位场景;
第四确定单元, 用于根据预设的定位场景与期望行程的对应关系,确定所 述当前定位场景对应的所述期望行程 L。
结合本发明实施例的第二方面至第二方面的第五种实现方式中任一种实 现方式,本发明实施例第二方面的第六种实现方式中,所述调整模块具体用于, 当确定所述自身速度值 V不等于 0时, 根据所述确定模块确定的期望行程 L 与所述获取模块获取的自身速度值 V调整定位频率,使得所述定位模块根据调 整后的定位频率进行的相邻两次定位之间所述装置移动的路程与所述期望行 程 L的偏差小于指定阔值;
所述调整模块还用于, 当确定所述自身速度值等于 0时,调整定位频率为
0。
结合本发明实施例的第二方面至第二方面的第六种实现方式中任一种实 现方式, 本发明实施例第二方面的第七种实现方式中, 所述装置还包括: 启动模块, 用于触发一次定位操作。
结合本发明实施例的第二方面至第二方面的第七种实现方式中任一种实 现方式, 本发明实施例第二方面的第八种实现方式中, 所述调整模块还用于, 当确定获取不到所述自身速度值 V时, 调整定位频率为固定定位频率。
本发明实施例第三方面提供了一种移动终端, 包括: 存储器, 处理器, 输 入装置与输出装置; 其中, 所述存储器与所述处理器连接, 所述处理器与所述 输入装置连接, 所述处理器与所述输出装置连接;
通过调用所述存储器中存储的操作指令, 所述处理器用于执行如下步骤: 确定期望行程 L,所述期望行程为相邻两次定位之间所述移动终端移动路 程的期望值;
获取自身速度值 V;
根据所述期望行程 L与所述自身速度值 V调整定位频率,使得所述移动终 端根据调整后的定位频率进行的相邻两次定位之间所述移动终端移动的路程 与所述期望行程 L的偏差小于指定阔值;
按照所述调整后的定位频率进行定位。
结合本发明实施例的第三方面,本发明实施例第三方面的第一种实现方式 中,所述处理器执行所述根据所述期望行程 L与所述自身速度值 V调整定位频 率的步骤时, 具体执行如下步骤:
在触发第一次定位操作时, 根据所述期望行程 L与所述自身速度值 v, 获 取所述移动终端的第二次定位时间 t;
所述处理器执行所述按照所述调整后的定位频率进行定位的步骤时,具体 执行如下步骤:
在所述第二次定位时间 t时触发第二次定位操作。
结合本发明实施例第三方面的第一种实现方式,本发明实施例第三方面的 第二种实现方式中,所述处理器执行所述根据所述期望行程 L与所述自身速度 值 v, 获取所述移动终端的第二次定位时间 t的步骤时, 具体执行如下步骤:
按照如下公式获取间隔时间 T:
T = L/v, 即间隔时间 T等于所述期望行程 L与所述自身速度值 V的比值; 确定所述移动终端的第二次定位时间 t为所述移动终端确定的当前时刻与 所述时间间隔 T的和值。
结合本发明实施例第三方面的第一种实现方式,本发明实施例第三方面的 第三种实现方式中,所述处理器执行所述根据所述期望行程 L与所述自身速度 值 V调整定位频率的步骤时, 具体执行如下步骤:
以触发第一次定位操作的时间点为时间起点,在时间上对所述自身速度值 V积分, 获取所述移动终端移动的路程 L';
根据所述移动的路程 L'与所述期望行程 L调整定位频率。
结合本发明实施例的第三方面至第三方面的第三种实现方式中任一种实 现方式, 本发明实施例第三方面的第四种实现方式中, 所述处理器执行所述确 定期望行程 L的步骤时, 具体执行如下步骤:
获取定位误差 R和定位场景中围绕所有不可达区域的闭合路径长度; 当最小闭合路径长度 C大于 4R时,确定期望行程 L的取值范围为 2R < L
< (C/2);
当最小闭合路径长度 C不大于 4R时,确定期望行程 L的取值范围为 2R < L < (d/2), 所述 d为大于 4R的最小闭合路径长度;
接收用户在所述期望行程 L 的取值范围中选取的期望行程 L。
结合本发明实施例的第三方面至第三方面的第三种实现方式中任一种实 现方式, 本发明实施例第三方面的第五种实现方式中, 所述处理器执行所述确 定期望行程 L的步骤时, 具体执行如下步骤:
确定当前定位场景;
根据预设的定位场景与期望行程的对应关系,确定所述当前定位场景对应 的所述期望行程 L。
结合本发明实施例的第三方面至第三方面的第五种实现方式中任一种实 现方式, 本发明实施例第三方面的第六种实现方式中, 所述处理器执行所述根 据所述期望行程 L与所述自身速度值 V调整定位频率的步骤时,具体执行如下 步骤:
当所述自身速度值 V不等于 0时,所述移动终端根据所述期望行程 L与所 述自身速度值 V调整定位频率;
当所述自身速度值等于 0时, 调整定位频率为 0。
结合本发明实施例的第三方面至第三方面的第六种实现方式中任一种实 现方式, 本发明实施例第三方面的第七种实现方式中, 所述处理器在执行所述 获取自身速度值 V的步骤之前, 还用于执行如下步骤:
触发一次定位操作。
结合本发明实施例的第三方面至第三方面的第七种实现方式中任一种实 现方式, 本发明实施例第三方面的第八种实现方式中, 所述处理器还用于执行 如下步骤:
当获取不到所述自身速度值 V时, 调整定位频率为预置固定定位频率。 从以上技术方案可以看出, 本发明实施例具有以下优点: 本发明实施例中 移动终端先确定期望行程 L,该期望行程为相邻两次定位之间移动终端移动路 程的期望值, 再获取自身速度值 V, 然后根据该期望行程 L和自身速度值 V 调整定位频率,使得按照调整后的定位频率进行的相邻两次定位之间移动终端 移动的路程与期望行程 L的偏差小于指定阔值,按照该调整后的定位频率进行 相差不大, 提高了轨迹拟合精度, 消除了轨迹误判现象: 如图 2所示, 为期望 行程 L取不同值 dl, d2, d3, d4时的定位位置点的分布情况, 由于定位位置 点分布间隔总体均匀可控,通过期望行程 L合理取值, 能够支持复杂场景和快 速运动时目标行进轨迹的准确估计,减少了因场景复杂或移动速度过快引起行 进轨迹的误判概率。 附图说明
图 1为本发明实施例中一种定位轨迹展现效果示意图;
图 2为本发明实施例中另一种定位轨迹展现效果示意图;
图 3为本发明实施例中定位方法一个流程示意图;
图 4为本发明实施例中另一种定位轨迹展现效果示意图;
图 5为本发明实施例中另一种定位轨迹展现效果示意图;
图 6为本发明实施例中另一种定位轨迹展现效果示意图;
图 7为本发明实施例中定位方法另一个流程示意图;
图 8为本发明实施例中定位方法另一个流程示意图;
图 9为本发明实施例中移动路程运算过程一个等价示意图;
图 10为本发明实施例中不可达区域一个实例示意图;
图 11为本发明实施例中定位误差一个效果示意图;
图 12为本发明实施例中定位方法另一个流程示意图;
图 13为本发明实施例中定位方法另一个流程示意图;
图 14为本发明实施例中一个移动终端定位状态切换示意图;
图 15为本发明实施例中装置一个结构示意图;
图 16为本发明实施例中装置另一个结构示意图;
图 17为本发明实施例中装置另一个结构示意图;
图 18为本发明实施例中装置另一个结构示意图;
图 19为本发明实施例中装置另一个结构示意图;
图 20为本发明实施例中装置另一个结构示意图;
图 21为本发明实施例中装置另一个结构示意图;
图 22为本发明实施例中移动终端另一个结构示意图;
图 23为本发明实施例中无线标签一个结构示意图;
图 24为本发明实施例中车辆定位系统一个结构示意图;
图 25为本发明实施例中无线定位模块一个结构示意图;
图 26为本发明实施例中移动终端另一个结构示意图;
图 27为本发明实施例中移动终端另一个结构示意图。 具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域技术人员在没有做出创造性劳 动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
请参阅图 3, 本发明实施例中定位方法一个实施例包括:
301、 移动终端确定期望行程 L;
移动终端确定期望行程 L , 该期望行程 L为相邻两次定位之间该移动终 端移动路程的期望值。
可以理解的是,该移动终端确定期望行程 L的时机有艮多,例如可以为移 动终端功能上电开机时,也可以为移动终端准备开始定位时等,此处不作限定。
302、 移动终端获取自身速度值 V;
移动终端可以持续的对自身速度值进行监测,当有其他操作需要使用到自 身速度值时, 移动终端获取自身速度值 V。
303、 移动终端根据所述期望行程 L与所述自身速度值 V调整定位频率; 移动终端确定期望行程,并获取自身速度值 V后,根据期望行程 L与自身 速度值 V调整定位频率,使得该移动终端根据调整后的定位频率进行的相邻两 次定位之间移动终端移动的路程与期望行程 L 的偏差小于指定阔值。
需要说明的是, 定位频率虽然是一个表示特定时间内定位次数的概念,但 时间间隔, 而为了满足相邻两次定位之间移动终端移动的路程与期望行程 L 的偏差小于指定阔值,每次定位之后,都需要对该时间间隔或定位频率进行调 整, 至于具体调整定位频率确定下一次定位时间的时机, 则由具体的调整方式 来确定, 不同的调整方式, 调整定位频率时确定定位时间的时机也不同, 例如 有的方式可以在进行第一次定位时就可以调整定位频率确定第二次定位的定 位时机, 而有的方式, 则需要在第一次定位与第二次定位之间的这段时间中调 整定位频率, 直到将要进行第二次定位时才能准确的确定第二次定位的时机, 还可能有其他的方法, 此处不作限定。
其中, 该指定阔值可以根据该移动终端应用的场景事先设定, 或该移动终 端出厂前由厂家预置,还可以在每次定位前由用户进行自定义设置,此处不作 限定。
可以理解的是,该指定阔值为移动终端实际移动的路程与对该移动终端期 望行程 L的偏差值, 所以, 该指定阔值应远小于该期望行程 L。
304、 移动终端按照所述调整后的定位频率进行定位。
移动终端调整定位频率后,按照调整后的定位频率进行定位,每相邻两次
定位之间移动终端移动的路程接近于期望行程 L。
本发明实施例中移动终端先确定期望行程 L,该期望行程为相邻两次定位 之间移动终端移动路程的期望值, 再获取自身速度值 v, 然后根据该期望行程 L和自身速度值 V调整定位频率,使得按照调整后的定位频率进行的相邻两次 定位之间移动终端移动的路程与期望行程 L的偏差小于指定阔值,按照该调整 后的定位频率进行定位,这样便保证了相邻两次定位之间定位轨迹的平均长度 与该期望行程 L相差不大, 提高了轨迹拟合精度, 消除了轨迹误判现象: 如图 2所示, 为期望行程 L取不同值 dl, d2, d3, d4时的定位位置点的分布情况, 由于定位位置点分布间隔总体均匀可控,通过期望行程 L合理取值, 能够支持 复杂场景和快速运动时目标行进轨迹的准确估计,减少了因场景复杂或移动速 度过快引起行进轨迹的误判概率。
进一步的,现有技术中釆用固定频率进行定位还可能因为目标行进速度的 变化导致定位位置疏密不均, 影响定位展现效果和用户体验。 目标行进速度较 慢时, 会因定位误差产生定位位置混叠现象, 造成用户感官上的困惑。 终端移 动一段距离后减慢速度,会产生如图 4所示定位位置混叠现象; 当移动终端速 度由緩慢骤然变快时, 会出现如图 5所示不均匀的定位效果。
而釆用本发明实施例中的定位方法改善了定位展现效果: 如图 6所示, 移 动终端定位位置点总体上按照接近用户期望的间隔距离分布, 且分布更加均 匀, 分布效果受终端移动速度变化影响小。 针对运动形式多样的定位应用, 均 能起到改善定位展现效果的作用。且能自动设置适应的定位频率: 能根据用户 设定的期望行程 L与移动终端的自身速度 V自动计算出适合的定位频率,以保 证相邻两次定位之间定位轨迹的平均长度与该期望行程 L相差不大。
上面实施例中,移动终端根据期望行程 L与所述自身速度值 V调整定位频 率,在实际应用中,在满足使得相邻两次定位之间所述移动终端移动的路程与 所述期望行程 L的偏差小于指定阔值的条件下,调整定位频率的具体实现方式 有艮多种, 下面分别以其中两种为例进行说明:
一、 直接根据期望行程 L与自身速度值 V计算出下一次定位时间 t, 请参 阅图 7, 本发明实施例中定位方法另一个实施例包括:
701、 移动终端确定期望行程 L;
移动终端确定期望行程 L , 该期望行程 L为相邻两次定位之间该移动终 端移动路程的期望值。
可以理解的是,该移动终端确定期望行程 L的时机有艮多,例如可以为移 动终端功能上电开机时,也可以为移动终端准备开始定位时等,此处不作限定。
702、 移动终端获取自身速度值 V;
移动终端可以持续的对自身速度值进行监测,当有其他操作需要使用到自 身速度值时, 移动终端获取自身速度值 V。
703、 在触发第一次定位操作时, 所述移动终端根据所述期望行程 L与所 述自身速度值 v, 获取所述移动终端的第二次定位时间 t;
移动终端开始定位后,在触发第一次定位操作时,根据该期望行程 L与自 身速度值 v, 获取移动终端的第二次定位时间 t。
可以理解的是, 获取到第二次定位时间 t即确定了第一次定位与第二次定 位之间的定位频率, 并且按照该第二次定位时间 t触发第二次定位操作能使得 第一次定位操作与第二次定位操作之间所述移动终端移动的路程与所述期望 行程 L的偏差小于指定阔值。
需要说明的是,第一次与第二次并不用于限定这两次定位操作在移动终端 定位过程中的绝对时序,即该第一次定位操作并不表示其为移动终端开始定位 之后进行的首次定位操作,而仅仅用来表示第一次定位操作与第二次定位操作 之间的相对时序,第一次定位操作可以为移动终端开始定位后的任一次定位操 作, 而第二次定位操作即为该第一次定位操作之后, 与该第一次定位操作相邻 的下一次定位操作。
其中, 根据所述期望行程 L与所述自身速度值 v, 获取所述移动终端的第 二次定位时间 t的具体操作可以有很多种:
可选的, 可以使用如下步骤计算出第二次定位时间 t:
1、 移动终端按照如下公式获取间隔时间 T:
T = L/v, 即间隔时间 T等于所述期望行程 L与所述自身速度值 V的比值; 该间隔时间 T实际上表示的是相邻两次定位之间的时间间隔。
2、 该移动终端确定第二次定位时间 t为所述移动终端的当前时刻与所述 时间间隔 T的和值。
可以理解的是, 釆用这种方式调整定位频率,每次定位时都会获取当前的 自身速度值 v, 即该当前时刻为正在进行一次定位操作的时刻, 也为获取自身 速度值 V的时刻,而获取的该自身速度值 V的目的是为了计算出下一次的定位 时间。
在当前时刻正在进行第一次定位操作时, 获取当前时刻的自身速度值 v, 按照公式 T = L/v计算出进行第二次定位的间隔时间 T, 使用当前时刻加上该 间隔时间 Τ即为第二次定位时间 t, 则在第一次定位与第二次定位这两次定位 之间, 在间隔时间 T较短的情况下, V在时间 T内的变化不会很大, 则移动终 端移动的路程 S会约等于 v*T=L, 在到达时间 t进行了第二次的定位操作时, 又会获取自身速度值重新根据该期望行程 L与自身速度值 V计算出间隔时间, 得到下一次定位时间,如此,便实现了调整定位频率以保证相邻两次定位之间 所述移动终端移动的路程与所述期望行程 L的偏差小于指定阔值的目的。
可选的, 在釆用上述步骤计算第二次定位时间 t时, 可以考虑到获取速度 值 V的延时, 或者自身速度值 V在两次定位之间可能的变化情况,在计算得出 的第二次定位时间 t上进行偏差调整, 例如可以减去一定的偏差时间, 或者乘 以一定的权值等等, 此处不作限定。
704、 所述移动终端在所述第二次定位时间 t时触发第二次定位操作。 移动终端获取第二次定位时间 t后, 在所述第二次定位时间 t时触发第二 次定位操作, 由上述分析可知, 在第二次定位时间 t触发第二次定位操作可以 保证每相邻两次定位之间移动终端移动的路程接近于期望行程 L。
可选的, 在实际应用中, 在所述第二次定位时间 t时触发第二次定位操作 的具体实现方式有很多,并不需要严格的在计算出的间隔时间 T上加上当前时 刻得到下一次定位时间, 再在该下一次定位时间 t达到后定位, 例如在计算出 间隔时间 T后, 直接启动一个时间为 T的定时器, 当定时器时间 T达到后, 触发第二次的定位操作, 这种方式也可以包括在该在所述第二次定位时间 t时 触发第二次定位操作的范围之内,还可以有很多其他的具体实现方式, 此处不 做限定。
可选的, 移动终端计算出间隔时间 T后, 还可以先判断该间隔时间 T是 否大于最小间隔时间, 若小于该最小间隔时间, 则釆用该最小间隔时间作为与
第二次定位的间隔时间,若大于该最小间隔时间,则釆用间隔时间 T作为与第 二定位的间隔时间,这样可以防止因移动终端速度过快,而导致定位频率过高。
本发明实施例中,移动终端根据期望行程 L与自身速度值 V计算出第二次 定位时间 t, 在第二次定位时间 t时触发第二次定位操作, 使得相邻两次定位 之间所述移动终端移动的路程与所述期望行程 L的偏差小于指定阔值,通过每 次定位时获取到自身速度值 V的不同,使得每次定位的频率相应的变化, 消耗 极少的计算量, 即可以达到使两次定位间移动终端移动的路程与期望行程 L 相差不大的目的。
二、根据自身速度值 V获取所述移动终端的移动路程 L',根据该移动路程 L'与所述期望行程 L调整定位频率, 请参阅图 8, 本实施例中定位方法另一个 实施例包括:
801、 移动终端确定期望行程 L;
移动终端确定期望行程 L , 该期望行程 L为相邻两次定位之间该移动终 端移动路程的期望值。
可以理解的是,该移动终端确定期望行程 L的时机有艮多,例如可以为移 动终端功能上电开机时,也可以为移动终端准备开始定位时等,此处不作限定。
802、 移动终端获取自身速度值 V;
移动终端可以持续的对自身速度值进行监测,当有其他操作需要使用到自 身速度值时, 移动终端获取自身速度值 V。
803、 所述移动终端以触发第一次定位操作的时间点为时间起点, 在时间 上对所述自身速度值 V积分, 获取所述移动终端移动的路程 L';
移动终端开始定位后, 以触发第一次定位操作的时间点为时间起点,在时 间上对该自身速度值 V积分, 获取该移动终端移动的路程 L'。
由于速度(连续变化的速度)在一个时间段上的积分是这段时间内经过的 路程, 所以以触发第一次定位操作的时间点为时间起点, 在时间上对自身速度 值 V积分,即可得到该移动终端从触发第一次定位操作的时间点开始所移动的 路程 L,。
移动终端对该自身速度值 V在时间上积分,得到该移动终端移动的路程 L' 的具体过程可以如下:
假定第 i次定位时间为 , 移动终端高频率获取速度值, 例如每隔一个微 小时间段 获取一次瞬时速度 v,则从 f '时间开始,对移动终端的移动路程 J'进 行如下累加运算:
; 其中, 表示从 '时刻开始, 第 j次获取到的瞬时速度。 上式所示移动路 程运算过程可通过图 9等价表示,图 9(a)为相邻两次定位获取的移动终端速度, 每条竖线横坐标表示获取速度的时间, 竖线高度表示速度值,相邻两条竖线的 距离表示获取速度的时间间隔 ,相邻两条竖线组成竖条面积表示移动终端在 时间内走过的距离估计值。 因此, 从 '时刻开始到任意时间 f, 由 '和 时刻 对应的竖线、 时间坐标轴和速度包络线围起来的面积即为从 1'到 t时刻移动终 端走过路程的估计值, 该面积与图 9(b)中 f时刻的移动路程曲线值相对应。 随 着移动路程的不断累加, 直到 时刻 L'与期望行程 L的差异小于规定阔值时, 确定在 时刻进行下一次定位, 触发一次定位操作。
可以理解的是, 虽然上述运算过程为实际工程中使用的的将时间分成小 段, 分别计算出路程之后再累加的方式, 不是纯粹的使用数值进行积分运算, 但是运用的是积分的思想, 所以无论釆用的是纯粹数值的积分运算的方式,还 是运用积分的思想将时间段分为多个小段计算路程之后再累加的方式,都认为 是对该自身速度值 V在时间上积分这种方式。
可以理解的是,使用本实施例中方法调整定位频率时,移动终端可以以极 高的频率持续的获得自身速度值 ν, 再对该自身速度值 V在时间上进行积分, 得到移动终端移动的路程 L'。
可以理解的是,在积分得到移动终端移动的路程 L,后,考虑到获取延时或 误差等情况,还可以在该移动路程 L,的基础上进行一些偏差运算,再与期望行 程 L相比较, 此处不做限定。
804、 移动终端根据所述移动的路程 L'与所述期望行程 L调整定位频率; 移动终端获取到移动的路程 L'后, 根据所述移动的路程 L'与所述期望行 程 L调整定位频率,使得所述移动终端根据调整后的定位频率进行的相邻两次 定位之间所述移动终端移动的路程与所述期望行程 L的偏差小于指定阔值。
可以理解的是, 步骤 803中在时间上对所述自身速度值 V积分, 获取所述 移动终端移动的路程 L,为从触发第一次定位操作开始,到触发第二次定位操作 之间的一个连续持续的过程,随着时间的增加,移动的路程 L,也在不断的增加, 所以步骤 804中调整定位频率也为一个连续的过程,直到确定触发第二次定位 操作才结束,而确定触发第二次定位操作的条件就是该移动的路程 L,与期望行 程 L小于指定阔值。
调整定位频率的结果即为, 当移动终端确定移动的路程 L'与期望行程 L 小于指定阔值时,触发第二次定位操作, 然后移动终端以触发该第二次定位操 作的时间点为时间起点,在时间上对自身速度值 V积分,再次获取移动终端从 第二次定位操作开始, 到第三次定位操作之间移动的路程 L,, 如此循环。
其中, 该指定阔值可以根据该移动终端应用的场景事先设定, 或该移动终 端出厂前由厂家预置,还可以在每次定位前由用户进行自定义设置, 此处不作 限定。
可以理解的是,该指定阔值为移动终端实际移动的路程与对该移动终端期 望行程 L的偏差值, 所以, 该指定阔值应远小于该期望行程 L。
805、 移动终端按照所述调整后的定位频率进行定位。
移动终端调整定位频率后,按照调整后的定位频率进行定位,每相邻两次 定位之间移动终端移动的路程接近于期望行程 L。
步骤 804 中移动终端调整定位频率, 即确定了触发第二次定位操作的时 机, 步骤 804中移动终端确定触发第二次定位操作时, 步骤 805中, 移动终端 触发定位操作。
上面实施例中,移动终端通过积分获取移动的路程 L',根据移动的路程 L' 与期望行程 L调整定位频率, 这样使得得到的移动终端移动的路程更加精确, 能更准确的满足相邻两次定位之间所述移动终端移动的路程与所述期望行程 L的偏差小于指定阔值的条件。
上面对移动终端可以使用不同的方式来调整定位频率,使得相邻两次定位 之间所述移动终端移动的路程与所述期望行程 L 的偏差小于指定阔值进行了 描述, 进一步的, 在实际应用中, 移动终端也可以通过多种方式来确定期望行 程, 下面对移动终端确定期望行程 L的步骤进行具体描述:
可以理解的是,移动终端在各个不同的定位场景中确定期望行程 L可以由 用户手动设定, 也可以由移动终端根据定位场景自动选择:
一、 手动设定。
为了保证设定的期望行程 L满足最终显示的定位效果对移动轨迹不误判, 定位点不混叠等效果, 若为手动设定,移动终端可以根据不同的定位场景情况 给出不同的期望行程的取值范围, 供用户从中选取期望行程 L。
作为本发明实施例中定位方法的另一个实施例,确定期望行程 L的具体步 骤可以为:
1、 移动终端获取定位误差 R和定位场景中围绕所有不可达区域的闭合路 径长度。
可以理解的是, 一个定位场景中, 根据不可达区域的大小, 可以有很多不 同的闭合路径长度, 其中, 定位场景包括移动终端定位时所处的位置附近一定 范围的区域, 例如移动终端在仓库中进行定位, 则该定位场景可以确定为该仓 库; 移动终端在工厂中进行定位, 则该定位场景可以确定为该工厂等, 再如如 果在某个城市的道路上定位, 则该定位场景可以确定为该城市, 或者为包括该 道路与该道路周边一定范围的区域。对于定位场景中的具体情况,移动终端可 以从该定位场景对应的电子地图中获取。而不可达区域为定位场景中不可到达 的封闭区域, 例如从城市的一个地点到另一个地点, 此时定位场景为该城市, 则从一个地点到另一个地点之间的一些封闭的建筑即为不可达区域,需要绕过 这些不可达区域才能到达目的地, 而不能从这些不可达区域上直接穿行过去, 一个定位场景中不可达区域的大小可以有很多种,例如各个封闭的建筑的占地 面积不同。绕一个不可达区域一圈的路径长度即为该不可达区域对应的闭合路 径长度, 约为该不可达区域的周长, 如图 10所示为不可达区域与闭合路径长 度一个示例, 其中实线框环绕的为不可达区域, 环绕实线框的虚线框表示这个 不可达区域的闭合路径长度, 可以看出, 根据不可达区域的大小不同, 其对应 的闭合路径长度也不同,移动终端获取定位场景之后, 可以根据定位场景的地 图计算出所有的不可达区域的闭合路径长度, 同时,移动终端可以根据定位系 统相关资料获取定位误差 R, 如图 11为定位误差一个示例, 每次定位的误差 都可能在以定位点为中心, 半径为定位误差 R的范围内。
移动终端得到闭合路径长度和定位误差 R后, 根据闭合路径长度和定位 误差 R的不同关系, 可以确定不同的期望行程范围。
可以理解的是, 由于相邻两次定位都可能产生定位误差, 所以, 期望行程 L要大于 2R, 才能保证不产生混叠现象。
而在经过不可达区域时, 为了能清楚的判断移动终端的运动轨迹, 该移动 终端必须在经过在不可达区域期间进行一次定位,这样才能清楚的知道移动终 端是从该不可达区域的哪边绕过的,绕过不可达区域每一边的路径长度为闭合 路径长度的一半, 即期望行程 L要小于闭合路径长度的一半,才能确保不会产 生轨迹误判情况,进一步的,如果要在通过地图上每一个不可达区域都不产生 误判, 则需要使期望行程 L 小于所有闭合路径长度中最小闭合路径长度的一 半。
2、 当最小闭合路径长度 C大于 4R时, 移动终端确定期望行程 L的取值 范围为 2R < L < (C/2), 其中 C为该定位场景的所有闭合路径长度中最小的闭 合路径长度;
当所有闭合路径长度中最小闭合路径长度 C大于 4R时,移动终端确定期 望行程 L的取值范围为 2R < L < (C/2), 在这个范围内取值, 既能确保不产生 混叠现象, 也能确保在地图上任一个地方都不会产生轨迹误判。
然而, 在有些场景下, 最小闭合路径 C会不大于 4R, 此时不能同时满足 L大于 2R与 L小于 C/2的条件, 则根据应用场景以及对定位轨迹要求的不同 可以选择不同的取值范围, 如对不混叠要求更高, 则可以选择 L大于 2R, 而 若对轨迹不误判要求更高, 则可以选择 L小于 C/2。
如下为选择不混叠的一种情况。
3、 当最小闭合路径长度 C不大于 4R时, 移动终端确定期望行程 L的取 值范围为 2R < L < (Cl/2), 所述 C1为大于 4R的最小闭合路径长度。
由于最小闭合路径长度 C不大于 4R, 在需要保证 L大于 2R的情况下, 不能再保证 L小于 C/2, 则可以在闭合路径长度中选择比 4R大的最小路径长 度 Cl, 确定 L取值为 2R < L < (Cl/2), 这样虽然在经过闭合路径长度小于 C1 的不可达区域时可能会有轨迹误判的情况,但是能在整个定位过程中保证不混 叠, 并且能保证在经过闭合路径长度大于 C的不可达区域时对轨迹不误判。
在实际应用中, 在有些情况下, 例如一些危险区域, 即使会发生定位混叠 也一定要保证轨迹不误判, 这时可以确定期望行程 L的取值范围为 L < (C/2). 另外, 在有些定位场景中, 可能没有不可达区域, 即没有闭合路径自然也 就没有闭合路径长度, 此时, 只要满足期望行程 L大于 2R即可。
4、 移动终端接收用户在该期望行程 L 的取值范围内选取的期望行程!^。 移动终端确定期望行程 L的取值范围后,可以提供该用户在该范围内进行 选取, 用户可以在该范围内随机选取, 或根据自己的喜好, 或根据当前场景选 取一个适合的期望行程 L, 此处不做限定。
可以理解的是,上述期望行程 L的取值范围仅仅是考虑到不混叠以及使轨 迹不误判, 可以使得定位显示效果更好的取值范围, 在实际应用中, 该期望行 程也可以完全由用户指定, 而不受不可达区域闭合路径长度、定位误差等的限 制, 然而在这种情况下无法保证不出现定位位置混叠或轨迹误判现象的发生。
二、 自动选择。
自动选择也可以分为多种,一种可以为先由用户设定可能出现的各定位场 景中的期望行程,再在确定定位场景时进行匹配, 另一种则可以为确定定位场 景后,在后台根据上述手动选择过程中的方式确定期望行程 L的取值范围,然 后由移动终端在该取值范围内随机的选取一个期望行程 L 或按某预定的规则 自动的从该期望行程的取值范围内选取一个期望行程 L。
可选的,作为本发明实施例中定位方法的另一个实施例,移动终端可以先 确定各定位场景中可能出现的闭合路径长度与定位误差 R,然后参照上述手动 选择过程中的各情况以及各期望行程 L的取值范围,将各定位场景中可能出现 的选择项由用户预先进行设定。
移动终端进入不同的定位场景中时, 该移动终端可以确定当前定位场景, 自动调取对应定位场景的场景地图,计算出当前场景的闭合路径长度与定位误 差 R, 根据预设的定位场景与期望行程的对应关系, 确定所述当前定位场景对 应的预置期望行程, 将该预置期望行程作为期望行程 L, 该预置期望行程即为 用户预先针对该定位场景设定的期望行程。
例如, 若移动终端进入一个危险区域时, 载入该危险区域的地图, 该危险 区域的地图与预置的定位场景中的第一场景地图相匹配,移动终端调用预置的
该第一场景地图对应的预置期望行程 (例如 2米)作为该移动该终端在该危险 区域进行定位的期望行程; 若移动终端进入一个公园, 载入该公园的地图, 该 公园的地图与预置的定位场景中的第二场景地图相匹配,移动终端调用预置的 该第二场景地图对应的预置期望行程(例如 15米)作为该移动该终端在该公 园进行定位的期望行程。
可选的,作为本发明实施例中定位方法的另一个实施例,移动终端确定定 位场景,得到当前定位场景中期望行程的取值范围, 然后在该取值范围内随机 的, 或按照预先定义的规则选取一个期望行程 L。
上述各实施例分别对移动终端可以釆用多种不同的方式确定期望行程 L, 与可以釆用多种不同的方式调整定位频率,达到使相邻两次定位之间所述移动 终端移动的路程与所述期望行程 L的偏差小于指定阔值的目的进行描述,在实 际应用中, 移动终端还可以根据获取自身速度值 V 的不同情况进行不同的操 作, 请参阅图 12, 本发明实施例中定位方法另一个实施例包括:
本实施例中, 为避免赘述, 不再对移动终端调整定位频率以及确定期望行 程 L的各种方式进行描述,具体过程可以参见上述各实施例中描述的方法,上 述移动终端调整定位频率以及确定期望行程 L 的各种方式均可以应用在本实 施例中。
1201、 移动终端触发一次定位操作;
移动终端上电开机时或者开启定位功能准备开始定位时,触发一次定位操 作。
移动终端在进行定位时, 可以根据各种操作不同的目的,将各操作划分为 各种不同的工作模式。移动终端进行直接触发首次定位的操作, 可以被包括启 动模式中, 移动终端开启定位功能时, 直接进入启动模式, 在该启动模式中, 触发一次定位操作。这样是为了防止移动终端上电后因静止或其他原因使获取 到的速度值一直为 0的情况时, 自动进入其他的不触发定位操作的模式中, 而 导致在整个定位过程中由于没有触发定位操作而无法知道移动终端位置的情 况。
1202、 移动终端获取自身速度值 V;
移动终端可以持续的对自身速度值进行监测,当有其他操作需要使用到自
身速度值时, 移动终端获取自身速度值 V。
1203、 移动终端确定期望行程 L;
移动终端确定期望行程 L , 该期望行程 L为相邻两次定位之间该移动终 端移动路程的期望值。
1204、 当所述自身速度值 V不等于 0时, 所述移动终端根据所述期望行程
L与所述自身速度值 V调整定位频率,使得所述移动终端根据调整后的定位频 率进行的相邻两次定位之间所述移动终端移动的路程与所述期望行程 L 的偏 差小于指定阔值;
移动终端获取自身速度值后, 若自身速度值 V不等于 0, 则移动终端根据 所述期望行程 L与所述自身速度值 V调整定位频率,使得所述移动终端根据调 整后的定位频率进行的相邻两次定位之间所述移动终端移动的路程与所述期 望行程 L的偏差小于指定阔值。
可以理解的是,在定位过程中调整定位频率以满足相邻两次定位之间所述 移动终端移动的路程与所述期望行程 L的偏差小于指定阔值的目的,可以包括 在可变频率定位模式中, 当获取到的自身速度值 V不等于 0时,移动终端进入 可变频率定位模式, 在该可变频率定位模式中, 移动终端执行该步骤 1204。
而步骤 1203中确定期望行程 L可以在该进入该可变频率定位模式后执行, 也可以在其他时机,例如移动终端上电开机时或者开启定位功能准备开始定位 时执行, 此处不做限定。
1205、 当所述自身速度值等于 0时, 所述移动终端调整定位频率为 0; 当获取到是自身速度值等于 0时, 所述移动终端调整定位频率为 0。
步骤 1205的操作可以被包括进低功耗模式中, 当获取到的自身速度值为 0, 则表示此时移动终端处于静止状态, 定位位置不会发生改变, 如果继续釆 用一定频率进行定位,会浪费移动终端电能,且可能会造成定位点混叠的情况, 所以当获取到的自身速度值 V等于 0时,移动终端可以进入低功耗模式,在该 低功耗模式中,移动终端调整定位频率为 0,此时移动终端不会触发定位操作, 节省电能, 进入了低功耗状态。
1206、 当所述移动终端获取不到所述自身速度值 V时, 所述移动终端调整 定位频率为预置固定定位频率;
移动终端获取自身速度值时,可能会因为设备故障或速度丟失等原因而导 致获取不到该自身速度值 v, 当所述移动终端获取不到所述自身速度值 V时, 所述移动终端调整定位频率为预置固定定位频率, 定位频率固定, 即相邻两次 定位之间定位时间间隔固定, 此时移动终端会按照固定时间间隔!^触发定位 操作。
调整定位频率为预置固定定位频率可以被包括进固定频率定位模式中,移 动终端获取不到自身速度值 v, 则不能进入可变频率定位模式中釆用频率变化 的定位, 而又不能确定移动终端为静止状态, 所以需要调整定位频率为预置固 定定位频率,从而釆用固定时间间隔来触发定位操作。 当移动终端获取不到自 身速度值 V时, 进入固定频率定位模式, 在该固定频率定位模式中, 调整定位 频率为预置固定定位频率。
1207、 移动终端按照所述调整后的定位频率进行定位。
移动终端调整定位频率后, 按照调整后的定位频率进行定位。
需要说明的是, 步骤 1202中移动终端获取自身速度值 v, 在步骤 1201中 进入启动模式, 触发一次定位操作时, 移动终端会获取自身速度值 v, 以根据 获取自身速度值 V的情况判断后续进入哪个定位模式,而在进入了各个定位模 式之后,移动终端获取自身速度值 V的频率会根据各定位模式的需求来定, 例 如在可变频率定位模式中, 若釆用获取第二次定位时间的方法, 则移动终端会 在每次触发定位操作时获取自身速度值 V, 若釆用获取移动终端移动的路程的 方法, 则移动终端会在整个过程中以较高的频率持续的获取自身速度值 V; 在 低功耗模式中, 可以以一定的频率获取自身速度值 V, 也可以持续的对自身速 度值 V进行监测, 以便根据 V的情况转换定位模式; 在固定频率定位模式中, 会在每次触发定位操作时获取自身速度值 V。 除了在可变频率定位模式中, 获 取自身速度值 V会进行计算,在其他模式中, 获取自身速度值 V是为了判断是 否满足进入另外的定位模式的条件。
可以理解的是, 整个定位过程为一个连续的循环过程, 启动定位功能后, 移动终端进入启动模式,触发一次定位操作, 然后根据获取自身速度值的情况 在可变频率定位模式、 固定频率定位模式与低功耗模式之间连续转换, 该转换 可以一直持续到定位功能停止。
本发明实施例中, 移动终端开始定位时, 先进入启动模式进行首次定位, 这样可以防止移动终端上电后因静止或其他原因使获取到的速度值一直为 0 的情况中, 自动进入低功耗模式而导致无法知道移动终端位置的情况,再根据 获取速度值的情况进入其他模式。 当获取到的速度值不为 0时,移动终端进入 可变频率定位模式; 当获取到的速度值为 0时, 移动终端进入低功耗模式, 这 样便可以自动的在移动终端移动时进行定位,移动终端静止时停止定位并进入 低功耗状态, 可以更有效与合理的利用电能, 提高移动终端的续航时间; 当移 动终端获取不到自身速度值 V时,移动终端进入固定频率定位模式, 这样可以 防止因移动终端测速部件故障而导致不能定位的情况,使得移动终端的定位功 能更加可靠。
上面实施例中,移动终端根据获取自身速度值 V的情况,在不同的定位模 式之间切换, 在实际应用中, 移动终端得到获取自身速度值 V的情况, 进行定 位模式的切换前,可以先判断该自身速度值 V的持续时间是否达到了切换该定 位模式的延时时间,以防止出现误操作或避免因获取自身速度值波动而造成的 频繁切换现象。
可选的,移动终端获取自身速度值 V之前, 该移动终端还可以接收用户设 定的第一延时时间 Tswl, 第二延时时间 Tsw2, 第三延时时间 Tsw3;
该第一延时时间 Tswl为判定是否进入可变频率定位模式的延时时间; 当所述自身速度值 V不等于 0时,所述移动终端进入可变频率定位模式具 体可以为: 当所述自身速度值 V不等于 0, 且持续时间大于所述第一延时时间 Tswl时, 所述移动终端进入可变频率定位模式。
该第二延时时间 Tsw2为判定是否进入低功耗模式的延时时间;
当所述自身速度值等于 0时, 所述移动终端进入低功耗模式具体可以为: 当所述自身速度值等于 0, 且持续时间大于所述第二延时时间 Tsw2时, 所述移 动终端进入低功耗模式。
该第三延时时间 Tsw3为判定是否进入固定频率定位模式的延时时间; 当所述移动终端获取不到所述自身速度值 V时,所述移动终端进入固定频 率定位模式具体可以为: 当所述移动终端获取不到所述自身速度值 v, 且持续 时间大于所述第三延时时间 Tsw3时, 所述移动终端进入固定频率定位模式。
请参阅图 13, 本发明实施例中定位方法另一个实施例包括:
1301、 移动终端接收用户设定的第一延时时间 Tswl, 第二延时时间 Tsw2, 第三延时时间 Tsw3;
移动终端在开启定位功能前, 可以接收用户设定的第一延时时间 Tswl, 第 二延时时间 Tsw2, 第三延时时间 Tsw3。
1302、 移动终端触发一次定位操作;
1303、 移动终端获取自身速度值 V;
1304、 移动终端确定期望行程 L;
1305、 当所述自身速度值 V不等于 0, 且持续时间大于所述第一延时时间 Tswl时,所述移动终端根据所述期望行程 L与所述自身速度值 V调整定位频率, 使得所述移动终端根据调整后的定位频率进行的相邻两次定位之间所述移动 终端移动的路程与所述期望行程 L的偏差小于指定阔值;
1306、 当所述自身速度值等于 0, 且持续时间大于所述第二延时时间 Tsw2 时, 所述移动终端调整定位频率为 0。
1307、 当所述移动终端获取不到所述自身速度值 v, 且持续时间大于所述 第三延时时间 Tsw3时, 所述移动终端调整定位频率为预置固定定位频率;
1308、 移动终端按照所述调整后的定位频率进行定位。
除了按照自身速度值的不同调整定位频率前有了对持续时间的判断,其他 执行过程与图 12所示实施例类似, 此处不作赘述。
切换进每个定位模式之前都有了判断的延时时间,这样便可以有效的防止 误操作, 使得状态之间的切换更加稳定。
如图 14所示为一个移动终端定位状态切换示意图, 移动终端按照方框中 相应条件在椭圓所示的四个定位模式之间来回转移。
其中, 启动模式为移动终端在开启定位功能时, 强制触发一次定位操作; 可变频率定位模式为当确定自身速度值不为 0时,调整定位频率使得根据 调整后的定位频率进行的相邻两次定位之间该移动终端移动的路程与期望行 程 L的偏差小于指定阔值;
低功耗模式为当确定自身速度值为 0时, 调整定位频率为 0;
固定频率定位模式为当获取不到自身速度值时,调整定位频率为预置固定
定位频率。
可以理解的是, 作为一个特殊情况, 当移动终端进入启动模式, 触发一次 定位操作后, 若移动终端获取到速度值一直处于不稳定状态, 满足不了进入其 他任一个定位模式的延时时间, 则可以设定, 当在预置时间内没有得到稳定的 速度值进入可变频率定位模式,低功耗定位模式或固定频率定位模式中的任一 个定位模式时, 在该预置时间到达后, 可以直接进入固定频率定位模式, 然后 再按照各模式之间的转移规则根据自身速度值 V的情况进行相互转移。
上面实施例中,移动终端在各种条件满足时,会触发定位操作,进行定位, 在实际应用中,移动终端进行定位的方式有很多种, 主要可以包括通过相关算 法处理移动终端中集成的各种传感器(例如加速度传感器、 陀螺仪、 磁传感器 等)得到的传感器数据,而无需借助外部基础设施的惯导定位, 以及釆用 wifi, 蓝牙,蜂窝信号等外部信号进行的无线定位这两类。 而本发明实施例中触发定 位操作进行定位时, 可以釆用惯导定位, 也可以釆用无线定位, 还可以釆用惯 导定位与无线定位相结合的方式, 此处不作限定。
可选的, 若釆用惯导定位定位,可以预先标定惯导定位的初始条件包含的 初始位置、 方位角及其它相关参数。
可选的,移动终端可以对釆用何种方式触发定位操作规定优先级, 例如可 以规定无线定位的优先级高于惯导定位, 则在触发定位操作后, 首先判断是否 能接收到无线信号, 若能接收到无线信号, 则釆用无线定位; 若不能接收到无 线信号, 则表示不能使用无线定位, 可以釆用惯导定位。
可选的,移动终端可以设定只使用惯导定位, 由于惯导定位不需要借助外 部基础设施, 所以只要触发定位操作的条件满足, 即可立即釆用惯导定位。
而无线定位由于要借助于外部基础设施(例如 Locator ), 则有所不同: 移动终端进行无线定位计算的网络系统有两种,一种是以网络为中心的定 位, 一种是以移动终端为中心的定位。
在以网络为中心的无线定位系统下,移动终端周期广播无线信号, 周围基 础设施 Locator设备接收移动终端的无线信号, 提取移动终端地址或 ID, 测量 RSSL AOA或相关物理量,并连同自身地址或 ID等相关信息一起发送到服务 器, 由服务器计算移动终端的坐标值。
在以移动终端为中心的定位系统下, 基础设施 Locator设备周期广播无线 信号, 移动终端接收 Locator无线信号, 提取 Locator设备地址或坐标、 ID等 其它相关信息, 测量 RSSI、 AOA等相关物理量, 利用这些信息计算移动终端 坐标值并在移动终端屏幕上显示位置。
可选的,在以网络为中心的无线定位系统中,移动终端触发定位操作具体 可以为: 移动终端进行一次无线信号广播, 使得周围的基础设施 Locator接收 到所述无线信号后,将所述移动终端的相关信息发送到服务器计算出所述移动 终端的坐标值。
可选的,在以移动终端为中心的定位系统中,移动终端触发定位操作具体 可以为: 移动终端在触发一次定位操作后, 再接收到基础设施 Locator发送的 无线信号时, 根据所述基础设施 Locator的相关信息计算出所述移动终端的坐 标值。
可以理解的, 由于 Locator发送无线信号为按固定频率发送, 不是一直不 停的发送, 所以移动终端在触发一次定位操作后, 应该马上进行一次定位, 但 是, 在一些情况下, 可能此时没有达到 Locator发送无线信号的周期, 移动终 端不能立刻进行一次定位, 所以此时, 为了保证定位后两次定位点之间的轨迹 尽量趋近于期望行程,移动终端在触发一次定位操作后,会在最近一次接收到 Locator发送的无线信号时, 进行一次定位, 即根据所述基础设施 Locator的相 关信息计算出所述移动终端的坐标值。
为便于理解,下面以一具体应用场景对本发明实施例中定位方法进行具体 描述:
在开启定位功能前,移动终端可以接收用户设定的期望行程 L (例如为 10 米), 用于固定频率定位模式中的固定时间间隔 Tfix (例如为 2秒 ), 用于判定 是否进入可变频率定位模式的第一延时时间 Tswl (例如为 500毫秒), 用于判 定是否进入低功耗模式的第二延时时间 Tsw2 (例如为 600毫秒), 用于判定是 否进入固定频率定位模式的第三延时时间 Tsw3 (例如为 700毫秒), 最小时间 间隔 T min (例如为 1秒);
当用户开启定位功能时, 移动终端进入启动模式, 触发一次定位操作, 釆 用无线定位方式进行定位, 其中, 在以网络为中心的定位系统中, 移动终端可
以发送一次无线信号广播进行定位,在以移动终端为中心的定位系统中,移动 终端可以接收最近一次周围的基础设施 Locator发送的无线信号来进行定位; 移动终端定位一次后, 获取移动终端自身的速度值 v, 获取方式可以为得 到移动终端上安装的各种传感器 (例如加速度传感器 )或测速器等测得的速度 值;
若得到的自身速度值 V为 0, 且持续时间大于第二延时时间 Tsw2600毫秒 时, 该移动终端调整定位频率为 0, 进入低功耗状态, 持续获取移动终端自身 的速度值 v; 若能获取到自身速度值 V, V一直为 0, 则移动终端维持在低功 耗模式, 持续获取 v, 直到定位功能关闭或 V变化;
当得到的自身速度值 V不为 0 (例如为 2米 /秒 ), 且持续时间大于第一延 时时间 Tswl500毫秒, 则该移动终端进入可变频率定位模式, 在该模式下, 可 以釆用两种方式调整定位频率: 1、按照公式 T = L/v计算出该间隔时间 T为 5 秒, 该间隔时间 5秒大于最小间隔时间 1秒, 则该移动终端在 5秒后触发一次 定位操作。 2、 持续的获取速度 v, 在时间上对速度 V积分, 在 5秒后积分得 到的移动终端移动的路程 L'与期望行程 L的偏差在预置阔值 0.1m内, 触发一 次定位操作。 触发定位操作后, 釆用无线定位方式进行定位。 具体可以为: 若 在以网络为中心的定位系统下,移动终端在 5秒后进行一次无线信号广播, 周 围基础设施 Locator设备接收移动终端的无线信号, 提取移动终端地址或 ID, 测量 RSSI、 AOA或相关物理量, 并连同自身地址或 ID等相关信息一起发送 到服务器, 由服务器计算移动终端的坐标值; 若在以移动终端为中心的定位系 统中, 则移动终端经过 5秒后, 接收最近一次基础设施 Locator发送的无线信 号, 根据该基础设施 Locator的相关信息计算出所述移动终端的坐标值;
在可变频率定位模式中,移动终端进行一次定位后,再次获取自身速度值 V为 4米 /秒且持续时间大于第一延时时间 Tswl500毫秒, 则移动终端维持在可 变频率定位模式, 按照公式 T = L/v计算出该间隔时间 T为 2.5秒, 该间隔时 间 2.5秒大于最小间隔时间 1秒,则该移动终端在 2.5秒后触发一次定位操作, 釆用无线定位方式进行定位, 若此时检测不到无线信号, 则移动终端可以釆用 惯导定位方式进行一定定位;
若移动终端测速部件故障或速度丟失, 移动终端获取不到自身速度值 V
且持续时间大于第三延时时间 Tsw3700毫秒时, 移动终端进入固定频率定位模 式, 按照固定时间间隔 Tfix2秒, 每经过 2秒触发一次定位操作。
移动终端如此根据获取自身速度值 V的情况在可变频率定位模式,低功耗 模式与固定频率定位模式之间转换, 直到定位功能关闭。
下面对本发明实施例中的用于执行所述定位方法的装置进行描述,请参阅 图 15, 本发明实施例中装置 1500—个实施例包括:
确定模块 1501,用于确定期望行程 L,所述期望行程为相邻两次定位之间 所述装置移动路程的期望值;
获取模块 1502, 用于获取自身速度值 v;
调整模块 1503,用于根据所述确定模块 1501确定的期望行程 L与所述获 取模块 1502获取的自身速度值 V调整定位频率,使得定位模块 1504根据调整 后的定位频率进行的相邻两次定位之间所述装置移动的路程与所述期望行程 L的偏差小于指定阔值;
定位模块 1504,用于按照所述调整模块 1503调整后的定位频率进行定位。 本发明实施例中确定模块 1501先确定期望行程 L, 该期望行程为相邻两 次定位之间装置移动路程的期望值, 再获取模块 1502获取自身速度值 v, 然 后调整模块 1503根据该期望行程 L和自身速度值 V调整定位频率,使得按照 调整后的定位频率进行的相邻两次定位之间装置移动的路程与期望行程 L 的 偏差小于指定阔值, 定位模块 1504按照该调整后的定位频率进行定位, 这样 便保证了相邻两次定位之间定位轨迹的平均长度与该期望行程 L相差不大,提 高了轨迹拟合精度, 消除了轨迹误判现象: 如图 2所示, 为期望行程 L取不同 值 dl, d2, d3, d4时的定位位置点的分布情况, 由于定位位置点分布间隔总 体均匀可控,通过期望行程 L合理取值, 能够支持复杂场景和快速运动时目标 行进轨迹的准确估计,减少了因场景复杂或移动速度过快引起行进轨迹的误判 概率。
进一步的,现有技术中釆用固定频率进行定位还可能因为目标行进速度的 变化导致定位位置疏密不均, 影响定位展现效果和用户体验。 目标行进速度较 慢时, 会因定位误差产生定位位置混叠现象, 造成用户感官上的困惑。 装置移 动一段距离后减慢速度,会产生如图 4所示定位位置混叠现象; 当装置速度由
緩慢骤然变快时, 会出现如图 5所示不均匀的定位效果。
而釆用本发明实施例中的定位方法改善了定位展现效果: 如图 6所示, 装 置定位位置点总体上按照接近用户期望的间隔距离分布,且分布更加均匀, 分 布效果受装置移动速度变化影响小。针对运动形式多样的定位应用, 均能起到 改善定位展现效果的作用。且能自动设置适应的定位频率: 能根据用户设定的 期望行程 L与移动终端的自身速度 V自动计算出适合的定位频率,以保证相邻 两次定位之间定位轨迹的平均长度与该期望行程 L相差不大。
上面实施例中,调整模块 1503根据确定模块 1501确定的期望行程 L与获 取模块 1502获取的自身速度值 V调整定位频率, 在实际应用中, 其实现方式 有艮多种, 下面分别以其中两种为例进行说明:
一、 调整模块 1503直接根据期望行程 L与自身速度值 V计算出下一次定 位时间 t, 请参阅图 16, 本发明实施例中该装置 1600另一个实施例包括: 确定模块 1601,用于确定期望行程 L,所述期望行程为相邻两次定位之间 所述装置移动路程的期望值;
获取模块 1602, 用于获取自身速度值 V;
调整模块 1603,用于根据所述确定模块 1601确定的期望行程 L与所述获 取模块 1602获取的自身速度值 V调整定位频率,使得定位模块 1604根据调整 后的定位频率进行的相邻两次定位之间所述装置移动的路程与所述期望行程 L的偏差小于指定阔值;
定位模块 1604,用于按照所述调整模块 1603调整后的定位频率进行定位; 本实施例中, 该调整模块 1603具体用于, 在触发第一次定位操作时, 根 据所述期望行程 L与所述自身速度值 v, 获取第二次定位时间 t, 使得按照第 二次定位时间 t进行定位之后, 第一次定位操作与第二次定位操作之间所述装 置移动的路程与所述期望行程 L的偏差小于指定阔值;
此时, 该定位模块 1604具体用于,在所述调整模块 1603获取的第二次定 位时间 t时触发第二次定位操作。
可以理解的是, 该第一次定位操作也可以由该定位模块 1604触发。
需要说明的是, 该定位模块 1604触发定位操作进行定位, 可以是该定位 模块 1604 自身釆用各种定位技术(例如无线定位或惯导定位等)进行定位,
也可以是该定位模块 1604在确定达到触发定位操作的条件时, 触发该装置中 其他的射频模块或定位运算模块等定位装置进行定位, 此处不作限定。
其中, 调整模块 1603根据所述期望行程 L与所述自身速度值 v, 获取第 二次定位时间 t的具体操作可以有很多种, 例如该调整模块 1603具体可以包 括:
第一获取单元 16031, 用于按照如下公式获取间隔时间 T:
T = L/v, 即间隔时间 T等于所述期望行程 L与所述自身速度值 V的比值; 确定单元 16032, 用于确定第二次定位时间 t为所述装置确定的当前时刻 与所述时间间隔 T的和值。
可以理解的是, 釆用这种方式调整定位频率, 每次定位时获取模块 1602 都会获取当前的自身速度值 V, 该当前时刻为定位模块 1604正在进行一次定 位操作的时刻,也为获取模块 1602获取自身速度值 V的时刻,而获取模块 1602 获取的该自身速度值 V的目的是为了使调整模块 1603计算出下一次的定位时 间。
定位模块 1604 在当前时刻正在进行第一次定位操作时, 获取模块 1602 获取当前时刻的自身速度值 v, 第一获取单元 16031按照公式 T = L/v计算出 进行第二次定位的间隔时间 T,确定单元 16032使用当前时刻加上该间隔时间 Τ即为第二次定位时间 t,在定位模块 1604触发第一次定位操作之后与触发第 二次定位操作这两次定位之间, 在间隔时间 T较短的情况下, V在时间 T内的 变化不会很大, 则装置移动的路程 S会约等于 v*T=L, 定位模块 1604在到达 时间 t进行第二次的定位操作时, 获取模块 1602又会获取自身速度值, 调整 模块 1603重新根据该期望行程 L与自身速度值 V计算出间隔时间, 得到下一 次定位时间,如此,便实现了调整定位频率以保证相邻两次定位之间所述移动 终端移动的路程与所述期望行程 L的偏差小于指定阔值的目的。
可选的, 调整模块 1603在釆用上述步骤计算第二次定位时间 t时, 可以 考虑到获取模块 1602获取速度值 V的延时, 或者自身速度值 V在两次定位之 间可能的变化情况, 在计算得出的第二次定位时间 t上进行偏差调整, 例如可 以减去一定的偏差时间, 或者乘以一定的权值等等, 此处不作限定。
可选的, 在实际应用中, 定位模块 1604在所述第二次定位时间 t时触发
第二次定位操作的具体实现方式有很多,并不一定需要确定单元 16032在第一 获取单元 16031计算出的间隔时间 T上加上当前时刻得到下一次定位时间,定 位模块 1604再在该下一次定位时间 t达到后定位,例如在第一获取单元 16031 计算出间隔时间 T后, 定位模块 1604可以直接启动一个时间为 T的定时器, 当定时器时间 T达到后, 定位模块 1604触发第二次的定位操作, 这种方式也 可以包括认为是定位模块 1604在所述第二次定位时间 t时触发第二次定位操 作, 还可以有很多其他的具体实现方式, 此处不做限定。
可选的,第一获取单元 16031获取到间隔时间 T后,还可以先判断该间隔 时间 T是否大于最小间隔时间,若小于该最小间隔时间,则釆用该最小间隔时 间作为与第二次定位的间隔时间, 若大于该最小间隔时间, 则釆用间隔时间 T 作为与第二定位的间隔时间, 这样可以防止因移动终端速度过快, 而导致定位 频率过高。
本发明实施例中, 调整模块 1603根据期望行程 L与自身速度值 V计算出 第二次定位时间 t,定位模块 1604在第二次定位时间 t时触发第二次定位操作, 使得相邻两次定位之间所述装置移动的路程与所述期望行程 L 的偏差小于指 定阔值,通过每次定位时获取到自身速度值 V的不同,使得每次定位的频率相 应的变化, 消耗极少的计算量, 即可以达到使两次定位间移动终端移动的路程 与期望行程 L相差不大的目的。
二、 调整模块 1503根据自身速度值 V获取所述移动终端的移动路程 L', 根据该移动路程 L'与所述期望行程 L调整定位频率, 请参阅图 17, 本实施例 中该装置 1700另一个实施例包括:
确定模块 1701,用于确定期望行程 L,所述期望行程为相邻两次定位之间 所述装置移动路程的期望值;
获取模块 1702, 用于获取自身速度值 v;
调整模块 1703,用于根据所述确定模块 1701确定的期望行程 L与所述获 取模块 1702获取的自身速度值 V调整定位频率,使得定位模块 1704根据调整 后的定位频率进行的相邻两次定位之间所述装置移动的路程与所述期望行程 L的偏差小于指定阔值;
定位模块 1704,用于按照所述调整模块 1703调整后的定位频率进行定位;
本实施例中, 该调整模块 1703具体包括:
第二获取单元 17031, 用于以触发第一次定位操作的时间点为时间起点, 在时间上对所述自身速度值 V积分, 获取所述装置移动的路程 L';
调整单元 17032,用于根据所述第二获取单元 17031获取的移动的路程 L' 与所述期望行程 L调整定位频率, 使得所述定位模块 1704根据调整后的定位 频率进行的相邻两次定位之间所述装置移动的路程与所述期望行程 L 的偏差 小于指定阔值。
其中, 第二获取单元 17031对该自身速度值 V在时间上积分,得到该移动 终端移动的路程 L'的具体过程可以如下:
假定定位模块 1704第 i次定位时间为 , 获取模块 1702高频率获取速度 值, 例如每隔一个微小时间段 获取一次瞬时速度 v, 则第二获取单元 17031 从^时间开始, 对装置的移动路程 进行如下累加运算:
; 其中, 表示从 '时刻开始, 获取模块 1702第 j次获取到的瞬时速度。 上 式所示移动路程运算过程可通过图 9等价表示, 图 9(a)为第二获取单元 17031 在相邻两次定位期间获取的移动终端速度, 每条竖线横坐标表示获取模块 1702获取速度的时间, 竖线高度表示获取模块 1702获取的自身速度值, 相邻 两条竖线的距离表示获取速度的时间间隔 ,相邻两条竖线组成竖条面积表示 装置在 时间内走过的距离估计值。 因此, 从 '时刻开始到任意时间 , 由 '和 t时刻对应的竖线、 时间坐标轴和速度包络线围起来的面积即为装置从 到 t时 刻移动路程的估计值, 该面积与图 9(1))中 时刻的移动路程曲线值相对应。 随 着移动路程的不断累加, 直到 时刻 L'与期望行程 L的差异小于规定阔值时, 确定在 时刻进行下一次定位, 触发一次定位操作。
可以理解的是, 虽然上述运算过程为实际工程中使用的的将时间分成小 段, 分别计算出路程之后再累加的方式, 不是纯粹的使用数值进行积分运算, 但是运用的是积分的思想, 所以无论釆用的是纯粹数值的积分运算的方式,还 是运用积分的思想将时间段分为多个小段计算路程之后再累加的方式,都认为 该第二获取单元 17031釆用的是对该自身速度值 V在时间上积分这种方式。
可以理解的是,本实施例中调整模块 1703调整定位频率时,获取模块 1702 可以以极高的频率持续的获得自身速度值 v, 第二获取单元 17031再对该自身 速度值 V在时间上进行积分, 得到移动终端移动的路程 L'。
可以理解的是, 在第二获取单元 17031 积分得到移动终端移动的路程 L, 后, 考虑到获取延时或误差等情况, 第二获取单元 17031还可以在该移动路程 L'的基础上进行一些偏差运算, 再进行后续处理。
可以理解的是, 第二获取单元 17031在时间上对所述自身速度值 V积分, 获取所述移动终端移动的路程 L,为从触发第一次定位操作开始,到触发第二次 定位操作之间的一个连续持续的过程, 随着时间的增加,移动的路程 L,也在不 断的增加, 所以调整单元 17032调整定位频率也为一个连续的过程, 直到确定 触发第二次定位操作才结束,而调整单元 17032确定触发第二次定位操作的条 件就是该移动的路程 L'与期望行程 L小于指定阔值。
调整单元 17032调整定位频率的结果即为,当调整单元 17032确定移动的 路程 L,与期望行程 L小于指定阔值时, 触发第二次定位操作, 然后第二获取 单元 17031以触发该第二次定位操作的时间点为时间起点,在时间上对自身速 度值 V积分,再次获取移动终端从第二次定位操作开始, 到第三次定位操作之 间移动的路程 L', 如此循环。
其中, 该指定阔值可以根据该移动终端应用的场景事先设定, 或该移动终 端出厂前由厂家预置,还可以在每次定位前由用户进行自定义设置, 此处不作 限定。
可以理解的是,该指定阔值为移动终端实际移动的路程与对该移动终端期 望行程 L的偏差值, 所以, 该指定阔值应远小于该期望行程 L。
上面实施例中, 第二获取单元 17031通过积分获取移动的路程 L,, 调整 单元 17032根据移动的路程 L'与期望行程 L调整定位频率, 这样使得得到的 装置移动的路程更加精确,能更准确的满足相邻两次定位之间所述移动终端移 动的路程与所述期望行程 L的偏差小于指定阔值的条件。
上面对各实施例中的调整模块可以使用不同的方式来调整定位频率,使得 相邻两次定位之间所述移动终端移动的路程与所述期望行程 L 的偏差小于指 定阔值进行了描述, 进一步的, 在实际应用中, 各实施例中的确定模块也可以
通过多种方式来确定期望行程,下面对移动终端确定期望行程 L的步骤进行具 体描述:
可以理解的是, 虽然为避免赘述, 以下只结合图 15所示的装置实施例对 该确定模块确定期望行程的各种方式进行描述,但该确定单元确定期望行程的 各种方式也可以应用于上述图 15、 图 16或图 17中任一个所示的装置实施例 中。
确定模块 1501在各个不同的定位场景中确定期望行程 L可以由用户手动 设定, 也可以由确定模块 1501根据定位场景自动选择:
一、 手动设定。
为了保证设定的期望行程 L满足最终显示的定位效果对移动轨迹不误判, 定位点不混叠等效果, 若为手动设定, 确定模块 1501可以根据不同的定位场 景情况给出不同的期望行程的取值范围, 供用户从中选取期望行程 L。
请参阅图 18, 本发明实施例中该装置 1800另一个实施例包括:
确定模块 1801,用于确定期望行程 L,所述期望行程为相邻两次定位之间 所述装置移动路程的期望值;
获取模块 1802, 用于获取自身速度值 v;
调整模块 1803,用于根据所述确定模块 1801确定的期望行程 L与所述获 取模块 1802获取的自身速度值 V调整定位频率,使得定位模块 1804根据调整 后的定位频率进行的相邻两次定位之间所述装置移动的路程与所述期望行程 L的偏差小于指定阔值;
定位模块 1804,用于按照所述调整模块 1803调整后的定位频率进行定位; 本实施例中, 该确定模块 1801具体包括:
获取单元 18011,用于获取定位误差 R和定位场景中围绕所有不可达区域 的闭合路径长度;
第一确定单元 18012, 用于当最小闭合路径长度 C大于 4R时, 确定期望 行程 L的取值范围为 2R < L < (C/2);
第二确定单元 18013, 用于当最小闭合路径长度 C不大于 4R时, 确定期 望行程 L的取值范围为 2R < L < (d/2), 所述 d为大于 4R的最小闭合路径长 度;
接收单元 18014,用于接收用户在所述期望行程 L 的取值范围中选取的期 望行程 L。
确定模块 1801按照上述方式设定期望行程, 可以保证定位得出的定位轨 迹不混叠, 且不会产生误判现象。
二、 自动选择。
自动选择也可以分为多种,一种可以为先由用户设定可能出现的各定位场 景中的期望行程,确定模块再在确定定位场景时进行匹配, 另一种则可以为确 定模块确定定位场景后,在后台根据上述手动选择过程中的方式确定期望行程 L的取值范围,然后由确定模块在该取值范围内随机的选取一个期望行程 L或 按某预定的规则自动的从该期望行程的取值范围内选取一个期望行程 L。
请参阅图 19, 以用户预置各定位场景中期望行程, 确定模块再匹配为例, 本发明实施例中该装置 1900另一个实施例包括:
确定模块 1901,用于确定期望行程 L,所述期望行程为相邻两次定位之间 所述装置移动路程的期望值;
获取模块 1902, 用于获取自身速度值 V;
调整模块 1903,用于根据所述确定模块 1901确定的期望行程 L与所述获 取模块 1902获取的自身速度值 V调整定位频率,使得定位模块 1904根据调整 后的定位频率进行的相邻两次定位之间所述装置移动的路程与所述期望行程 L的偏差小于指定阔值;
定位模块 1904,用于按照所述调整模块 1903调整后的定位频率进行定位; 本实施例中, 该确定模块 1901具体包括:
第三确定单元 19011, 用于确定当前定位场景;
第四确定单元 19012, 用于根据预设的定位场景与期望行程的对应关系, 确定所述当前定位场景对应的所述期望行程 L。
其中, 定位场景包括装置定位时所处的位置附近一定范围的区域, 例如装 置在仓库中进行定位, 则该定位场景可以确定为该仓库; 装置在工厂中进行定 位, 则该定位场景可以确定为该工厂等, 再如如果在某个城市的道路上定位, 则该定位场景可以确定为该城市,或者为包括该道路与该道路周边一定范围的 区域。对于定位场景中的具体情况,装置可以从该定位场景对应的电子地图中
获取。装置一般在固定的几个定位场景进行定位, 则用户可以预先设置该定位 场景对应的预置期望行程,例如一个装置只在一个仓库与仓库外的一个办公室 使用, 则有两个定位场景, 仓库和办公室, 用户可以对这两个定位场景分别设 定一个期望行程。 当该装置进入一个定位场景中时, 第三确定单元 19011确定 当前定位场景, 例如, 为仓库, 则第四确定单元 19012确定用户设置的该仓库 对应的期望行程。
上面实施例中,确定模块 1901可以才艮据当前定位场景自动确定期望行程, 避免了用户每次切换定位场景之后都需要输入期望行程, 提升了用户体验。
上述图 18与图 19所示实施例分别对确定模块可以釆用多种不同的方式确 定期望行程 L进行了描述, 图 15、 图 16或图 17所示实施例分别对调整模块 可以釆用多种不同的方式调整定位频率,达到使相邻两次定位之间所述装置移 动的路程与所述期望行程 L的偏差小于指定阔值的目的进行描述,在实际应用 中, 装置还可以根据获取自身速度值 V 的不同情况对定位频率进行另外的调 整, 请参阅图 20, 本发明实施例中该装置 2000另一个实施例包括:
确定模块 2001,用于确定期望行程 L,所述期望行程为相邻两次定位之间 所述装置移动路程的期望值;
获取模块 2002, 用于获取自身速度值 V;
调整模块 2003,用于根据所述确定模块 2001确定的期望行程 L与所述获 取模块 2002获取的自身速度值 V调整定位频率,使得定位模块 2004根据调整 后的定位频率进行的相邻两次定位之间所述装置移动的路程与所述期望行程 L的偏差小于指定阔值;
定位模块 2004,用于按照所述调整模块 2003调整后的定位频率进行定位; 本实施例中, 该调整模块 2003具体用于, 当确定所述自身速度值 V不等 于 0时,根据所述确定模块确定的期望行程 L与所述获取模块获取的自身速度 值 V调整定位频率,使得所述定位模块根据调整后的定位频率进行的相邻两次 定位之间所述装置移动的路程与所述期望行程 L的偏差小于指定阔值;
该调整模块 2003还用于, 当确定所述自身速度值等于 0时, 调整定位频 率为 0;
考虑到装置测速部件故障而导致不能定位, 或速度丟失等情况, 而导致有
可能产生的获取不到自身速度值的问题, 该调整模块 2003还可以用于, 当确 定获取不到所述自身速度值 V时, 调整定位频率为固定定位频率;
进一步的, 当确定所述自身速度值等于 0时, 调整模块 2003调整定位频 率为 0, 然而, 若该装置启动定位后就一直保持在静止状态, 则该装置会进入 低功耗模式, 不进行定位, 此时无法得知该装置的位置, 所以, 在启动定位功 能后, 需要直接进行一次定位操作, 该装置还包括:
启动模块 2005, 用于在启动定位功能时, 直接触发一次定位操作。
本实施例中, 该装置根据自身速度值的不同情况,对定位频率釆用不同的 原则进行调整, 可以将其分为四种定位模式, 分别为:
启动模式, 由启动模块 2005执行, 在开启定位功能时, 强制触发一次定 位操作;
后面三种定位模式均由调整模块 2003执行,根据自身速度值的不同情况, 在这三种模式中进行切换, 按照这三种模式对定位频率进行调整:
可变频率定位模式, 当确定自身速度值不为 0时,调整定位频率使得根据 调整后的定位频率进行的相邻两次定位之间该移动终端移动的路程与期望行 程 L的偏差小于指定阔值;
低功耗模式, 当确定自身速度值为 0时, 调整定位频率为 0;
固定频率定位模式, 为获取不到自身速度值时,调整定位频率为预置固定 定位频率。
可选的, 获取模块 2002获取自身速度值 V之前, 该装置还可以接收用户 设定的第一延时时间 Tswl, 第二延时时间 Tsw2, 第三延时时间 Tsw3;
该第一延时时间 Tswl为调整模块 2003判定是否执行可变频率定位模式的 延时时间;
当所述自身速度值 V不等于 0,且持续时间大于所述第一延时时间 Tswl时, 所述调整模块 2003执行可变频率定位模式。
该第二延时时间 Tsw2为调整模块 2003判定是否执行低功耗模式的延时时 间;
当所述自身速度值等于 0, 且持续时间大于所述第二延时时间 Tsw2时, 所 述调整模块 2003执行低功耗模式。
该第三延时时间 Tsw3为调整模块 2003判定是否执行固定频率定位模式的 延时时间;
当所述获取模块 2002获取不到所述自身速度值 v, 且持续时间大于所述 第三延时时间 Tsw3时, 所述调整模块 2003执行固定频率定位模式。
调整模块 2003切换进每个定位模式之前都有了判断的延时时间, 这样便 可以有效的防止误操作, 使得状态之间的切换更加稳定。
本实施例中结合图 15所示实施例对该装置根据获取自身速度值 V的不同 情况对定位频率进行调整进行说明, 为避免赘述, 不再对调整模块调整定位频 率以及确定模块确定期望行程 L的各种方式进行描述, 然而, 可以理解的是, 图 18与图 19所示实施例中确定模块确定期望行程 L的各种方式以及图 15、 图 16或图 17所示实施例中调整模块调整定位频率的各种方式,均可以应用在 本实施的装置中。
上面实施例中, 调整模块 2003根据自身速度值 V的不同情况进入不同的 定位模式, 可选的, 在实际应用中, 请参阅图 21, 该装置 2100还可以包括: 模式确定模块 2101, 用于根据获取模块 2002获取的自身速度值的情况不 同, 指示调整模块 2003进入对应的定位模式。 为了便于理解上述实施例,下面以上述装置各个模块在一个具体应用场景 中的交互过程进行说明:
该装置可以为移动终端, 在开启定位功能前, 确定模块 2001可以接收用 户设定的期望行程 L (例如为 10米), 该装置还可以接收用户设定的用于固定 频率定位模式中的固定时间间隔 Tfix (例如为 2秒),用于判定是否进入可变频 率定位模式的第一延时时间 Tswl (例如为 500毫秒), 用于判定是否进入低功 耗模式的第二延时时间 Tsw2 (例如为 600毫秒), 用于判定是否进入固定频率 定位模式的第三延时时间 Tsw3 (例如为 700毫秒), 最小时间间隔
(例如 为 1秒 );
当用户开启定位功能时, 启动模块 2005 进入启动模式, 定位模块 2004 触发一次定位操作, 釆用无线定位方式进行定位, 其中, 在以网络为中心的定 位系统中,移动终端可以发送一次无线信号广播进行定位,在以移动终端为中
心的定位系统中, 移动终端可以接收最近一次周围的基础设施 Locator发送的 无线信号来进行定位;
移动终端定位一次后, 获取模块 2002获取移动终端自身的速度值 v, 获 取方式可以为得到移动终端上安装的各种传感器 (例如加速度传感器 )或测速 器等测得的速度值;
若得到的自身速度值 V为 0, 且持续时间大于第二延时时间 Tsw2600毫秒 时, 调整模块 2003进入低功耗模式, 调整定位频率为 0; 若能获取到自身速 度值 v, V—直为 0, 则调整模块 2003维持在低功耗模式, 持续获取 v, 直到 定位功能关闭或 V变化;
当得到的自身速度值 V不为 0 (例如为 2米 /秒 ), 且持续时间大于第一延 时时间 Tswl500毫秒, 则该调整模块 2003进入可变频率定位模式, 在该模式 下, 调整模块 2003可以釆用两种方式调整定位频率: 1、 按照公式 T = L/v计 算出该间隔时间 T为 5秒,该间隔时间 5秒大于最小间隔时间 1秒,则该移动 终端在 5秒后触发一次定位操作。 2、 持续的获取速度 v, 在时间上对速度 V 积分, 在 5秒后积分得到的移动终端移动的路程 L'与期望行程 L的偏差在预 置阔值 0.1m内, 触发一次定位操作。 触发定位操作后, 定位模块 2004釆用无 线定位方式进行定位。 具体可以为: 若在以网络为中心的定位系统下, 移动终 端在 5秒后进行一次无线信号广播, 周围基础设施 Locator设备接收移动终端 的无线信号, 提取移动终端地址或 ID, 测量 RSSI、 AOA或相关物理量, 并连 同自身地址或 ID等相关信息一起发送到服务器, 由服务器计算移动终端的坐 标值; 若在以移动终端为中心的定位系统中, 则移动终端经过 5秒后, 接收最 近一次基础设施 Locator发送的无线信号, 根据该基础设施 Locator的相关信 息计算出所述移动终端的坐标值;
在可变频率定位模式中,定位模块 2004按照调整模块 2003调整的定位频 率触发一次定位操作后, 获取模块 2002再次获取自身速度值 V为 4米 /秒且持 续时间大于第一延时时间 Tswl500毫秒, 则调整模块 2003维持移动终端在可 变频率定位模式, 按照公式 T = L/v计算出该间隔时间 T为 2.5秒, 该间隔时 间 2.5秒大于最小间隔时间 1秒,则定位模块 2004在 2.5秒后触发一次定位操 作, 釆用无线定位方式进行定位, 若此时检测不到无线信号, 则移动终端可以
釆用惯导定位方式进行一定定位;
若移动终端测速部件故障或速度丟失, 获取模块 2002获取不到自身速度 值 V且持续时间大于第三延时时间 Tsw3700毫秒时, 调整模块 2003进入固定 频率定位模式, 按照固定时间间隔 Tfix2秒, 每经过 2秒触发定位模块 2004进 行一次定位操作。
调整模块 2003如此根据获取自身速度值 V的情况在可变频率定位模式, 低功耗模式与固定频率定位模式之间转换, 直到定位功能关闭。
可以理解的是, 上述各实施例中的装置可以为移动终端,也可以为其他任 一可以釆用本发明中定位方法的设备, 此处不做限定。 例中的装置进行了描述,下面从硬件处理的角度对本发明实施例中的移动终端 进行描述, 请参阅图 22, 本发明实施例中的移动终端 2200另一实施例包括: 输入装置 2201、 输出装置 2202、 处理器 2203和存储器 2204 (其中移动 终端 2200中的处理器 2203的数量可以一个或多个,图 22中以一个处理器 2203 为例)。 在本发明的一些实施例中, 输入装置 2201、 输出装置 2202、 处理器 2203和存储器 2204可通过总线或其它方式连接, 其中, 图 22中以通过总线 连接为例。
该移动终端还包括有测速器件, 用于检测自身速度值;
该输入装置 2201可以按照处理器 2203的指令,从该测速器件获取自身速 度值, 还可以接收用户输入的参数;
该输出装置 2202可以将定位效果展示给用户;
其中,
通过调用存储器 2204存储的操作指令,处理器 2203,用于执行如下步骤: 确定期望行程 L,所述期望行程为相邻两次定位之间所述移动终端移动路 程的期望值;
获取自身速度值 V;
根据所述期望行程 L与所述自身速度值 V调整定位频率,使得所述移动终 端根据调整后的定位频率进行的相邻两次定位之间所述移动终端移动的路程 与所述期望行程 L的偏差小于指定阔值;
按照所述调整后的定位频率进行定位;
本发明的一些实施例中, 所述处理器 2203执行所述根据所述期望行程 L 与所述自身速度值 V调整定位频率的步骤时, 具体执行如下步骤:
在触发第一次定位操作时, 根据所述期望行程 L与所述自身速度值 v, 获 取所述移动终端的第二次定位时间 t;
所述处理器 2203 执行所述按照所述调整后的定位频率进行定位的步骤 时, 具体执行如下步骤:
在所述第二次定位时间 t时触发第二次定位操作。
本发明的一些实施例中, 所述处理器 2203执行所述根据所述期望行程 L 与所述自身速度值 v, 获取所述移动终端的第二次定位时间 t的步骤时, 具体 执行如下步骤:
按照如下公式获取间隔时间 T:
T = L/v, 即间隔时间 T等于所述期望行程 L与所述自身速度值 V的比值; 确定所述移动终端的第二次定位时间 t为所述移动终端确定的当前时刻与 所述时间间隔 T的和值;
本发明的一些实施例中, 所述处理器 2203执行所述根据所述期望行程 L 与所述自身速度值 V调整定位频率的步骤时, 具体执行如下步骤:
以触发第一次定位操作的时间点为时间起点,在时间上对所述自身速度值 V积分, 获取所述移动终端移动的路程 L';
根据所述移动的路程 L'与所述期望行程 L调整定位频率;
本发明的一些实施例中, 所述处理器 2203执行所述确定期望行程 L的步 骤时, 具体执行如下步骤:
获取定位误差 R和定位场景中围绕所有不可达区域的闭合路径长度; 当最小闭合路径长度 C大于 4R时,确定期望行程 L的取值范围为 2R < L < (C/2);
当最小闭合路径长度 C不大于 4R时,确定期望行程 L的取值范围为 2R < L < (d/2), 所述 d为大于 4R的最小闭合路径长度;
接收用户在所述期望行程 L 的取值范围中选取的期望行程 L;
本发明的一些实施例中, 所述处理器 2203执行所述确定期望行程 L的步
骤时, 具体执行如下步骤:
确定当前定位场景;
根据预设的定位场景与期望行程的对应关系,确定所述当前定位场景对应 的所述期望行程 L;
本发明的一些实施例中, 所述处理器 2203执行所述根据所述期望行程 L 与所述自身速度值 V调整定位频率的步骤时, 具体执行如下步骤:
当所述自身速度值 V不等于 0时,所述移动终端根据所述期望行程 L与所 述自身速度值 V调整定位频率;
当所述自身速度值等于 0时, 调整定位频率为 0;
本发明的一些实施例中, 所述处理器 2203在执行所述获取自身速度值 V 的步骤之前, 还用于执行如下步骤:
触发一次定位操作;
本发明的一些实施例中, 所述处理器 2203还用于执行如下步骤: 当获取不到所述自身速度值 V时, 调整定位频率为预置固定定位频率。 上面对本发明实施例中的移动终端进行了描述,在实际应用中, 该移动终 端可以为各种不同的形态, 上面移动终端中的各模块可以通过软件来实现,也 可以通过硬件来实现, 除了上述模块与单元的划分, 实际实现时可以有另外的 划分方式, 例如多个单元或模块可以结合或者可以集成到另一个系统, 下面结 合几个不同的应用场景对本发明实施例中的移动终端进行描述:
一、 下面对当移动终端釆用无线定位方式,位于以网络为中心的无线定位 系统中时, 该移动终端为无线标签的应用场景进行描述:
如图 23所示为无线标签一个结构示意图, 该无线标签集成有作为移动终 端速度源的加速度传感器 2301、 用于控制移动终端在多个定位模式下进行切 换以及触发定位的微控制单元 2302 ( Micro Control Unit, MCU )、 用于发射无 线信号进行定位的射频模块 2303, 还可以有配套的电源及管理电路、 按键和 其它功能单元;
MCU2302 中可以通过软件形成速度监测模块 23021、 工作模式决策控制 模块 23022、 定位功能启动触发模块 23023、 还可以有其他配套的信号处理模 块、 速度估计模块、 按键检测、 参数配置等功能模块, 除完成信号处理、 速度
计算和控制决策功能外,还可检测按键动作,实现无线定位和参数配置的切换; 其中,
速度监测模块 23021可以获取加速度传感器 2301的信息, 经处理后提取 自身速度值;
工作模式决策控制模块 23022可以根据速度监测模块 23021获取到的自身 速度值的情况从启动模式, 低功耗模式, 可变频率定位模式, 以及固定频率定 位模式中选择工作模式;
定位功能启动触发模块 23023可以根据工作模式决策控制模块 23022选择 的工作模式发送控制指令控制射频模块 2303发射无线信号进行定位;
而射频模块 2303根据定位功能启动触发模块 23023发送的控制指令进行 定位操作, 该射频模块 2303的无线技术可以选用低功耗蓝牙 ( Bluetooth Low Energy, BLE ), 通过周围布设的 Locator接收 BLE信号实现定位;
无线定位前需进行参数配置,有多种参数配置方案。 方案一是通过按键使 无线标签上电进入参数配置模式, 此时无线模块作为从设备处于可连接状态。 使用具有蓝牙 BT4.0 以上协议的智能手机与无线标签建立连接, 通过应用 ( Application, APP ) 实现参数配置功能。 参数配置完成后, 通过按键使无线 标签切换在广播 broadcast模式下, 实现无线定位; 方案二是在无线标签预留 USB端口, 通过有线连接进行参数配置和软件升级。
无线定位时, 无线标签上电和初始化完成后, 工作模式决策控制模块 23022控制无线终端首先进入启动模式, 工作模式决策控制模块 23022向射频 模块 2303发送命令,使射频模块 2303广播一个数据包实现首次定位。加速度 传感器 2301开始釆集加速度信号并传输到 MCU2302。
MCU2302中速度监测模块 23021可以包括有信号处理模块和速度估计模 块两部分,得到速度值的具体过程可以为: 首先由信号处理模块对原始加速度 信号进行滤波去噪等预处理, 并将处理结果传输到速度估计模块,速度估计模 块根据收到的加速度信号估计当前速度。
在有些情况下, 加速度信号为零时, 估计不到速度, 当然也存在刚开机估 计不到速度或因其它原因临时丟失速度值的可能,故速度估计模块可以向速度 监测模块 23021输出两方面信息, 其一是实现速度估计的标志信息, 其二是估
计得到的当前速度值。
当速度估计模块尚未成功估计到当前速度时,向速度监测模块 23021发送 速度估计失败标志信息,速度监测模块 23021判断速度估计失败时间与转换成 各模式的延时时间(例如分别判定是否进入可变频率定位模式,低功耗模式与 固定频率定位模式的第一延时时间, 第二延时时间与第三延时时间)的关系并 通知工作模式决策控制模块 23022, 工作模式决策控制模块 23022根据速度监 测模块 23021得到的结果 (得不到当前速度 )判断切换到固定频率定位模式对 外广播信号或继续保持在固定频率定位模式, 并通知射频模块 2303工作在该 状态;
当速度估计模块估计得到当前速度后,同时向速度监测模块 23021发送速 度估计成功标志信息和估计的当前速度值,速度监测模块 23021分析当前速度 值变化, 并将分析结果告知工作模式决策控制模块 23022, 决策控制模块根据 速度监测结果判断是进入低功耗模式、可变频率定位模式还是保持原状态, 具 体过程按照图 8所示的定位方法的流程进行处理。
其中, 无线标签的射频模块 2303可以从多种可选的 BLE单模芯片, 例如
Ή公司推出的集成增强型 8051 MCU的 Soc芯片 CC2540。若无需更多硬件支 持和数据处理需求, 可将上述 MCU2302中速度监测模块 23021, 工作模式决 策控制模块 23022,以及定位功能启动触发模块 23023的功能都集成到该 BLE 芯片中, 直接将加速度传感器连接到 BLE芯片, 降低成本并简化软硬件设计; 当然, 若 BLE芯片资源无法满足应用所需的更多外设支持和数据处理业务, 也可选择釆用图 23所示结构, 外挂 MCU作为主控单元连接加速度传感器、 BLE芯片和其它外设。
可以理解的,本发明中的移动终端可以包括任一具有测速和无线广播功能 的移动设备, 而其具体形态不受限制, 例如该移动终端可以为一个车辆, 或为 一个安装于车辆上的定位装置, 此处不作限定。
二、 下面以移动终端为行驶在室内环境的车辆 (例如封闭停车场的车辆, 厂房内的作业车辆等)为例,将行驶在室内环境的车辆定位作为移动终端的另 一个应用场景进行描述:
如图 24 所示为车辆的定位系统构架示意图, 该车辆可以包括测速模块
2401、无线定位模块 2402,此外还包括供电系统 2403以及可选的控制模块 2404 和显示模块 2405;
其中测速模块 2401 负责测量车辆行驶速度, 并将测量结果发送到无线定 位模块 2402;
无线定位模块 2402根据测速模块 2401输出结果动态调整无线定位的工作 模式;
控制模块 2404用于让用户控制无线定位模块 2402的开关和重启; 显示模块 2405用于显示无线定位模块 2402的工作状态,包括无线定位模 块 2402电源开关指示、 无线定位模块 2402广播指示;
供电系统 2403则为以上四类功能模块提供电能, 供电方式可根据具体情 况灵活选择, 可使用不同电源分开供电或者单一电源集中供电;
各功能模块的具体实现方法可以有很多种, 下面选取几种进行描述: 测速模块 2401 : 多数车辆本身具有测量车速的仪器仪表。 对于原本没有 车速测量装置的车辆,在部署定位系统时, 可以在适当位置安装车速测量传感 器, 例如光电式、 磁电式、 霍尔式等车速传感器, 根据成本和性能要求灵活选 择;
无线定位模块 2402: 由于接收无线定位信号的 Locator设备一般安装在天 花板或室内顶部, 故无线定位模块 2402也适合安装在车辆顶部, 以利于减少 无线信号向 Locator设备广播过程中的信号遮挡和衰减。 可供使用的无线技术 多种多样, 这里仍以 BLE无线定位为例。 如图 25所示为一种可选的无线定位 模块的结构示意图,主要包含 MCU2501、射频电路 2502、电源输入接口 2503、 控制信号输入接口 2504、 速度信号输入接口 2505和状态信号输出接口 2506。 其中, MCU2501 负责车辆速度信号处理分析和无线定位工作模式动态控制; 射频电路 2502根据 MCU2501发出的指令广播 BLE无线信号; 电源输入接口 2503 用于外部电源信号输入, 由接口对电压电流进行调理匹配后为无线定位 模块供电; 控制信号输入接口 2504用于从外部接收无线定位模块上下电和重 启的控制信号; 速度信号输入接口 2505用于从外部接收车辆速度信号, 经过 调理电路对电气参数进行匹配后输入到 I/O端口; 状态信号输出接口 2506用 于输出无线定位模块的两路状态指示信号,一路信号提供无线定位模块电源开
关指示, 另一路信号提供无线信号广播定位指示, 即无线信号每广播一次数据 包就输出一次 ϋ 变。
控制模块 2404: 可以是布置在车辆仪表面板上的按钮或者开关, 也可以 选择触控屏方式实现。 车辆日常使用中, 有可能需要使用室内定位功能, 也有 可能暂时无需使用, 测速功能通常是车辆必须始终具备的功能, 因此需要单独 设置控制无线定位模块 2402电源开关的接口, 通过控制按钮或开关来控制无 线定位功能的启动和停止。 重启按钮或开关则是为了在出现无线定位模块 2404程序跑飞等状况时的重新启动;
显示模块 2405: 显示模块提供无线定位模块 2402电源开关和无线广播状 态的两路指示, 无线定位模块 2402每广播一个数据包,显示模块 2405即提供 一次广播指示。 显示模块 2405形式灵活多样, 可以是显示屏, 也可以是灯。
供电模块 2403: 有些车辆本身有供电电源, 可以将电源线接入各模块实 现供电。
使用定位功能前, 首先需要进行参数配置。可通过控制按钮将无线定位模 块 2402切换到可连接的外设状态 (peripheral ), 开发用于参数配置的智能终端 APP (例如手机), 打开 APP, 启动智能终端蓝牙模块连接无线定位模块 2402, 将期望行程、最小间隔时间、 固定间隔时间和延时时间等参数配置到无线定位 模块 2402中存储。 配置完成,通过控制按钮将无线定位模块 2402重新切回到 广播状态 (Broadcasts也可以在控制模块中设计参数配置的数据端口,通过 PC 连接到该端口, 利用 PC软件对无线定位模块 2402进行参数配置。
下面描述车辆定位的整个工作流程:
用户不使用定位功能时, 通过控制模块 2404的 Power Off开关单独给无 线定位模块 2402下电, 减少系统能耗。
用户使用定位功能时, 通过 Power On启动无线定位模块 2402。 无线定位 模块 2402完成上电后,首先侦查测速模块 2401是否送来速度信号并分析速度 变化, 整个定位过程始终侦查和分析速度信号,根据侦查分析结果在线控制无 线定位模块 2402的工作模式;同时广播用于初次定位的数据包,由周边 Locator 设备接收数据包完成初次定位。
若无线定位模块 2402没有收到测速模块 2401送来的速度信号,且连续未
收到速度信号的持续时间大于第三延时时间,则无线定位模块工作在固定频率 定位模式下, 相邻两次广播的时间间隔为固定时间间隔 Tfix;
若无线定位模块 2402收到测速模块 2401送来的速度信号,但速度值等于 零, 且速度值连续等于零的时间大于第二延时时间, 则无线定位模块 2402停 止数据包广播, 进入低功耗模式;
若无线定位模块收 2402到测速模块 2401送来的速度信号,且速度值连续 不为零的时间大于第一延时时间, 则无线定位模块进入可变频率定位模式。该 模式下, 无线定位模块 2402在完成上一次广播后, 无线定位模块 2402计算期 望行程 L与当前速度 V的比值 T=L/v, 并根据下式确定下一次无线广播时间 t(i+1):
t(i+1) = t(i) + max(T(i),Tmin), 其中 t(i+1)为下次广播时间, 为上次广播时间, 丁①为计算出的间隔时间, 为最小间隔时间, maxCTw/I^n)表示取 1>)与 中较大的值;
发生以下情形之一时, 无线定位模块 2402保持原有状态不变: 1 )无线定 位模块广播数据包时收到的速度信号不为零, 但持续时间小于第一延时时间; 2 )无线定位模块广播数据包时收到的速度信号为零, 但持续时间小于第二延 时时间; 3 )无线定位模块广播数据包时未收到速度信号, 但持续时间小于第 三延时时间。
上面两个应用场景均为在以网络为中心的无线定位系统中,该移动终端还 可以应用于以移动终端为中心的无线定位系统中。
三、下面对移动终端工作在以移动终端为中心的无线定位系统的应用场景 进行描述:
在以移动终端为中心的定位系统中, 由基础设施 Locator周期广播无线信 号, 移动终端接收无线信号进行定位计算。 典型应用场景包括: 1、 由智能手 机、平板电脑等移动终端接收无线信号进行定位计算和位置显示,使用户知道 自己所在位置; 2、 由移动终端进行定位计算, 并根据定位结果控制自身运行 状态, 例如机器人自动导航。 该系统主要包括 Locator设备和智能手机。 根据 不同系统架构, 还可包括服务器等相关设备。
Locator设备: 要求 Locator设备按照固定周期广播无线信号, 无线技术仍
然以 BLE为例进行说明, 此时 Locator需要工作在 Broadcast模式。 Locator广 播数据包包含 Locator设备地址(或 ID、 坐标)、 当前广播频率及其它定位所 需参数。通常需要部署多台 Locator设备覆盖整个定位区域(Locator可灵活部 署在室内天花板、 墙壁等处)。
移动终端: 移动终端接收周边 Locator设备周期广播的数据包, 提取其中 包含的当前广播频率和定位计算用到的相关信息, 例如设备地址(或 ID、 坐 标)和无线信号测量值(例如 SSL AOA等), 利用这些信息进行定位计算 得到定位坐标。 结合不同应用场景, 移动终端可以是智能手机、 平板电脑等智 能设备, 这类设备带有显示屏, 能够显示室内地图和移动终端位置, 供用户定 位和导航使用。也可以是机器人等机械设备,利用定位坐标控制设备运行状态, 用于实现某一特定应用 (例如自主导航)。
如图 26所示为移动终端另一个结构示意图, 该移动终端主要包括: 无线 信号接收测量模块 2601、 测速模块 2602、 运算模块 2603、 供电模块 2604, 若 移动终端属于智能手机等用户定位导航设备时, 还可包含显示模块 2605, 若 属于导航机器人等设备时, 还可以包括执行模块 2606.
无线信号接收测量模块 2601负责接收 Locator设备广播的数据包,提取其 中包含的当前广播频率和前面所述定位计算用到的相关信息,并将定位计算相 关信息发送到运算模块 2603。 无线信号接收测量模块 2601可以釆用不同的无 线技术,包括 BLE,WiFi等,若釆用 BLE技术,则该模块需工作在观察 Observer 模式下。
测速模块 2602用来测量移动终端的行进速度。 可供移动终端釆用的测速 方法多种多样, 例如供用户定位和导航的智能手机类设备, 可以通过内置的加 速度传感器实现速度测量; 而对于机器人等机械类设备, 则有光电式等多种速 度传感器供选用。 在有些情况下, 移动终端本身也可以不包含有该测速模块 2602 , 例如若移动终端没有该测试模块, 可以通过随身携带的可测速的穿戴式 设备或其他测速设备,通过蓝牙等无线连接方式连接该移动终端,将测速数据 实时传输到该移动终端。
运算模块 2603用于接收无线信号接收测量模块 2601和测速模块 2602的 输出信息, 首先根据无线信号接收测量模块 2601输出的定位计算用到的相关
信息计算定位坐标, 并将定位结果输出到显示模块 2605, 根据测速模块 2602 输出的速度信息进行工作模式控制决策。
显示 /执行模块 2605接收运算模块 2603输出的定位信息, 实现移动终端 位置显示或基于定位信息执行相关动作。
供电模块 2604用于为上述模块提供电能供应, 供电方式可以是利用多个 电源分开供电, 也可以是利用一个电源集中供电。
在实际应用中,移动终端的具体结构还可以根据不同的应用场景以及需要 实现功能的不同而进行调整,如图 27所示为不同类型的移动终端结构示意图, 其中图 27 ( a )用于表示一种智能手机的结构示意图, 可以包括有触控屏, 加 速度传感器, 运算模块, 无线信号接收测量模块, 供电系统外, 以及地图数据 存储模块, 而图 27 ( b )用于表示一种机器人的结构示意图, 可以包括有伺服 结构, 测速装置, 运算模块, 无线信号接收测量模块, 供电系统外, 以及地图 数据存储模块。
启动室内定位功能前, 首先需要对移动终端进行参数配置。 需要配置的参 数包括: 期望行程、 延时时间。 对于智能手机类终端, 可通过室内定位 APP 的参数配置页面进行配置和保存; 对于其它移动终端 (例如机器人), 可通过触 摸屏等方式输入配置参数。
下面描述移动终端室内定位的整个工作流程:
用户不使用定位功能时, 关掉移动终端室内定位 APP或者通过触控屏关 掉定位功能。
用户使用定位功能时, 启动室内定位 APP或通过触控屏开启定位功能。 开启完成后, 1 ) 首先侦查测速模块是否送来速度信号并分析速度变化, 整个 定位过程始终侦查和分析速度信号,根据侦查分析结果在线控制移动终端工作 模式; 2 )利用收到来自 Locator设备 BLE信号完成初次定位计算。 若有屏幕, 则显示地图和所在位置。
若移动终端未测到速度信号,且连续未收到速度信号持续时间大于转换时 间, 则移动终端工作在固定频率定位模式, 在此模式下, 移动终端每收到一次 Locator周期广播的 BLE信号, 就完成一次定位计算, 并将定位结果送到显示 /执行模块;
若移动终端测到速度信号,但速度值等于零,且速度值连续等于零的时间 大于转换时间, 则移动终端停止接收 BLE信号和定位计算, 降低移动终端功 耗。如果可能,可让无线信号接收测量模块进入休眠状态,以进一步降低功耗。 可根据实际情况灵活定义移动终端达到的低功耗模式。
若移动终端测到速度信号,且速度值连续不为零的时间大于转换时间, 则 移动终端进入可变频率定位模式。该模式下,移动终端在完成上一次定位计算 时记录上一次定位计算时间 t(i)(i > 1),运算模块计算期望行程 L与当前速度 νω 的比值 T(i)=L/v(i),在上一次定位计算经历间隔时间 1>)后的时间点 t(i)+T(i)之后, 再收到 Locator设备的 BLE信号时,进行下次定位计算,将结果送到显示模块。
所属领域的技术人员可以清楚地了解到, 为描述的方便和简洁, 上述描述 的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程, 在此不再赘述。
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统, 装置和方 法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示意性 的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可以有另 外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个系统, 或 一些特征可以忽略, 或不执行。 另一点, 所显示或讨论的相互之间的耦合或直 接辆合或通信连接可以是通过一些接口, 装置或单元的间接辆合或通信连接, 可以是电性, 机械或其它的形式。 单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者 也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部 单元来实现本实施例方案的目的。
另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元中, 也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元 中。上述集成的单元既可以釆用硬件的形式实现,也可以釆用软件功能单元的 形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售 或使用时, 可以存储在一个计算机可读取存储介质中。基于这样的理解, 本发
明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全 部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储 介质中, 包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器, 或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。 而前述 的存储介质包括: U盘、 移动硬盘、 只读存储器(ROM, Read-Only Memory ), 随机存取存储器(RAM, Random Access Memory ), 磁碟或者光盘等各种可以 存储程序代码的介质。
以上所述, 以上实施例仅用以说明本发明的技术方案, 而非对其限制; 尽 管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理 解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分 技术特征进行等同替换; 而这些修改或者替换, 并不使相应技术方案的本质脱 离本发明各实施例技术方案的精神和范围。
+
Claims
1、 一种定位方法, 其特征在于, 包括:
移动终端确定期望行程 L,所述期望行程为相邻两次定位之间所述移动终 端移动路程的期望值;
所述移动终端获取自身速度值 v;
所述移动终端根据所述期望行程 L与所述自身速度值 V调整定位频率,使 得所述移动终端根据调整后的定位频率进行的相邻两次定位之间所述移动终 端移动的路程与所述期望行程 L的偏差小于指定阔值;
所述移动终端按照所述调整后的定位频率进行定位。
2、 根据权利要求 1所述的方法, 其特征在于, 所述移动终端根据所述期 望行程 L与所述自身速度值 V调整定位频率具体包括:
在触发第一次定位操作时,所述移动终端根据所述期望行程 L与所述自身 速度值 v, 获取所述移动终端的第二次定位时间 t;
所述移动终端按照所述调整后的定位频率进行定位具体包括:
所述移动终端在所述第二次定位时间 t时触发第二次定位操作。
3、 根据权利要求 2所述的方法, 其特征在于, 所述移动终端根据所述期 望行程 L与所述自身速度值 v, 获取所述移动终端的第二次定位时间 t具体包 括:
所述移动终端按照如下公式获取间隔时间 T:
T = L/v, 即间隔时间 T等于所述期望行程 L与所述自身速度值 V的比值; 所述移动终端的第二次定位时间 t为所述移动终端确定的当前时刻与所述 时间间隔 T的和值。
4、 根据权利要求 1所述的方法, 其特征在于, 所述移动终端根据所述期 望行程 L与所述自身速度值 V调整定位频率具体包括:
所述移动终端以触发第一次定位操作的时间点为时间起点,在时间上对所 述自身速度值 V积分, 获取所述移动终端移动的路程 L';
所述移动终端根据所述移动的路程 L'与所述期望行程 L调整定位频率。
5、 根据权利要求 1至 4中任一项所述的方法, 其特征在于, 所述移动终 端确定期望行程 L具体包括:
所述移动终端获取定位误差 R和定位场景中围绕所有不可达区域的闭合 路径长度;
当最小闭合路径长度 C大于 4R时,所述移动终端确定期望行程 L的取值 范围为 2R < L < (C/2);
当最小闭合路径长度 C不大于 4R时,所述移动终端确定期望行程 L的取 值范围为 2R < L < (d/2), 所述 d为大于 4R的最小闭合路径长度;
所述移动终端接收用户在所述期望行程 L 的取值范围中选取的期望行程
L。
6、 根据权利要求 1至 4中任一项所述的方法, 其特征在于, 所述移动终 端确定期望行程 L具体包括:
所述移动终端确定当前定位场景;
所述移动终端根据预设的定位场景与期望行程的对应关系,确定所述当前 定位场景对应的所述期望行程 L。
7、 根据权利要求 1至 6中任一项所述的方法, 其特征在于, 所述移动终 端根据所述期望行程 L与所述自身速度值 V调整定位频率具体包括:
当所述自身速度值 V不等于 0时,所述移动终端根据所述期望行程 L与所 述自身速度值 V调整定位频率;
所述方法还包括:
当所述自身速度值等于 0时, 所述移动终端调整定位频率为 0。
8、 根据权利要求 1至 7中任一项所述的方法, 其特征在于, 所述移动终 端获取自身速度值 V的步骤之前还包括:
所述移动终端触发一次定位操作。
9、 根据权利要求 1至 8中任一项所述的方法, 其特征在于, 所述方法还 包括:
当所述移动终端获取不到所述自身速度值 V时,所述移动终端调整定位频 率为预置固定定位频率。
10、 一种装置, 其特征在于, 包括:
确定模块, 用于确定期望行程 L, 所述期望行程为相邻两次定位之间所述 装置移动路程的期望值;
获取模块, 用于获取自身速度值 v;
调整模块,用于根据所述确定模块确定的期望行程 L与所述获取模块获取 的自身速度值 V调整定位频率,使得定位模块根据调整后的定位频率进行的相 邻两次定位之间所述装置移动的路程与所述期望行程 L的偏差小于指定阔值; 定位模块, 用于按照所述调整模块调整后的定位频率进行定位。
11、 根据权利要求 10所述的装置, 其特征在于,
所述调整模块具体用于, 在触发第一次定位操作时, 根据所述期望行程 L 与所述自身速度值 v, 获取第二次定位时间 t;
所述定位模块具体用于,在所述第二次定位时间 t时触发第二次定位操作。
12、 根据权利要求 11所述的装置, 其特征在于, 所述调整模块具体包括: 第一获取单元, 用于按照如下公式获取间隔时间 T:
T = L/v, 即间隔时间 T等于所述期望行程 L与所述自身速度值 V的比值; 确定单元, 用于确定第二次定位时间 t为所述装置确定的当前时刻与所述 时间间隔 T的和值。
13、 根据权利要求 11所述的装置, 其特征在于, 所述调整模块具体包括: 第二获取单元, 用于以触发第一次定位操作的时间点为时间起点,在时间 上对所述自身速度值 V积分, 获取所述装置移动的路程 L';
调整单元, 用于根据所述移动的路程 L'与所述期望行程 L调整定位频率, 使得所述定位模块根据调整后的定位频率进行的相邻两次定位之间所述装置 移动的路程与所述期望行程 L的偏差小于指定阔值。
14、 根据权利要求 10至 13中任一项所述的装置, 其特征在于, 所述确定 模块具体包括:
获取单元, 用于获取定位误差 R和定位场景中围绕所有不可达区域的闭 合路径长度;
第一确定单元, 用于当最小闭合路径长度 C大于 4R时, 确定期望行程 L 的取值范围为 2R < L < (C/2);
第二确定单元, 用于当最小闭合路径长度 C不大于 4R时, 确定期望行程 L的取值范围为 2R < L < (d/2), 所述 d为大于 4R的最小闭合路径长度; 接收单元, 用于接收用户在所述期望行程 L 的取值范围中选取的期望行
程!^。
15、 根据权利要求 10至 13中任一项所述的装置, 其特征在于, 所述确定 模块具体包括:
第三确定单元, 用于确定当前定位场景;
第四确定单元, 用于根据预设的定位场景与期望行程的对应关系,确定所 述当前定位场景对应的所述期望行程 L。
16、 根据权利要求 10至 15中任一项所述的装置, 其特征在于, 所述调整 模块具体用于, 当确定所述自身速度值 V不等于 0时,根据所述确定模块确定 的期望行程 L与所述获取模块获取的自身速度值 V调整定位频率,使得所述定 位模块根据调整后的定位频率进行的相邻两次定位之间所述装置移动的路程 与所述期望行程 L的偏差小于指定阔值;
所述调整模块还用于, 当确定所述自身速度值等于 0时,调整定位频率为
0。
17、 根据权利要求 10至 16中任一项所述的装置, 其特征在于, 所述装置 还包括:
启动模块, 用于触发一次定位操作。
18、 根据权利要求 10至 17中任一项所述的装置, 其特征在于, 所述调整 模块还用于, 当确定获取不到所述自身速度值 V时,调整定位频率为固定定位 频率。
19、 一种移动终端, 其特征在于, 包括: 存储器, 处理器, 输入装置与输 出装置; 其中, 所述存储器与所述处理器连接, 所述处理器与所述输入装置连 接, 所述处理器与所述输出装置连接;
通过调用所述存储器中存储的操作指令, 所述处理器用于执行如下步骤: 确定期望行程 L,所述期望行程为相邻两次定位之间所述移动终端移动路 程的期望值;
获取自身速度值 V;
根据所述期望行程 L与所述自身速度值 V调整定位频率,使得所述移动终 端根据调整后的定位频率进行的相邻两次定位之间所述移动终端移动的路程 与所述期望行程 L的偏差小于指定阔值;
按照所述调整后的定位频率进行定位。
20、 根据权利要求 19所述的移动终端, 其特征在于,
所述处理器执行所述根据所述期望行程 L与所述自身速度值 V调整定位频 率的步骤时, 具体执行如下步骤:
在触发第一次定位操作时, 根据所述期望行程 L与所述自身速度值 v, 获 取所述移动终端的第二次定位时间 t;
所述处理器执行所述按照所述调整后的定位频率进行定位的步骤时,具体 执行如下步骤:
在所述第二次定位时间 t时触发第二次定位操作。
21、 根据权利要求 20所述的移动终端, 其特征在于, 所述处理器执行所 述根据所述期望行程 L与所述自身速度值 v,获取所述移动终端的第二次定位 时间 t的步骤时, 具体执行如下步骤:
按照如下公式获取间隔时间 T:
T = L/v, 即间隔时间 T等于所述期望行程 L与所述自身速度值 V的比值; 确定所述移动终端的第二次定位时间 t为所述移动终端确定的当前时刻与 所述时间间隔 T的和值。
22、 根据权利要求 20所述的移动终端, 其特征在于, 所述处理器执行所 述根据所述期望行程 L与所述自身速度值 V调整定位频率的步骤时,具体执行 如下步骤:
以触发第一次定位操作的时间点为时间起点,在时间上对所述自身速度值
V积分, 获取所述移动终端移动的路程 L';
根据所述移动的路程 L'与所述期望行程 L调整定位频率。
23、 根据权利要求 19至 22中任一项所述的移动终端, 其特征在于, 所述 处理器执行所述确定期望行程 L的步骤时, 具体执行如下步骤:
获取定位误差 R和定位场景中围绕所有不可达区域的闭合路径长度; 当最小闭合路径长度 C大于 4R时,确定期望行程 L的取值范围为 2R < L < (C/2);
当最小闭合路径长度 C不大于 4R时,确定期望行程 L的取值范围为 2R < L < (d/2), 所述 d为大于 4R的最小闭合路径长度;
接收用户在所述期望行程 L 的取值范围中选取的期望行程 L。
24、 根据权利要求 19至 22中任一项所述的移动终端, 其特征在于, 所述 处理器执行所述确定期望行程 L的步骤时, 具体执行如下步骤:
确定当前定位场景;
根据预设的定位场景与期望行程的对应关系,确定所述当前定位场景对应 的所述期望行程 L。
25、 根据权利要求 19至 24中任一项所述的移动终端, 其特征在于, 所述 处理器执行所述根据所述期望行程 L与所述自身速度值 V调整定位频率的步骤 时, 具体执行如下步骤:
当所述自身速度值 V不等于 0时,所述移动终端根据所述期望行程 L与所 述自身速度值 V调整定位频率;
当所述自身速度值等于 0时, 调整定位频率为 0。
26、 根据权利要求 19至 25中任一项所述的移动终端, 其特征在于, 所述 处理器在执行所述获取自身速度值 V的步骤之前, 还用于执行如下步骤:
触发一次定位操作。
27、 根据权利要求 19至 25中任一项所述的移动终端, 其特征在于, 所述 处理器还用于执行如下步骤:
当获取不到所述自身速度值 V时, 调整定位频率为预置固定定位频率。
+
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2014/083686 WO2016019504A1 (zh) | 2014-08-05 | 2014-08-05 | 一种定位方法、装置及移动终端 |
CN201480076376.9A CN106031261B (zh) | 2014-08-05 | 2014-08-05 | 一种定位方法、装置及移动终端 |
US15/502,004 US10520595B2 (en) | 2014-08-05 | 2014-08-05 | Positioning method, apparatus, and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2014/083686 WO2016019504A1 (zh) | 2014-08-05 | 2014-08-05 | 一种定位方法、装置及移动终端 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016019504A1 true WO2016019504A1 (zh) | 2016-02-11 |
Family
ID=55262987
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/083686 WO2016019504A1 (zh) | 2014-08-05 | 2014-08-05 | 一种定位方法、装置及移动终端 |
Country Status (3)
Country | Link |
---|---|
US (1) | US10520595B2 (zh) |
CN (1) | CN106031261B (zh) |
WO (1) | WO2016019504A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109691185A (zh) * | 2018-07-26 | 2019-04-26 | 深圳前海达闼云端智能科技有限公司 | 一种定位方法、装置、终端和可读存储介质 |
CN109891934A (zh) * | 2017-08-23 | 2019-06-14 | 华为技术有限公司 | 一种定位方法及装置 |
Families Citing this family (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102263695B1 (ko) * | 2014-01-20 | 2021-06-10 | 삼성전자 주식회사 | 복수개의 카메라를 이용한 휴대 장치 및 제어방법 |
US10520595B2 (en) * | 2014-08-05 | 2019-12-31 | Huawei Technologies Co., Ltd. | Positioning method, apparatus, and mobile terminal |
CN108955713B (zh) * | 2017-05-27 | 2023-03-31 | 腾讯科技(北京)有限公司 | 行驶轨迹的显示方法及装置 |
US11370108B2 (en) * | 2017-10-10 | 2022-06-28 | Iunu, Inc. | Intelligent track and navigation for sensor carrier |
CN111399493A (zh) * | 2018-12-29 | 2020-07-10 | 北京奇虎科技有限公司 | 一种智能设备的路径展示方法和装置 |
CN110794821B (zh) * | 2019-01-25 | 2022-05-27 | 长城汽车股份有限公司 | 车载控制装置、场端定位装置、车辆控制系统及车辆 |
CN109600830A (zh) * | 2019-01-31 | 2019-04-09 | 北京永安信通科技股份有限公司 | 移动终端、电子设备及其定位方法 |
CN110069120B (zh) * | 2019-04-30 | 2021-04-20 | 满帮信息咨询有限公司 | 基于网联协同的定位设备控制方法、系统、设备及介质 |
CN112184094B (zh) * | 2019-07-03 | 2024-08-20 | 北京京东振世信息技术有限公司 | 一种地址信息采集方法和装置 |
CN110522616A (zh) * | 2019-09-02 | 2019-12-03 | 湖南工程学院 | 一种可穿戴智能导盲衣 |
CN112637779B (zh) * | 2019-10-08 | 2023-05-05 | Oppo广东移动通信有限公司 | 移动路径的确定方法、装置、可穿戴设备和存储介质 |
CN111125552B (zh) * | 2019-11-11 | 2024-02-13 | 北京金山安全软件有限公司 | 一种移动轨迹绘制方法、装置、电子设备及存储介质 |
CN113473424A (zh) * | 2020-03-30 | 2021-10-01 | 阿里巴巴集团控股有限公司 | 控制方法、装置、设备及系统 |
CN113873444B (zh) * | 2020-06-30 | 2023-03-10 | 华为技术有限公司 | 一种定位方法及电子设备 |
CN111999598B (zh) * | 2020-08-24 | 2023-03-28 | 国网陕西省电力公司电力科学研究院 | 一种混合线路的故障定位方法 |
CN112188406B (zh) * | 2020-09-29 | 2023-03-14 | 深圳市沃特沃德股份有限公司 | 位置上报方法、装置及存储介质 |
CN114697868B (zh) * | 2020-12-28 | 2024-10-01 | 大众问问(北京)信息科技有限公司 | 一种车辆校正定位点的管理方法、装置、服务器及介质 |
CN113030852B (zh) * | 2021-03-01 | 2022-01-07 | 嘉兴太和信息技术有限公司 | 一种定位方法及定位系统 |
CN113753523B (zh) * | 2021-09-22 | 2023-02-28 | 宁夏天地西北煤机有限公司 | 多履带输送机协同自移控制方法及系统 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1794862A (zh) * | 2005-12-29 | 2006-06-28 | 重庆邮电学院 | Lbs中动态改变用户定位频率的方法 |
CN1834688A (zh) * | 2006-04-26 | 2006-09-20 | 北京邮电大学 | 一种基于超宽带技术提高蜂窝系统定位精度的方法 |
CN1859798A (zh) * | 2006-03-20 | 2006-11-08 | 华为技术有限公司 | 区域触发定位方法及装置 |
JP2013257774A (ja) * | 2012-06-13 | 2013-12-26 | Navitime Japan Co Ltd | 移動情報集計システム、サーバ装置、端末装置、移動情報集計装置、移動情報集計方法、および、プログラム |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7418346B2 (en) * | 1997-10-22 | 2008-08-26 | Intelligent Technologies International, Inc. | Collision avoidance methods and systems |
US6393046B1 (en) * | 1996-04-25 | 2002-05-21 | Sirf Technology, Inc. | Spread spectrum receiver with multi-bit correlator |
US7962285B2 (en) * | 1997-10-22 | 2011-06-14 | Intelligent Technologies International, Inc. | Inertial measurement unit for aircraft |
US20040219932A1 (en) * | 2003-04-29 | 2004-11-04 | Verteuil Andre De | Efficient tracking method for location determination of mobile units |
US8838481B2 (en) | 2011-07-26 | 2014-09-16 | Golba Llc | Method and system for location based hands-free payment |
US20090140887A1 (en) * | 2007-11-29 | 2009-06-04 | Breed David S | Mapping Techniques Using Probe Vehicles |
WO2010003711A1 (de) * | 2008-07-08 | 2010-01-14 | Siemens Aktiengesellschaft | Adaptereinrichtung und verfahren zum energetischen laden eines fahrzeugs |
CN102076082A (zh) | 2010-11-19 | 2011-05-25 | 厦门雅迅网络股份有限公司 | 一种动态自适应的基站定位方法 |
CN202916932U (zh) | 2012-05-18 | 2013-05-01 | 中国科学院信息工程研究所 | 一种用于物品移动检测与报警的嵌入式设备 |
US10520595B2 (en) * | 2014-08-05 | 2019-12-31 | Huawei Technologies Co., Ltd. | Positioning method, apparatus, and mobile terminal |
US10241194B2 (en) * | 2016-03-31 | 2019-03-26 | Voll, Inc. | Mobile device utilizing time of flight for personal security and localization |
US9651651B1 (en) * | 2016-03-31 | 2017-05-16 | Voll, Inc. | Imaging-based frequency receiver device calibration |
-
2014
- 2014-08-05 US US15/502,004 patent/US10520595B2/en active Active
- 2014-08-05 CN CN201480076376.9A patent/CN106031261B/zh active Active
- 2014-08-05 WO PCT/CN2014/083686 patent/WO2016019504A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1794862A (zh) * | 2005-12-29 | 2006-06-28 | 重庆邮电学院 | Lbs中动态改变用户定位频率的方法 |
CN1859798A (zh) * | 2006-03-20 | 2006-11-08 | 华为技术有限公司 | 区域触发定位方法及装置 |
CN1834688A (zh) * | 2006-04-26 | 2006-09-20 | 北京邮电大学 | 一种基于超宽带技术提高蜂窝系统定位精度的方法 |
JP2013257774A (ja) * | 2012-06-13 | 2013-12-26 | Navitime Japan Co Ltd | 移動情報集計システム、サーバ装置、端末装置、移動情報集計装置、移動情報集計方法、および、プログラム |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109891934A (zh) * | 2017-08-23 | 2019-06-14 | 华为技术有限公司 | 一种定位方法及装置 |
US11212652B2 (en) | 2017-08-23 | 2021-12-28 | Honor Device Co., Ltd. | Positioning method and apparatus |
CN109691185A (zh) * | 2018-07-26 | 2019-04-26 | 深圳前海达闼云端智能科技有限公司 | 一种定位方法、装置、终端和可读存储介质 |
CN109691185B (zh) * | 2018-07-26 | 2022-09-30 | 达闼机器人股份有限公司 | 一种定位方法、装置、终端和可读存储介质 |
Also Published As
Publication number | Publication date |
---|---|
US10520595B2 (en) | 2019-12-31 |
CN106031261A (zh) | 2016-10-12 |
US20170234980A1 (en) | 2017-08-17 |
CN106031261B (zh) | 2019-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016019504A1 (zh) | 一种定位方法、装置及移动终端 | |
JP6606269B2 (ja) | スマートホーム無線制御システム | |
CN105101404B (zh) | 定位方法、装置及终端 | |
US8977288B2 (en) | Apparatus and method for performing low-power geo-fence operations | |
KR101947652B1 (ko) | 휴대 단말기의 저전력 근거리 통신 기능 운용 방법 및 장치 | |
US20200226075A1 (en) | Power consumption control method and system for electronic positioning device, and electronic positioning device | |
KR20210053018A (ko) | UWB(Ultra Wide Band)를 통해 레인징을 수행하는 전자 디바이스 및 전자 디바이스의 동작 방법 | |
US20180011456A1 (en) | Method and apparatus for smart home control based on smart watches | |
US20220011398A1 (en) | Method and apparatus for determining relative positioning between devices | |
CN110493711B (zh) | 定位的方法、装置、系统、电子设备及存储介质 | |
US9313788B2 (en) | Mobile device for wireless data communication and a method for communicating data by wireless data communication in a data communication network | |
KR102010035B1 (ko) | 니어 홈 유도 기능을 갖는 주차 유도 장치 | |
US20220377752A1 (en) | Method and apparatus for obtaining location information by transitioning between modes of operation | |
US20180252533A1 (en) | Causing a transition between positioning modes | |
JP6441470B2 (ja) | 電子機器、電子機器の制御方法、およびプログラム | |
EP4066002B1 (en) | Power-conserving off-loaded location service | |
WO2022088935A1 (zh) | 智能设备的控制方法、标签、设备、终端及存储介质 | |
US20190271546A1 (en) | Electronic apparatus, control device, and operation method of electronic apparatus | |
CN107532913A (zh) | 一种导航方法和用于导航的设备 | |
CN106896387B (zh) | 确定便携终端处于室内室外的方法及便携终端 | |
KR101969638B1 (ko) | 차량용 비치 장치를 제거한 주차위치 인식 제공장치 | |
CN203340288U (zh) | 一种室内无线定位系统和智能终端 | |
WO2022257771A1 (zh) | 受控设备的控制方法、装置、系统、终端设备及uwb组件 | |
EP4171055A1 (en) | Equipment control system, user terminal, equipment control method, and program | |
KR20230012368A (ko) | 청소 로봇을 제어하는 전자 장치 및 그 동작 방법 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14899519 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14899519 Country of ref document: EP Kind code of ref document: A1 |