CN107202574B - Motion trail information correction method and device - Google Patents

Motion trail information correction method and device Download PDF

Info

Publication number
CN107202574B
CN107202574B CN201610153412.8A CN201610153412A CN107202574B CN 107202574 B CN107202574 B CN 107202574B CN 201610153412 A CN201610153412 A CN 201610153412A CN 107202574 B CN107202574 B CN 107202574B
Authority
CN
China
Prior art keywords
information
original motion
motion
motion trail
track
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.)
Active
Application number
CN201610153412.8A
Other languages
Chinese (zh)
Other versions
CN107202574A (en
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610153412.8A priority Critical patent/CN107202574B/en
Publication of CN107202574A publication Critical patent/CN107202574A/en
Application granted granted Critical
Publication of CN107202574B publication Critical patent/CN107202574B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

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

Abstract

The disclosure relates to a motion trail information correction method and a motion trail information correction device, wherein the method comprises the following steps: acquiring original motion trail information of a user recorded on an electronic map of a terminal; comparing the original motion trail information with position information on the electronic map to determine whether the original motion trail information is accurate, wherein the position information comprises at least one of the following information: feasible path location information and building location information; and when the original motion trail information is inaccurate, correcting the original motion trail information to obtain corrected motion trail information. Through the technical scheme, the accuracy of the motion trail information of the user can be ensured, so that the use experience of the user is improved.

Description

Motion trail information correction method and device
Technical Field
The disclosure relates to the technical field of positioning tracks, in particular to a method and a device for correcting motion track information.
Background
With the improvement of living standard, people pay more and more attention to healthy life, and many people build up body through running and other exercises. Various terminal running software follows, most of which record the track of running movement, and the positioning track is displayed on an electronic map of the terminal during running or movement.
Generally, running can be along a road under normal conditions, so a motion track is required to be on the road, sometimes, a certain deviation occurs in mobile phone positioning due to various reasons such as a complex surrounding environment (in the middle of many tall buildings or places with particularly dense trees) or poor signals of a Global Positioning System (GPS), the motion track recorded by a terminal is not on the road but has a certain deviation, and after the situation occurs, the motion track displayed on an electronic map is very strange, for example, running along a path in the middle of two buildings in a small area but running on the motion track is not on the road but falls on buildings on two sides of the road, the seen track shows that people run over the roof of the building, and user experience is poor. Therefore, how to improve the accuracy of the motion trail displayed on the terminal becomes a technical problem to be solved urgently at present.
Disclosure of Invention
The embodiment of the disclosure provides a method and a device for correcting motion trail information, which comprises the following technical scheme:
according to a first aspect of the embodiments of the present disclosure, there is provided a method for correcting motion trajectory information, including:
acquiring original motion trail information of a user recorded on an electronic map of a terminal;
comparing the original motion trail information with position information on the electronic map to determine whether the original motion trail information is accurate, wherein the position information comprises at least one of the following information: feasible path location information and building location information;
and when the original motion trail information is inaccurate, correcting the original motion trail information to obtain corrected motion trail information.
In one embodiment, determining that the original motion trajectory information is inaccurate comprises:
when determining that the track point in the original motion track information is not located on the feasible path corresponding to the feasible path position information, determining that the original motion track information is inaccurate; or
And when the track point in the original motion track information is determined to be in the building range corresponding to the building position information, determining that the original motion track information is inaccurate.
In one embodiment, determining that the original motion trajectory information is inaccurate comprises:
and determining that the track point in the original motion track information is not in the feasible path range corresponding to the feasible path position information, and determining that the original motion track information is inaccurate when the distance between the motion track corresponding to the original motion track information and the feasible path is in a preset distance range and is parallel to the feasible path.
In an embodiment, the modifying the original motion trajectory information when the original motion trajectory information is inaccurate to obtain modified motion trajectory information includes:
when the original motion trail information is inaccurate, track points which are not in the feasible path range in the original motion trail information are corrected to be in the feasible path range, and corrected motion trail information is obtained; or
And when the original motion trail information is inaccurate, correcting the track points in the range of the building in the original motion trail information to the feasible path closest to the track points to obtain the corrected motion trail information.
In one embodiment, the method further comprises:
receiving a motion trail information viewing command input by a user;
and displaying the corrected motion trail information on the electronic map according to the motion trail information viewing command, or displaying the corrected motion trail information or the original motion trail information according to a user instruction.
In one embodiment, the method further comprises:
detecting current motion parameters of the terminal, wherein the current motion parameters comprise at least one of the following: motion speed and motion acceleration;
and when the current motion parameter is greater than or equal to the preset motion parameter, executing the step of acquiring the original motion trail information of the user recorded on the electronic map of the terminal.
According to a second aspect of the embodiments of the present disclosure, there is provided a motion trajectory information correction apparatus including:
the acquisition module is used for acquiring original motion trail information of the user recorded on an electronic map of the terminal;
a determining module, configured to compare the original motion trail information acquired by the acquiring module with location information on the electronic map, and determine whether the original motion trail information is accurate, where the location information includes at least one of the following information: feasible path location information and building location information;
and the correction module is used for correcting the original motion trail information to obtain the corrected motion trail information when the determination module judges that the original motion trail information is inaccurate.
In one embodiment, the determining module comprises:
the first determining submodule is used for determining that the original motion track information is inaccurate when track points in the original motion track information are not located on a feasible path corresponding to the feasible path position information; or
And when the track point in the original motion track information is determined to be in the building range corresponding to the building position information, determining that the original motion track information is inaccurate.
In one embodiment, the determining module comprises:
and the second determining submodule is used for determining that the track point in the original motion track information is not in the feasible path range corresponding to the feasible path position information, and determining that the original motion track information is inaccurate when the distance between the motion track corresponding to the original motion track information and the feasible path is in the preset distance range and is parallel to the feasible path.
In one embodiment, the correction module is configured to:
when the original motion trail information is inaccurate, track points which are not in the feasible path range in the original motion trail information are corrected to be in the feasible path range, and corrected motion trail information is obtained; or
And when the original motion trail information is inaccurate, correcting the track points in the range of the building in the original motion trail information to the feasible path closest to the track points to obtain the corrected motion trail information.
In one embodiment, the apparatus further comprises:
the receiving module is used for receiving a motion trail information viewing command input by a user;
and the display module is used for displaying the corrected motion trail information on the electronic map according to the motion trail information viewing command or displaying the corrected motion trail information or the original motion trail information according to a user instruction.
In one embodiment, the apparatus further comprises:
a detection module, configured to detect a current motion parameter of the terminal, where the current motion parameter includes at least one of: motion speed and motion acceleration;
and the triggering module is used for triggering the acquisition module to acquire the original motion trail information of the user recorded on the electronic map of the terminal when the current motion parameter is greater than or equal to the preset motion parameter.
According to a third aspect of the embodiments of the present disclosure, there is provided a motion trajectory information correction apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring original motion trail information of a user recorded on an electronic map of a terminal;
comparing the original motion trail information with position information on the electronic map to determine whether the original motion trail information is accurate, wherein the position information comprises at least one of the following information: feasible path location information and building location information;
and when the original motion trail information is inaccurate, correcting the original motion trail information to obtain corrected motion trail information.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the technical scheme, the original motion trail information of the user recorded on the electronic map of the terminal is obtained, and the original motion trail information is corrected according to the position information on the electronic map, so that the corrected motion trail information is obtained, the accuracy of the motion trail information of the user can be guaranteed, and the use experience of the user is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a motion trajectory information correction method according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a step S103 in a motion trajectory information correction method according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a step S103 in another motion trajectory information correction method according to an exemplary embodiment.
Fig. 4 is a flowchart illustrating another motion trajectory information correction method according to an exemplary embodiment.
Fig. 5 is a flowchart illustrating still another motion trajectory information correction method according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating a motion trajectory information correction apparatus according to an exemplary embodiment.
Fig. 7 is a block diagram illustrating a determination module in a motion trajectory information correction apparatus according to an exemplary embodiment.
Fig. 8 is a block diagram illustrating a determination module in another motion trajectory information correction apparatus according to an exemplary embodiment.
Fig. 9 is a block diagram illustrating another motion trajectory information correction apparatus according to an exemplary embodiment.
Fig. 10 is a block diagram illustrating still another motion trajectory information correction apparatus according to an exemplary embodiment.
Fig. 11 is a block diagram illustrating a motion trajectory information correction apparatus according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The embodiment of the present disclosure provides a method for correcting motion trajectory information, which may be used in a terminal device, as shown in fig. 1, and the method includes steps S101 to S103:
in step S101, original movement track information of a user recorded on an electronic map of a terminal is acquired; the terminal positioning may have a certain deviation due to poor GPS signals, which may cause deviation of the original movement track information of the user recorded on the electronic map, such as being not on a feasible road.
In step S102, comparing the original motion trajectory information with position information on the electronic map, and determining whether the original motion trajectory information is accurate, where the position information includes at least one of the following information: feasible path location information and building location information; the building location information is location information of a building on an electronic map, where the building location information may include location information of a physical building, such as a house, and may also include location information of a virtual building, such as a sea, a mountain, and the like, that is, location information of all locations where a user cannot go.
Comparing the original motion track information with position information such as feasible path position information and building position information on an electronic map, and determining whether the original motion track information is accurate according to the feasible path position information or the building position information, namely judging whether the original motion track information has serious deviation from the feasible path.
In step S103, when the original motion trajectory information is inaccurate, the original motion trajectory information is corrected to obtain corrected motion trajectory information.
When the original motion trail information is determined to be inaccurate, the original motion trail information is corrected according to the position information, so that the accuracy of the motion trail information of a user can be guaranteed, and the use experience of the user is improved.
In one embodiment, determining that the original motion trajectory information is inaccurate comprises:
when determining that the track points in the original motion track information are not on the feasible path corresponding to the feasible path position information, determining that the original motion track information is inaccurate; or
And when the track point in the original motion track information is determined to be in the building range corresponding to the building position information, the original motion track information is determined to be inaccurate.
In this embodiment, on one hand, the feasible path location information corresponds to a feasible path range, that is, each path on the electronic map, and besides the feasibility of the road itself, there is a certain feasible range on both sides of the road, that is, the feasible path range is called as a feasible path range, that is, the feasible path range is greater than the range of the path itself. When determining whether the original motion trajectory information is accurate, the trajectory point in the original motion trajectory information may be compared with the feasible path range, and whether the trajectory point on the original motion trajectory information is within the feasible path range is determined. When the track point is not in the range of the feasible path, the deviation exists between the original motion track and the feasible path, namely the original motion track information exists in an inaccurate place. Therefore, whether the original motion track information is accurate or not is determined according to the feasible path position information, and the accuracy of the determination result can be ensured.
On the other hand, when determining whether the original motion trail information is accurate, the trajectory point in the original motion trail information can be compared with the building range corresponding to the building position information, when the trajectory point in the building range exists in the original motion trail information, the original motion trail information is inaccurate, because the building range is not feasible, the motion trail cannot be formed, otherwise, when the trajectory point in the building range does not exist in the original motion trail information, the original motion trail information can be considered to be accurate. Therefore, whether the original motion track information is accurate or not is determined according to the building position information, and the accuracy of the determination result can be ensured.
In one embodiment, determining that the original motion trajectory information is inaccurate further comprises:
and when determining that the track point in the original motion track information is not in the feasible path range corresponding to the feasible path position information, and the distance between the motion track corresponding to the original motion track information and the feasible path is in the preset distance range and is parallel to the feasible path, determining that the original motion track information is inaccurate.
In this embodiment, in order to avoid unnecessary motion trajectory correction operations, when it is determined that the track point in the original motion trajectory information is not within the feasible path range corresponding to the feasible path position information, and the motion trajectory corresponding to the original motion trajectory information is near the feasible path and is parallel to the feasible path, it may be considered that the positioning is shifted by a certain amount, so as to determine that the original motion trajectory information is inaccurate.
As shown in fig. 2, in an embodiment, the step S103 may include the step S201:
in step S201, when the original motion trajectory information is inaccurate, the trajectory point that is not within the feasible path range in the original motion trajectory information is corrected to be within the feasible path range, so as to obtain the corrected motion trajectory information.
In the embodiment, when the original motion track information is incorrect, that is, when track points which are not in the feasible path range exist in the original motion track information, the track points are corrected to be in the feasible path range, so that all the track points in the original motion track information are in the feasible path range, the accuracy of the motion track information is ensured, and the use experience of a user is improved.
Specifically, the track point not in the feasible path range in the original motion track information is corrected to be in the feasible path range, and the track point not in the feasible path range may be translated to be in the feasible path range along a direction perpendicular to the feasible path.
As shown in fig. 3, in an embodiment, the step S103 may further include the step S301:
in step S301, when the original motion trajectory information is inaccurate, the trajectory point in the building range in the original motion trajectory information is corrected to the feasible path closest to the trajectory point, so as to obtain the corrected motion trajectory information.
In this embodiment, when the original motion trail information is incorrect, that is, when there are track points within the building range in the original motion trail information, these track points are corrected outside the building range, so that all the track points in the original motion trail information are outside the building range, the accuracy of the motion trail information is ensured, and the use experience of the user is improved.
As shown in fig. 4, in an embodiment, the method may further include steps S401 to S402:
in step S401, receiving a motion trail information viewing command input by a user;
in step S402, the corrected motion trail information is displayed on the electronic map according to the motion trail information viewing command, or the corrected motion trail information or the original motion trail information is displayed according to the user instruction.
In the embodiment, when a motion trail information viewing command input by a user is received, the corrected motion trail information can be displayed for the user on the electronic map, so that the user can view the corrected accurate motion trail, and the use experience of the user is improved.
Of course, when receiving a motion trail information checking command input by a user, the terminal can output prompt information to prompt the user to select whether to display the corrected motion trail information or not, and can display the original motion trail information or the corrected motion trail information for the user according to the selection of the user, so that the user can select which motion trail information to check according to the own requirements, and different requirements of different users are met.
As shown in fig. 5, in one embodiment, the method further includes steps S501-S502:
in step S501, a current motion parameter of the terminal is detected, where the current motion parameter includes at least one of the following: motion speed and motion acceleration;
in step S502, when the current motion parameter is greater than or equal to the preset motion parameter, a step of acquiring original motion trajectory information of the user recorded on the electronic map of the terminal is performed.
In this embodiment, the current motion parameter of the terminal may also be detected, and when the current motion parameter is greater than or equal to the preset motion parameter, that is, when the user may be in a running state, the original motion trajectory information of the user is obtained, so as to correct the original motion trajectory information, reduce the correction processing operation of the terminal, and avoid unnecessary power consumption caused by the background of the terminal being in a motion trajectory correction state all the time.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 6 is a block diagram illustrating a motion trajectory information correction apparatus, which may be implemented as part or all of a terminal device by software, hardware, or a combination of both, according to an exemplary embodiment. As shown in fig. 6, the motion trajectory information correction device includes:
an obtaining module 61 configured to obtain original motion trail information of a user recorded on an electronic map of a terminal;
a determining module 62 configured to compare the original motion trail information acquired by the acquiring module 61 with position information on the electronic map, and determine whether the original motion trail information is accurate, wherein the position information includes at least one of the following information: feasible path location information and building location information; the building location information is location information of a building on an electronic map, where the building location information may include location information of a physical building, such as a house, and may also include location information of a virtual building, such as a sea, a mountain, and the like, that is, location information of all locations where a user cannot go.
Comparing the original motion track information with position information such as feasible path position information and building position information on an electronic map, and determining whether the original motion track information is accurate according to the feasible path position information or the building position information, namely judging whether the original motion track information has serious deviation from the feasible path.
And a correcting module 63 configured to correct the original motion trail information to obtain corrected motion trail information when the determining module 62 determines that the original motion trail information is inaccurate.
When the original motion trail information is determined to be inaccurate, the original motion trail information is corrected according to the position information, so that the accuracy of the motion trail information of a user can be guaranteed, and the use experience of the user is improved.
As shown in FIG. 7, in one embodiment, the determination module 62 includes:
a first determining submodule 71, configured to determine that the original motion trajectory information is inaccurate when a track point in the original motion trajectory information is not located on a feasible path corresponding to the feasible path position information; or
And when the track point in the original motion track information is determined to be in the building range corresponding to the building position information, determining that the original motion track information is inaccurate.
In this embodiment, on one hand, the feasible path location information corresponds to a feasible path range, that is, each path on the electronic map, and besides the feasibility of the road itself, there is a certain feasible range on both sides of the road, that is, the feasible path range is called as a feasible path range, that is, the feasible path range is greater than the range of the path itself. When determining whether the original motion trajectory information is accurate, the trajectory point in the original motion trajectory information may be compared with the feasible path range, and whether the trajectory point on the original motion trajectory information is within the feasible path range is determined. When the track point is not in the range of the feasible path, the deviation exists between the original motion track and the feasible path, namely the original motion track information exists in an inaccurate place. Therefore, whether the original motion track information is accurate or not is determined according to the feasible path position information, and the accuracy of the determination result can be ensured.
On the other hand, when determining whether the original motion trail information is accurate, the trajectory point in the original motion trail information can be compared with the building range corresponding to the building position information, when the trajectory point in the building range exists in the original motion trail information, the original motion trail information is inaccurate, because the building range is not feasible, the motion trail cannot be formed, otherwise, when the trajectory point in the building range does not exist in the original motion trail information, the original motion trail information can be considered to be accurate. Therefore, whether the original motion track information is accurate or not is determined according to the building position information, and the accuracy of the determination result can be ensured.
As shown in fig. 8, in one embodiment, the determining module 62 includes:
and a second determining submodule 81 configured to determine that the track point in the original motion trajectory information is not within the feasible path range corresponding to the feasible path position information, and when the distance between the motion trajectory corresponding to the original motion trajectory information and the feasible path is within a preset distance range and is parallel to the feasible path, determine that the original motion trajectory information is inaccurate.
In this embodiment, in order to avoid unnecessary motion trajectory correction operations, when it is determined that the track point in the original motion trajectory information is not within the feasible path range corresponding to the feasible path position information, and the motion trajectory corresponding to the original motion trajectory information is near the feasible path and is parallel to the feasible path, it may be considered that the positioning is shifted by a certain amount, so as to determine that the original motion trajectory information is inaccurate.
In one embodiment, the modification module 63 is configured to:
when the original motion trail information is inaccurate, track points which are not in the feasible path range in the original motion trail information are corrected to be in the feasible path range, and corrected motion trail information is obtained; in the embodiment, when the original motion track information is incorrect, that is, when track points which are not in the feasible path range exist in the original motion track information, the track points are corrected to be in the feasible path range, so that all the track points in the original motion track information are in the feasible path range, the accuracy of the motion track information is ensured, and the use experience of a user is improved.
Specifically, the track point not in the feasible path range in the original motion track information is corrected to be in the feasible path range, and the track point not in the feasible path range may be translated to be in the feasible path range along a direction perpendicular to the feasible path.
Or
And when the original motion trail information is inaccurate, correcting the track points in the range of the building in the original motion trail information to the feasible path closest to the track points to obtain the corrected motion trail information.
In this embodiment, when the original motion trail information is incorrect, that is, when there are track points within the building range in the original motion trail information, these track points are corrected outside the building range, so that all the track points in the original motion trail information are outside the building range, the accuracy of the motion trail information is ensured, and the use experience of the user is improved.
As shown in fig. 9, in one embodiment, the apparatus further comprises:
a receiving module 91 configured to receive a motion trail information viewing command input by a user;
a display module 92 configured to display the modified motion trail information on the electronic map according to the motion trail information viewing command, or display the modified motion trail information or the original motion trail information according to a user instruction.
In the embodiment, when a motion trail information viewing command input by a user is received, the corrected motion trail information can be displayed for the user on the electronic map, so that the user can view the corrected accurate motion trail, and the use experience of the user is improved.
Of course, when receiving a motion trail information checking command input by a user, the terminal can output prompt information to prompt the user to select whether to display the corrected motion trail information or not, and can display the original motion trail information or the corrected motion trail information for the user according to the selection of the user, so that the user can select which motion trail information to check according to the own requirements, and different requirements of different users are met.
As shown in fig. 10, in one embodiment, the apparatus further comprises:
a detection module 101 configured to detect a current motion parameter of the terminal, the current motion parameter including at least one of: motion speed and motion acceleration;
the triggering module 102 is configured to trigger the obtaining module to obtain the original motion trail information of the user recorded on the electronic map of the terminal when the current motion parameter is greater than or equal to a preset motion parameter.
In this embodiment, the current motion parameter of the terminal may also be detected, and when the current motion parameter is greater than or equal to the preset motion parameter, that is, when the user may be in a running state, the original motion trajectory information of the user is obtained, so as to correct the original motion trajectory information, reduce the correction processing operation of the terminal, and avoid unnecessary power consumption caused by the background of the terminal being in a motion trajectory correction state all the time.
According to a third aspect of the embodiments of the present disclosure, there is provided a motion trajectory information correction apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring original motion trail information of a user recorded on an electronic map of a terminal;
comparing the original motion trail information with position information on the electronic map to determine whether the original motion trail information is accurate, wherein the position information comprises at least one of the following information: feasible path location information and building location information;
and when the original motion trail information is inaccurate, correcting the original motion trail information to obtain corrected motion trail information.
The processor may be further configured to:
determining that the original motion trajectory information is inaccurate, including:
when determining that the track point in the original motion track information is not located on the feasible path corresponding to the feasible path position information, determining that the original motion track information is inaccurate; or
And when the track point in the original motion track information is determined to be in the building range corresponding to the building position information, determining that the original motion track information is inaccurate.
The processor may be further configured to:
determining that the original motion trajectory information is inaccurate, including:
and determining that the track point in the original motion track information is not in the feasible path range corresponding to the feasible path position information, and determining that the original motion track information is inaccurate when the distance between the motion track corresponding to the original motion track information and the feasible path is in a preset distance range and is parallel to the feasible path.
The processor may be further configured to:
when the original motion trail information is inaccurate, correcting the original motion trail information to obtain corrected motion trail information, including:
when the original motion trail information is inaccurate, track points which are not in the feasible path range in the original motion trail information are corrected to be in the feasible path range, and corrected motion trail information is obtained; or
And when the original motion trail information is inaccurate, correcting the track points in the range of the building in the original motion trail information to the feasible path closest to the track points to obtain the corrected motion trail information.
The processor may be further configured to:
receiving a motion trail information viewing command input by a user;
and displaying the corrected motion trail information on the electronic map according to the motion trail information viewing command, or displaying the corrected motion trail information or the original motion trail information according to a user instruction.
The processor may be further configured to:
detecting current motion parameters of the terminal, wherein the current motion parameters comprise at least one of the following: motion speed and motion acceleration;
and when the current motion parameter is greater than or equal to the preset motion parameter, executing the step of acquiring the original motion trail information of the user recorded on the electronic map of the terminal.
Fig. 11 is a block diagram illustrating a picture taking apparatus adapted for use with a terminal device according to an exemplary embodiment. For example, the apparatus 1100 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
The apparatus 1100 may include one or more of the following components: processing component 1102, memory 1104, power component 1106, multimedia component 1108, audio component 1110, input/output (I/O) interface 1112, sensor component 1114, and communications component 1116.
The processing component 1102 generally controls the overall operation of the device 1100, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1102 may include one or more processors 1120 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 1102 may include one or more modules that facilitate interaction between the processing component 1102 and other components. For example, the processing component 1102 may include a multimedia module to facilitate interaction between the multimedia component 1108 and the processing component 1102.
The memory 1104 is configured to store various types of data to support operation at the device 1100. Examples of such data include instructions for any application or method operating on device 1100, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1104 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A power component 1106 provides power to the various components of the device 1100. The power components 1106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 1100.
The multimedia component 1108 includes a screen that provides an output interface between the device 1100 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1108 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 1100 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1110 is configured to output and/or input audio signals. For example, the audio component 1110 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 1100 is in operating modes, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1104 or transmitted via the communication component 1116. In some embodiments, the audio assembly 1110 further includes a speaker for outputting audio signals.
The I/O interface 1112 provides an interface between the processing component 1102 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1114 includes one or more sensors for providing various aspects of state assessment for the apparatus 1100. For example, the sensor assembly 1114 may detect an open/closed state of the device 1100, the relative positioning of components, such as a display and keypad of the apparatus 1100, the sensor assembly 1114 may also detect a change in position of the apparatus 1100 or a component of the apparatus 1100, the presence or absence of user contact with the apparatus 1100, an orientation or acceleration/deceleration of the apparatus 1100, and a change in temperature of the apparatus 1100. The sensor assembly 1114 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1114 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1114 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1116 is configured to facilitate wired or wireless communication between the apparatus 1100 and other devices. The apparatus 1100 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1116 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1116 also includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1100 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 1104 comprising instructions, executable by the processor 1120 of the apparatus 1100 to perform the method described above is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of an apparatus 1100, enable the apparatus 1100 to perform the above-mentioned motion trajectory information correction method, the method comprising:
acquiring original motion trail information of a user recorded on an electronic map of a terminal;
comparing the original motion trail information with position information on the electronic map to determine whether the original motion trail information is accurate, wherein the position information comprises at least one of the following information: feasible path location information and building location information;
and when the original motion trail information is inaccurate, correcting the original motion trail information to obtain corrected motion trail information.
In one embodiment, determining that the original motion trajectory information is inaccurate comprises:
when determining that the track point in the original motion track information is not located on the feasible path corresponding to the feasible path position information, determining that the original motion track information is inaccurate; or
And when the track point in the original motion track information is determined to be in the building range corresponding to the building position information, determining that the original motion track information is inaccurate.
In one embodiment, determining that the original motion trajectory information is inaccurate comprises:
and determining that the track point in the original motion track information is not in the feasible path range corresponding to the feasible path position information, and determining that the original motion track information is inaccurate when the distance between the motion track corresponding to the original motion track information and the feasible path is in a preset distance range and is parallel to the feasible path.
In an embodiment, the modifying the original motion trajectory information when the original motion trajectory information is inaccurate to obtain modified motion trajectory information includes:
when the original motion trail information is inaccurate, track points which are not in the feasible path range in the original motion trail information are corrected to be in the feasible path range, and corrected motion trail information is obtained; or
And when the original motion trail information is inaccurate, correcting the track points in the range of the building in the original motion trail information to the feasible path closest to the track points to obtain the corrected motion trail information.
In one embodiment, the method further comprises:
receiving a motion trail information viewing command input by a user;
and displaying the corrected motion trail information on the electronic map according to the motion trail information viewing command, or displaying the corrected motion trail information or the original motion trail information according to a user instruction.
In one embodiment, the method further comprises:
detecting current motion parameters of the terminal, wherein the current motion parameters comprise at least one of the following: motion speed and motion acceleration;
and when the current motion parameter is greater than or equal to the preset motion parameter, executing the step of acquiring the original motion trail information of the user recorded on the electronic map of the terminal.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (11)

1. A motion trail information correction method is characterized by comprising the following steps:
acquiring original motion trail information of a user recorded on an electronic map of a terminal;
comparing the original motion trail information with position information on the electronic map to determine whether the original motion trail information is accurate, wherein the position information comprises at least one of the following information: feasible path location information and building location information;
when the original motion trail information is determined to be inaccurate, correcting the original motion trail information to obtain corrected motion trail information;
determining that the original motion trajectory information is inaccurate, including:
and determining that the track point in the original motion track information is not in the feasible path range corresponding to the feasible path position information, and determining that the original motion track information is inaccurate when the distance between the motion track corresponding to the original motion track information and the feasible path is in a preset distance range and is parallel to the feasible path.
2. The method of claim 1, wherein determining that the original motion trajectory information is inaccurate comprises:
when determining that the track point in the original motion track information is not located on the feasible path corresponding to the feasible path position information, determining that the original motion track information is inaccurate; or
And when the track point in the original motion track information is determined to be in the building range corresponding to the building position information, determining that the original motion track information is inaccurate.
3. The method according to claim 2, wherein when the original motion trajectory information is inaccurate, the correcting the original motion trajectory information to obtain the corrected motion trajectory information includes:
when the original motion trail information is inaccurate, track points which are not in the feasible path range in the original motion trail information are corrected to be in the feasible path range, and corrected motion trail information is obtained; or
And when the original motion trail information is inaccurate, correcting the track points in the range of the building in the original motion trail information to the feasible path closest to the track points to obtain the corrected motion trail information.
4. The method according to any one of claims 1 to 3, further comprising:
receiving a motion trail information viewing command input by a user;
and displaying the corrected motion trail information on the electronic map according to the motion trail information viewing command, or displaying the corrected motion trail information or the original motion trail information according to a user instruction.
5. The method according to any one of claims 1 to 3, further comprising:
detecting current motion parameters of the terminal, wherein the current motion parameters comprise at least one of the following: motion speed and motion acceleration;
and when the current motion parameter is greater than or equal to the preset motion parameter, executing the step of acquiring the original motion trail information of the user recorded on the electronic map of the terminal.
6. A motion trajectory information correction apparatus characterized by comprising:
the acquisition module is used for acquiring original motion trail information of the user recorded on an electronic map of the terminal;
a determining module, configured to compare the original motion trail information acquired by the acquiring module with location information on the electronic map, and determine whether the original motion trail information is accurate, where the location information includes at least one of the following information: feasible path location information and building location information;
the correction module is used for correcting the original motion track information to obtain corrected motion track information when the determination module determines that the original motion track information is inaccurate;
the determining module comprises:
and the second determining submodule is used for determining that the track point in the original motion track information is not in the feasible path range corresponding to the feasible path position information, and determining that the original motion track information is inaccurate when the distance between the motion track corresponding to the original motion track information and the feasible path is in the preset distance range and is parallel to the feasible path.
7. The apparatus of claim 6, wherein the determining module comprises:
the first determining submodule is used for determining that the original motion track information is inaccurate when track points in the original motion track information are not located on a feasible path corresponding to the feasible path position information; or
And when the track point in the original motion track information is determined to be in the building range corresponding to the building position information, determining that the original motion track information is inaccurate.
8. The apparatus of claim 6, wherein the modification module is configured to:
when the original motion trail information is inaccurate, track points which are not in the feasible path range in the original motion trail information are corrected to be in the feasible path range, and corrected motion trail information is obtained; or
And when the original motion trail information is inaccurate, correcting the track points in the range of the building in the original motion trail information to the feasible path closest to the track points to obtain the corrected motion trail information.
9. The apparatus of any one of claims 6 to 8, further comprising:
the receiving module is used for receiving a motion trail information viewing command input by a user;
and the display module is used for displaying the corrected motion trail information on the electronic map according to the motion trail information viewing command or displaying the corrected motion trail information or the original motion trail information according to a user instruction.
10. The apparatus of any one of claims 6 to 8, further comprising:
a detection module, configured to detect a current motion parameter of the terminal, where the current motion parameter includes at least one of: motion speed and motion acceleration;
and the triggering module is used for triggering the acquisition module to acquire the original motion trail information of the user recorded on the electronic map of the terminal when the current motion parameter is greater than or equal to the preset motion parameter.
11. A motion trajectory information correction apparatus characterized by comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring original motion trail information of a user recorded on an electronic map of a terminal;
comparing the original motion trail information with position information on the electronic map to determine whether the original motion trail information is accurate, wherein the position information comprises at least one of the following information: feasible path location information and building location information;
when the original motion trail information is inaccurate, correcting the original motion trail information to obtain corrected motion trail information;
determining that the original motion trajectory information is inaccurate, including:
and determining that the track point in the original motion track information is not in the feasible path range corresponding to the feasible path position information, and determining that the original motion track information is inaccurate when the distance between the motion track corresponding to the original motion track information and the feasible path is in a preset distance range and is parallel to the feasible path.
CN201610153412.8A 2016-03-17 2016-03-17 Motion trail information correction method and device Active CN107202574B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610153412.8A CN107202574B (en) 2016-03-17 2016-03-17 Motion trail information correction method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610153412.8A CN107202574B (en) 2016-03-17 2016-03-17 Motion trail information correction method and device

Publications (2)

Publication Number Publication Date
CN107202574A CN107202574A (en) 2017-09-26
CN107202574B true CN107202574B (en) 2020-03-17

Family

ID=59903917

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610153412.8A Active CN107202574B (en) 2016-03-17 2016-03-17 Motion trail information correction method and device

Country Status (1)

Country Link
CN (1) CN107202574B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107505945A (en) * 2017-09-30 2017-12-22 广州天翔航空科技有限公司 Edit dot position adjusting method and device in course line
CN108303075B (en) * 2017-12-29 2021-01-29 广州斯马特信息科技有限公司 Track generation method and system
CN110927768A (en) * 2019-11-08 2020-03-27 广东高驰运动科技有限公司 Distance measuring method based on mobile coordinate positioning and portable terminal equipment
CN111854791B (en) * 2020-07-21 2022-08-16 北京卡路里信息技术有限公司 Motion trail determination method and device, terminal equipment and storage medium
CN111879338B (en) * 2020-07-28 2022-02-22 安徽中科美络信息技术有限公司 Electronic map-based driving track planning compensation method and device
CN114510542B (en) * 2020-10-29 2022-12-09 荣耀终端有限公司 Method for generating motion trail, electronic equipment and server
CN112489531B (en) * 2020-12-10 2022-08-12 杭州优必学科技有限公司 Distance-based real object programming control method
CN113723656A (en) * 2020-12-31 2021-11-30 京东城市(北京)数字科技有限公司 Method and device for repairing driving track, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101308029A (en) * 2007-05-16 2008-11-19 北京英华慧通科技发展有限公司 Road network grid matching, road status messages and introduction route information acquisition method
CN102435197A (en) * 2011-08-05 2012-05-02 刘建勋 MBR (Master Boot Record)-based GPS (Global Position System) track map matching method
CN103217697A (en) * 2013-03-21 2013-07-24 广东欧珀移动通信有限公司 Method and mobile terminal for recording moving path
JP5617620B2 (en) * 2010-12-28 2014-11-05 アイシン・エィ・ダブリュ株式会社 Correction position specifying device, correction position specifying method, and correction position specifying program
CN104236575A (en) * 2014-09-16 2014-12-24 百度在线网络技术(北京)有限公司 Travel path recording method and device as well as navigation method and device
CN105374224A (en) * 2015-10-29 2016-03-02 深圳市元征科技股份有限公司 Positioning data processing method and vehicle-mounted terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101308029A (en) * 2007-05-16 2008-11-19 北京英华慧通科技发展有限公司 Road network grid matching, road status messages and introduction route information acquisition method
JP5617620B2 (en) * 2010-12-28 2014-11-05 アイシン・エィ・ダブリュ株式会社 Correction position specifying device, correction position specifying method, and correction position specifying program
CN102435197A (en) * 2011-08-05 2012-05-02 刘建勋 MBR (Master Boot Record)-based GPS (Global Position System) track map matching method
CN103217697A (en) * 2013-03-21 2013-07-24 广东欧珀移动通信有限公司 Method and mobile terminal for recording moving path
CN104236575A (en) * 2014-09-16 2014-12-24 百度在线网络技术(北京)有限公司 Travel path recording method and device as well as navigation method and device
CN105374224A (en) * 2015-10-29 2016-03-02 深圳市元征科技股份有限公司 Positioning data processing method and vehicle-mounted terminal

Also Published As

Publication number Publication date
CN107202574A (en) 2017-09-26

Similar Documents

Publication Publication Date Title
CN107202574B (en) Motion trail information correction method and device
EP3182716A1 (en) Method and device for video display
US20170344192A1 (en) Method and device for playing live videos
EP3173970A1 (en) Image processing method and apparatus
EP3179711B1 (en) Method and apparatus for preventing photograph from being shielded
CN105159640B (en) Display interface rotating method and device and mobile terminal
KR101712301B1 (en) Method and device for shooting a picture
EP3115982A1 (en) Method and apparatus for road condition prompt
US10292004B2 (en) Method, device and medium for acquiring location information
EP3261019A1 (en) Method and device for obtaining movement track
US20160210034A1 (en) Method and apparatus for switching display mode
US20150356467A1 (en) Methods and devices for prompting seat selection
EP3016048B1 (en) Method and device for displaying a reminder based on geographic criteria
CN107562349B (en) Method and device for executing processing
EP3024211A1 (en) Method and device for announcing voice call
CN107454204B (en) User information labeling method and device
US9897439B2 (en) Method and terminal for measuring angle
CN112950712B (en) Positioning method and device, electronic equipment and storage medium
EP3125514A1 (en) Method and device for state notification
US20160349947A1 (en) Method and device for sending message
CN107656616B (en) Input interface display method and device and electronic equipment
CN107158685B (en) Exercise verification method and apparatus
US20160139770A1 (en) Method for presenting prompt on mobile terminal and the same mobile terminal
CN111854721A (en) Geomagnetic data correction method and device and electronic equipment
CN105101076B (en) Information reminding method and device

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
GR01 Patent grant
GR01 Patent grant