Search

CN-122027986-A - Positioning method and terminal equipment

CN122027986ACN 122027986 ACN122027986 ACN 122027986ACN-122027986-A

Abstract

The application provides a positioning method and terminal equipment, and relates to the technical field of terminals. The method comprises the steps that after the first condition is met, a first processing unit of the terminal equipment performs real-time positioning on the terminal equipment, and after the second condition is met, a second processing unit of the terminal equipment performs real-time positioning on the terminal equipment. The first processing unit is operated with low power consumption, and the second processing unit with higher power consumption executes real-time positioning after meeting the second condition, so that the power consumption of the terminal equipment in the positioning process is reduced in general. The second processing unit has stronger processing capability and higher positioning precision, and can acquire accurate positioning results, thereby facilitating the user to find the vehicle.

Inventors

  • HUANG GUOSHENG
  • SHI XIANG
  • WU MOUYAN
  • LI WENYI
  • XU HONGFEI
  • ZHU YUHONG

Assignees

  • 华为技术有限公司

Dates

Publication Date
20260512
Application Date
20250630

Claims (19)

  1. 1. A positioning method, characterized by being applied to a terminal device, the terminal device comprising a sensor unit, a satellite positioning unit, a first processing unit and a second processing unit, the processing capacity of the first processing unit being smaller than the processing capacity of the second processing unit, the method comprising: After a first condition is met, the first processing unit controls the satellite positioning unit to periodically acquire satellite positioning information and receive the satellite positioning information from the satellite positioning unit, and the first processing unit receives sensor data from the sensor unit; the first processing unit acquires the real-time position of the terminal equipment according to the satellite positioning information and the sensor data; After a second condition is met, the second processing unit receives sensor data from the sensor unit, and the real-time position of the terminal equipment is obtained according to the sensor data; And after the third condition is met, the second processing unit acquires position information according to the real-time position acquired by the second processing unit, wherein the position information comprises at least one of floor information and parking space information.
  2. 2. The method of claim 1, wherein the first processing unit obtaining the real-time location of the terminal device from the satellite positioning information and the sensor data comprises: the first processing unit outputs the running track of the terminal equipment in real time according to the sensor data; after each time of satellite positioning information is acquired, the first processing unit corrects the output running track based on the acquired satellite positioning information; And the first processing unit acquires the real-time position of the terminal equipment according to the corrected running track.
  3. 3. The method according to claim 1 or 2, wherein the satellite positioning unit periodically acquiring satellite positioning information comprises: And the satellite positioning unit periodically works for a first time period and then closes a second time period, and satellite positioning information is acquired in each first time period.
  4. 4. A method according to claim 3, wherein the satellite positioning unit is periodically powered up and down for each of the first time periods.
  5. 5. The method according to any one of claims 1-4, wherein the second processing unit obtaining the real-time location of the terminal device from the sensor data comprises: The second processing unit outputs the running track of the terminal equipment in real time according to the sensor data; And the second processing unit acquires the real-time position of the terminal equipment according to the running track output by the second processing unit.
  6. 6. The method of claim 5, wherein the method further comprises: After the second condition is met, the second processing unit starts the satellite positioning unit to perform GNSS positioning of a high-performance global navigation satellite system; The second processing unit acquires satellite positioning information of the high-performance GNSS positioning, and corrects the running track output by the second processing unit based on the satellite positioning information of the high-performance GNSS positioning.
  7. 7. The method according to any one of claims 1-6, further comprising: and after the second condition is met, starting the second processing unit.
  8. 8. The method according to any one of claims 1 to 7, wherein the movement track output by the second processing unit includes at least one of a cross-layer movement track or a plane movement track, the floor information is acquired according to the cross-layer movement track, and the parking space information is acquired according to the plane movement track and a high-precision map of a parking lot associated with a real-time position of the terminal device when the second condition is satisfied.
  9. 9. The method according to any one of claims 5-8, further comprising: And the second processing unit corrects the running track output by the second processing unit according to the road network information of the parking lot associated with the real-time position of the terminal equipment when the second condition is met.
  10. 10. The method according to any of claims 1-9, characterized in that the terminal device moves with the vehicle or is part of the vehicle.
  11. 11. The method according to any one of claims 1 to 10, wherein, The satisfaction of the first condition includes detecting a vehicle launch; The satisfaction of the second condition includes detecting that the vehicle enters a parking lot; The satisfaction of the third condition includes detecting that the vehicle is stationary.
  12. 12. A positioning method, characterized by being applied to a terminal device, the terminal device comprising a sensor unit, a first processing unit and a second processing unit, the processing capacity of the first processing unit being smaller than the processing capacity of the second processing unit, the method comprising: After the start of the vehicle is detected, the first processing unit receives sensor data from the sensor unit and stores the sensor data; After the vehicle is detected to be parked, the second processing unit calculates the displacement of the terminal equipment according to the sensor data to acquire the running track of the terminal equipment; the second processing unit acquires the position information of the parking place of the vehicle according to the single position information and the running track, wherein the position information comprises at least one item of floor information or parking space information.
  13. 13. The method of claim 12, wherein the first processing unit stores sensor data for a most recent predetermined time period.
  14. 14. The method of claim 12 or 13, wherein the travel track comprises at least one of a cross-floor travel track or a planar travel track, the floor information is obtained from the cross-floor travel track, and the parking information is obtained from the planar travel track and a high-precision map of a parking lot associated with the vehicle parking.
  15. 15. The method according to any one of claims 12-14, further comprising: and the second processing unit corrects the running track according to the road network information of the parking lot with the position related to the single positioning.
  16. 16. The method according to any of claims 12-15, characterized in that the terminal device moves with the vehicle or is part of the vehicle.
  17. 17. A terminal device comprising a memory, a processor, a sensor unit and a satellite positioning unit, the processor comprising a first processing unit and a second processing unit, the processing power of the first processing unit being smaller than the processing power of the second processing unit, the memory being coupled to the processor, the memory being for storing computer program code comprising computer instructions, the processor invoking the computer instructions to cause the terminal device to perform the method of any of claims 1-16.
  18. 18. A computer readable storage medium having stored thereon a computer program/instruction which, when executed by a processor, implements the method of any of claims 1-16.
  19. 19. A computer program product comprising computer programs/instructions which, when executed by a processor, implement the method of any of claims 1-16.

Description

Positioning method and terminal equipment Technical Field The present application relates to the field of terminal technologies, and in particular, to a positioning method and a terminal device. Background With the rapid development of technologies such as cellular positioning and satellite positioning, terminal devices such as mobile phones and car phones can provide accurate positioning services for users. However, in some scenes, such as underground parking lots, long tunnels, etc., problems arise in that position information cannot be acquired or positioning cannot be accurately performed because cellular network signals, satellite signals, etc., cannot be completely covered. Disclosure of Invention The embodiment of the application provides a positioning method and terminal equipment, which can provide accurate position information in scenes such as underground parking lots, long tunnels and the like. In order to achieve the above purpose, the embodiment of the present application adopts the following technical scheme: In a first aspect, a positioning method is provided, applied to a terminal device, the terminal device comprising a sensor unit, a satellite positioning unit, a first processing unit and a second processing unit, wherein the processing capability of the first processing unit is smaller than that of the second processing unit, the method comprises the steps that after a first condition is met, for example, a vehicle start is detected, or a user is detected to enter a vehicle or the like, the first processing unit controls the satellite positioning unit to periodically acquire satellite positioning information, and receives satellite positioning information from the satellite positioning unit, the first processing unit also receives sensor data from the sensor unit, the first processing unit acquires real-time position of the terminal device according to the satellite positioning information and the sensor data, the second processing unit receives sensor data from the sensor unit after a second condition is met, for example, a vehicle is detected to enter a parking lot, or a vehicle is detected to enter a vehicle or the like, the second processing unit acquires real-time position information according to the second processing unit, for example, the second processing unit acquires real-time position information, for example, the position information comprises at least one floor or parking space information. In the method, the first processing unit performs real-time positioning of the terminal equipment before the second condition is met, and the first processing unit is operated with low power consumption and has lower power consumption. After the second condition is met, the real-time positioning of the terminal device is performed by the second processing unit. Overall, the power consumption of the positioning process is reduced. Therefore, the real-time positioning can be automatically started after the first condition is met, and the constraint that a user needs to manually start the positioning is overcome. The second processing unit has stronger processing capability and higher positioning precision, and can acquire accurate positioning results in real time, so that a user can conveniently find a vehicle. With reference to the first aspect, in one possible implementation manner, the first processing unit obtains the real-time position of the terminal device according to the satellite positioning information and the sensor data, and the first processing unit outputs the running track of the terminal device in real time according to the sensor data, corrects the output running track based on the acquired satellite positioning information after each time of acquiring the satellite positioning information, and obtains the real-time position of the terminal device according to the corrected running track. In the method, the real-time position of the terminal equipment is obtained according to the combination of the satellite positioning information and the sensor data, so that the positioning accuracy can be improved. The method is capable of correcting the running track through satellite positioning information periodically, improving positioning accuracy, reducing accuracy requirements for calculating the running track according to sensor data, and enabling the method to be carried out through the first processing unit in a low power consumption mode. And the running track is periodically corrected according to the satellite positioning data, so that GNSS positioning can be periodically started and closed, and the power consumption generated by executing the GNSS positioning is reduced. With reference to the first aspect, in a possible implementation manner, the satellite positioning unit periodically acquires satellite positioning information includes turning off the second time period after the satellite positioning unit periodically works for the first time period, and acquiring the