CN114111755A - Positioning correction method and device, electronic equipment and computer readable storage medium - Google Patents

Positioning correction method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN114111755A
CN114111755A CN202010879786.4A CN202010879786A CN114111755A CN 114111755 A CN114111755 A CN 114111755A CN 202010879786 A CN202010879786 A CN 202010879786A CN 114111755 A CN114111755 A CN 114111755A
Authority
CN
China
Prior art keywords
positioning point
road
orientation
positioning
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010879786.4A
Other languages
Chinese (zh)
Inventor
余自强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010879786.4A priority Critical patent/CN114111755A/en
Publication of CN114111755A publication Critical patent/CN114111755A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/005Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 with correlation of navigation data from several sources, e.g. map or contour matching
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO 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
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/40Correcting position, velocity or attitude
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO 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
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • G01S19/48Determining position by combining or switching between position solutions derived from the satellite radio beacon positioning system and position solutions derived from a further system

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Automation & Control Theory (AREA)
  • Navigation (AREA)

Abstract

The application provides a positioning correction method and device, electronic equipment and a computer readable storage medium, and relates to the technical field of positioning. The method comprises the following steps: when a map application program in a terminal is in a working state, determining a first positioning point of the map application program and a first orientation of the first positioning point based on a preset road; when the preset positioning point correction condition is met, determining a second orientation of the terminal based on the road; and when the first orientation is inconsistent with the second orientation, correcting the first positioning point to obtain a corrected positioning point. According to the method and the device, the problem that the position is positioned opposite to the road under the condition that the user just starts the map application program and the positioning is inaccurate is solved, the positioning precision is improved, the problem that the road needs to be bypassed due to the fact that the uncertain actual position is located on the side of the road is solved, and the user experience is improved.

Description

Positioning correction method and device, electronic equipment and computer readable storage medium
Technical Field
The present application relates to the field of positioning technologies, and in particular, to a positioning correction method, an apparatus, an electronic device, and a computer-readable storage medium.
Background
At present, a positioning navigation system becomes one of common tools in our daily life, and a plurality of positioning-based application programs greatly facilitate our life, such as taxi taking and meeting of friends, and bring great convenience for our daily trip.
However, the Positioning accuracy of the current civil GPS (Global Positioning System) is limited to within 10 meters, and therefore, when a user uses an application program to position on one side of a road, the Positioning data is displayed on the application program as the other side of the road due to the deviation of the Positioning accuracy. For example, when a user uses a taxi-taking type application, when the driver arrives at a location and finds that the user is on the opposite side of the road, the user can only take a car by walking from the side where the user is actually located to the opposite side of the road, or the vehicle arrives at the opposite side of the road from the side where the vehicle is located. This can be a significant inconvenience to the user, especially in the case of a one-way street or the presence of a guardrail.
Disclosure of Invention
The application provides a positioning correction method, a positioning correction device, electronic equipment and a computer readable storage medium, which can solve the problem that errors exist on a road side to which a positioning point belongs. The technical scheme is as follows:
in a first aspect, a positioning correction method is provided, and the method includes:
when a map application program in a terminal is in a working state, determining a first positioning point of the map application program and a first orientation of the first positioning point based on a preset road;
when the preset positioning point correction condition is met, determining a second orientation of the terminal based on the road;
and when the first orientation is inconsistent with the second orientation, correcting the first positioning point to obtain a corrected positioning point.
Preferably, the determining the first location point of the map application and the first orientation of the first location point based on a preset road includes:
determining a first positioning point of the map application program based on at least one of a preset global positioning system, a network signal and a base station, and determining a first orientation of the first positioning point based on a preset road; the first orientation is a direction in which the positioning point is located on either side of the road.
Preferably, the detection that the preset setpoint modification condition is met includes:
obtaining the positioning precision of the first positioning point;
and when the positioning accuracy does not exceed a positioning accuracy threshold value, judging that a preset positioning point modification condition is met.
Preferably, determining the second orientation of the terminal based on the road comprises:
determining a second orientation of the terminal based on a preset road based on a preset magnetic field sensor; the second orientation is a direction in which the terminal is located on either side of the road.
Preferably, the modifying the first positioning point to obtain a modified positioning point includes:
acquiring a second positioning point of the terminal based on the second orientation;
and replacing the first positioning point with the second positioning point to obtain a modified positioning point.
Preferably, before determining the second orientation of the terminal based on the road, the method further includes:
displaying a preset confirmation correction interface in the map application program;
and receiving a confirmation correction instruction based on the confirmation correction interface.
Preferably, the method further comprises the following steps:
marking the second orientation in a road segment of a preset distance corresponding to the corrected location point of the road.
In a second aspect, there is provided a positioning correction apparatus, the apparatus comprising:
the terminal comprises a first processing module, a second processing module and a control module, wherein the first processing module is used for determining a first positioning point of a map application program and a first orientation of the first positioning point based on a preset road when the map application program in the terminal is in a working state;
the second processing module is used for determining a second orientation of the terminal based on the road when the preset positioning point correction condition is detected to be met;
and the correction module is used for correcting the first positioning point to obtain a corrected positioning point when the first orientation is inconsistent with the second orientation.
Preferably, the first processing module is specifically configured to:
determining a first positioning point of the map application program based on at least one of a preset global positioning system, a network signal and a base station, and determining a first orientation of the first positioning point based on a preset road; the first orientation is a direction in which the positioning point is located on either side of the road.
Preferably, the second processing module includes:
the first acquisition sub-module is used for acquiring the positioning precision of the first positioning point;
and the judging submodule is used for judging that a preset positioning point modification condition is met when the positioning accuracy does not exceed a positioning accuracy threshold.
Preferably, the second processing module is specifically configured to:
determining a second orientation of the terminal based on a preset road based on a preset magnetic field sensor; the second orientation is a direction in which the terminal is located on either side of the road.
Preferably, the correction module comprises:
a second obtaining submodule, configured to obtain a second positioning point of the terminal based on the second orientation;
and the replacing submodule is used for replacing the first positioning point with the second positioning point to obtain the modified positioning point.
Preferably, the method further comprises the following steps:
the display module is further configured to display a preset confirmation correction interface in the map application before determining that the terminal faces the second direction based on the road;
and the receiving module is used for receiving a correction confirmation instruction based on the correction confirmation interface.
Preferably, the method further comprises the following steps:
and the marking module is used for marking the second orientation in a road section of a preset distance corresponding to the corrected positioning point of the road.
In a third aspect, an electronic device is provided, which includes:
a processor, a memory, and a bus;
the bus is used for connecting the processor and the memory;
the memory is used for storing operation instructions;
the processor is configured to call the operation instruction, and the executable instruction enables the processor to perform an operation corresponding to the positioning correction method according to the first aspect of the present application.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor, implements the positioning correction method shown in the first aspect of the present application.
The beneficial effect that technical scheme that this application provided brought is:
when a map application program in a terminal is in a working state, determining a first positioning point of the map application program and a first orientation of the first positioning point based on a preset road; when the preset positioning point correction condition is met, determining a second orientation of the terminal based on the road; and when the first orientation is inconsistent with the second orientation, correcting the first positioning point to obtain a corrected positioning point. Therefore, the first positioning point of the map application program in the map and the road side of the preset road to which the first positioning point belongs are determined, whether the positioning point needs to be corrected is detected, if the positioning point needs to be corrected, the road side of the preset road to which the terminal belongs is determined, and if the positioning point and the road side do not belong to the same side of the preset road, the actual positions of the positioning point and the terminal (user) are respectively located on two sides of the preset road, so that the first positioning point is corrected based on the actual position to obtain the positioning point located on the other side of the road after correction.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below.
Fig. 1 is a schematic flowchart of a positioning correction method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a positioning correction method according to another embodiment of the present application;
FIG. 3 is a schematic diagram illustrating the effect of the road side to which the first positioning point belongs;
FIG. 4 is a schematic diagram illustrating the effect of the road side to which the first positioning point belongs and the road side to which the terminal actually belongs;
FIG. 5 is a schematic diagram of the effect of the positioning point without position indication and the positioning point with position indication;
FIG. 6 is a schematic diagram of the position relationship between the terminal and the road when the terminal is located by the magnetic field sensor;
FIG. 7 is a schematic view of a validation revision interface;
FIGS. 8A 8B are the positioning result before and after the positioning point is modified in the actual application test;
FIG. 9 is a schematic diagram illustrating the effect of road-side marking on the modified anchor point;
fig. 10 is a schematic structural diagram of a positioning correction apparatus according to another embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device for positioning correction according to yet another embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The present application provides a positioning correction method, an apparatus, an electronic device, and a computer-readable storage medium, which are intended to solve the above technical problems in the prior art.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
In one embodiment, a positioning correction method is provided, as shown in fig. 1, the method including:
step S101, when a map application program in a terminal is in a working state, determining a first positioning point of the map application program and a first orientation of the first positioning point based on a preset road;
the map application may be an application having a positioning function, such as a map-type application, a navigation-type application, a taxi-type application, and the like.
Specifically, when the map application is in an operating state, a first location point of the map application and a first orientation of the first location point based on the preset road are determined. In practical application, the map application program being in a working state may mean that the map application program is just started and starts to work, or the application program runs in the background, or the application program enters the working state from a non-working state. For example, when the user stands on one side of a road, the terminal is taken out, the map application program is started, the map application program starts to run, and the first positioning point of the map application program and the first orientation of the first positioning point based on the preset road are determined. Of course, the map application may be continuously running. For another example, after the user starts the map application program in the terminal, the terminal automatically locks the screen, at this time, the map application program may be in a non-working state, and when the user unlocks, the map application program may be in a working state again.
Step S102, when the preset positioning point correction condition is detected to be met, determining a second orientation of the terminal based on the road;
in practical application, due to factors such as poor terminal signals and environmental interference, the first positioning point of the map application program in the map and the actual position of the terminal are determined to be different, that is, the position of the first positioning point is wrong, and therefore the positioning point needs to be corrected.
And S103, when the first orientation is inconsistent with the second orientation, correcting the first positioning point to obtain a corrected positioning point.
And after the second orientation is determined, comparing the first orientation with the second orientation, and if the first orientation is not consistent with the second orientation, correcting the first positioning point to obtain a corrected positioning point, and displaying the corrected positioning point in a map application program.
It should be noted that, in the embodiment of the present invention, in the process of positioning and correcting, the terminal may not perform data interaction with the server, and may independently complete positioning and correcting and obtain the corrected positioning point.
In the embodiment of the invention, when a map application program in a terminal is in a working state, a first positioning point of the map application program and a first orientation of the first positioning point based on a preset road are determined; when the preset positioning point correction condition is met, determining a second orientation of the terminal based on the road; and when the first orientation is inconsistent with the second orientation, correcting the first positioning point to obtain a corrected positioning point. Therefore, the first positioning point of the map application program in the map and the road side of the preset road to which the first positioning point belongs are determined, whether the positioning point needs to be corrected is detected, if the positioning point needs to be corrected, the road side of the preset road to which the terminal belongs is determined, and if the positioning point and the road side do not belong to the same side of the preset road, the actual positions of the positioning point and the terminal (user) are respectively located on two sides of the preset road, so that the first positioning point is corrected based on the actual position to obtain the positioning point located on the other side of the road after correction.
In another embodiment, a positioning correction method is provided, as shown in fig. 2, the method including:
step S201, when a map application program in a terminal is in a working state, determining a first positioning point of the map application program and a first orientation of the first positioning point based on a preset road;
the map application may be an application having a positioning function, such as a map-type application, a navigation-type application, a taxi-type application, and the like.
The map application may be installed in a terminal, which may have the following features:
(1) on a hardware architecture, a device has a central processing unit, a memory, an input unit and an output unit, that is, the device is often a microcomputer device having a communication function. In addition, various input modes such as a keyboard, a mouse, a touch screen, a microphone, a camera and the like can be provided, and input can be adjusted as required. Meanwhile, the equipment often has a plurality of output modes, such as a telephone receiver, a display screen and the like, and can be adjusted according to needs;
(2) on a software system, the device must have an operating system, such as Windows Mobile, Symbian, Palm, Android, iOS, and the like. Meanwhile, the operating systems are more and more open, and personalized application programs developed based on the open operating system platforms are infinite, such as a communication book, a schedule, a notebook, a calculator, various games and the like, so that the requirements of personalized users are met to a great extent;
(3) in terms of communication capacity, the device has flexible access mode and high-bandwidth communication performance, and can automatically adjust the selected communication mode according to the selected service and the environment, thereby being convenient for users to use. The device can support GSM (Global System for Mobile Communication), WCDMA (Wideband Code Division Multiple Access), CDMA2000(Code Division Multiple Access), TDSCDMA (Time Division-Synchronous Code Division Multiple Access), Wi-Fi (Wireless-Fidelity), WiMAX (world Interoperability for Microwave Access) and the like, thereby being suitable for various types of networks, and not only supporting voice services, but also supporting various Wireless data services;
(4) in the aspect of function use, the equipment focuses more on humanization, individuation and multi-functionalization. With the development of computer technology, devices enter a human-centered mode from a device-centered mode, and the embedded computing, control technology, artificial intelligence technology, biometric authentication technology and the like are integrated, so that the human-oriented purpose is fully embodied. Due to the development of software technology, the equipment can be adjusted and set according to individual requirements, and is more personalized. Meanwhile, the device integrates a plurality of software and hardware, and the function is more and more powerful.
Specifically, when the map application is in an operating state, a first location point of the map application and a first orientation of the first location point based on the preset road are determined. In practical application, the map application program being in a working state may mean that the map application program is just started and starts to work, or the application program runs in the background, or the application program enters the working state from a non-working state. For example, when the user stands on one side of a road, the terminal is taken out, the map application program is started, the map application program starts to run, and the first positioning point of the map application program and the first orientation of the first positioning point based on the preset road are determined. Of course, the map application may be continuously running. For another example, after the user starts the map application program in the terminal, the terminal automatically locks the screen, at this time, the map application program may be in a non-working state, and when the user unlocks, the map application program may be in a working state again.
In a preferred embodiment of the present invention, determining the first location point of the map application and the first orientation of the first location point based on the preset road includes:
determining a first positioning point of a map application program based on at least one of a preset global positioning system, a network signal and a base station, and determining a first orientation of the first positioning point based on a preset road; the first orientation is a direction in which the anchor point is located on either side of the road.
The first fixed point of the map application program is the coordinate of the map application program in the map. Specifically, the terminal may determine the first location point of the map application through at least one of a global positioning system (e.g., GPS, beidou, etc.), a network signal (e.g., a 4G network signal, a 5G network signal, etc.), and a base station (i.e., a communication base station).
Although the map application performs positioning based on the terminal, the positioning point shown in the map is the coordinate of the map application in the map.
After the first positioning point is determined, a first orientation of the first positioning point based on a preset road can be further determined; wherein, the first orientation is the direction that the setpoint is located any one side in the both sides of road.
Wherein the preset link may be a link closest to the first location point. That is, after the coordinates of the map application on the map are determined, it is further determined on which side of the road the coordinates are located closest to. For example, as shown in FIG. 3, the first location point of the mapping application is determined to be L1, which is located north of the road, so the first orientation of the first location point may be north.
Step S202, when the preset positioning point correction condition is detected to be met, determining a second orientation of the terminal based on the road;
in practical application, due to factors such as poor terminal signals and environmental interference, the first positioning point of the map application program in the map and the actual position of the terminal are determined to be different, that is, the position of the first positioning point is wrong, and therefore the positioning point needs to be corrected.
For example, as shown in fig. 4, it is determined that the first location point of the map application is L1, which is oriented north, and the actual location of the terminal is L2, which is oriented south, then the location of the first location point is wrong, and L1 needs to be revised to L2.
In the embodiment of the invention, when the preset positioning point correction condition is detected to be met, the second orientation of the terminal based on the road can be determined, and the positioning point correction is prepared. The preset positioning point modification condition may be that the positioning accuracy of the positioning point does not exceed a preset positioning accuracy threshold.
In a preferred embodiment of the present invention, the detecting that the preset anchor point modification condition is satisfied includes:
acquiring the positioning precision of a first positioning point;
and when the positioning accuracy does not exceed the positioning accuracy threshold, judging that the preset positioning point modification condition is met.
Here, the positioning Accuracy (Positional Accuracy) is the proximity between the spatial entity position information (usually coordinates) and its real position. Specifically, in the embodiment of the present invention, when the first positioning point is determined, the positioning accuracy of the first positioning point may be determined at the same time, and if the positioning accuracy does not exceed the positioning accuracy threshold, it may be determined that the positioning point correction condition is satisfied, so as to trigger the positioning point correction.
For example, when the first positioning point is determined, and the positioning accuracy of the first positioning point is determined to be 5 meters and less than the positioning accuracy threshold value of 10 meters, it can be determined that the positioning point correction condition is met, and therefore the positioning point correction is triggered.
In a preferred embodiment of the present invention, determining the second orientation of the terminal based on the road includes:
determining a second orientation of the terminal based on a preset road based on a preset magnetic field sensor; the second orientation is a direction in which the terminal is located on either side of the road.
Specifically, the terminal may be preset with a magnetic field sensor capable of indicating the direction of the south, the east, the west and the north by using the earth's magnetic field. For example, in fig. 5, the location point without position indication is shown as (1), after the position is determined by the magnetic field sensor, the corresponding position indication may be added to the location point, and the location point with position indication is shown as (2).
In practical applications, it may be determined by the magnetic field sensor that the orientation of the terminal is based on the road, i.e. on which side of the road the terminal is actually located. Specifically, the terminal may be oriented toward the road, the orientation of the road at the terminal may be determined by the magnetic field sensor, and the orientation of the terminal with respect to the road may then be determined.
For example, as shown in fig. 6, when the terminal is facing the road, it can be determined by the magnetic field sensor that the road is north of the terminal, and then the opposite, terminal is naturally south of the road.
It should be noted that, the terminal may be oriented to the road as shown in fig. 6, or may be in other position relations with the road, such as parallel, back to back, and the like, and in practical application, the terminal may be adjusted according to practical requirements, which is not limited in this embodiment of the present invention.
In a preferred embodiment of the present invention, before determining the second orientation of the terminal based on the road, the method further includes:
displaying a preset confirmation correction interface in a map application program;
and receiving a confirmation correction instruction based on the confirmation correction interface.
Specifically, when the location point correction is triggered, a preset confirmation correction interface may be displayed in a current interface of the map application, as shown in fig. 7, related prompting contents may be displayed in the confirmation correction interface, such as "user-assisted location correction", "currently, you may not be able to accurately locate to the side of a road where you are located, may correct through assisted location", "orient the mobile phone to the road, and slide up for confirmation", and the like, and a confirmed operation prompting content may also be displayed, such as an arrow and a confirmation area, where the user slides up on the terminal according to the prompt of the arrow, and slides up to the confirmation area to initiate a confirmation correction instruction. After receiving the instruction, the map application program can trigger positioning correction, so that the first positioning point is subjected to positioning correction.
It should be noted that, when the terminal is in other position relation with the road, the content of the reminder may be modified adaptively. For example, when the terminal is parallel to the road, the reminding content can be changed into 'parallel the mobile phone to the road and slide up for confirmation'. In practical application, the setting may be performed according to practical requirements, and the embodiment of the present invention is not limited to this.
Step S203, when the first orientation is not consistent with the second orientation, correcting the first positioning point to obtain a corrected positioning point;
and after the second orientation is determined, comparing the first orientation with the second orientation, and if the first orientation is not consistent with the second orientation, correcting the first positioning point to obtain a corrected positioning point, and displaying the corrected positioning point in a map application program.
In a preferred embodiment of the present invention, the modifying the first positioning point to obtain a modified positioning point includes:
acquiring a second positioning point of the terminal based on the second orientation;
and replacing the first positioning point with the second positioning point to obtain the corrected positioning point.
Specifically, the second orientation is determined, i.e. a second location point on the other side of the road is determined. For example, the coordinate closest to the first positioning point on the other side of the road is used as the second positioning point, as shown in fig. 4, L2 is the coordinate closest to L1 on the other side of the road, so L2 is used as the second positioning point. And then replacing the first positioning point with the second positioning point to obtain the corrected positioning point.
Of course, the coordinate closest to the first positioning point in the other side of the road may be used as the second positioning point, and the second positioning point may be determined in other manners, and may be set according to actual requirements in actual applications.
In the actual application test, the positioning result before the positioning point is modified is shown in fig. 8A, and the positioning result after the positioning point is modified is shown in fig. 8B.
In step S204, a second orientation is marked in the road segment of the preset distance corresponding to the corrected location point of the road.
After the modified locating point is obtained, because the locating point icon has a certain size, when the road is narrow, the locating point covers the content of a part of the road, and the situation that the side of the road where the locating point is located cannot be obviously checked occurs. Particularly, in a taxi taking scene, a driver needs to drive the vehicle, and cannot conveniently enlarge the map display positioning point, so that the road side where the positioning point is located can be intensively displayed in a road section with a preset distance in the road on the map, as shown in fig. 9, the direction of an arrow in the road can indicate the second direction of the terminal, and thus the road side of the road where the modified positioning point belongs is determined.
It should be noted that, in the embodiment of the present invention, in the process of positioning and correcting, the terminal may not perform data interaction with the server, and may independently complete positioning and correcting and obtain the corrected positioning point.
In the embodiment of the invention, when a map application program in a terminal is in a working state, a first positioning point of the map application program and a first orientation of the first positioning point based on a preset road are determined; when the preset positioning point correction condition is met, determining a second orientation of the terminal based on the road; and when the first orientation is inconsistent with the second orientation, correcting the first positioning point to obtain a corrected positioning point. Therefore, the first positioning point of the map application program in the map and the road side of the preset road to which the first positioning point belongs are determined, whether the positioning point needs to be corrected is detected, if the positioning point needs to be corrected, the road side of the preset road to which the terminal belongs is determined, and if the positioning point and the road side do not belong to the same side of the preset road, the actual positions of the positioning point and the terminal (user) are respectively located on two sides of the preset road, so that the first positioning point is corrected based on the actual position to obtain the positioning point located on the other side of the road after correction.
Moreover, after the corrected locating point is determined, the road side where the locating point is located can be further displayed on the map in an enhanced mode, so that the user is clear at a glance, and the user experience is further improved.
Fig. 10 is a schematic structural diagram of a positioning correction apparatus according to another embodiment of the present application, and as shown in fig. 10, the apparatus according to this embodiment may include:
the first processing module 1001 is used for determining a first positioning point of a map application program and a first orientation of the first positioning point based on a preset road when the map application program in the terminal is in a working state;
the second processing module 1002 is configured to determine a second orientation of the terminal based on the road when it is detected that a preset locating point modification condition is met;
and a correcting module 1003, configured to correct the first positioning point to obtain a corrected positioning point when the first orientation is inconsistent with the second orientation.
In a preferred embodiment of the present invention, the first processing module is specifically configured to:
determining a first positioning point of a map application program based on at least one of a preset global positioning system, a network signal and a base station, and determining a first orientation of the first positioning point based on a preset road; the first orientation is a direction in which the anchor point is located on either side of the road.
In a preferred embodiment of the present invention, the second processing module includes:
the first acquisition submodule is used for acquiring the positioning precision of the first positioning point;
and the judgment submodule is used for judging that the preset positioning point modification condition is met when the positioning accuracy does not exceed the positioning accuracy threshold.
In a preferred embodiment of the present invention, the second processing module is specifically configured to:
determining a second orientation of the terminal based on a preset road based on a preset magnetic field sensor; the second orientation is a direction in which the terminal is located on either side of the road.
In a preferred embodiment of the present invention, the correction module includes:
the second obtaining submodule is used for obtaining a second positioning point of the terminal based on a second orientation;
and the replacing submodule is used for replacing the first positioning point with the second positioning point to obtain the modified positioning point.
In a preferred embodiment of the present invention, the method further comprises:
the display module is further used for displaying a preset confirmation correction interface in the map application program before determining the second orientation of the terminal based on the road;
and the receiving module is used for receiving the confirmation correction instruction based on the confirmation correction interface.
In a preferred embodiment of the present invention, the method further comprises:
and the marking module is used for marking the second orientation in the road section of the preset distance corresponding to the corrected positioning point of the road.
The positioning correction apparatus of this embodiment can perform the positioning correction methods shown in the first embodiment and the second embodiment of this application, and the implementation principles thereof are similar, and are not described herein again.
In the embodiment of the invention, when a map application program in a terminal is in a working state, a first positioning point of the map application program and a first orientation of the first positioning point based on a preset road are determined; when the preset positioning point correction condition is met, determining a second orientation of the terminal based on the road; and when the first orientation is inconsistent with the second orientation, correcting the first positioning point to obtain a corrected positioning point. Therefore, the first positioning point of the map application program in the map and the road side of the preset road to which the first positioning point belongs are determined, whether the positioning point needs to be corrected is detected, if the positioning point needs to be corrected, the road side of the preset road to which the terminal belongs is determined, and if the positioning point and the road side do not belong to the same side of the preset road, the actual positions of the positioning point and the terminal (user) are respectively located on two sides of the preset road, so that the first positioning point is corrected based on the actual position to obtain the positioning point located on the other side of the road after correction.
Moreover, after the corrected locating point is determined, the road side where the locating point is located can be further displayed on the map in an enhanced mode, so that the user is clear at a glance, and the user experience is further improved.
In another embodiment of the present application, there is provided an electronic device including: a memory and a processor; at least one program stored in the memory for execution by the processor, which when executed by the processor, implements: when a map application program in a terminal is in a working state, determining a first positioning point of the map application program and a first orientation of the first positioning point based on a preset road; when the preset positioning point correction condition is met, determining a second orientation of the terminal based on the road; and when the first orientation is inconsistent with the second orientation, correcting the first positioning point to obtain a corrected positioning point. Therefore, the first positioning point of the map application program in the map and the road side of the preset road to which the first positioning point belongs are determined, whether the positioning point needs to be corrected is detected, if the positioning point needs to be corrected, the road side of the preset road to which the terminal belongs is determined, and if the positioning point and the road side do not belong to the same side of the preset road, the actual positions of the positioning point and the terminal (user) are respectively located on two sides of the preset road, so that the first positioning point is corrected based on the actual position to obtain the positioning point located on the other side of the road after correction.
In an alternative embodiment, an electronic device is provided, as shown in fig. 11, the electronic device 11000 shown in fig. 11 including: a processor 11001, and a memory 11003. The processor 11001 is coupled to the memory 11003, such as via a bus 11002. Optionally, the electronic device 11000 may also include a transceiver 11004. It should be noted that the transceiver 11004 is not limited to one in practical application, and the structure of the electronic device 11000 does not limit the embodiments of the present application.
The processor 11001 may be a CPU, general purpose processor, DSP, ASIC, FPGA or other programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor 11001 may also be a combination of computing devices, e.g., a combination of one or more microprocessors, a DSP and a microprocessor, or the like.
Bus 11002 may include a path that transfers information between the above components. The bus 11002 may be a PCI bus, an EISA bus, or the like. The bus 11002 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 11, but this is not intended to represent only one bus or type of bus.
The memory 11003 may be, but is not limited to, ROM or other type of static storage device that may store static information and instructions, RAM or other type of dynamic storage device that may store information and instructions, EEPROM, CD-ROM or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
The memory 11003 is used for storing application program codes that implement the present solution, and the execution of which is controlled by the processor 11001. The processor 11001 is configured to execute the application program code stored in the memory 11003 to implement the contents shown in any one of the foregoing method embodiments.
Among them, electronic devices include but are not limited to: mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like.
Yet another embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, which, when run on a computer, enables the computer to perform the corresponding content in the aforementioned method embodiments. Compared with the prior art, when the map application program in the terminal is in a working state, a first positioning point of the map application program and a first orientation of the first positioning point based on a preset road are determined; when the preset positioning point correction condition is met, determining a second orientation of the terminal based on the road; and when the first orientation is inconsistent with the second orientation, correcting the first positioning point to obtain a corrected positioning point. Therefore, the first positioning point of the map application program in the map and the road side of the preset road to which the first positioning point belongs are determined, whether the positioning point needs to be corrected is detected, if the positioning point needs to be corrected, the road side of the preset road to which the terminal belongs is determined, and if the positioning point and the road side do not belong to the same side of the preset road, the actual positions of the positioning point and the terminal (user) are respectively located on two sides of the preset road, so that the first positioning point is corrected based on the actual position to obtain the positioning point located on the other side of the road after correction.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A method of position correction, comprising:
when a map application program in a terminal is in a working state, determining a first positioning point of the map application program and a first orientation of the first positioning point based on a preset road;
when the preset positioning point correction condition is met, determining a second orientation of the terminal based on the road;
and when the first orientation is inconsistent with the second orientation, correcting the first positioning point to obtain a corrected positioning point.
2. The method of claim 1, wherein the determining the first location point of the map application and the first orientation of the first location point based on a predetermined road comprises:
determining a first positioning point of the map application program based on at least one of a preset global positioning system, a network signal and a base station, and determining a first orientation of the first positioning point based on a preset road; the first orientation is a direction in which the positioning point is located on either side of the road.
3. The method according to claim 1, wherein detecting that a predetermined setpoint modification condition is satisfied comprises:
obtaining the positioning precision of the first positioning point;
and when the positioning accuracy does not exceed a positioning accuracy threshold value, judging that a preset positioning point modification condition is met.
4. The method of claim 1, wherein determining the second orientation of the terminal based on the road comprises:
determining a second orientation of the terminal based on a preset road based on a preset magnetic field sensor; the second orientation is a direction in which the terminal is located on either side of the road.
5. The method according to claim 1, wherein the modifying the first positioning point to obtain a modified positioning point comprises:
acquiring a second positioning point of the terminal based on the second orientation;
and replacing the first positioning point with the second positioning point to obtain a modified positioning point.
6. The method according to claim 4, further comprising, before determining the second orientation of the terminal based on the road:
displaying a preset confirmation correction interface in the map application program;
and receiving a confirmation correction instruction based on the confirmation correction interface.
7. The positioning correction method according to claim 1, characterized by further comprising:
marking the second orientation in a road segment of a preset distance corresponding to the corrected location point of the road.
8. A positioning correction apparatus, characterized by comprising:
the terminal comprises a first processing module, a second processing module and a control module, wherein the first processing module is used for determining a first positioning point of a map application program and a first orientation of the first positioning point based on a preset road when the map application program in the terminal is in a working state;
the second processing module is used for determining a second orientation of the terminal based on the road when the preset positioning point correction condition is detected to be met;
and the correction module is used for correcting the first positioning point to obtain a corrected positioning point when the first orientation is inconsistent with the second orientation.
9. An electronic device, comprising:
a processor, a memory, and a bus;
the bus is used for connecting the processor and the memory;
the memory is used for storing operation instructions;
the processor is configured to execute the positioning correction method according to any one of claims 1 to 7 by calling the operation instruction.
10. A computer-readable storage medium for storing computer instructions which, when executed on a computer, cause the computer to perform the position correction method of any of claims 1-7.
CN202010879786.4A 2020-08-27 2020-08-27 Positioning correction method and device, electronic equipment and computer readable storage medium Pending CN114111755A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010879786.4A CN114111755A (en) 2020-08-27 2020-08-27 Positioning correction method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010879786.4A CN114111755A (en) 2020-08-27 2020-08-27 Positioning correction method and device, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN114111755A true CN114111755A (en) 2022-03-01

Family

ID=80374686

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010879786.4A Pending CN114111755A (en) 2020-08-27 2020-08-27 Positioning correction method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114111755A (en)

Similar Documents

Publication Publication Date Title
US9582937B2 (en) Method, apparatus and computer program product for displaying an indication of an object within a current field of view
CN104580499B (en) Method and apparatus for accurate labeling position
US20120066629A1 (en) Method and apparatus for displaying schedule in mobile communication terminal
US11205346B2 (en) Traffic information update method and apparatus
CN103812931A (en) User information sharing method, device and system
CN105792124A (en) Positioning method and device
CN110444039B (en) Parking positioning method, device and system and storage medium
US9536224B2 (en) Method, apparatus and recording medium for displaying tasks
CN103994764A (en) Portable positioning system
CN102045637A (en) Map data zone downloading method and location service terminal
US20150074583A1 (en) Method and device for correcting map view
JP2013205226A (en) Position correcting system, position correcting method, position information server, and program
CN106296107A (en) Location-based memorandum based reminding method, system and electronic installation
CN103473253A (en) Geocoded data detection and user interfaces for same
US9635691B2 (en) Apparatus and method of providing connection source recommendations using a database of historic data on connectivity
CN114111755A (en) Positioning correction method and device, electronic equipment and computer readable storage medium
US20160252365A1 (en) Directional location system for a portable electronic device
CN105978958A (en) Method and device for precisely marking position
JP5896167B2 (en) Moving track display device, program, and moving track display method
CN103454659A (en) Method and device for assisting in adjusting moving direction in navigation
CN106997349B (en) Information pushing method and device and electronic equipment
CN110365738A (en) Localization method, device and storage medium based on Hybird framework
CN113917394B (en) Positioning method, device, equipment and storage medium based on infrared sensor
CN116045997B (en) Route monitoring method, electronic equipment and storage medium
CN101726719A (en) Tracking positioning method and tracking positioning system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination