CN111858814A - Method, device and equipment for repairing motion trail and storage medium - Google Patents

Method, device and equipment for repairing motion trail and storage medium Download PDF

Info

Publication number
CN111858814A
CN111858814A CN202010707304.7A CN202010707304A CN111858814A CN 111858814 A CN111858814 A CN 111858814A CN 202010707304 A CN202010707304 A CN 202010707304A CN 111858814 A CN111858814 A CN 111858814A
Authority
CN
China
Prior art keywords
point
positioning
positioning point
user
locating
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
CN202010707304.7A
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.)
Beijing Calorie Information Technology Co ltd
Original Assignee
Beijing Calorie Information Technology 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 Calorie Information Technology Co ltd filed Critical Beijing Calorie Information Technology Co ltd
Priority to CN202010707304.7A priority Critical patent/CN111858814A/en
Publication of CN111858814A publication Critical patent/CN111858814A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Navigation (AREA)

Abstract

The embodiment of the invention discloses a method, a device, equipment and a storage medium for repairing a motion trail, wherein the method comprises the following steps: generating an initial motion track based on positioning point information acquired in the user motion process; the positioning point information comprises longitude and latitude, speed and time stamp; analyzing the initial motion track to obtain a problem locating point; correcting the problem positioning points; and repairing the initial motion track according to the corrected problem location point to obtain a target motion track. According to the method for repairing the motion trail provided by the embodiment of the invention, the problem positioning points on the motion trail are identified and corrected, so that the motion trail can be repaired, and the accuracy of the motion trail is improved.

Description

Method, device and equipment for repairing motion trail and storage medium
Technical Field
The invention relates to the field of motion positioning, in particular to a method for repairing a motion trail in outdoor motion records.
Background
The problem of track deviation can be caused by various factors in the outdoor motion process, for example, the positioning information is lost or is not consistent, the positioning information deviates from the actual position more, and the problems of track incoherence and data loss are caused.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for repairing a motion trail, which can repair the motion trail and improve the accuracy of the motion trail.
In a first aspect, an embodiment of the present invention provides a method for repairing a motion trajectory, including:
generating an initial motion track based on positioning point information acquired in the user motion process; the locating point information comprises longitude and latitude, speed and time stamp;
analyzing the initial motion track to obtain a problem positioning point;
correcting the problem positioning points;
and repairing the initial motion track according to the corrected problem location point to obtain a target motion track.
In a second aspect, an embodiment of the present invention further provides a device for repairing a motion trajectory, where the device includes:
the initial motion track generation module is used for generating an initial motion track based on positioning point information acquired in the user motion process; the locating point information comprises longitude and latitude, speed and time stamp;
the problem positioning point acquisition module is used for analyzing the initial motion track to obtain a problem positioning point;
the problem positioning point correcting module is used for correcting the problem positioning point;
And the target motion track acquisition module is used for repairing the initial motion track according to the corrected problem location point to acquire a target motion track.
In a third aspect, an embodiment of the present invention further provides a device for repairing a motion trajectory, where the device includes: the device comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the program to realize the method for repairing the motion trail according to any one of the embodiments of the invention.
In a fourth aspect, an embodiment of the present invention further provides a storage medium for motion trail restoration, where the storage medium stores a computer program, and the computer program is executed by a processing device to implement a method for restoring a motion trail according to any one of the embodiments of the present invention.
The embodiment of the invention firstly generates an initial motion track based on positioning point information acquired in the user motion process; the positioning point information comprises longitude and latitude, speed and time stamp; then analyzing the initial motion track to obtain a problem positioning point; correcting the problem positioning point; and finally, repairing the initial motion track according to the corrected problem location point to obtain a target motion track. According to the method for repairing the motion trail provided by the embodiment of the invention, the problem positioning points on the motion trail are identified and corrected, so that the motion trail can be repaired, and the accuracy of the motion trail is improved.
Drawings
Fig. 1 is a flowchart of a method for repairing a motion trajectory according to a first embodiment of the present invention;
FIG. 2 is a flowchart of a method for correcting a problem anchor point according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a motion trajectory repairing apparatus according to a third embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention;
FIG. 5 is a diagram illustrating a user deleting a problem anchor point according to a second embodiment of the present invention;
FIG. 6 is a diagram illustrating a user's moving operation of a problem location point according to a second embodiment of the present invention;
fig. 7 is a schematic diagram illustrating a user operating an input location of a problem location point according to a second embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a method for repairing a motion trail according to an embodiment of the present invention, where the embodiment is applicable to a case of repairing a motion trail formed by a user in a motion process, and the method may be executed by a device for repairing a motion trail, where the device may be composed of hardware and/or software, and may be generally integrated in a device having a function of repairing a motion trail, where the device may be an electronic device such as a server or a server cluster. As shown in fig. 1, the method specifically comprises the following steps:
And 110, generating an initial motion track based on the positioning point information acquired in the motion process of the user.
The locating point information may include, but is not limited to, longitude and latitude, speed, and timestamp; the motion track is a track record formed by a series of positioning points acquired by a positioning system in the motion process of the user.
Specifically, in the process of user movement, the positioning system acquires positioning point information of the user at a certain frequency, and a series of positioning points form a movement track of the user according to the time stamps, and are recorded and displayed on the terminal.
Further, the motion information is generated and stored during the user's motion, which includes but is not limited to: locating point information obtained from a locating system; acceleration, speed, wind resistance and barometric pressure information obtained from a sensor system; the type of exercise performed by the user, including but not limited to running, walking, cycling, and the like; time of user motion, distance, pace, altitude and heart rate information.
Further, the obtained motion information may be calculated as a further description of the embodiment of the present invention, for example, without limitation: the motion trail can be generated according to the positioning point information; the step number and the step frequency information of the user can be calculated according to the information of acceleration, speed, wind resistance, air pressure and the like acquired by the sensor system; altitude change information may be calculated from the barometric pressure and the elevation of the anchor point.
And step 120, analyzing the initial motion track to obtain a problem positioning point.
Wherein the type of the problem location point may be at least one of the following: the positioning point generates drift, namely the distance of the position of the positioning point deviating from the correct track is greater than or equal to a first set threshold; the instantaneous speed of the positioning point is greater than or equal to a second set threshold; the distance or time interval between the positioning point and the adjacent positioning point is larger than or equal to a third set threshold value. The adjacent positioning points comprise positioning points which are adjacent to each other in front of and behind the positioning point. In this embodiment, the initial motion trajectory is composed of a series of anchor points, and each anchor point is analyzed to obtain a problem anchor point.
In this embodiment, the method for analyzing the initial motion trajectory to obtain the problem localization point may be: if the distance of the position of the positioning point deviating from the initial movement is larger than or equal to a first set threshold, the positioning point is a problem positioning point; if the speed of the locating point is greater than or equal to a second set threshold, the locating point is a problem locating point; and if the distance and/or the time interval between the positioning point and the adjacent positioning point is larger than or equal to a third set threshold, the positioning point is a problem positioning point.
The position of the positioning point may include a longitude and latitude or an altitude where the positioning point is located.
Specifically, the identification process of the problem location point may be to analyze the road section information and the location point information in the motion trajectory according to a predefined algorithm in the system or configuration information dynamically issued from a remote server, so as to identify the problem location point in all the location points. The road section information is information of a section of motion track formed by at least two positioning points on the motion track, and the configuration information includes but is not limited to a first set threshold, a second set threshold and a third set threshold for identifying the problem positioning point.
Further, after the problem locating point is identified, information recording may be performed on the problem locating point, specifically, the recorded information may be: raw detailed data of the positioning points, including but not limited to longitude and latitude, time stamp and speed; the problem type of the positioning point is identified; and the relative position information of the positioning point in the motion trail. The relative position information is the position information of the positioning point relative to other positioning points in the motion trail.
And step 130, correcting the problem positioning point.
In this embodiment, the method for correcting the problem anchor point may be as follows: controlling the problem locating point to be displayed in an editable style; and receiving the editing operation of the user on the problem positioning point so as to modify the problem positioning point. Wherein the editing operation on the problem locating point can be deleting the problem locating point, moving the problem locating point and/or inputting the position determination locating point.
The editable style can be understood as that a user can perform editing operation on the problem locating point in the display interface, such as deleting, moving and/or inputting a position. Specifically, after the problem locating point is determined, the problem locating point is controlled to be displayed in an editable style in a display interface, and then the operation of deleting, moving and/or inputting the position of the problem locating point by a user is received, so that the problem locating point is corrected.
And step 140, repairing the initial motion track according to the corrected problem location point to obtain a target motion track.
And the target motion trail is obtained after the problem locating point is corrected.
In this embodiment, the initial motion trajectory is repaired according to the corrected problem location point, and the manner of obtaining the target motion trajectory may be: generating a target motion track according to the corrected problem positioning point and other positioning points; and the other positioning points are other positioning points except the problem positioning point in the initial motion trail.
Specifically, when the editing operation on the problem anchor point is to delete an anchor point, the manner of obtaining the target motion trajectory may be: the deleted problem positioning point is not recorded in the positioning point set of the target motion track any more; the road section information associated with the deleted locating point is not recorded into the target motion track any more; the data of the deleted anchor point and the road segment associated therewith are no longer recorded in the motion information data.
Specifically, when the editing operation on the problem anchor point is to move the anchor point, the manner of obtaining the target motion trajectory may be: the moved problem positioning point is not recorded in a positioning point set of a target motion track any more; the road section information related to the moved positioning point is not recorded into the target motion track any more; the data of the moved positioning points and the road sections related to the positioning points are not recorded in the motion information data any more; recording a first target positioning point into a positioning point set of a target motion track; and recording the road section information associated with the first target positioning point into the target motion track.
Specifically, when the editing operation on the problem location point determines the location point for the input location point, the manner of obtaining the target motion trajectory may be: the edited problem positioning point is not recorded in the positioning point set of the target motion track any more; the road section information related to the edited locating point is not recorded into the target motion track any more; the edited locating point and the data of the road section related to the locating point are not recorded in the motion information data any more; recording a second target positioning point into a positioning point set of the target motion track; and recording the road section information associated with the second target positioning point into the target motion track.
Furthermore, when the target motion track is calculated, the most appropriate road section calculation algorithm type can be selected according to the type of the user motion in the motion information, so that the target motion track which is more accurate and closer to the actual situation is obtained.
Further, after the user confirms that the new route segment after calculation and supplementation meets the expectation, the updated motion information and motion trajectory information can be used for the next regression calculation, so as to obtain information required by the service level, where the information includes but is not limited to: the distance and time of the user's motion; the sectional pace, the overall pace and the maximum minimum pace of the user movement; the altitude general climbing, altitude general descending and average altitude of the user movement; calorie consumption of the user's exercise.
The embodiment of the invention firstly generates an initial motion track based on positioning point information acquired in the user motion process; the positioning point information comprises longitude and latitude, speed and time stamp; then analyzing the initial motion track to obtain a problem positioning point; correcting the problem positioning point; and finally, repairing the initial motion track according to the corrected problem location point to obtain a target motion track. According to the method for repairing the motion trail provided by the embodiment of the invention, the problem positioning points on the motion trail are identified and corrected, so that the motion trail can be repaired, and the accuracy of the motion trail is improved.
Example two
Fig. 2 is a flowchart of a method for correcting a problem anchor point according to a second embodiment of the present invention, where this embodiment is applicable to a case of correcting a problem anchor point, and specifically includes the following steps:
and step 210, controlling the problem positioning point to be displayed in an editable style.
The problem locating point may be displayed on a point map layer where the motion trail display interface is located, wherein the motion trail display mode on the terminal may be: drawing a background map layer; drawing a track map layer of the motion track; and drawing a point diagram layer of the problem locating point. The background map layer is drawn according to the environment of the place where the user actually moves, for example, if the user runs on a plastic track in a stadium, the background map layer may show a track pattern in the stadium. The background map layer and the track layer are in an uneditable state, and the problem locating point in the point map layer and the road section associated with the problem locating point are in an editable state. The section associated with the problem anchor point may be understood as a section between the problem anchor point and its adjacent anchor points.
In this embodiment, after the control question positioning point is displayed in an editable style, an editing option can be provided based on the question positioning point; editing options include deleting a problem anchor, moving a problem anchor, and/or entering a location for location determination.
Further, the way that the control problem anchor point is displayed in an editable style may be: the problem positioning point is displayed in an editable mode; the road sections between the problem anchor point and the adjacent anchor points before and after the problem anchor point are also displayed in an editable mode.
And step 220, receiving the editing operation of the user on the problem positioning point so as to modify the problem positioning point.
In this embodiment, the method for receiving the user's editing operation on the problem anchor point to correct the problem anchor point may be: and determining an editing option selected by a user, and receiving an editing operation of the user on the problem locating point based on the editing option so as to modify the problem locating point.
In this embodiment, if the editing option selected by the user is to delete a problem anchor point, the method for receiving the editing operation of the user on the problem anchor point based on the editing option to correct the problem anchor point may be: acquiring a first road section between the problem locating point and an adjacent locating point and a second road section after the problem locating point is deleted; and controlling the first road section to be displayed in a first mode, and controlling the second road section to be displayed in a second mode.
The first road section is a road section between the problem locating point and the locating point adjacent to the problem locating point in front and back, and the second road section is a road section between two locating points adjacent to the problem locating point in front and back after the problem locating point is deleted. The first pattern is different from the second pattern. The difference between the first pattern and the second pattern may be understood as a difference in the color of the lines in the road section.
Specifically, as shown in fig. 5, if the problem locating point is point B, and locating points adjacent to and before the point B are point a and point C, respectively, after the problem locating point B is deleted, a road segment a between the point B and the point a and a road segment B between the point B and the point C are obtained, where a + B is a first road segment; a segment C between point a and point C, i.e. the second segment, is obtained.
In this embodiment, if the editing option selected by the user is a mobile problem location point, the method for receiving the editing operation of the user on the problem location point based on the editing option to correct the problem location point may be: acquiring a third road section between the problem positioning point and an adjacent positioning point; determining a first target positioning point and acquiring a fourth road section between the first target positioning point and an adjacent positioning point; the first target locating point is a locating point after the problem locating point moves; and controlling the third path segment to be displayed in a third mode, and controlling the fourth path segment to be displayed in a fourth mode.
The third road section is a road section between the problem locating point and locating points adjacent to the problem locating point in front and back, and the fourth road section is a road section between the first target locating point and locating points adjacent to the first target locating point in front and back. The third pattern is different from the fourth pattern.
Specifically, as shown in fig. 6, if the problem location point is E, the first target location point is E ', and the location points adjacent to the front and back of the point E are respectively a point D and a point F, after the location points E to E' are moved, a road segment D between the point E and the point D and a road segment E between the point E and the point F are obtained, and D + E is a third road segment; a link F between the point E 'and the point D and a link g, F + g between the point E' and the point F, i.e., a fourth link, are obtained.
In this embodiment, if the editing option selected by the user is an input location determining anchor point, the method for receiving the editing operation of the user on the problem anchor point based on the editing option to correct the problem anchor point may be: acquiring a fifth road section between the problem positioning point and the adjacent positioning point; determining a second target positioning point according to the position information input by the user, and acquiring a sixth road section between the second target positioning point and an adjacent positioning point; and controlling the fifth road section to be displayed in a fifth mode, and controlling the sixth road section to be displayed in a sixth mode.
The location information input by the user includes, but is not limited to, address information and latitude and longitude information, for example, the user may input "37 th sunny street in east city of beijing city" or "39 ° north latitude of east longitude 116 °, and at least one location point may be provided according to the location information input by the user for the user to select so as to determine the second target location point. The fifth road section is a road section between the problem positioning point and positioning points adjacent to the problem positioning point in front and back, and the sixth road section is a road section between the second target positioning point and positioning points adjacent to the second target positioning point in front and back. The fifth pattern is different from the sixth pattern.
Specifically, as shown in fig. 7, if the problem locating point is H, and the locating points adjacent to the point H before and after the point H are respectively a point G and a point I, after the second target locating point is determined to be H 'according to the position information input by the user, the locating point H is moved to H', and a road segment H between the point H and the point G and a road segment I, H + I between the point H and the point I, that is, a fifth road segment, are obtained; a link j between the point H 'and the point G and a link k, j + k between the point H' and the point I, i.e., a sixth link, are obtained.
Furthermore, after the problem locating point is corrected, the corrected locating point display style and the corrected motion track can be updated in real time, and the corrected locating point display style and the corrected motion track can be drawn on the corresponding point diagram layer and the track diagram layer. Further, after the problem anchor point is modified, edit information for the problem anchor point may be generated, which includes but is not limited to: original information of a problem positioning point, an editing type, positioning point deleting information influenced by editing, motion track deleting information influenced by editing, target positioning point information generated by editing and target motion track information generated by editing.
The original information of the problem location point includes, but is not limited to, longitude and latitude, speed and time stamp; the editing type is an editing operation type of the problem locating point by a user, and comprises deleting the problem locating point, moving the problem locating point and/or determining the locating point by an input position; editing the affected locating point deletion information into the information of other deleted locating points caused by correcting the problem locating points; editing the influenced motion track deletion information into track information of a deleted road section caused by correcting the problem locating point; editing the generated target positioning point information into positioning point information after the problem positioning point moves; and editing the generated target motion trail information into new motion trail information generated after the problem locating point is corrected.
The embodiment of the invention firstly controls the problem locating point to be displayed in an editable style, and then receives the editing operation of the user on the problem locating point so as to correct the problem locating point. According to the method for correcting the problem locating point, which is provided by the embodiment of the invention, the problem locating point is displayed to the user in an editable mode for editing and modifying, so that an interactive function is provided for the user, and the correction of the problem locating point is in line with the expectation of the user.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a motion trajectory repairing apparatus according to a third embodiment of the present invention. As shown in fig. 3, the apparatus includes: an initial motion trajectory generation module 310, a problem location point acquisition module 320, a problem location point modification module 330 and a target motion trajectory acquisition module 340.
An initial motion trajectory generating module 310, configured to generate an initial motion trajectory based on the positioning point information obtained during the user motion. The positioning point information comprises longitude and latitude, speed and time stamp.
And the problem positioning point obtaining module 320 is configured to analyze the initial motion trajectory to obtain a problem positioning point.
And the problem positioning point correcting module 330 is used for correcting the problem positioning point.
And a target motion trajectory obtaining module 340, configured to repair the initial motion trajectory according to the corrected problem location point, so as to obtain a target motion trajectory.
Optionally, the problem anchor point obtaining module 320 is further configured to: if the distance of the position of the positioning point deviating from the initial movement is larger than or equal to a first set threshold, the positioning point is a problem positioning point; if the speed of the locating point is greater than or equal to a second set threshold, the locating point is a problem locating point; and if the distance and/or the time interval between the positioning point and the adjacent positioning point is larger than or equal to a third set threshold, the positioning point is a problem positioning point.
Optionally, the problem anchor point modification module 330 is further configured to: controlling the problem locating point to be displayed in an editable style; and receiving the editing operation of the user on the problem positioning point so as to modify the problem positioning point.
Optionally, the problem anchor point modification module 330 is further configured to: after the problem locating point is controlled to be displayed in an editable style, providing an editing option based on the problem locating point; editing options comprise deleting a problem positioning point, moving the problem positioning point and/or determining a positioning point by an input position; correspondingly, receiving the editing operation of the user on the problem locating point to correct the problem locating point, and the method comprises the following steps: and determining an editing option selected by a user, and receiving an editing operation of the user on the problem locating point based on the editing option so as to modify the problem locating point.
If the editing option selected by the user is to delete the problem locating point, receiving the editing operation of the user on the problem locating point based on the editing option so as to modify the problem locating point, wherein the editing operation comprises the following steps: acquiring a first road section between the problem locating point and an adjacent locating point and a second road section after the problem locating point is deleted; and controlling the first road section to be displayed in a first mode, and controlling the second road section to be displayed in a second mode.
If the editing option selected by the user is the mobile problem locating point, receiving the editing operation of the user on the problem locating point based on the editing option so as to modify the problem locating point, wherein the editing operation comprises the following steps: acquiring a third road section between the problem positioning point and an adjacent positioning point; determining a first target positioning point and acquiring a fourth road section between the first target positioning point and an adjacent positioning point; the first target locating point is a locating point after the problem locating point moves; and controlling the third path segment to be displayed in a third mode, and controlling the fourth path segment to be displayed in a fourth mode.
If the editing option selected by the user is the positioning point determined by the input position, receiving the editing operation of the user on the problem positioning point based on the editing option so as to modify the problem positioning point, wherein the method comprises the following steps: acquiring a fifth road section between the problem positioning point and the adjacent positioning point; determining a second target positioning point according to the position information input by the user, and acquiring a sixth road section between the second target positioning point and an adjacent positioning point; and controlling the fifth road section to be displayed in a fifth mode, and controlling the sixth road section to be displayed in a sixth mode.
Optionally, the target motion trajectory obtaining module 340 is further configured to: generating a target motion track according to the corrected problem positioning point and other positioning points; and the other positioning points are other positioning points except the problem positioning point in the initial motion trail.
The device can execute the methods provided by all the embodiments of the invention, and has corresponding functional modules and beneficial effects for executing the methods. For details not described in detail in this embodiment, reference may be made to the methods provided in all the foregoing embodiments of the present invention.
Example four
Fig. 4 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of a computer device 412 suitable for use in implementing embodiments of the present invention. The computer device 412 shown in FIG. 4 is only one example and should not impose any limitations on the functionality or scope of use of embodiments of the present invention. Device 412 is a computing device that typically performs a motion trajectory remediation function.
As shown in FIG. 4, computer device 412 is in the form of a general purpose computing device. Components of computer device 412 may include, but are not limited to: one or more processors 416, a storage device 428, and a bus 418 that couples the various system components including the storage device 428 and the processors 416.
Bus 418 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 412 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 412 and includes both volatile and nonvolatile media, removable and non-removable media.
Storage 428 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 430 and/or cache Memory 432. The computer device 412 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 434 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk-Read Only Memory (CD-ROM), a Digital Video disk (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 418 by one or more data media interfaces. Storage 428 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
Program 436 having a set (at least one) of program modules 426 may be stored, for example, in storage 428, such program modules 426 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination may comprise an implementation of a network environment. Program modules 426 generally perform the functions and/or methodologies of embodiments of the invention as described herein.
The computer device 412 may also communicate with one or more external devices 414 (e.g., keyboard, pointing device, camera, display 424, etc.), with one or more devices that enable a user to interact with the computer device 412, and/or with any devices (e.g., network card, modem, etc.) that enable the computer device 412 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 422. Also, computer device 412 may communicate with one or more networks (e.g., a Local Area Network (LAN), Wide Area Network (WAN), and/or a public Network, such as the internet) through Network adapter 420. As shown, network adapter 420 communicates with the other modules of computer device 412 over bus 418. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the computer device 412, including but not limited to: microcode, device drivers, Redundant processing units, external disk drive Arrays, disk array (RAID) systems, tape drives, and data backup storage systems, among others.
The processor 416 executes various functional applications and data processing by executing programs stored in the storage device 428, for example, to implement the method for repairing a motion trajectory provided by the above-described embodiment of the present invention.
EXAMPLE five
Embodiments of the present invention provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processing device, implements a method for repairing a motion trajectory as in the embodiments of the present invention. The computer readable medium of the present invention described above may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText transfer protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a source text input by a user, and translating the source text into a target text corresponding to a target language; acquiring historical correction behaviors of the user; and correcting the target text according to the historical correction behaviors to obtain a translation result, and pushing the translation result to a client where the user is located.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (11)

1. A method for restoring a motion trail is characterized by comprising the following steps:
generating an initial motion track based on positioning point information acquired in the user motion process; the locating point information comprises longitude and latitude, speed and time stamp;
analyzing the initial motion track to obtain a problem positioning point;
correcting the problem positioning points;
and repairing the initial motion track according to the corrected problem location point to obtain a target motion track.
2. The method of claim 1, wherein analyzing the initial motion trajectory to obtain a problem fix comprises at least one of:
If the distance of the position of the positioning point deviating from the initial motion is larger than or equal to a first set threshold, the positioning point is a problem positioning point;
if the speed of the locating point is greater than or equal to a second set threshold, the locating point is a problem locating point;
and if the distance and/or the time interval between the positioning point and the adjacent positioning point is larger than or equal to a third set threshold, the positioning point is a problem positioning point.
3. The method of claim 1, wherein modifying the problem fix comprises:
controlling the problem locating point to be displayed in an editable style;
and receiving the editing operation of the user on the problem positioning point so as to modify the problem positioning point.
4. The method of claim 3, after controlling the question anchor point to be displayed in an editable style, further comprising:
providing an editing option based on the problem location point; the editing options comprise a problem locating point deletion, a problem locating point movement and/or an input position determination locating point;
correspondingly, receiving the editing operation of the user on the problem positioning point to correct the problem positioning point, including:
And determining an editing option selected by a user, and receiving an editing operation of the user on the problem positioning point based on the editing option so as to modify the problem positioning point.
5. The method of claim 4, wherein if the editing option selected by the user is to delete a problem anchor point, receiving an editing operation of the user on the problem anchor point based on the editing option to modify the problem anchor point, comprises:
acquiring a first road section between the problem locating point and an adjacent locating point and a second road section after the problem locating point is deleted;
and controlling the first road section to be displayed in a first mode, and controlling the second road section to be displayed in a second mode.
6. The method of claim 4, wherein if the editing option selected by the user is a mobile problem location point, receiving an editing operation of the user on the problem location point based on the editing option to modify the problem location point comprises:
acquiring a third road section between the problem positioning point and an adjacent positioning point;
determining a first target positioning point and acquiring a fourth road section between the first target positioning point and an adjacent positioning point; the first target locating point is a locating point after the problem locating point moves;
And controlling the third path segment to be displayed in a third mode, and controlling the fourth path segment to be displayed in a fourth mode.
7. The method of claim 4, wherein if the editing option selected by the user is an input position determination anchor point, receiving an editing operation of the user on the question anchor point based on the editing option to modify the question anchor point, comprises:
acquiring a fifth road section between the problem positioning point and an adjacent positioning point;
determining a second target positioning point according to position information input by a user, and acquiring a sixth road section between the second target positioning point and an adjacent positioning point;
and controlling the fifth road section to be displayed in a fifth mode, and controlling the sixth road section to be displayed in a sixth mode.
8. The method of claim 1, wherein repairing the initial motion trajectory to obtain a target motion trajectory according to the corrected problem location point comprises:
generating a target motion track according to the corrected problem positioning point and other positioning points; and the other positioning points are other positioning points except the problem positioning point in the initial motion trail.
9. A device for restoring a motion trajectory, comprising:
The initial motion track generation module is used for generating an initial motion track based on positioning point information acquired in the user motion process; the locating point information comprises longitude and latitude, speed and time stamp;
the problem positioning point acquisition module is used for analyzing the initial motion track to obtain a problem positioning point;
the problem positioning point correcting module is used for correcting the problem positioning point;
and the target motion track acquisition module is used for repairing the initial motion track according to the corrected problem location point to acquire a target motion track.
10. A computer device, the device comprising: comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method of motion trajectory restoration according to any one of claims 1-8 when executing the program.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processing device, carries out a method of repairing a motion trajectory according to any one of claims 1 to 8.
CN202010707304.7A 2020-07-21 2020-07-21 Method, device and equipment for repairing motion trail and storage medium Pending CN111858814A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010707304.7A CN111858814A (en) 2020-07-21 2020-07-21 Method, device and equipment for repairing motion trail and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010707304.7A CN111858814A (en) 2020-07-21 2020-07-21 Method, device and equipment for repairing motion trail and storage medium

Publications (1)

Publication Number Publication Date
CN111858814A true CN111858814A (en) 2020-10-30

Family

ID=73002216

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010707304.7A Pending CN111858814A (en) 2020-07-21 2020-07-21 Method, device and equipment for repairing motion trail and storage medium

Country Status (1)

Country Link
CN (1) CN111858814A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112948361A (en) * 2021-02-02 2021-06-11 北京三快在线科技有限公司 Data restoration method and device
CN113156455A (en) * 2021-03-16 2021-07-23 武汉理工大学 Vehicle positioning system, method, device and medium based on roadside multi-laser radar perception
CN113473367A (en) * 2021-07-08 2021-10-01 恒安嘉新(北京)科技股份公司 Method, apparatus, device and medium for correcting motion trail of mobile user

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170256063A1 (en) * 2016-03-04 2017-09-07 Electronics And Telecommunications Research Institute Apparatus for tracking trajectory of high-speed moving object and method therefor
CN110471999A (en) * 2019-08-05 2019-11-19 北京百度网讯科技有限公司 Trajectory processing method, apparatus, equipment and medium
CN111239696A (en) * 2020-01-15 2020-06-05 深圳大学 Target track dynamic display method, device, equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170256063A1 (en) * 2016-03-04 2017-09-07 Electronics And Telecommunications Research Institute Apparatus for tracking trajectory of high-speed moving object and method therefor
CN110471999A (en) * 2019-08-05 2019-11-19 北京百度网讯科技有限公司 Trajectory processing method, apparatus, equipment and medium
CN111239696A (en) * 2020-01-15 2020-06-05 深圳大学 Target track dynamic display method, device, equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112948361A (en) * 2021-02-02 2021-06-11 北京三快在线科技有限公司 Data restoration method and device
CN113156455A (en) * 2021-03-16 2021-07-23 武汉理工大学 Vehicle positioning system, method, device and medium based on roadside multi-laser radar perception
CN113473367A (en) * 2021-07-08 2021-10-01 恒安嘉新(北京)科技股份公司 Method, apparatus, device and medium for correcting motion trail of mobile user

Similar Documents

Publication Publication Date Title
CN111858814A (en) Method, device and equipment for repairing motion trail and storage medium
CN110260870B (en) Map matching method, device, equipment and medium based on hidden Markov model
CN107656913B (en) Map interest point address extraction method, map interest point address extraction device, server and storage medium
US9880012B2 (en) Hybrid road network and grid based spatial-temporal indexing under missing road links
CN109974718B (en) Map matching method, apparatus, device and medium
CN111695488B (en) Method, device, equipment and storage medium for identifying interest surface
JP2020166268A (en) Method for determining quality of map trajectory matching data, device, server and medium
CN109543680B (en) Method, apparatus, device, and medium for determining location of point of interest
CN110006439B (en) Map track data matching method, map track data matching device, server and storage medium
CN113345228A (en) Driving data generation method, device, equipment and medium based on fitted track
CN105704675A (en) Scenic region information processing method and device
US20120262552A1 (en) City scene video sharing on digital maps
CN115616937B (en) Automatic driving simulation test method, device, equipment and computer readable medium
CN113268180A (en) Data annotation method, device, equipment, computer readable storage medium and product
US20070282888A1 (en) Dynamic data stream histograms for large ranges
US20230349713A1 (en) Transforming Scale Ring
CN112712795A (en) Method, device, medium and electronic equipment for determining label data
CN107869990B (en) Method and device for acquiring indoor position data, computer equipment and readable medium
CN108595095B (en) Method and device for simulating movement locus of target body based on gesture control
US20210406773A1 (en) Transforming method, training device, and inference device
CN114664104A (en) Road network matching method and device
CN110475198B (en) Urban road user track deviation correction processing method and device
CN113327264A (en) Trajectory fitting method, device, equipment and storage medium
US20160356608A1 (en) Map-matching by dual-level heuristic search
CN109815307B (en) Position determination method, apparatus, device, and medium

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