CN109459770B - Method and device for generating motion trail and storage medium - Google Patents

Method and device for generating motion trail and storage medium Download PDF

Info

Publication number
CN109459770B
CN109459770B CN201811076936.7A CN201811076936A CN109459770B CN 109459770 B CN109459770 B CN 109459770B CN 201811076936 A CN201811076936 A CN 201811076936A CN 109459770 B CN109459770 B CN 109459770B
Authority
CN
China
Prior art keywords
motion
scene
user
determining
gps signal
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
CN201811076936.7A
Other languages
Chinese (zh)
Other versions
CN109459770A (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.)
China Mobile Communications Group Co Ltd
MIGU Interactive Entertainment Co Ltd
MIGU Culture Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
MIGU Interactive Entertainment Co Ltd
MIGU Culture 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 China Mobile Communications Group Co Ltd, MIGU Interactive Entertainment Co Ltd, MIGU Culture Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201811076936.7A priority Critical patent/CN109459770B/en
Publication of CN109459770A publication Critical patent/CN109459770A/en
Application granted granted Critical
Publication of CN109459770B publication Critical patent/CN109459770B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C23/00Combined instruments indicating more than one navigational value, e.g. for aircraft; Combined measuring devices for measuring two or more variables of movement, e.g. distance, speed or acceleration

Abstract

The invention discloses a method for generating a motion trail, which comprises the following steps: determining a target motion scene corresponding to an interruption area of GPS signal interruption; determining the movement distance of the user in the GPS signal interruption process based on the duration of the GPS signal interruption and the average movement speed of the user in the target movement scene; and generating a motion trail corresponding to the interrupt area based on the motion distance and the target motion scene. The invention also discloses a motion trail generation device and a storage medium.

Description

Method and device for generating motion trail and storage medium
Technical Field
The present invention relates to the field of multimedia communications, and in particular, to a method and an apparatus for generating a motion trajectory, and a storage medium.
Background
The terminal may record the position of the user through the GPS function and generate a corresponding motion trajectory according to the recorded position. However, in the prior art, when a user is in outdoor sports, the GPS signal may be interrupted, for example, when the user is climbing a mountain, the terminal of the user may not detect the GPS signal due to the blockage of the mountain, so that the terminal may not record the position of the user.
Disclosure of Invention
In view of the above, embodiments of the present invention are to provide a method, an apparatus, and a storage medium for generating a motion trajectory, which can generate a corresponding motion trajectory when a GPS signal is interrupted.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the embodiment of the invention provides a method for generating a motion trail, which comprises the following steps:
determining a target motion scene corresponding to an interruption area of GPS signal interruption;
determining the movement distance of the user in the GPS signal interruption process based on the duration of the GPS signal interruption and the average movement speed of the user in the target movement scene;
and generating a motion trail corresponding to the interrupt area based on the motion distance and the target motion scene.
The embodiment of the present invention further provides a device for generating a motion trajectory, where the device includes:
the system comprises a first determination module, a second determination module and a third determination module, wherein the first determination module is used for determining a target motion scene corresponding to an interruption area of GPS signal interruption;
the second determination module is used for determining the movement distance of the user in the GPS signal interruption process based on the time length of the GPS signal interruption and the average movement speed of the user in the target movement scene;
and the generating module is used for generating a motion track corresponding to the interrupt area based on the motion distance and the target motion scene.
An embodiment of the present invention further provides a storage medium, on which an executable program is stored, where the executable program, when executed by a processor, implements any one of the above-mentioned motion trajectory generation methods.
The embodiment of the invention also provides a motion trail generation device, which comprises a memory, a processor and an executable program which is stored on the memory and can be run by the processor, wherein the processor executes any motion trail generation method when running the executable program.
The method, the device and the storage medium for generating the motion trail provided by the embodiment of the invention determine the motion distance of the user in the GPS signal interruption process by determining the target motion scene corresponding to the interruption area of the GPS signal interruption, based on the GPS signal interruption time and the average motion speed of the user in the target motion scene, and generate the motion trail corresponding to the interruption area according to the motion distance and the target motion scene. Therefore, the motion trail corresponding to the interrupt area can be generated under the condition that the GPS signal is interrupted, and the discontinuity of the motion trail is avoided.
Drawings
Fig. 1 is a schematic flow chart illustrating an implementation of a method for generating a motion trajectory according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a specific implementation of a method for generating a motion trajectory according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a motion trajectory generation device according to an embodiment of the present invention;
fig. 4 is a schematic hardware structure diagram of a motion trajectory generation device according to an embodiment of the present invention.
Detailed Description
So that the manner in which the features and aspects of the embodiments of the present invention can be understood in detail, a more particular description of the embodiments of the invention, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings.
In the embodiment of the present invention, the terminal may include, but is not limited to: electronic equipment such as cell-phone, flat board, motion bracelet, motion wrist-watch.
As shown in fig. 1, an implementation flow diagram of the method for generating a motion trajectory according to the embodiment of the present invention includes the following steps:
step 101: and determining a target motion scene corresponding to an interruption area of the GPS signal interruption.
In some embodiments, the terminal may determine the first location based on a last GPS signal acquired prior to the GPS signal interruption; determining a second position based on the first GPS signal acquired after the GPS signal is recovered to be normal; a motion scene between the first location and the second location is determined as a target motion scene. Wherein the interruption zone may be a zone between the first location and the second location.
Specifically, after monitoring the interruption of the GPS signal, the terminal may acquire the last GPS signal acquired before the interruption of the GPS signal and the first GPS signal acquired after the GPS signal is restored to normal, and then the terminal may determine the first location based on the last GPS signal acquired before the interruption of the GPS signal and determine the second location based on the first GPS signal acquired after the GPS signal is restored to normal, respectively. Here, the technology for determining the position according to the GPS signal may be implemented by using the existing technology, and therefore, the present embodiment is not described herein again.
In some embodiments, determining the motion scene between the first location and the second location as the target motion scene may include: acquiring a motion scene between a first position and a second position; when a motion scene is acquired, determining the acquired motion scene as a target motion scene; when a plurality of motion scenes are acquired, determining a target motion scene based on the motion scene where the specified position selected by the user in advance is located, and/or determining the target motion scene based on the motion preference of the user.
Specifically, after determining the first location and the second location, the terminal may acquire a motion scene between the first location and the second location, where the motion scene may include a mountain, a lake, a path, a road, and the like.
The terminal may acquire a scene graph between the first position and the second position, perform image recognition on the acquired scene graph, and then determine a moving scene between the first position and the second position according to a recognition result. When acquiring the scene graph between the first location and the second location, the terminal may acquire the scene graph between the first location and the second location from a server, such as a server of a hundred-degree map, which may provide a geographical location scene, such as a geographical location real scene, a 2D geographical location plane scene, and the like.
In one example, when a motion scene is acquired, the acquired motion scene may be determined as a target motion scene.
In another example, when multiple motion scenes are acquired, the target motion scene may be determined based on the motion scene where the specified position selected by the user in advance is located, and/or the target motion scene may be determined based on the motion preference of the user.
Preferably, the determining the target motion scene based on the motion scene at the designated position selected by the user in advance may include: determining a designated position selected by a user in advance based on the designated operation record of the user and/or the social information of the user; wherein, the specified operation record of the user at least comprises: recording the operation of the note, the operation of the memo and the operation of the calendar schedule; the social information of the user at least comprises: chat information between the user and other users, message information of the other users to the user, and message information of the user to the other users; and determining the motion scene in which the pre-selected specified position is positioned as the target motion scene.
Specifically, when determining the target motion scene between the first position and the second position from the plurality of motion scenes, the terminal may first determine whether the user has a pre-selected designated position for the plurality of motion scenes, such as a pre-selected natatorium, and if it is determined that the user has a pre-selected designated position for the motion scenes, may determine the motion scene in which the pre-selected designated position is located as the target motion scene between the first position and the second position.
For example, when determining whether the user has a designated location preselected for a plurality of sports scenes, the terminal may determine the designated location preselected by the user based on a designated operation record of the user, such as schedule, memo, note set by the user, and specified content obtained from a recently received short message and mail, where the specified content may include a first location, a second location, any geographic location between the first location and the second location, or content related to a shop name, a sight spot name, a road name, and the like corresponding to the any geographic location, and if the obtaining is successful, it may determine that the user has a pre-selected designated location in the sports scenes. If the obtaining fails, the terminal may determine a designated location that is selected in advance by the user based on the social information of the user, for example, the designated content may be obtained from the social information, if the obtaining succeeds, it may be determined that the user has a pre-selection for the designated location in the motion scene, and if the obtaining fails, it may be determined that the user has no pre-selection for the designated location in the motion scene.
Preferably, determining the target motion scene based on the motion preference of the user may include: determining the motion preference of the user based on the historical motion data of the user aiming at the obtained motion scene; determining a matching motion scene between the first location and the second location based on the motion preference; and determining the matched motion scenes as target motion scenes.
Specifically, the terminal may determine the target motion scene between the first location and the second location according to the acquired motion preference or motion habit. When the terminal acquires the motion preference of the user, whether the user has the motion preference for the multiple motion scenes, the motion preference for the current time and the like can be acquired, then the terminal can determine the motion scene matched between the first position and the second position according to the acquired motion preference, and the matched motion scene is determined as the target motion scene.
For example, when the terminal obtains the motion preference of the user, the motion preference of the user for a mountain may be obtained, that is, the user likes climbing a mountain during the motion process, and the terminal may determine the mountain as a target motion scene between a first location and a second location from a plurality of motion scenes according to the preference of the user; the terminal may determine the trail as a target motion scene between the first location and the second location from among a plurality of motion scenes according to the preference of the user.
Specifically, if the terminal does not acquire the motion preference of the user, or cannot determine the target motion scene between the first location and the second location according to the acquired motion preference of the user, the terminal may present the multiple motion scenes to the user, so that the user selects the target motion scene from the multiple motion scenes.
Step 102: and determining the movement distance of the user in the GPS signal interruption process based on the time length of the GPS signal interruption and the average movement speed of the user in the target movement scene.
In some embodiments, the terminal may determine the duration of the GPS signal interruption based on the acquisition time of the last GPS signal acquired before the GPS signal interruption and the acquisition time of the first GPS signal acquired after the GPS signal is restored to normal; and determining the average movement speed of the user in the target movement scene based on the historical movement data of the user in the target movement scene.
Specifically, after determining a target motion scene between a first position and a second position, the terminal may acquire historical motion data of the user in the target motion scene, and determine an average motion speed of the current user in the target motion scene according to the acquired historical motion data. Then, the movement distance of the user in the GPS signal interruption process can be determined based on the duration of the GPS signal interruption, namely the movement time of the current user under the condition of the GPS signal interruption and the average movement speed of the user under the target movement scene.
Step 103: and generating a motion trail corresponding to the interrupt area based on the motion distance and the target motion scene.
In some embodiments, generating a motion trajectory corresponding to the interrupt region based on the motion distance and the target motion scene may include: acquiring a first motion track generated in an interruption area under the normal condition of a GPS signal; acquiring a first movement distance corresponding to the first movement track; matching the first movement distance with the movement distance determined in the GPS signal interruption process; and generating a motion track corresponding to the interrupt area based on the first motion track corresponding to the successfully matched first motion distance and the target motion scene.
Specifically, the terminal may obtain a first motion track generated by the other user in the interrupt area, where the first motion track may be a real motion track between the first location and the second location (the capability of the terminal of the other user to detect the GPS signal is higher than the detection capability of the terminal of the current user), and if the obtaining is successful, the terminal may obtain a first motion distance corresponding to the first motion track, and then match the obtained first motion distance with the motion distance determined in the GPS signal interrupt process, and generate the motion track corresponding to the interrupt area based on the first motion track corresponding to the first motion distance and the target motion scene that are successfully matched.
In some embodiments, generating a motion trajectory corresponding to the interrupt region based on the motion distance and the target motion scene may include: acquiring a movable path in the interrupt area; and generating a motion track corresponding to the interrupt area based on the movable path, the motion distance and the target motion scene.
Specifically, the terminal may acquire a movable path within the interrupt area, where the movable path may be an existing movable path between the first location and the second location, and then generate a motion trajectory corresponding to the interrupt area based on the acquired movable path, a motion distance of the current user in the case of GPS signal interrupt, and a target motion scene.
Specifically, if the terminal fails to determine the target motion scene of the user in the process of interrupting the GPS signal from the multiple motion scenes between the first location and the second location, the terminal may first determine the motion distance corresponding to each motion scene according to the above steps, then match each motion distance with the actual motion trajectory or the existing movable path of the other user in the corresponding motion scene, and generate the motion trajectory corresponding to the interrupted area according to the matching result and the target motion scene.
The method for generating the movement track provided by the embodiment of the invention determines the movement distance of the user in the GPS signal interruption process by determining the target movement scene corresponding to the interruption area of the GPS signal interruption and based on the GPS signal interruption time length and the average movement speed of the user in the target movement scene, and generates the movement track corresponding to the interruption area according to the movement distance and the target movement scene. Therefore, the motion trail corresponding to the interrupt area can be generated under the condition that the GPS signal is interrupted, and the discontinuity of the motion trail is avoided.
The following describes in detail a specific implementation process of the method for generating a motion trajectory according to the embodiment of the present invention.
Fig. 2 is a schematic flow chart of a specific implementation of the method for generating a motion trajectory according to an embodiment of the present invention; as shown in fig. 2, the method for generating a motion trajectory of the present embodiment includes the following steps:
step 201: determining a first position based on a last GPS signal acquired before the interruption of the GPS signal; and determining the second position based on the first GPS signal acquired after the GPS signal is recovered to be normal.
Wherein the area between the first location and the second location may be an interruption area of the GPS signal interruption.
Specifically, after monitoring the interruption of the GPS signal, the terminal may acquire the last GPS signal acquired before the interruption of the GPS signal and the first GPS signal acquired after the GPS signal is restored to normal, and then the terminal may determine the first location based on the last GPS signal acquired before the interruption of the GPS signal and determine the second location based on the first GPS signal acquired after the GPS signal is restored to normal, respectively. Here, the technology for determining the position according to the GPS signal may be implemented by using the existing technology, and therefore, the present embodiment is not described herein again.
Step 202: a motion scene between a first location and a second location is acquired.
Specifically, after determining the first location and the second location, the terminal may acquire a motion scene between the first location and the second location, where the motion scene may include a mountain, a lake, a path, a road, and the like.
The terminal may acquire a scene graph between the first position and the second position, perform image recognition on the acquired scene graph, and then determine a moving scene between the first position and the second position according to a recognition result. When acquiring the scene graph between the first location and the second location, the terminal may acquire the scene graph between the first location and the second location from a server, such as a server of a hundred-degree map, which may provide a geographical location scene, such as a geographical location real scene, a 2D geographical location plane scene, and the like.
When one motion scene is acquired, step 203 is executed, and when a plurality of motion scenes are acquired, step 204 is executed.
Step 203: when a motion scene is acquired, the acquired motion scene is determined as a target motion scene.
Step 204: when a plurality of motion scenes are acquired, determining a target motion scene based on the motion scene where the specified position selected by the user in advance is located, and/or determining the target motion scene based on the motion preference of the user.
Preferably, the determining the target motion scene based on the motion scene at the designated position selected by the user in advance may include: determining a designated position selected by a user in advance based on the designated operation record of the user and/or the social information of the user; wherein, the specified operation record of the user at least comprises: recording the operation of the note, the operation of the memo and the operation of the calendar schedule; the social information of the user at least comprises: chat information between the user and other users, message information of the other users to the user, and message information of the user to the other users; and determining the motion scene in which the pre-selected specified position is positioned as the target motion scene.
Specifically, when determining the target motion scene between the first position and the second position from the plurality of motion scenes, the terminal may first determine whether the user has a pre-selected designated position for the plurality of motion scenes, such as a pre-selected natatorium, and if it is determined that the user has a pre-selected designated position for the motion scenes, may determine the motion scene in which the pre-selected designated position is located as the target motion scene between the first position and the second position.
Preferably, determining the target motion scene based on the motion preference of the user may include: determining the motion preference of the user based on the historical motion data of the user aiming at the obtained motion scene; determining a matching motion scene between the first location and the second location based on the motion preference; and determining the matched motion scenes as target motion scenes.
Specifically, the terminal may determine the target motion scene between the first location and the second location according to the acquired motion preference or motion habit. When the terminal acquires the motion preference of the user, whether the user has the motion preference for the multiple motion scenes, the motion preference for the current time and the like can be acquired, then the terminal can determine the motion scene matched between the first position and the second position according to the acquired motion preference, and the matched motion scene is determined as the target motion scene.
Specifically, if the terminal does not acquire the motion preference of the user, or cannot determine the target motion scene between the first location and the second location according to the acquired motion preference of the user, the terminal may present the multiple motion scenes to the user, so that the user selects the target motion scene from the multiple motion scenes.
Step 205: and determining the average movement speed of the user in the target movement scene based on the historical movement data of the user in the target movement scene.
Specifically, after determining a target motion scene between a first position and a second position, the terminal may acquire historical motion data of the user in the target motion scene, and determine an average motion speed of the current user in the target motion scene according to the acquired historical motion data.
Step 206: and determining the time length of the interruption of the GPS signals based on the acquisition time of the last GPS signal acquired before the interruption of the GPS signals and the acquisition time of the first GPS signal acquired after the GPS signals are recovered to be normal.
The duration of the GPS signal interruption may be the movement time of the current user in the GPS signal interruption condition.
Step 207: and determining the movement distance of the user in the GPS signal interruption process based on the time length of the GPS signal interruption and the average movement speed of the user in the target movement scene.
Specifically, the terminal may determine the movement distance of the user in the GPS signal interruption process based on the duration of the GPS signal interruption, that is, the movement time of the current user in the GPS signal interruption condition, and the average movement speed of the user in the target movement scene.
Step 208: and generating a motion trail corresponding to the interrupt area based on the motion distance and the target motion scene.
In some embodiments, generating a motion trajectory corresponding to the interrupt region based on the motion distance and the target motion scene may include: acquiring a first motion track generated in an interruption area under the normal condition of a GPS signal; acquiring a first movement distance corresponding to the first movement track; matching the first movement distance with the movement distance determined in the GPS signal interruption process; and generating a motion track corresponding to the interrupt area based on the first motion track corresponding to the successfully matched first motion distance and the target motion scene.
Specifically, the terminal may obtain a first motion track generated by the other user in the interrupt area, where the first motion track may be a real motion track between the first location and the second location (the capability of the terminal of the other user to detect the GPS signal is higher than the detection capability of the terminal of the current user), and if the obtaining is successful, the terminal may obtain a first motion distance corresponding to the first motion track, and then match the obtained first motion distance with the motion distance determined in the GPS signal interrupt process, and generate the motion track corresponding to the interrupt area based on the first motion track corresponding to the first motion distance and the target motion scene that are successfully matched.
In some embodiments, generating a motion trajectory corresponding to the interrupt region based on the motion distance and the target motion scene may include: acquiring a movable path in the interrupt area; and generating a motion track corresponding to the interrupt area based on the movable path, the motion distance and the target motion scene.
Specifically, the terminal may acquire a movable path within the interrupt area, where the movable path may be an existing movable path between the first location and the second location, and then generate a motion trajectory corresponding to the interrupt area based on the acquired movable path, a motion distance of the current user in the case of GPS signal interrupt, and a target motion scene.
Specifically, if the terminal fails to determine the target motion scene of the user in the process of interrupting the GPS signal from the multiple motion scenes between the first location and the second location, the terminal may first determine the motion distance corresponding to each motion scene according to the above steps, then match each motion distance with the actual motion trajectory or the existing movable path of the other user in the corresponding motion scene, and generate the motion trajectory corresponding to the interrupted area according to the matching result and the target motion scene.
The method for generating the movement track provided by the embodiment of the invention determines the movement distance of the user in the GPS signal interruption process by determining the target movement scene corresponding to the interruption area of the GPS signal interruption and based on the GPS signal interruption time length and the average movement speed of the user in the target movement scene, and generates the movement track corresponding to the interruption area according to the movement distance and the target movement scene. Therefore, the motion trail corresponding to the interrupt area can be generated under the condition that the GPS signal is interrupted, and the discontinuity of the motion trail is avoided.
In order to implement the foregoing method, an embodiment of the present invention further provides a device for generating a motion trajectory, as shown in fig. 3, where the device includes: a first determining module 301, a second determining module 302 and a generating module 303; wherein the content of the first and second substances,
the first determining module 301 is configured to determine a target motion scene corresponding to an interruption area in which a global positioning system GPS signal is interrupted.
A first determining module 301, specifically configured to determine a first position based on a last GPS signal acquired before the GPS signal interruption; determining a second position based on the first GPS signal acquired after the GPS signal is recovered to be normal; determining a motion scene between the first location and the second location as the target motion scene.
The first determining module 301 is further specifically configured to acquire a motion scene between the first location and the second location; when a motion scene is acquired, determining the acquired motion scene as the target motion scene; when a plurality of motion scenes are acquired, determining the target motion scene based on the motion scene where the appointed position selected by the user in advance is located, and/or determining the target motion scene based on the motion preference of the user.
The first determining module 301 is further specifically configured to determine a specified location selected by the user in advance based on the specified operation record of the user and/or the social information of the user; wherein the specified operation record of the user at least comprises: recording the operation of the note, the operation of the memo and the operation of the calendar schedule; the social information of the user at least comprises: chat information between the user and other users, message information of the other users to the user, and message information of the user to the other users; and determining the motion scene in which the pre-selected specified position is located as the target motion scene.
The first determining module 301 is further specifically configured to determine a motion preference of the user based on historical motion data of the user for the obtained motion scene; the motion preference determines a matching motion scene between the first position and the second position; and determining the matched motion scene as the target motion scene.
A second determining module 302, configured to determine a moving distance of the user in the GPS signal interruption process based on the duration of the GPS signal interruption and the average moving speed of the user in the target moving scene.
A generating module 303, configured to generate a motion trajectory corresponding to the interrupt area based on the motion distance and the target motion scene.
A generating module 303, configured to specifically acquire a first motion trajectory generated in the interrupt area under a normal condition of the GPS signal; acquiring a first movement distance corresponding to the first movement track; matching the first movement distance with the movement distance determined in the GPS signal interruption process; and generating a motion track corresponding to the interrupt area based on a first motion track corresponding to the successfully matched first motion distance and the target motion scene.
A generating module 303, further specifically configured to acquire a movable path in the interruption region; and generating a motion trail corresponding to the interrupt area based on the movable path, the motion distance and the target motion scene.
In practical applications, the first determining module 301, the second determining module 302, and the generating module 303 may be implemented by a Central Processing Unit (CPU), a microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like located on the terminal.
It should be noted that: the motion trajectory generation device provided in the above embodiment is only illustrated by dividing the program modules when generating the motion trajectory, and in practical applications, the processing may be distributed and completed by different program modules as needed, that is, the internal structure of the device may be divided into different program modules to complete all or part of the processing described above. In addition, the motion trajectory generation device and the motion trajectory generation method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
In order to implement the foregoing method, an embodiment of the present invention further provides another motion trajectory generation apparatus, where the apparatus includes a memory, a processor, and an executable program that is stored on the memory and can be executed by the processor, and when the processor executes the executable program, the following operations are performed:
determining a target motion scene corresponding to an interruption area of GPS signal interruption; determining the movement distance of the user in the GPS signal interruption process based on the duration of the GPS signal interruption and the average movement speed of the user in the target movement scene; and generating a motion trail corresponding to the interrupt area based on the motion distance and the target motion scene.
The processor is further configured to, when running the executable program, perform the following:
determining a first position based on a last GPS signal acquired before the interruption of the GPS signal; determining a second position based on the first GPS signal acquired after the GPS signal is recovered to be normal; determining a motion scene between the first location and the second location as the target motion scene.
The processor is further configured to, when running the executable program, perform the following:
acquiring a motion scene between the first position and the second position; when a motion scene is acquired, determining the acquired motion scene as the target motion scene; when a plurality of motion scenes are acquired, determining the target motion scene based on the motion scene where the appointed position selected by the user in advance is located, and/or determining the target motion scene based on the motion preference of the user.
The processor is further configured to, when running the executable program, perform the following:
determining a designated position selected by the user in advance based on the designated operation record of the user and/or the social information of the user; wherein the specified operation record of the user at least comprises: recording the operation of the note, the operation of the memo and the operation of the calendar schedule; the social information of the user at least comprises: chat information between the user and other users, message information of the other users to the user, and message information of the user to the other users; and determining the motion scene in which the pre-selected specified position is located as the target motion scene.
The processor is further configured to, when running the executable program, perform the following:
determining the motion preference of the user based on the historical motion data of the user for the obtained motion scene; determining a matching motion scene between the first location and the second location based on the motion preference; and determining the matched motion scene as the target motion scene.
The processor is further configured to, when running the executable program, perform the following:
acquiring a first motion track generated in the interrupt area under the normal condition of the GPS signal; acquiring a first movement distance corresponding to the first movement track; matching the first movement distance with the movement distance determined in the GPS signal interruption process; and generating a motion track corresponding to the interrupt area based on a first motion track corresponding to the successfully matched first motion distance and the target motion scene.
The processor is further configured to, when running the executable program, perform the following:
acquiring a movable path in the interruption region; and generating a motion trail corresponding to the interrupt area based on the movable path, the motion distance and the target motion scene.
The following describes a hardware configuration of the motion trajectory generation device, taking as an example that the motion trajectory generation device is implemented as a terminal for generating a motion trajectory.
Fig. 4 is a schematic diagram of a hardware structure of a motion trajectory generation apparatus according to an embodiment of the present invention, where the motion trajectory generation apparatus 400 shown in fig. 4 includes: at least one processor 401, memory 402, a user interface 403, and at least one network interface 404. The various components in the motion profile generation apparatus 400 are coupled together by a bus system 405. It is understood that the bus system 405 is used to enable connection communication between these components. The bus system 405 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 405 in fig. 4.
The user interface 403 may include, among other things, a display, a keyboard, a mouse, a trackball, a click wheel, a key, a button, a touch pad, or a touch screen.
It will be appreciated that the memory 402 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory.
The memory 402 in the embodiment of the present invention is used to store various types of data to support the operation of the generation apparatus 400 of the motion profile. Examples of such data include: any computer program for operating on the generation apparatus 400 of the motion trajectory, such as the executable program 4021, and a program implementing the method of the embodiment of the present invention may be included in the executable program 4021.
The method disclosed in the above embodiments of the present invention may be applied to the processor 401, or implemented by the processor 401. The processor 401 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 401. The processor 401 described above may be a general purpose processor, a DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. Processor 401 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 402, and the processor 401 reads the information in the memory 402 and performs the steps of the aforementioned methods in conjunction with its hardware.
In an exemplary embodiment, an embodiment of the present invention further provides a storage medium, on which an executable program is stored, and when the executable program is executed by the processor 401 of the motion trajectory generation apparatus 400, the following operations are performed:
determining a target motion scene corresponding to an interruption area of GPS signal interruption; determining the movement distance of the user in the GPS signal interruption process based on the duration of the GPS signal interruption and the average movement speed of the user in the target movement scene; and generating a motion trail corresponding to the interrupt area based on the motion distance and the target motion scene.
When the executable program is executed by the processor 401 of the motion trajectory generation apparatus 400, the following operations are further performed:
determining a first position based on a last GPS signal acquired before the interruption of the GPS signal; determining a second position based on the first GPS signal acquired after the GPS signal is recovered to be normal; determining a motion scene between the first location and the second location as the target motion scene.
When the executable program is executed by the processor 401 of the motion trajectory generation apparatus 400, the following operations are further performed:
acquiring a motion scene between the first position and the second position; when a motion scene is acquired, determining the acquired motion scene as the target motion scene; when a plurality of motion scenes are acquired, determining the target motion scene based on the motion scene where the appointed position selected by the user in advance is located, and/or determining the target motion scene based on the motion preference of the user.
When the executable program is executed by the processor 401 of the motion trajectory generation apparatus 400, the following operations are further performed:
determining a designated position selected by the user in advance based on the designated operation record of the user and/or the social information of the user; wherein the specified operation record of the user at least comprises: recording the operation of the note, the operation of the memo and the operation of the calendar schedule; the social information of the user at least comprises: chat information between the user and other users, message information of the other users to the user, and message information of the user to the other users; and determining the motion scene in which the pre-selected specified position is located as the target motion scene.
When the executable program is executed by the processor 401 of the motion trajectory generation apparatus 400, the following operations are further performed:
determining the motion preference of the user based on the historical motion data of the user for the obtained motion scene; determining a matching motion scene between the first location and the second location based on the motion preference; and determining the matched motion scene as the target motion scene.
When the executable program is executed by the processor 401 of the motion trajectory generation apparatus 400, the following operations are further performed:
acquiring a first motion track generated in the interrupt area under the normal condition of the GPS signal; acquiring a first movement distance corresponding to the first movement track; matching the first movement distance with the movement distance determined in the GPS signal interruption process; and generating a motion track corresponding to the interrupt area based on a first motion track corresponding to the successfully matched first motion distance and the target motion scene.
When the executable program is executed by the processor 401 of the motion trajectory generation apparatus 400, the following operations are further performed:
acquiring a movable path in the interruption region; and generating a motion trail corresponding to the interrupt area based on the movable path, the motion distance and the target motion scene.
The method, the device and the storage medium for generating the motion trail provided by the embodiment of the invention determine the motion distance of the user in the GPS signal interruption process by determining the target motion scene corresponding to the interruption area of the GPS signal interruption, based on the GPS signal interruption time and the average motion speed of the user in the target motion scene, and generate the motion trail corresponding to the interruption area according to the motion distance and the target motion scene. Therefore, the motion trail corresponding to the interrupt area can be generated under the condition that the GPS signal is interrupted, and the discontinuity of the motion trail is avoided.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or executable program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of an executable program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and executable program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by executable program instructions. These executable program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor with reference to a programmable data processing apparatus to produce a machine, such that the instructions, which execute via the computer or processor with reference to the programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These executable program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These executable program instructions may also be loaded onto a computer or reference programmable data processing apparatus to cause a series of operational steps to be performed on the computer or reference programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or reference programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only exemplary of the present invention and should not be taken as limiting the scope of the present invention, and any modifications, equivalents, improvements, etc. that are within the spirit and principle of the present invention should be included in the present invention.

Claims (8)

1. A method for generating a motion trail, the method comprising:
determining a target motion scene corresponding to an interruption area of GPS signal interruption;
determining the movement distance of the user in the GPS signal interruption process based on the duration of the GPS signal interruption and the average movement speed of the user in the target movement scene;
generating a motion track corresponding to the interrupt area based on the motion distance and the target motion scene;
the average motion speed of the user in the target motion scene is determined according to the acquired historical motion data of the user in the target motion scene;
the generating of the motion trail corresponding to the interrupt area based on the motion distance and the target motion scene includes:
acquiring a first motion track generated in the interrupt area under the normal condition of the GPS signal; acquiring a first movement distance corresponding to the first movement track; matching the first movement distance with the movement distance determined in the GPS signal interruption process; and generating a motion track corresponding to the interrupt area based on a first motion track corresponding to the successfully matched first motion distance and the target motion scene.
2. The method of claim 1, wherein determining the target motion scene corresponding to the outage region of the global positioning system GPS signal outage comprises:
determining a first position based on a last GPS signal acquired before the interruption of the GPS signal;
determining a second position based on the first GPS signal acquired after the GPS signal is recovered to be normal;
determining a motion scene between the first location and the second location as the target motion scene.
3. The method of claim 2, wherein determining the motion scene between the first location and the second location as the target motion scene comprises:
acquiring a motion scene between the first position and the second position;
when a motion scene is acquired, determining the acquired motion scene as the target motion scene;
when a plurality of motion scenes are acquired, determining the target motion scene based on the motion scene where the appointed position selected by the user in advance is located, and/or determining the target motion scene based on the motion preference of the user.
4. The method of claim 3, wherein the determining the target motion scene based on the motion scene at the designated location pre-selected by the user comprises:
determining a designated position selected by the user in advance based on the designated operation record of the user and/or the social information of the user; wherein the specified operation record of the user at least comprises: recording the operation of the note, the operation of the memo and the operation of the calendar schedule; the social information of the user at least comprises: chat information between the user and other users, message information of the other users to the user, and message information of the user to the other users;
and determining the motion scene in which the pre-selected specified position is located as the target motion scene.
5. The method of claim 3, wherein determining the target motion scene based on the motion preferences of the user comprises:
determining the motion preference of the user based on the historical motion data of the user for the obtained motion scene;
determining a matching motion scene between the first location and the second location based on the motion preference;
and determining the matched motion scene as the target motion scene.
6. An apparatus for generating a motion trajectory, the apparatus comprising:
the system comprises a first determination module, a second determination module and a third determination module, wherein the first determination module is used for determining a target motion scene corresponding to an interruption area of GPS signal interruption;
the second determination module is used for determining the movement distance of the user in the GPS signal interruption process based on the time length of the GPS signal interruption and the average movement speed of the user in the target movement scene;
a generating module, configured to generate a motion trajectory corresponding to the interrupt area based on the motion distance and the target motion scene;
the average motion speed of the user in the target motion scene is determined according to the acquired historical motion data of the user in the target motion scene;
the generating of the motion trail corresponding to the interrupt area based on the motion distance and the target motion scene includes:
acquiring a first motion track generated in the interrupt area under the normal condition of the GPS signal; acquiring a first movement distance corresponding to the first movement track; matching the first movement distance with the movement distance determined in the GPS signal interruption process; and generating a motion track corresponding to the interrupt area based on a first motion track corresponding to the successfully matched first motion distance and the target motion scene.
7. A storage medium having an executable program stored thereon, wherein the executable program, when executed by a processor, implements the method for generating a motion profile according to any one of claims 1 to 5.
8. A motion trajectory generation device comprising a memory, a processor and an executable program stored on the memory and capable of being executed by the processor, wherein the processor executes the executable program to perform the motion trajectory generation method according to any one of claims 1 to 5.
CN201811076936.7A 2018-09-14 2018-09-14 Method and device for generating motion trail and storage medium Active CN109459770B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811076936.7A CN109459770B (en) 2018-09-14 2018-09-14 Method and device for generating motion trail and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811076936.7A CN109459770B (en) 2018-09-14 2018-09-14 Method and device for generating motion trail and storage medium

Publications (2)

Publication Number Publication Date
CN109459770A CN109459770A (en) 2019-03-12
CN109459770B true CN109459770B (en) 2021-06-04

Family

ID=65606753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811076936.7A Active CN109459770B (en) 2018-09-14 2018-09-14 Method and device for generating motion trail and storage medium

Country Status (1)

Country Link
CN (1) CN109459770B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111123336B (en) * 2019-09-26 2022-05-03 深圳市东深电子股份有限公司 Water conservancy patrol positioning and offline track optimization method
CN111526246A (en) * 2020-04-07 2020-08-11 咪咕音乐有限公司 Caching method, electronic device and computer-readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008247247A (en) * 2007-03-30 2008-10-16 Kyosan Electric Mfg Co Ltd Driving auxiliary system for train
CN108036794A (en) * 2017-11-24 2018-05-15 华域汽车系统股份有限公司 A kind of high accuracy map generation system and generation method

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050026589A1 (en) * 1999-07-29 2005-02-03 Bryan Holland Remote locator system using A E911-enabled wireless system
CN202133992U (en) * 2011-06-25 2012-02-01 北京播思软件技术有限公司 Mobile terminal capable of achieving motion trail tracking display
CN102944889A (en) * 2012-11-16 2013-02-27 成都西可科技有限公司 Positioning system and positioning method for sensor auxiliary positioning terminal
US9087234B2 (en) * 2013-03-15 2015-07-21 Nike, Inc. Monitoring fitness using a mobile device
CN105138779B (en) * 2015-08-31 2018-03-27 武汉大学 Vehicle GPS space-time track big data method for optimizing and system
CN106441276B (en) * 2016-09-26 2019-10-15 维沃移动通信有限公司 Motion profile generation method and mobile terminal
CN206479184U (en) * 2017-02-17 2017-09-08 西安科技大学 The sustainable navigation data harvester of vehicle under a kind of environment of GPS blind areas
CN107645701B (en) * 2017-09-12 2021-04-20 咪咕互动娱乐有限公司 Method and device for generating motion trail
CN107806878A (en) * 2017-10-13 2018-03-16 桂林电子科技大学 A kind of method based on smart mobile phone indoor and outdoor integration positioning and navigation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008247247A (en) * 2007-03-30 2008-10-16 Kyosan Electric Mfg Co Ltd Driving auxiliary system for train
CN108036794A (en) * 2017-11-24 2018-05-15 华域汽车系统股份有限公司 A kind of high accuracy map generation system and generation method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
个人定位系统的地图匹配方法;管素清;《计算机工程》;20050531;206-208页 *

Also Published As

Publication number Publication date
CN109459770A (en) 2019-03-12

Similar Documents

Publication Publication Date Title
US20210074329A1 (en) Techniques and apparatus for editing video
US10043551B2 (en) Techniques to save or delete a video clip
CN108197327B (en) Song recommendation method, device and storage medium
CN110769309B (en) Method, device, electronic equipment and medium for displaying music points
US20190012383A1 (en) Consolidating video search for an event
CN112822563A (en) Method, device, electronic equipment and computer readable medium for generating video
CN111654823A (en) Information pushing method and device
CN109459770B (en) Method and device for generating motion trail and storage medium
CN113286197A (en) Information display method and device, electronic equipment and storage medium
CN109600643A (en) Video providing method, playback method, device and storage medium
CN113704378A (en) Method, device, equipment and storage medium for determining accompanying information
CN106131689A (en) Method for downloading video and device
CN103986981A (en) Recognition method and device of scenario segments of multimedia files
US10133408B2 (en) Method, system and computer program product
CN111385599B (en) Video processing method and device
CN103984699A (en) Pushing method and pushing device for promotion information
CN114584709B (en) Method, device, equipment and storage medium for generating zooming special effects
CN103984684A (en) LBS (location based service)-based reachable area determining method and equipment
JP2023539273A (en) Methods, devices, electronic devices and media for determining target addition methods
CN114245171A (en) Video editing method, video editing device, electronic equipment and media
CN109710719B (en) Information display method, device and storage medium
CN107704175B (en) Image collection method and device and storage medium
KR20160114995A (en) Apparatus, method, and computer program for viewing catoon data
CN107621920B (en) Method, device and storage medium for adjusting position of lyric locator
CN117632076A (en) Audio processing method, device, electronic equipment and storage 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
GR01 Patent grant
GR01 Patent grant