CN107590268A - A kind of moving line recommends method, apparatus and computer-readable recording medium - Google Patents

A kind of moving line recommends method, apparatus and computer-readable recording medium Download PDF

Info

Publication number
CN107590268A
CN107590268A CN201710877072.8A CN201710877072A CN107590268A CN 107590268 A CN107590268 A CN 107590268A CN 201710877072 A CN201710877072 A CN 201710877072A CN 107590268 A CN107590268 A CN 107590268A
Authority
CN
China
Prior art keywords
route
track
trajectory
matching
segment
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
CN201710877072.8A
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.)
China Mobile Communications Group Co Ltd
MIGU Interactive Entertainment Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
MIGU Interactive Entertainment 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 filed Critical China Mobile Communications Group Co Ltd
Priority to CN201710877072.8A priority Critical patent/CN107590268A/en
Publication of CN107590268A publication Critical patent/CN107590268A/en
Priority to PCT/CN2018/102500 priority patent/WO2019056925A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Navigation (AREA)

Abstract

本发明公开了一种运动路线推荐方法,包括:接收客户端发送的轨迹信息;其中,所述轨迹信息中至少包含轨迹在地图界面的位置信息,所述轨迹信息是由所述客户端识别当前地图界面的轨迹得到的,所述轨迹是在客户端检测到实施于当前地图界面的可绘制状态下的滑动操作时,在所述地图界面生成与所述滑动操作的路径相匹配的轨迹;根据所述轨迹信息,确定与所述轨迹相匹配的运动路线;将所述运动路线发送给所述客户端,以便于所述客户端用作引导用户运动的运动路线推荐给用户。本发明还同时公开了一种运动路线推荐装置以及计算机可读存储介质。

The invention discloses a method for recommending a sports route, comprising: receiving track information sent by a client; wherein, the track information includes at least position information of the track on a map interface, and the track information is identified by the client The trajectory of the map interface is obtained. When the client detects a sliding operation implemented in the drawable state of the current map interface, a trajectory matching the path of the sliding operation is generated on the map interface; according to The trajectory information is used to determine a motion route matching the trajectory; and to send the motion route to the client, so that the client can recommend the motion route to the user as a guide for the user to exercise. The invention also discloses an exercise route recommendation device and a computer-readable storage medium at the same time.

Description

一种运动路线推荐方法、装置及计算机可读存储介质Method, device, and computer-readable storage medium for recommending an exercise route

技术领域technical field

本发明涉及终端技术领域,尤其涉及一种运动路线推荐方法、装置及计算机可读存储介质。The present invention relates to the field of terminal technology, and in particular to a method, device and computer-readable storage medium for recommending an exercise route.

背景技术Background technique

目前,随着计算机技术的快速发展,以及用户对自身的健康越来越重视,各种健身软件越来越多,由于这些健身软件在设计时没有考虑到用户的需求,用户体验较差。At present, with the rapid development of computer technology and the increasing emphasis of users on their own health, there are more and more fitness software. Since these fitness software are not designed with user needs in mind, the user experience is poor.

举例来说,跑步软件中的路线推荐是根据服务器中已存储的跑步路线,向用户推荐跑步路线,并没有考虑用户的需求,不能根据用户设想的跑步路线向用户推荐跑步路线,用户体验较差。For example, the route recommendation in running software recommends running routes to users based on the running routes stored in the server, without considering the needs of users, and cannot recommend running routes to users based on the running routes imagined by users. The user experience is poor. .

因此,亟需找到一种可以根据用户需求向用户推荐运动路线的解决方案。Therefore, there is an urgent need to find a solution that can recommend exercise routes to users according to user needs.

发明内容Contents of the invention

有鉴于此,本发明实施例期望提供一种运动路线推荐方法、装置及计算机可读存储介质,能够根据用户需求向用户推荐运动路线。In view of this, the embodiments of the present invention expect to provide a method, device and computer-readable storage medium for recommending an exercise route, capable of recommending an exercise route to a user according to user requirements.

本发明实施例的技术方案是这样实现的:The technical scheme of the embodiment of the present invention is realized like this:

本发明实施例提供一种运动路线推荐方法,所述方法包括:An embodiment of the present invention provides a method for recommending an exercise route, the method comprising:

接收客户端发送的轨迹信息;其中,所述轨迹信息中至少包含轨迹在地图界面的位置信息,所述轨迹信息是由所述客户端识别当前地图界面的轨迹得到的,所述轨迹是在客户端检测到实施于当前地图界面的可绘制状态下的滑动操作时,在所述地图界面生成与所述滑动操作的路径相匹配的轨迹;Receive the track information sent by the client; wherein, the track information includes at least the position information of the track on the map interface, the track information is obtained by the client identifying the track of the current map interface, and the track is on the client When the terminal detects the sliding operation implemented in the drawable state of the current map interface, it generates a trajectory matching the path of the sliding operation on the map interface;

根据所述轨迹信息,确定与所述轨迹相匹配的运动路线;Determine a motion route matching the trajectory according to the trajectory information;

将所述运动路线发送给所述客户端,以便于所述客户端用作引导用户运动的运动路线推荐给用户。The exercise route is sent to the client, so that the client recommends the exercise route for guiding the user to exercise to the user.

上述方案中,所述根据所述轨迹信息,确定与所述轨迹相匹配的运动路线,包括:In the above solution, the determination of the movement route matching the trajectory according to the trajectory information includes:

根据所述轨迹信息,确定与所述轨迹的轮廓相同的轨迹路线;determining a trajectory route identical to the profile of the trajectory according to the trajectory information;

利用所述轨迹路线,得到与所述轨迹相匹配的运动路线。Using the trajectory route, a motion route matching the trajectory is obtained.

上述方案中,所述利用所述轨迹路线,得到与所述轨迹相匹配的运动路线,包括:In the above solution, the use of the track route to obtain a motion route matching the track includes:

对所述轨迹路线进行分段,得到至少一个轨迹段;Segmenting the track route to obtain at least one track segment;

利用得到的至少一个轨迹段,分别确定与轨迹段相匹配的路线段;Using the obtained at least one trajectory segment, respectively determine route segments matching the trajectory segment;

将确定的路线段进行连接,得到与所述轨迹相匹配的运动路线。The determined route segments are connected to obtain a motion route matching the trajectory.

上述方案中,所述利用得到的至少一个轨迹段,分别确定与轨迹段相匹配的路线段,包括:In the above solution, the use of at least one track segment obtained to determine the route segment matching the track segment respectively includes:

利用轨迹段与对应的路线段的位置关系,分别计算每个轨迹段与对应的路线段之间的相似度;Using the positional relationship between the trajectory segment and the corresponding route segment, calculate the similarity between each trajectory segment and the corresponding route segment;

将相似度大于或等于第一阈值或者满足大于第一阈值的相似度的个数占相似度总数的比例大于或等于第二阈值对应的路线段,作为与所述轨迹段相匹配的路线段。The route segments whose similarity is greater than or equal to the first threshold or whose proportion of the number of similarities greater than the first threshold to the total number of similarities is greater than or equal to the second threshold are taken as the route segments matching the track segment.

上述方案中,所述利用所述轨迹路线,得到与所述轨迹相匹配的运动路线,包括:In the above solution, the use of the track route to obtain a motion route matching the track includes:

确定所述轨迹路线的至少一个轨迹点;determining at least one track point of the track route;

计算所述轨迹路线中的轨迹点与数据库中的运动路线对应的路线点的距离,确定与所述轨迹点相匹配的路线点;Calculating the distance between the track point in the track route and the route point corresponding to the motion route in the database, and determining the route point matching the track point;

将确定的路线点进行连接,得到与所述轨迹相匹配的运动路线。The determined route points are connected to obtain a motion route matching the trajectory.

上述方案中,所述计算所述轨迹路线中的轨迹点与数据库中的运动路线对应的路线点的距离,确定与所述轨迹点相匹配的路线点,包括:In the above scheme, the calculation of the distance between the track point in the track route and the route point corresponding to the movement route in the database, and determining the route point matching the track point includes:

利用轨迹点与对应的路线点的位置关系,分别计算每个轨迹点与对应的路线点之间的距离;Using the positional relationship between the track point and the corresponding route point, calculate the distance between each track point and the corresponding route point;

将轨迹点对应的多个距离中最大距离大于或等于第三阈值对应的路线点,作为与所述轨迹点匹配的路线点。Among the plurality of distances corresponding to the track point, the route point whose maximum distance is greater than or equal to the third threshold is used as the route point matching the track point.

本发明实施例提供一种运动路线推荐方法,所述方法包括:An embodiment of the present invention provides a method for recommending an exercise route, the method comprising:

当检测到实施于当前地图界面的可绘制状态下的滑动操作时,在所述地图界面生成与所述滑动操作的路径相匹配的轨迹;When a sliding operation implemented in a drawable state of the current map interface is detected, a trajectory matching the path of the sliding operation is generated on the map interface;

识别所述轨迹对应的轨迹信息,并发送给服务器,以便于所述服务器根据所述轨迹信息确定与所述轨迹相匹配的运动路线;所述轨迹信息中至少包含所述轨迹在地图界面的位置信息;Identify the track information corresponding to the track, and send it to the server, so that the server can determine the movement route matching the track according to the track information; the track information includes at least the position of the track on the map interface information;

接收所述服务器返回的运动路线,并作为引导用户运动的运动路线推荐给用户。The exercise route returned by the server is received, and recommended to the user as an exercise route guiding the user to exercise.

上述方案中,所述在所述地图界面生成与所述滑动操作的路径相匹配的轨迹,包括:In the above solution, the generation of a trajectory matching the path of the sliding operation on the map interface includes:

识别所述滑动操作的路径;identifying a path of the swipe operation;

生成与所述滑动操作的路径相重合的轨迹。A trajectory is generated that coincides with the path of the swipe operation.

本发明实施例提供一种运动路线推荐装置,所述装置包括:An embodiment of the present invention provides an exercise route recommendation device, the device comprising:

接收模块,用于接收客户端发送的轨迹信息;其中,所述轨迹信息中至少包含轨迹在地图界面的位置信息,所述轨迹信息是由所述客户端识别当前地图界面的轨迹得到的,所述轨迹是在客户端检测到实施于当前地图界面的可绘制状态下的滑动操作时,在所述地图界面生成与所述滑动操作的路径相匹配的轨迹;The receiving module is used to receive the track information sent by the client; wherein, the track information includes at least the position information of the track on the map interface, and the track information is obtained by the client identifying the track of the current map interface, so The trajectory is that when the client detects a sliding operation implemented in the drawable state of the current map interface, a trajectory matching the path of the sliding operation is generated on the map interface;

确定模块,用于根据所述轨迹信息,确定与所述轨迹相匹配的运动路线;A determining module, configured to determine a motion route matching the trajectory according to the trajectory information;

发送模块,用于将所述运动路线发送给所述客户端,以便于所述客户端用作引导用户运动的运动路线推荐给用户。A sending module, configured to send the exercise route to the client, so that the client recommends the exercise route for guiding the user to exercise to the user.

上述方案中,所述确定模块,具体用于根据所述轨迹信息,确定与所述轨迹的轮廓相同的轨迹路线;利用所述轨迹路线,得到与所述轨迹相匹配的运动路线。In the above solution, the determination module is specifically configured to determine a trajectory route that is identical to the contour of the trajectory according to the trajectory information; and obtain a motion route that matches the trajectory by using the trajectory route.

上述方案中,所述确定模块,具体用于对所述轨迹路线进行分段,得到至少一个轨迹段;利用得到的至少一个轨迹段,分别确定与轨迹段相匹配的路线段;将确定的路线段进行连接,得到与所述轨迹相匹配的运动路线。In the above solution, the determination module is specifically used to segment the trajectory route to obtain at least one trajectory segment; use the obtained at least one trajectory segment to determine the route segment matching the trajectory segment; the determined route Segments are connected to obtain a motion route matching the trajectory.

上述方案中,所述确定模块,具体用于利用轨迹段与对应的路线段的位置关系,分别计算每个轨迹段与对应的路线段之间的相似度;将相似度大于或等于第一阈值或者满足大于第一阈值的相似度的个数占相似度总数的比例大于或等于第二阈值对应的路线段,作为与所述轨迹段相匹配的路线段。In the above solution, the determination module is specifically used to calculate the similarity between each trajectory segment and the corresponding route segment by using the positional relationship between the trajectory segment and the corresponding route segment; the similarity is greater than or equal to the first threshold Or the route segment whose ratio of the number of similarities greater than the first threshold to the total number of similarities is greater than or equal to the second threshold is used as the route segment matching the track segment.

上述方案中,所述确定模块,具体用于确定所述轨迹路线的至少一个轨迹点;计算所述轨迹路线中的轨迹点与数据库中的运动路线对应的路线点的距离,确定与所述轨迹点相匹配的路线点;将确定的路线点进行连接,得到与所述轨迹相匹配的运动路线。In the above solution, the determining module is specifically configured to determine at least one track point of the track route; calculate the distance between the track point in the track route and the route point corresponding to the movement route in the database, and determine the distance between the track point and the track point in the database. The route points matched with the points; the determined route points are connected to obtain the motion route matched with the trajectory.

上述方案中,所述确定模块,具体用于利用轨迹点与对应的路线点的位置关系,分别计算每个轨迹点与对应的路线点之间的距离;将轨迹点对应的多个距离中最大距离大于或等于第三阈值对应的路线点,作为与所述轨迹点匹配的路线点。In the above scheme, the determination module is specifically used to calculate the distance between each track point and the corresponding route point by using the positional relationship between the track point and the corresponding route point; A route point corresponding to a distance greater than or equal to the third threshold is used as a route point matching the track point.

本发明实施例提供一种运动路线推荐装置,所述装置包括:An embodiment of the present invention provides an exercise route recommendation device, the device comprising:

生成模块,用于当检测到实施于当前地图界面的可绘制状态下的滑动操作时,在所述地图界面生成与所述滑动操作的路径相匹配的轨迹;A generating module, configured to generate a track on the map interface that matches the path of the sliding operation when a sliding operation implemented in the drawable state of the current map interface is detected;

识别模块,用于识别所述轨迹对应的轨迹信息,并发送给服务器,以便于所述服务器根据所述轨迹信息确定与所述轨迹相匹配的运动路线;所述轨迹信息中至少包含所述轨迹在地图界面的位置信息;An identification module, configured to identify the trajectory information corresponding to the trajectory, and send it to the server, so that the server can determine a movement route matching the trajectory according to the trajectory information; the trajectory information includes at least the trajectory Location information on the map interface;

推荐模块,用于接收所述服务器返回的运动路线,并作为引导用户运动的运动路线推荐给用户。The recommendation module is configured to receive the exercise route returned by the server, and recommend it to the user as an exercise route guiding the user to exercise.

上述方案中,所述生成模块,具体用于识别所述滑动操作的路径;生成与所述滑动操作的路径相重合的轨迹。In the above solution, the generation module is specifically configured to identify the path of the sliding operation; and generate a trajectory that coincides with the path of the sliding operation.

本发明实施例提供一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现上面所述任一种运动路线推荐方法的步骤。An embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, wherein, when the computer program is executed by a processor, the steps of any one of the above-mentioned exercise route recommendation methods are implemented.

本发明实施例提供一种运动路线推荐装置,包括:存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序;An embodiment of the present invention provides an exercise route recommendation device, including: a memory, a processor, and a computer program stored in the memory and operable on the processor;

其中,所述处理器用于运行所述计算机程序时,执行上面所述任一种运动路线推荐方法的步骤。Wherein, when the processor is used to run the computer program, it executes the steps of any one of the above-mentioned exercise route recommendation methods.

本发明实施例提供一种运动路线推荐装置,包括:存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序;An embodiment of the present invention provides an exercise route recommendation device, including: a memory, a processor, and a computer program stored in the memory and operable on the processor;

其中,所述处理器用于运行所述计算机程序时,执行上面所述任一种运动路线推荐方法的步骤。Wherein, when the processor is used to run the computer program, it executes the steps of any one of the above-mentioned exercise route recommendation methods.

本发明实施例提供的运动路线推荐方法、装置及计算机可读存储介质,接收客户端发送的轨迹信息;其中,所述轨迹信息中至少包含轨迹在地图界面的位置信息,所述轨迹信息是由所述客户端识别当前地图界面的轨迹得到的,所述轨迹是在客户端检测到实施于当前地图界面的可绘制状态下的滑动操作时,在所述地图界面生成与所述滑动操作的路径相匹配的轨迹;根据所述轨迹信息,确定与所述轨迹相匹配的运动路线;将所述运动路线发送给所述客户端,以便于所述客户端用作引导用户运动的运动路线推荐给用户。在本发明实施例中,根据客户端发送的轨迹信息,确定与所述轨迹相匹配的运动路线,并将确定的运动路线发送给所述客户端。由于轨迹信息是由所述客户端识别当前地图界面的轨迹得到的,所述轨迹是在客户端检测到实施于当前地图界面的可绘制状态下的滑动操作时,在所述地图界面生成与所述滑动操作的路径相匹配的轨迹,因此,能够实现根据客户端用户的需求向用户推荐运动路线。The exercise route recommendation method, device, and computer-readable storage medium provided by the embodiments of the present invention receive trajectory information sent by the client; wherein, the trajectory information includes at least the location information of the trajectory on the map interface, and the trajectory information is generated by The client is obtained by identifying the track of the current map interface, and the track is the path generated on the map interface and the slide operation when the client detects the sliding operation implemented in the drawable state of the current map interface Matching trajectory; according to the trajectory information, determine the motion route that matches the trajectory; send the motion route to the client, so that the client can be used as a motion route to guide the user to recommend to user. In the embodiment of the present invention, according to the track information sent by the client, a motion route matching the track is determined, and the determined motion route is sent to the client. Since the trajectory information is obtained by the client identifying the trajectory of the current map interface, the trajectory is generated when the client detects a sliding operation implemented in the drawable state of the current map interface, when the map interface is generated and the Therefore, it is possible to recommend motion routes to the user according to the needs of the client user.

附图说明Description of drawings

图1为本发明实施例一运动路线推荐方法的实现流程示意图;FIG. 1 is a schematic diagram of the implementation process of a method for recommending an exercise route according to an embodiment of the present invention;

图2为本发明实施例轨迹段以及对应的路线段的示意图;2 is a schematic diagram of a trajectory segment and a corresponding route segment according to an embodiment of the present invention;

图3为本发明实施例轨迹点以及对应的路线点的示意图;3 is a schematic diagram of track points and corresponding route points according to an embodiment of the present invention;

图4为本发明实施例二运动路线推荐方法的实现流程示意图;FIG. 4 is a schematic diagram of the implementation flow of the exercise route recommendation method in Embodiment 2 of the present invention;

图5为本发明实施例电子地图的示意图;5 is a schematic diagram of an electronic map according to an embodiment of the present invention;

图6为本发明实施例三运动路线推荐装置的组成结构示意图;FIG. 6 is a schematic diagram of the composition and structure of the exercise route recommendation device according to Embodiment 3 of the present invention;

图7为本发明实施例四运动路线推荐装置的组成结构示意图;7 is a schematic diagram of the composition and structure of the exercise route recommendation device according to Embodiment 4 of the present invention;

图8为本发明实施例五运动路线推荐装置的组成结构示意图;8 is a schematic diagram of the composition and structure of the exercise route recommendation device according to Embodiment 5 of the present invention;

图9为本发明实施例运动路线推荐的具体实现流程示意图。FIG. 9 is a schematic diagram of a specific implementation process of exercise route recommendation according to an embodiment of the present invention.

具体实施方式detailed description

本发明实施例中,接收客户端发送的轨迹信息;其中,所述轨迹信息中至少包含轨迹在地图界面的位置信息,所述轨迹信息是由所述客户端识别当前地图界面的轨迹得到的,所述轨迹是在客户端检测到实施于当前地图界面的可绘制状态下的滑动操作时,在所述地图界面生成与所述滑动操作的路径相匹配的轨迹;根据所述轨迹信息,确定与所述轨迹相匹配的运动路线;将所述运动路线发送给所述客户端,以便于所述客户端用作引导用户运动的运动路线推荐给用户。In the embodiment of the present invention, the track information sent by the client is received; wherein, the track information includes at least the position information of the track on the map interface, and the track information is obtained by the client identifying the track of the current map interface, The trajectory is that when the client detects a sliding operation implemented in the drawable state of the current map interface, a trajectory matching the path of the sliding operation is generated on the map interface; according to the trajectory information, determine and A motion route matching the trajectory; sending the motion route to the client, so that the client can recommend the motion route to the user as a guide for the user to exercise.

为了能够更加详尽地了解本发明实施例的特点与技术内容,下面结合附图对本发明实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本发明。In order to understand the characteristics and technical contents of the embodiments of the present invention in more detail, the implementation of the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. The attached drawings are only for reference and description, and are not intended to limit the present invention.

实施例一Embodiment one

如图1所示,本发明实施例以服务器侧为例详细说明运动路线推荐方法,包括以下步骤:As shown in Figure 1, the embodiment of the present invention takes the server side as an example to describe the exercise route recommendation method in detail, including the following steps:

步骤101:接收客户端发送的轨迹信息。Step 101: Receive track information sent by the client.

其中,所述轨迹信息中至少包含轨迹在地图界面的位置信息,所述轨迹信息是由所述客户端识别当前地图界面的轨迹得到的,所述轨迹是在客户端检测到实施于当前地图界面的可绘制状态下的滑动操作时,在所述地图界面生成与所述滑动操作的路径相匹配的轨迹。Wherein, the track information includes at least the position information of the track on the map interface, the track information is obtained by the client identifying the track of the current map interface, and the track is detected by the client and implemented on the current map interface When a sliding operation is performed in the drawable state of , a trajectory matching the path of the sliding operation is generated on the map interface.

这里,所述滑动操作可以是用户的单指或多指滑动操作,也可以是基于触控笔的滑动操作。所述轨迹可以是闭合轨迹,也可以是非闭合轨迹,还可以是多段轨迹的组合。所述轨迹的形状包括但不限于圆形、三角形、U字型等等。Here, the sliding operation may be a single-finger or multi-finger sliding operation of the user, or may be a sliding operation based on a stylus. The trajectory may be a closed trajectory, an open trajectory, or a combination of multiple trajectories. The shape of the track includes but not limited to circle, triangle, U-shape and so on.

步骤102:根据所述轨迹信息,确定与所述轨迹相匹配的运动路线。Step 102: According to the track information, determine a motion route matching the track.

在一实施例中,所述根据所述轨迹信息,确定与所述轨迹相匹配的运动路线,包括:根据所述轨迹信息,确定与所述轨迹的轮廓相同的轨迹路线;利用所述轨迹路线,得到与所述轨迹相匹配的运动路线。In an embodiment, the determining the motion route matching the trajectory according to the trajectory information includes: determining the trajectory route that is the same as the outline of the trajectory according to the trajectory information; using the trajectory route , to obtain the motion route matching the trajectory.

实际应用时,匹配方式可以包括分段匹配和整体匹配;其中,分段匹配为:先对所述轨迹路线进行分段,得到轨迹段;再按照预设规则(如相似度约束条件)匹配出对应轨迹段的路线段;之后将匹配出的路线段进行连接,得到与所述轨迹相匹配的运动路线。整体匹配为:先确定所述轨迹路线中的轨迹点;再按照预设条件匹配出对应轨迹点的路线点;之后将匹配出的路线段进行连接,得到与所述轨迹相匹配的运动路线。In actual application, the matching method can include segment matching and overall matching; wherein, the segment matching is: first segment the track route to obtain track segments; The route segment corresponding to the track segment; then the matched route segments are connected to obtain the motion route matched with the track. The overall matching is as follows: first determine the track points in the track route; then match the route points corresponding to the track points according to preset conditions; then connect the matched route segments to obtain a motion route matching the track.

在一实施例中,所述利用所述轨迹路线,得到与所述轨迹相匹配的运动路线,包括:对所述轨迹路线进行分段,得到至少一个轨迹段;利用得到的至少一个轨迹段,分别确定与轨迹段相匹配的路线段;将确定的路线段进行连接,得到与所述轨迹相匹配的运动路线。In an embodiment, using the trajectory to obtain a motion path that matches the trajectory includes: segmenting the trajectory to obtain at least one trajectory segment; using the obtained at least one trajectory segment, The route segments matching the trajectory segments are respectively determined; the determined route segments are connected to obtain a motion route matching the trajectory.

这里,所述对所述轨迹路线进行分段,得到至少一个轨迹段,包括:确定用于对所述轨迹路线进行分段的起点和结束点;根据确定的起点和结束点,将所述轨迹分段,得到至少一个轨迹段。Here, the segmenting the track route to obtain at least one track segment includes: determining the start point and end point for segmenting the track route; according to the determined start point and end point, dividing the track Segmentation, at least one trajectory segment is obtained.

这里,可以将得到的至少一个轨迹段与数据库中的运动路线进行匹配,得到与所述轨迹相匹配的运动路线。还可以利用所述轨迹生成运动轨迹路线,作为与所述轨迹相匹配的运动路线。Here, the obtained at least one trajectory segment may be matched with the motion route in the database to obtain the motion route matched with the trajectory. The trajectory can also be used to generate a motion trajectory as a motion path matching the trajectory.

在一实施例中,所述利用得到的至少一个轨迹段,分别确定与轨迹段相匹配的路线段,包括:利用轨迹段与对应的路线段的位置关系,分别计算每个轨迹段与对应的路线段之间的相似度;将相似度大于或等于第一阈值或者满足大于第一阈值的相似度的个数占相似度总数的比例大于或等于第二阈值对应的路线段,作为与所述轨迹段相匹配的路线段。In an embodiment, said using at least one track segment obtained to determine the route segment matching the track segment respectively includes: using the positional relationship between the track segment and the corresponding route segment, respectively calculating the relationship between each track segment and the corresponding route segment The similarity between the route segments; the route segment whose similarity is greater than or equal to the first threshold or meets the ratio of the number of similarities greater than the first threshold to the total number of similarities greater than or equal to the second threshold is used as the route segment corresponding to the The track segment matches the route segment.

这里,对应的路线段可以为数据库中的运动路线对应的路线段。Here, the corresponding route segment may be the route segment corresponding to the exercise route in the database.

实际应用时,可以利用相似度算法或者形状匹配算法,结合所述轨迹段与对应的路线段的位置关系,计算每个轨迹段与对应的路线段之间的相似度。In practical application, a similarity algorithm or a shape matching algorithm may be used to calculate the similarity between each trajectory segment and the corresponding route segment in combination with the positional relationship between the trajectory segment and the corresponding route segment.

这里,所述相似度算法可以包括以下几个步骤:Here, the similarity algorithm may include the following steps:

第一、将轨迹段和对应的路线段转换为图形,轨迹段为未知图形,对应的路线段为已知图形First, convert the trajectory segment and the corresponding route segment into a graph, the trajectory segment is an unknown graph, and the corresponding route segment is a known graph

第二、获取未知图形和已知图形的某些特征组成的行向量;Second, obtain a row vector composed of some features of unknown graphics and known graphics;

第三、根据所述行向量,计算未知图形的协方差矩阵;Third, calculate the covariance matrix of the unknown graph according to the row vector;

第四、利用行向量中的一维向量匹配距离(DP,Dynamic Programming),确定一个代替未知图形的协方差矩阵的相似行向量;Fourth, use the one-dimensional vector matching distance (DP, Dynamic Programming) in the row vector to determine a similar row vector that replaces the covariance matrix of the unknown graph;

第五、根据一维DP匹配,计算相似行向量与未知图形的协方差矩阵的标准行向量之间的匹配距离,根据所述距离确定未知图形与已知图形的相似度,也就是,确定了轨迹段与对应的路线段的相似度。Fifth, according to one-dimensional DP matching, calculate the matching distance between the similar row vector and the standard row vector of the covariance matrix of the unknown graph, determine the similarity between the unknown graph and the known graph according to the distance, that is, determine Similarity of a trajectory segment to the corresponding route segment.

图2为轨迹段以及对应的路线段的示意图,实线表示的是轨迹路线,虚线表示的是对应的运动路线。如图2所示,将轨迹分为4段,得到4个轨迹段,分别是:A段、B段、C段、D段,与4个轨迹段对应的4个路线段,分别是:A`段、B`段、C`段、D`段。FIG. 2 is a schematic diagram of a trajectory segment and a corresponding route segment. The solid line represents the trajectory route, and the dotted line represents the corresponding motion route. As shown in Figure 2, the trajectory is divided into 4 segments, and 4 trajectory segments are obtained, namely: A segment, B segment, C segment, and D segment, and the 4 route segments corresponding to the 4 trajectory segments are: A Paragraph ', Paragraph B', Paragraph C', Paragraph D'.

在一实施例中,所述利用所述轨迹路线,得到与所述轨迹相匹配的运动路线,包括:确定所述轨迹路线的至少一个轨迹点;计算所述轨迹路线中的轨迹点与数据库中的运动路线对应的路线点的距离,确定与所述轨迹点相匹配的路线点;将确定的路线点进行连接,得到与所述轨迹相匹配的运动路线。In an embodiment, said using said trajectory route to obtain a motion route matching said trajectory includes: determining at least one trajectory point of said trajectory route; The distance of the route point corresponding to the motion route of the motion route is determined to determine the route point matching the trajectory point; the determined route points are connected to obtain the motion route matching the trajectory.

在一实施例中,所述计算所述轨迹路线中的轨迹点与数据库中的运动路线对应的路线点的距离,确定与所述轨迹点相匹配的路线点,包括:In an embodiment, the calculating the distance between the track point in the track route and the route point corresponding to the movement route in the database, and determining the route point matching the track point includes:

图3为轨迹点以及与对应的路线点的示意图,实线表示的是轨迹路线,虚线表示的是对应的运动路线。如图3所示,确定轨迹路线的6个轨迹点(未标出全部轨迹点),仅标出A点,与6个轨迹点对应的6个路线点(未标出全部轨迹点),仅标出A`点,A点与A`点之间的距离为轨迹点与对应的路线点之间的最大距离。FIG. 3 is a schematic diagram of track points and corresponding route points. The solid line indicates the track route, and the dotted line indicates the corresponding motion route. As shown in Figure 3, to determine the 6 track points of the track route (not all track points are marked), only point A is marked, and the 6 route points corresponding to the 6 track points (not all track points are marked), only Mark point A', the distance between point A and point A' is the maximum distance between the track point and the corresponding route point.

步骤103:将所述运动路线发送给客户端,以便于所述客户端用作引导用户运动的运动路线推荐给用户。Step 103: Send the exercise route to the client, so that the client can recommend the exercise route for the user to guide the user to exercise.

本发明实施例提供的方法,接收客户端发送的轨迹信息;根据所述轨迹信息,确定与所述轨迹相匹配的运动路线;将所述运动路线发送给所述客户端,以便于所述客户端用作引导用户运动的运动路线推荐给用户。由于所述轨迹信息是由所述客户端识别当前地图界面的轨迹得到的,所述轨迹是在客户端检测到实施于当前地图界面的可绘制状态下的滑动操作时,在所述地图界面生成与所述滑动操作的路径相匹配的轨迹,因此,能够实现根据客户端用户的需求推荐运动路线,进而能提高用户体验。According to the method provided by the embodiment of the present invention, the trajectory information sent by the client is received; according to the trajectory information, the motion route matching the trajectory is determined; the motion route is sent to the client, so that the client The terminal is used to guide the user's exercise route and recommend it to the user. Since the trajectory information is obtained by the client identifying the trajectory of the current map interface, the trajectory is generated on the map interface when the client detects a sliding operation implemented in the drawable state of the current map interface The trajectory matched with the path of the sliding operation, therefore, it is possible to recommend a motion route according to the needs of the client user, thereby improving user experience.

实施例二Embodiment two

如图4所示,本发明实施例以客户端侧为例详细说明运动路线推荐方法,包括以下步骤:As shown in Figure 4, the embodiment of the present invention takes the client side as an example to describe the exercise route recommendation method in detail, including the following steps:

步骤401:当检测到实施于当前地图界面的可绘制状态下的滑动操作时,在所述地图界面生成与所述滑动操作的路径相匹配的轨迹。Step 401: When a sliding operation implemented in a drawable state of the current map interface is detected, a track matching the path of the sliding operation is generated on the map interface.

这里,地图可以是电子地图或者卫星电子地图。所述轨迹可以是闭合轨迹,也可以是非闭合轨迹,还可以是多段轨迹的组合。所述轨迹的形状包括但不限于圆形、三角形、U字型等等。所述滑动操作可以是用户的单指或多指滑动操作,也可以是基于触控笔的滑动操作。Here, the map may be an electronic map or a satellite electronic map. The trajectory may be a closed trajectory, an open trajectory, or a combination of multiple trajectories. The shape of the track includes but not limited to circle, triangle, U-shape and so on. The sliding operation may be a single-finger or multi-finger sliding operation of the user, or may be a sliding operation based on a stylus.

图5为电子地图的示意图,电子地图的显示精度可以根据电子地图的模式进行切换或缩放。例如,可以由普通电子地图模式切换至卫星电子地图模式。如图5所示,实线表示的是基于用户的滑动操作生成的轨迹。FIG. 5 is a schematic diagram of an electronic map, and the display accuracy of the electronic map can be switched or zoomed according to the mode of the electronic map. For example, it is possible to switch from an ordinary electronic map mode to a satellite electronic map mode. As shown in FIG. 5 , the solid line represents the trajectory generated based on the user's sliding operation.

实际应用时,在当前地图界面中可以设置一个切换按钮,假设当前的状态为绘制状态,当点击切换按钮时,当前的状态会由对应当前地图的绘制状态切换为对应另外一个地图的显示状态。所述显示状态为:可以采用拖动、滑动或缩放的方式显示地图上的任意一个位置;所述绘制状态为:可以使用手指或触控笔在地图上进行滑动操作,并基于滑动操作生成轨迹。In practical applications, a switch button can be set in the current map interface. Assuming that the current state is the drawing state, when the switch button is clicked, the current state will switch from the drawing state corresponding to the current map to the display state corresponding to another map. The display state is: any position on the map can be displayed by dragging, sliding or zooming; the drawing state is: a sliding operation can be performed on the map with a finger or a stylus, and a trajectory is generated based on the sliding operation .

在一实施例中,所述在所述地图界面生成与所述滑动操作的路径相匹配的轨迹,包括:识别所述滑动操作的路径;生成与所述滑动操作的路径相重合的轨迹。In an embodiment, the generating a track on the map interface that matches the path of the sliding operation includes: identifying the path of the sliding operation; and generating a track that coincides with the path of the sliding operation.

步骤402:识别所述轨迹对应的轨迹信息,并发送给服务器,以便于所述服务器根据所述轨迹信息确定与所述轨迹相匹配的运动路线。Step 402: Identify the track information corresponding to the track, and send it to the server, so that the server can determine a movement route matching the track according to the track information.

所述轨迹信息中至少包含所述轨迹在地图界面的位置信息。The track information at least includes position information of the track on a map interface.

实际应用时,轨迹信息还可以包含所述轨迹的形状;所述形状是根据图像处理算法对轨迹进行处理得到的。In practical applications, the trajectory information may also include the shape of the trajectory; the shape is obtained by processing the trajectory according to an image processing algorithm.

步骤403:接收所述服务器返回的运动路线,并作为引导用户运动的运动路线推荐给用户。Step 403: Receive the exercise route returned by the server, and recommend it to the user as an exercise route guiding the user to exercise.

实际应用时,接收所述服务器返回的运动路线后,还可以控制用户按照所述运动路线进行运动。In actual application, after receiving the exercise route returned by the server, the user may also be controlled to exercise according to the exercise route.

本发明实施例提供的方法,当检测到实施于当前地图界面的可绘制状态下的滑动操作时,在所述地图界面生成与所述滑动操作的路径相匹配的轨迹;识别所述轨迹对应的轨迹信息,并发送给服务器,以便于所述服务器根据所述轨迹信息确定与所述轨迹相匹配的运动路线;所述轨迹信息中至少包含所述轨迹在地图界面的位置信息;接收所述服务器返回的运动路线,并作为引导用户运动的运动路线推荐给用户。由于客户端根据基于用户的滑动操作生成的轨迹向服务器获取运动路线,因而能够按照用户预想的运动路线进行推荐运动路线,增强了趣味性,提高了用户体验。In the method provided by the embodiment of the present invention, when a sliding operation implemented in the drawable state of the current map interface is detected, a trajectory matching the path of the sliding operation is generated on the map interface; track information, and send it to the server, so that the server can determine the motion route matching the track according to the track information; the track information at least includes the position information of the track on the map interface; receiving the server The returned exercise route is recommended to the user as an exercise route that guides the user to exercise. Since the client obtains the exercise route from the server according to the track generated based on the user's sliding operation, it can recommend the exercise route according to the user's expected exercise route, which enhances the interest and improves the user experience.

实施例三Embodiment three

为实现实施例一的方法,本实施例提供了一种运动路线推荐装置,如图6所示,所述装置包括:接收模块61、确定模块62、发送模块63;其中,In order to implement the method of Embodiment 1, this embodiment provides a device for recommending an exercise route. As shown in FIG. 6 , the device includes: a receiving module 61, a determining module 62, and a sending module 63; wherein,

接收模块61,用于接收客户端发送的轨迹信息。The receiving module 61 is configured to receive trajectory information sent by the client.

确定模块62,用于根据所述轨迹信息,确定与所述轨迹匹配的运动路线;A determining module 62, configured to determine a motion route matching the trajectory according to the trajectory information;

发送模块63,用于将所述运动路线发送给客户端,以便于所述客户端用作引导用户运动的运动路线推荐给用户。The sending module 63 is configured to send the exercise route to the client, so that the client can recommend the exercise route for the user to guide the user to exercise.

其中,所述轨迹信息中至少包含轨迹在地图界面的位置信息,所述轨迹信息是由所述客户端识别当前地图界面的轨迹得到的,所述轨迹是在客户端检测到实施于当前地图界面的可绘制状态下的滑动操作时,在所述地图界面生成与所述滑动操作的路径相匹配的轨迹。Wherein, the track information includes at least the position information of the track on the map interface, the track information is obtained by the client identifying the track of the current map interface, and the track is detected by the client and implemented on the current map interface When a sliding operation is performed in the drawable state of , a trajectory matching the path of the sliding operation is generated on the map interface.

这里,所述滑动操作可以是用户的单指或多指滑动操作,也可以是基于触控笔的滑动操作。所述轨迹可以是闭合轨迹,也可以是非闭合轨迹,还可以是多段轨迹的组合。所述轨迹的形状包括但不限于圆形、三角形、U字型等等。Here, the sliding operation may be a single-finger or multi-finger sliding operation of the user, or may be a sliding operation based on a stylus. The trajectory may be a closed trajectory, an open trajectory, or a combination of multiple trajectories. The shape of the track includes but not limited to circle, triangle, U-shape and so on.

所述确定模块62,具体用于根据所述轨迹信息,确定与所述轨迹的轮廓相同的轨迹路线;利用所述轨迹路线,得到与所述轨迹相匹配的运动路线。The determining module 62 is specifically configured to determine, according to the trajectory information, a trajectory route that is identical to the contour of the trajectory; and use the trajectory route to obtain a motion route that matches the trajectory.

实际应用时,匹配方式可以包括分段匹配和整体匹配;其中,分段匹配为:先对所述轨迹路线进行分段,得到轨迹段;再按照预设规则(如相似度约束条件)匹配出对应轨迹段的路线段;之后将匹配出的路线段进行连接,得到与所述轨迹相匹配的运动路线。整体匹配为:先确定所述轨迹路线中的轨迹点;再按照预设条件匹配出对应轨迹点的路线点;之后将匹配出的路线段进行连接,得到与所述轨迹相匹配的运动路线。In actual application, the matching method can include segment matching and overall matching; wherein, the segment matching is: first segment the track route to obtain track segments; The route segment corresponding to the track segment; then the matched route segments are connected to obtain the motion route matched with the track. The overall matching is as follows: first determine the track points in the track route; then match the route points corresponding to the track points according to preset conditions; then connect the matched route segments to obtain a motion route matching the track.

所述确定模块62,具体用于对所述轨迹路线进行分段,得到至少一个轨迹段;利用得到的至少一个轨迹段,分别确定与轨迹段相匹配的路线段;将确定的路线段进行连接,得到与所述轨迹相匹配的运动路线。The determination module 62 is specifically used to segment the track route to obtain at least one track segment; use the obtained at least one track segment to determine the route segment matching the track segment; connect the determined route segments , to obtain the motion route matching the trajectory.

这里,可以将得到的至少一个轨迹段与数据库中的运动路线进行匹配,得到与所述轨迹相匹配的运动路线。还可以利用所述轨迹生成运动轨迹路线,作为与所述轨迹相匹配的运动路线。Here, the obtained at least one trajectory segment may be matched with the motion route in the database to obtain the motion route matched with the trajectory. The trajectory can also be used to generate a motion trajectory as a motion path matching the trajectory.

所述确定模块62,具体用于利用轨迹段与对应的路线段的位置关系,分别计算每个轨迹段与对应的路线段之间的相似度;将相似度大于或等于第一阈值或者满足大于第一阈值的相似度的个数占相似度总数的比例大于或等于第二阈值对应的路线段,作为与所述轨迹段相匹配的路线段。The determining module 62 is specifically used to calculate the similarity between each trajectory segment and the corresponding route segment by using the positional relationship between the trajectory segment and the corresponding route segment; the similarity is greater than or equal to the first threshold or satisfies greater than or equal to The ratio of the number of similarities of the first threshold to the total number of similarities is greater than or equal to the route segment corresponding to the second threshold, which is regarded as the route segment matching the track segment.

这里,对应的路线段可以为数据库中的运动路线对应的路线段。Here, the corresponding route segment may be the route segment corresponding to the exercise route in the database.

所述确定模块62,具体用于确定所述轨迹路线的至少一个轨迹点;计算所述轨迹路线中的轨迹点与数据库中的运动路线对应的路线点的距离,确定与所述轨迹点相匹配的路线点;将确定的路线点进行连接,得到与所述轨迹相匹配的运动路线。The determination module 62 is specifically configured to determine at least one track point of the track route; calculate the distance between the track point in the track route and the route point corresponding to the motion route in the database, and determine that the track point matches the track point route points; connect the determined route points to obtain a motion route matching the trajectory.

所述确定模块62,具体用于利用轨迹点与对应的路线点的位置关系,分别计算每个轨迹点与对应的路线点之间的距离;将轨迹点对应的多个距离中最大距离大于或等于第三阈值对应的路线点,作为与所述轨迹点匹配的路线点。The determination module 62 is specifically used to calculate the distance between each track point and the corresponding route point by using the positional relationship between the track point and the corresponding route point; the maximum distance among the multiple distances corresponding to the track point is greater than or is equal to the route point corresponding to the third threshold, and is used as the route point matching the track point.

需要说明的是:上述实施例提供的运动路线推荐装置在进行运动路线推荐时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的运动路线推荐装置与运动路线推荐方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the exercise route recommendation device provided in the above-mentioned embodiments recommends exercise routes, it only uses the division of the above-mentioned program modules for illustration. In practical applications, the above-mentioned processing can be assigned to different program modules according to needs. Completion means that the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the exercise route recommendation device and the exercise route recommendation method embodiment provided by the above embodiment belong to the same concept, and the specific implementation process thereof is detailed in the method embodiment, and will not be repeated here.

在实际应用中,接收模块61、发送模块63由位于运动路线推荐装置上的网络接口实现;确定模块62可由位于运动路线推荐装置上的中央处理器(CPU,Central ProcessingUnit)、微处理器(MPU,Micro Processor Unit)、数字信号处理器(DSP,Digital SignalProcessor)、或现场可编程门阵列(FPGA,Field Programmable Gate Array)等实现。In practical applications, the receiving module 61 and the sending module 63 are realized by a network interface positioned on the motion route recommendation device; , Micro Processor Unit), digital signal processor (DSP, Digital Signal Processor), or field programmable gate array (FPGA, Field Programmable Gate Array) and other implementations.

实施例四Embodiment four

为实现实施例二的方法,本实施例还提供了一种运动路线推荐装置,如图7所示,所述装置包括:生成模块71、识别模块72、推荐模块73;其中,In order to realize the method of Embodiment 2, this embodiment also provides a device for recommending an exercise route. As shown in FIG. 7 , the device includes: a generation module 71, an identification module 72, and a recommendation module 73; wherein,

生成模块71,用于当检测到实施于当前地图界面的可绘制状态下的滑动操作时,在所述地图界面生成与所述滑动操作的路径相匹配的轨迹。The generating module 71 is configured to generate a track on the map interface that matches the path of the sliding operation when a sliding operation implemented in a drawable state of the current map interface is detected.

识别模块72,用于识别所述轨迹对应的轨迹信息,并发送给服务器,以便于所述服务器根据所述轨迹信息确定与所述轨迹相匹配的运动路线。The identifying module 72 is configured to identify track information corresponding to the track, and send the track information to the server, so that the server can determine a moving route matching the track according to the track information.

推荐模块73,用于接收所述服务器返回的运动路线,并作为引导用户运动的运动路线推荐给用户。The recommendation module 73 is configured to receive the exercise route returned by the server, and recommend it to the user as an exercise route guiding the user to exercise.

这里,地图可以是电子地图或者卫星电子地图。所述轨迹可以是闭合轨迹,也可以是非闭合轨迹,还可以是多段轨迹的组合,所述轨迹的形状包括但不限于圆形、三角形、U字型等等。所述滑动操作可以是用户的单指或多指滑动操作,也可以是基于触控笔的滑动操作。Here, the map may be an electronic map or a satellite electronic map. The trajectory can be a closed trajectory, an open trajectory, or a combination of multiple trajectories, and the shape of the trajectory includes, but is not limited to, a circle, a triangle, a U-shape, and the like. The sliding operation may be a single-finger or multi-finger sliding operation of the user, or may be a sliding operation based on a stylus.

实际应用时,在当前地图界面中可以设置一个切换按钮,假设当前的状态会由对应当前的地图的绘制状态切换为对应另外一个地图的显示状态。所述显示状态为:可以采用拖动、滑动或缩放的方式显示电子地图上的任意一个位置;所述绘制状态为:可以使用手指或触控笔在电子地图上进行滑动操作,并基于滑动操作生成轨迹。In actual application, a switch button can be set in the current map interface, assuming that the current state will switch from the drawing state corresponding to the current map to the display state corresponding to another map. The display state is: any position on the electronic map can be displayed by dragging, sliding or zooming; the drawing state is: a finger or a stylus can be used to perform a sliding operation on the electronic map, and based on the sliding operation Generate trajectories.

所述生成模块71,具体用于识别所述滑动操作的路径;生成与所述滑动操作的路径相重合的轨迹。The generating module 71 is specifically configured to identify a path of the sliding operation; and generate a track that coincides with the path of the sliding operation.

所述推荐模块73,还用于接收所述服务器返回的运动路线后,还可以控制用户按照所述运动路线进行运动。The recommendation module 73 is further configured to control the user to exercise according to the exercise route after receiving the exercise route returned by the server.

需要说明的是:上述实施例提供的运动路线推荐装置在进行路线推荐时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的运动路线推荐装置与运动路线推荐方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the exercise route recommendation device provided in the above-mentioned embodiment recommends a route, it only uses the division of the above-mentioned program modules as an example for illustration. In practical applications, the above-mentioned processing allocation can be completed by different program modules according to needs. , that is, divide the internal structure of the device into different program modules, so as to complete all or part of the processing described above. In addition, the exercise route recommendation device and the exercise route recommendation method embodiment provided by the above embodiment belong to the same concept, and the specific implementation process thereof is detailed in the method embodiment, and will not be repeated here.

在实际应用中,生成模块71、识别模块72、推荐模块73可由位于运动路线推荐装置上的CPU、MPU、DSP、FPGA等实现。In practical applications, the generating module 71, the identifying module 72, and the recommending module 73 can be realized by CPU, MPU, DSP, FPGA, etc. located on the exercise route recommending device.

实施例五Embodiment five

图8是本发明运动路线推荐装置的结构示意图,图8所示的运动路线推荐装置800包括:至少一个处理器801、存储器802、用户接口803、至少一个网络接口804。运动路线推荐装置800中的各个组件通过总线系统805耦合在一起。可理解,总线系统805用于实现这些组件之间的连接通信。总线系统805除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图8中将各种总线都标为总线系统805。FIG. 8 is a schematic structural diagram of an exercise route recommendation device of the present invention. The exercise route recommendation device 800 shown in FIG. 8 includes: at least one processor 801 , memory 802 , user interface 803 , and at least one network interface 804 . Various components in the exercise route recommendation device 800 are coupled together through the bus system 805 . It can be understood that the bus system 805 is used to realize connection and communication between these components. In addition to the data bus, the bus system 805 also includes a power bus, a control bus and a status signal bus. However, the various buses are labeled as bus system 805 in FIG. 8 for clarity of illustration.

其中,用户接口803可以包括显示器、键盘、鼠标、轨迹球、点击轮、按键、按钮、触感板或者触摸屏等。Wherein, the user interface 803 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touch panel or a touch screen, and the like.

可以理解,存储器802可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random AccessMemory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,SynchronousDynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本发明实施例描述的存储器802旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 802 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. Wherein, the non-volatile memory can be a read-only memory (ROM, Read Only Memory), a programmable read-only memory (PROM, Programmable Read-Only Memory), an erasable programmable read-only memory (EPROM, Erasable Programmable Read-Only Memory), Only Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory (Flash Memory), Magnetic Surface Memory , CD, or CD-ROM (CD-ROM, Compact Disc Read-Only Memory); the magnetic surface storage can be disk storage or tape storage. The volatile memory may be random access memory (RAM, Random Access Memory), which is used as an external cache. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM, Static Random Access Memory), Synchronous Static Random Access Memory (SSRAM, Synchronous Static Random Access Memory), Dynamic Random Access Memory Memory (DRAM, Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM, Synchronous Dynamic Random Access Memory), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), Synchronous Link Dynamic Random Access Memory (SLDRAM, SyncLink Dynamic Random Access Memory), Direct Memory Bus Random Access Memory (DRRAM, Direct Rambus Random Access Memory) . The memory 802 described in the embodiments of the present invention is intended to include, but not be limited to, these and any other suitable types of memory.

本发明实施例中的存储器802用于存储各种类型的数据以支持运动路线推荐装置800的操作。这些数据的示例包括:用于在路线推荐装置800上操作的任何计算机程序,如操作系统8021和应用程序8022;其中,操作系统8021包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序8022可以包含各种应用程序,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序8022中。The memory 802 in the embodiment of the present invention is used to store various types of data to support the operation of the exercise route recommending apparatus 800 . Examples of these data include: any computer program for operating on the route recommendation device 800, such as operating system 8021 and application program 8022; wherein, the operating system 8021 includes various system programs, such as framework layer, core library layer, driver layer etc., to implement various basic services and handle hardware-based tasks. The application program 8022 may include various application programs for implementing various application services. The program for realizing the method of the embodiment of the present invention may be included in the application program 8022 .

上述本发明实施例揭示的方法可以应用于处理器801中,或者由处理器801实现。处理器801可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器801中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器801可以是通用处理器、数字信号处理器,或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器801可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本发明实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器802,处理器801读取存储器802中的信息,结合其硬件完成前述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 801 or implemented by the processor 801 . The processor 801 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 801 or instructions in the form of software. The aforementioned processor 801 may be a general-purpose processor, a digital signal processor, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. The processor 801 may implement or execute various methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, and the storage medium is located in the memory 802. The processor 801 reads the information in the memory 802, and completes the steps of the foregoing method in combination with its hardware.

具体来说,本发明实施例还提供了一种运动路线推荐装置,所述运动路线推荐装置包括:存储器802、处理器801以及存储在存储器上并可在处理器上运行的计算机程序,Specifically, the embodiment of the present invention also provides an exercise route recommendation device, which includes: a memory 802, a processor 801, and a computer program stored in the memory and operable on the processor,

其中,所述处理器801用于运行所述计算机程序时,执行:Wherein, when the processor 801 is used to run the computer program, execute:

接收客户端发送的轨迹信息;其中,所述轨迹信息中至少包含轨迹在地图界面的位置信息,所述轨迹信息是由所述客户端识别当前地图界面的轨迹得到的,所述轨迹是在客户端检测到实施于当前地图界面的可绘制状态下的滑动操作时,在所述地图界面生成与所述滑动操作的路径相匹配的轨迹;根据所述轨迹信息,确定与所述轨迹相匹配的运动路线;将所述运动路线发送给所述客户端,以便于所述客户端用作引导用户运动的运动路线推荐给用户。Receive the track information sent by the client; wherein, the track information includes at least the position information of the track on the map interface, the track information is obtained by the client identifying the track of the current map interface, and the track is on the client When the terminal detects the sliding operation implemented in the drawable state of the current map interface, it generates a trajectory matching the path of the sliding operation on the map interface; according to the trajectory information, determine the trajectory matching the trajectory An exercise route: sending the exercise route to the client, so that the client can recommend the exercise route to the user for guiding the user to exercise.

在一实施例中,所述处理器801还用于运行所述计算机程序时,执行:In one embodiment, the processor 801 is further configured to execute the computer program when executing:

根据所述轨迹信息,确定与所述轨迹的轮廓相同的轨迹路线;利用所述轨迹路线,得到与所述轨迹相匹配的运动路线。According to the track information, determine a track route that is the same as the profile of the track; use the track route to obtain a motion route that matches the track.

在一实施例中,所述处理器801还用于运行所述计算机程序时,执行以下操作:对所述轨迹路线进行分段,得到至少一个轨迹段;利用得到的至少一个轨迹段,分别确定与轨迹段相匹配的路线段;将确定的路线段进行连接,得到与所述轨迹相匹配的运动路线。In one embodiment, the processor 801 is further configured to perform the following operations when running the computer program: segment the trajectory route to obtain at least one trajectory segment; use the obtained at least one trajectory segment to determine respectively A route segment matching the trajectory segment; connecting the determined route segments to obtain a motion route matching the trajectory.

在一实施例中,所述处理器801还用于运行所述计算机程序时,执行以下操作:利用轨迹段与对应的路线段的位置关系,分别计算每个轨迹段与对应的路线段之间的相似度;将相似度大于或等于第一阈值或者满足大于第一阈值的相似度的个数占相似度总数的比例大于或等于第二阈值对应的路线段,作为与所述轨迹段相匹配的路线段。In one embodiment, the processor 801 is further configured to perform the following operations when running the computer program: use the positional relationship between each trajectory segment and the corresponding route segment to calculate the distance between each trajectory segment and the corresponding route segment The similarity; the similarity is greater than or equal to the first threshold or the proportion of the number of similarities greater than the first threshold to the total number of similarities is greater than or equal to the route segment corresponding to the second threshold, as matching with the track segment the route segment.

在一实施例中,所述处理器801还用于运行所述计算机程序时,执行以下操作:确定所述轨迹路线的至少一个轨迹点;计算所述轨迹路线中的轨迹点与数据库中的运动路线对应的路线点的距离,确定与所述轨迹点相匹配的路线点;将确定的路线点进行连接,得到与所述轨迹相匹配的运动路线。In one embodiment, the processor 801 is further configured to perform the following operations when running the computer program: determine at least one track point of the track route; calculate the track point in the track route and the motion in the database The distance of the route point corresponding to the route is used to determine the route point matching the trajectory point; the determined route points are connected to obtain the motion route matching the trajectory.

在一实施例中,所述处理器801还用于运行所述计算机程序时,执行以下操作:利用轨迹点与对应的路线点的位置关系,分别计算每个轨迹点与对应的路线点之间的距离;将轨迹点对应的多个距离中最大距离大于或等于第三阈值对应的路线点,作为与所述轨迹点匹配的路线点。In one embodiment, the processor 801 is further configured to perform the following operations when running the computer program: use the positional relationship between each track point and the corresponding route point to calculate the distance between each track point and the corresponding route point The distance corresponding to the track point; among the plurality of distances corresponding to the track point, the route point whose maximum distance is greater than or equal to the third threshold value is used as the route point matching the track point.

本发明实施例还提供一种运动路线推荐装置,所述运动路线推荐装置包括:存储器802、处理器801以及存储在存储器上并可在处理器上运行的计算机程序,An embodiment of the present invention also provides an exercise route recommendation device, which includes: a memory 802, a processor 801, and a computer program stored in the memory and operable on the processor,

其中,所述处理器801用于运行所述计算机程序时,执行以下操作:当检测到实施于当前地图界面的可绘制状态下的滑动操作时,在所述地图界面生成与所述滑动操作的路径相匹配的轨迹;识别所述轨迹对应的轨迹信息,并发送给服务器,以便于所述服务器根据所述轨迹信息确定与所述轨迹相匹配的运动路线;所述轨迹信息中至少包含所述轨迹在地图界面的位置信息;接收所述服务器返回的运动路线,并作为引导用户运动的运动路线推荐给用户。Wherein, when the processor 801 is configured to run the computer program, the following operations are performed: when a sliding operation implemented in the drawable state of the current map interface is detected, generate an image corresponding to the sliding operation on the map interface. track matching the track; identify the track information corresponding to the track, and send it to the server, so that the server can determine the motion route matching the track according to the track information; the track information includes at least the The location information of the trajectory on the map interface; receiving the exercise route returned by the server, and recommending it to the user as an exercise route guiding the user to exercise.

在一实施例中,所述处理器801还用于运行所述计算机程序时,执行以下操作:识别所述滑动操作的路径;生成与所述滑动操作的路径相重合的轨迹。In an embodiment, the processor 801 is further configured to perform the following operations when running the computer program: identify a path of the sliding operation; and generate a trajectory coincident with the path of the sliding operation.

所述处理器801发送轨迹消息、接收服务器返回的运动路线时,需要通过网络接口804来实现。When the processor 801 sends the track message and receives the motion route returned by the server, it needs to be implemented through the network interface 804 .

在示例性实施例中,运动路线推荐装置800可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,Programmable Logic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable LogicDevice)、FPGA、通用处理器、控制器、微控制器(MCU,Micro Controller Unit)、微处理器(Microprocessor)、或其他电子元件实现,用于执行前述方法。In an exemplary embodiment, the exercise route recommendation device 800 may be implemented by one or more application-specific integrated circuits (ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic Device), complex programmable logic device (CPLD, Complex Programmable LogicDevice), FPGA, general-purpose processor, controller, microcontroller (MCU, Micro Controller Unit), microprocessor (Microprocessor), or other electronic components are used to execute the foregoing method.

实施例六Embodiment six

本发明实施例提供一种计算机可读存储介质,参照图8所示,所述计算机可读存储介质可以包括计算机程序的存储器802,上述计算机程序可由路线推荐装置800的处理器801执行,以完成前述方法所述步骤。计算机可读存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器。An embodiment of the present invention provides a computer-readable storage medium, as shown in FIG. Steps described in the aforementioned method. The computer-readable storage medium may be memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM.

具体地,本发明实施例提供的计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器运行时,执行以下操作:接收客户端发送的轨迹信息;其中,所述轨迹信息中至少包含轨迹在地图界面的位置信息,所述轨迹信息是由所述客户端识别当前地图界面的轨迹得到的,所述轨迹是在客户端检测到实施于当前地图界面的可绘制状态下的滑动操作时,在所述地图界面生成与所述滑动操作的路径相匹配的轨迹;根据所述轨迹信息,确定与所述轨迹相匹配的运动路线;将所述运动路线发送给所述客户端,以便于所述客户端用作引导用户运动的运动路线推荐给用户。Specifically, the computer-readable storage medium provided by the embodiment of the present invention has a computer program stored thereon, and when the computer program is run by a processor, the following operations are performed: receiving the track information sent by the client; wherein the track information contains at least the position information of the trajectory on the map interface, the trajectory information is obtained by the client identifying the trajectory of the current map interface, and the trajectory is detected by the client in the drawable state implemented on the current map interface During a sliding operation, a trajectory matching the path of the sliding operation is generated on the map interface; according to the trajectory information, a motion route matching the trajectory is determined; and the motion route is sent to the client , so that the client recommends to the user an exercise route used to guide the user's exercise.

在一实施例中,所述计算机程序被处理器运行时,还执行以下操作:根据所述轨迹信息,确定与所述轨迹的轮廓相同的轨迹路线;利用所述轨迹路线,得到与所述轨迹相匹配的运动路线。In one embodiment, when the computer program is run by the processor, the following operations are also performed: according to the trajectory information, determine the same trajectory route as the profile of the trajectory; use the trajectory route to obtain the same trajectory as the trajectory Matching exercise route.

在一实施例中,所述计算机程序被处理器运行时,还执行以下操作:对所述轨迹路线进行分段,得到至少一个轨迹段;利用得到的至少一个轨迹段,分别确定与轨迹段相匹配的路线段;将确定的路线段进行连接,得到与所述轨迹相匹配的运动路线。In one embodiment, when the computer program is run by the processor, the following operations are further performed: segmenting the trajectory route to obtain at least one trajectory segment; using the obtained at least one trajectory segment, respectively determining Matched route segments: connect the determined route segments to obtain a motion route matching the trajectory.

在一实施例中,所述计算机程序被处理器运行时,还执行以下操作:利用轨迹段与对应的路线段的位置关系,分别计算每个轨迹段与对应的路线段之间的相似度;将相似度大于或等于第一阈值或者满足大于第一阈值的相似度的个数占相似度总数的比例大于或等于第二阈值对应的路线段,作为与所述轨迹段相匹配的路线段。In one embodiment, when the computer program is run by the processor, the following operations are further performed: using the positional relationship between the trajectory segment and the corresponding route segment, respectively calculating the similarity between each trajectory segment and the corresponding route segment; The route segments whose similarity is greater than or equal to the first threshold or whose proportion of the number of similarities greater than the first threshold to the total number of similarities is greater than or equal to the second threshold are taken as the route segments matching the track segment.

在一实施例中,所述计算机程序被处理器运行时,还执行以下操作:确定所述轨迹路线的至少一个轨迹点;计算所述轨迹路线中的轨迹点与数据库中的运动路线对应的路线点的距离,确定与所述轨迹点相匹配的路线点;将确定的路线点进行连接,得到与所述轨迹相匹配的运动路线。In one embodiment, when the computer program is run by the processor, the following operations are also performed: determining at least one track point of the track route; calculating a route corresponding to the track point in the track route and the movement route in the database The distance between the points is determined to determine the route points matching the trajectory points; the determined route points are connected to obtain the motion route matching the trajectory.

在一实施例中,所述计算机程序被处理器运行时,还执行以下操作:利用轨迹点与对应的路线点的位置关系,分别计算每个轨迹点与对应的路线点之间的距离;将轨迹点对应的多个距离中最大距离大于或等于第三阈值对应的路线点,作为与所述轨迹点匹配的路线点。In one embodiment, when the computer program is run by the processor, the following operations are further performed: using the positional relationship between the track point and the corresponding route point, respectively calculating the distance between each track point and the corresponding route point; Among the multiple distances corresponding to the track point, the route point whose maximum distance is greater than or equal to the third threshold is used as the route point matching the track point.

实施例七Embodiment seven

本发明实施例提供一种计算机可读存储介质,参照图8所示,所述计算机可读存储介质可以包括计算机程序的存储器802,上述计算机程序可由运动路线推荐装置800的处理器801执行,以完成前述方法所述步骤。计算机可读存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器。An embodiment of the present invention provides a computer-readable storage medium, as shown in FIG. Complete the steps described in the preceding method. The computer-readable storage medium may be memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM.

具体地,本发明实施例提供的计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器运行时,执行以下操作:当检测到实施于当前地图界面的可绘制状态下的滑动操作时,在所述地图界面生成与所述滑动操作的路径相匹配的轨迹;识别所述轨迹对应的轨迹信息,并发送给服务器,以便于所述服务器根据所述轨迹信息确定与所述轨迹相匹配的运动路线;所述轨迹信息中至少包含所述轨迹在地图界面的位置信息;接收所述服务器返回的运动路线,并作为引导用户运动的运动路线推荐给用户。Specifically, the computer-readable storage medium provided by the embodiment of the present invention has a computer program stored thereon, and when the computer program is run by the processor, the following operations are performed: when the drawable state of the current map interface is detected When a sliding operation is performed, a trajectory matching the path of the sliding operation is generated on the map interface; the trajectory information corresponding to the trajectory is identified and sent to the server, so that the server can determine the path corresponding to the trajectory according to the trajectory information. A movement route matching the trajectory; the trajectory information includes at least the position information of the trajectory on the map interface; receiving the movement route returned by the server, and recommending it to the user as a movement route guiding the user to exercise.

在一实施例中,所述计算机程序被处理器运行时,还执行以下操作:识别所述滑动操作的路径;生成与所述滑动操作的路径相重合的轨迹。In an embodiment, when the computer program is executed by the processor, the following operations are further performed: identifying a path of the sliding operation; and generating a trajectory coincident with the path of the sliding operation.

下面以实现运动路线推荐为具体实例详细说明本发明在实际应用中的实现过程及原理。The implementation process and principle of the present invention in practical applications will be described in detail below by taking the realization of exercise route recommendation as a specific example.

图9为本发明实施例以客户端与服务器交互为例详细说明运动路线推荐的具体实现流程示意图,结合图5所示的电子地图的示意图,跑步轨迹路线对应运动路线,具体实现过程,包括如下步骤:FIG. 9 is a schematic diagram of the specific implementation process of exercise route recommendation in detail, taking the interaction between the client and the server as an example in an embodiment of the present invention. In combination with the schematic diagram of the electronic map shown in FIG. 5, the running track route corresponds to the exercise route. The specific implementation process includes the following step:

步骤901:跑步用户打开咪咕客户端上的跑步软件应用程序(APP,Application),并将跑步软件APP的主界面切换到电子地图界面。Step 901: The running user opens the running software application (APP, Application) on the Migu client, and switches the main interface of the running software APP to an electronic map interface.

步骤902:跑步用户在电子地图界面上确定出跑步的预选区域,在预选区域中利用手指根据跑步用户自己的意愿进行滑动操作。Step 902: the running user determines a pre-selected area for running on the electronic map interface, and uses fingers to perform a sliding operation in the pre-selected area according to the running user's own wishes.

所述预选区域可以为能够满足跑步用户跑步需求的公园或者绿地等等,包括但不限于有多条纵横交错道路的城市中心。The preselected area may be a park or green space that can meet the running needs of the running user, including but not limited to a city center with multiple criss-crossing roads.

步骤903:咪咕客户端当检测到滑动操作时,在所述电子地图界面生成与所述滑动操作的路径相匹配的轨迹。Step 903: When the Migu client detects the sliding operation, it generates a trajectory matching the sliding operation path on the electronic map interface.

步骤904:咪咕客户端根据预设算法识别所述轨迹的形状以及位置,利用所述形状和位置生成轨迹信息,并将所述轨迹信息发送给服务器。Step 904: The Migu client identifies the shape and position of the track according to a preset algorithm, uses the shape and position to generate track information, and sends the track information to the server.

咪咕客户端上的跑步软件APP根据图像处理算法,识别出所述轨迹的形状。The running software APP on the Migu client recognizes the shape of the trajectory according to the image processing algorithm.

步骤905:服务器接收咪咕客户端发送的轨迹信息,根据所述轨迹信息,确定与所述轨迹相匹配的跑步轨迹路线。Step 905: The server receives the track information sent by the Migu client, and determines the running track route matching the track according to the track information.

当服务器采用分段匹配方式时,先根据所述轨迹信息,确定与所述轨迹的轮廓相同的轨迹路线;之后对所述轨迹路线进行分段,得到轨迹段;再按照预设规则(如相似度约束条件)匹配出对应轨迹段的路线段;最后走将匹配出的路线段进行连接,得到与所述轨迹相匹配的运动路线。其中,相似度约束条件为:每个轨迹段与对应的路线段之间的相似度大于或等于第一阈值,或者,满足大于第一阈值的相似度的个数占相似度总数的比例大于或等于第二阈值。When the server adopts the segmentation matching method, first determine the same track route as the profile of the track according to the track information; then segment the track route to obtain track segments; then follow preset rules (such as similar degree constraints) to match the route segments corresponding to the trajectory segment; finally, connect the matched route segments to obtain the motion route matched with the trajectory. Wherein, the similarity constraint condition is: the similarity between each trajectory segment and the corresponding route segment is greater than or equal to the first threshold, or the ratio of the number of similarities greater than the first threshold to the total number of similarities is greater than or equal to equal to the second threshold.

当服务器采用整体匹配方式时,先根据所述轨迹信息,确定与所述轨迹的轮廓相同的轨迹路线;之后确定所述轨迹路线中的轨迹点;再按照预设条件匹配出对应轨迹点的路线点;最后将匹配出的路线段进行连接,得到与所述轨迹相匹配的运动路线。其中,预设条件为:轨迹点与对应的路线点之间的多个距离中的最大距离大于或者等于第三阈值。When the server adopts the overall matching method, first determine the same track route as the profile of the track according to the track information; then determine the track points in the track route; then match the route corresponding to the track point according to the preset conditions points; finally, connect the matched route segments to obtain the motion route matched with the trajectory. Wherein, the preset condition is: the largest distance among multiple distances between the trajectory point and the corresponding route point is greater than or equal to the third threshold.

服务器还可以根据电子地图上各个建筑物的建筑规则,从中匹配出与轨迹距离最近且能够连通的道路,作为与所述轨迹相匹配的跑步轨迹路线。The server can also match the road that is closest to the track and can be connected according to the building rules of each building on the electronic map, as the running track route matching the track.

步骤906:服务器将所述跑步轨迹路线发送给所述咪咕客户端。Step 906: The server sends the running track route to the Migu client.

步骤907:咪咕客户端接收所述服务器返回的跑步轨迹路线,并推荐给用户。Step 907: Migu client receives the running track route returned by the server, and recommends it to the user.

以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.

Claims (19)

1.一种运动路线推荐方法,其特征在于,所述方法包括:1. A method for recommending an exercise route, characterized in that the method comprises: 接收客户端发送的轨迹信息;其中,所述轨迹信息中至少包含轨迹在地图界面的位置信息,所述轨迹信息是由所述客户端识别当前地图界面的轨迹得到的,所述轨迹是在客户端检测到实施于当前地图界面的可绘制状态下的滑动操作时,在所述地图界面生成与所述滑动操作的路径相匹配的轨迹;Receive the track information sent by the client; wherein, the track information includes at least the position information of the track on the map interface, the track information is obtained by the client identifying the track of the current map interface, and the track is on the client When the terminal detects the sliding operation implemented in the drawable state of the current map interface, it generates a trajectory matching the path of the sliding operation on the map interface; 根据所述轨迹信息,确定与所述轨迹相匹配的运动路线;Determine a motion route matching the trajectory according to the trajectory information; 将所述运动路线发送给所述客户端,以便于所述客户端用作引导用户运动的运动路线推荐给用户。The exercise route is sent to the client, so that the client recommends the exercise route for guiding the user to exercise to the user. 2.根据权利要求1所述的方法,其特征在于,所述根据所述轨迹信息,确定与所述轨迹相匹配的运动路线,包括:2. The method according to claim 1, wherein said determining a motion route matching said trajectory according to said trajectory information comprises: 根据所述轨迹信息,确定与所述轨迹的轮廓相同的轨迹路线;determining a trajectory route identical to the profile of the trajectory according to the trajectory information; 利用所述轨迹路线,得到与所述轨迹相匹配的运动路线。Using the trajectory route, a motion route matching the trajectory is obtained. 3.根据权利要求2所述的方法,其特征在于,所述利用所述轨迹路线,得到与所述轨迹相匹配的运动路线,包括:3. The method according to claim 2, wherein said utilizing said trajectory route to obtain a motion route matched with said trajectory comprises: 对所述轨迹路线进行分段,得到至少一个轨迹段;Segmenting the track route to obtain at least one track segment; 利用得到的至少一个轨迹段,分别确定与轨迹段相匹配的路线段;Using the obtained at least one trajectory segment, respectively determine route segments matching the trajectory segment; 将确定的路线段进行连接,得到与所述轨迹相匹配的运动路线。The determined route segments are connected to obtain a motion route matching the trajectory. 4.根据权利要求3所述的方法,其特征在于,所述利用得到的至少一个轨迹段,分别确定与轨迹段相匹配的路线段,包括:4. method according to claim 3, is characterized in that, at least one track section that described utilization obtains, determines the route section that matches with track section respectively, comprises: 利用轨迹段与对应的路线段的位置关系,分别计算每个轨迹段与对应的路线段之间的相似度;Using the positional relationship between the trajectory segment and the corresponding route segment, calculate the similarity between each trajectory segment and the corresponding route segment; 将相似度大于或等于第一阈值或者满足大于第一阈值的相似度的个数占相似度总数的比例大于或等于第二阈值对应的路线段,作为与所述轨迹段相匹配的路线段。The route segments whose similarity is greater than or equal to the first threshold or whose proportion of the number of similarities greater than the first threshold to the total number of similarities is greater than or equal to the second threshold are taken as the route segments matching the track segment. 5.根据权利要求2所述的方法,其特征在于,所述利用所述轨迹路线,得到与所述轨迹相匹配的运动路线,包括:5. The method according to claim 2, wherein said utilizing said trajectory route to obtain a motion route matched with said trajectory comprises: 确定所述轨迹路线的至少一个轨迹点;determining at least one track point of the track route; 计算所述轨迹路线中的轨迹点与数据库中的运动路线对应的路线点的距离,确定与所述轨迹点相匹配的路线点;Calculating the distance between the track point in the track route and the route point corresponding to the motion route in the database, and determining the route point matching the track point; 将确定的路线点进行连接,得到与所述轨迹相匹配的运动路线。The determined route points are connected to obtain a motion route matching the trajectory. 6.根据权利要求5所述的方法,其特征在于,所述计算所述轨迹路线中的轨迹点与数据库中的运动路线对应的路线点的距离,确定与所述轨迹点相匹配的路线点,包括:6. The method according to claim 5, wherein the distance between the track point in the calculation track and the track point corresponding to the motion route in the database is determined to match the track point with the track point ,include: 利用轨迹点与对应的路线点的位置关系,分别计算每个轨迹点与对应的路线点之间的距离;Using the positional relationship between the track point and the corresponding route point, calculate the distance between each track point and the corresponding route point; 将轨迹点对应的多个距离中最大距离大于或等于第三阈值对应的路线点,作为与所述轨迹点匹配的路线点。Among the plurality of distances corresponding to the track point, the route point whose maximum distance is greater than or equal to the third threshold is used as the route point matching the track point. 7.一种运动路线推荐方法,其特征在于,所述方法包括:7. A method for recommending an exercise route, characterized in that the method comprises: 当检测到实施于当前地图界面的可绘制状态下的滑动操作时,在所述地图界面生成与所述滑动操作的路径相匹配的轨迹;When a sliding operation implemented in a drawable state of the current map interface is detected, a trajectory matching the path of the sliding operation is generated on the map interface; 识别所述轨迹对应的轨迹信息,并发送给服务器,以便于所述服务器根据所述轨迹信息确定与所述轨迹相匹配的运动路线;所述轨迹信息中至少包含所述轨迹在地图界面的位置信息;Identify the track information corresponding to the track, and send it to the server, so that the server can determine the movement route matching the track according to the track information; the track information includes at least the position of the track on the map interface information; 接收所述服务器返回的运动路线,并作为引导用户运动的运动路线推荐给用户。The exercise route returned by the server is received, and recommended to the user as an exercise route guiding the user to exercise. 8.根据权利要求7所述的方法,其特征在于,所述在所述地图界面生成与所述滑动操作的路径相匹配的轨迹,包括:8. The method according to claim 7, wherein said generating a track on said map interface that matches the path of said sliding operation comprises: 识别所述滑动操作的路径;identifying a path of the swipe operation; 生成与所述滑动操作的路径相重合的轨迹。A trajectory is generated that coincides with the path of the swipe operation. 9.一种运动路线推荐装置,其特征在于,所述装置包括:9. An exercise route recommendation device, characterized in that the device comprises: 接收模块,用于接收客户端发送的轨迹信息;其中,所述轨迹信息中至少包含轨迹在地图界面的位置信息,所述轨迹信息是由所述客户端识别当前地图界面的轨迹得到的,所述轨迹是在客户端检测到实施于当前地图界面的可绘制状态下的滑动操作时,在所述地图界面生成与所述滑动操作的路径相匹配的轨迹;The receiving module is used to receive the track information sent by the client; wherein, the track information includes at least the position information of the track on the map interface, and the track information is obtained by the client identifying the track of the current map interface, so The trajectory is that when the client detects a sliding operation implemented in the drawable state of the current map interface, a trajectory matching the path of the sliding operation is generated on the map interface; 确定模块,用于根据所述轨迹信息,确定与所述轨迹相匹配的运动路线;A determining module, configured to determine a motion route matching the trajectory according to the trajectory information; 发送模块,用于将所述运动路线发送给所述客户端,以便于所述客户端用作引导用户运动的运动路线推荐给用户。A sending module, configured to send the exercise route to the client, so that the client recommends the exercise route for guiding the user to exercise to the user. 10.根据权利要求9所述的装置,其特征在于,10. The apparatus of claim 9, wherein: 所述确定模块,具体用于根据所述轨迹信息,确定与所述轨迹的轮廓相同的轨迹路线;利用所述轨迹路线,得到与所述轨迹相匹配的运动路线。The determining module is specifically configured to determine, according to the trajectory information, a trajectory route that is identical to the profile of the trajectory; and use the trajectory route to obtain a motion route that matches the trajectory. 11.根据权利要求10所述的装置,其特征在于,11. The apparatus of claim 10, wherein: 所述确定模块,具体用于对所述轨迹路线进行分段,得到至少一个轨迹段;利用得到的至少一个轨迹段,分别确定与轨迹段相匹配的路线段;将确定的路线段进行连接,得到与所述轨迹相匹配的运动路线。The determination module is specifically used to segment the track route to obtain at least one track segment; use the obtained at least one track segment to determine route segments that match the track segment; connect the determined route segments, A motion route matching the trajectory is obtained. 12.根据权利要求11所述的装置,其特征在于,12. The apparatus of claim 11, wherein: 所述确定模块,具体用于利用轨迹段与对应的路线段的位置关系,分别计算每个轨迹段与对应的路线段之间的相似度;将相似度大于或等于第一阈值或者满足大于第一阈值的相似度的个数占相似度总数的比例大于或等于第二阈值对应的路线段,作为与所述轨迹段相匹配的路线段。The determining module is specifically used to calculate the similarity between each trajectory segment and the corresponding route segment by using the positional relationship between the trajectory segment and the corresponding route segment; the similarity is greater than or equal to the first threshold or meets a threshold greater than or equal to the first threshold. A route segment corresponding to a threshold whose ratio of the number of similarities to the total number of similarities is greater than or equal to a second threshold is regarded as a route segment matching the track segment. 13.根据权利要求10所述的装置,其特征在于,13. The apparatus of claim 10, wherein: 所述确定模块,具体用于确定所述轨迹路线的至少一个轨迹点;计算所述轨迹路线中的轨迹点与数据库中的运动路线对应的路线点的距离,确定与所述轨迹点相匹配的路线点;将确定的路线点进行连接,得到与所述轨迹相匹配的运动路线。The determination module is specifically configured to determine at least one track point of the track route; calculate the distance between the track point in the track route and the route point corresponding to the movement route in the database, and determine the track point matching Route points: connect the determined route points to obtain a motion route matching the trajectory. 14.根据权利要求13所述的装置,其特征在于,14. The apparatus of claim 13, wherein: 所述确定模块,具体用于利用轨迹点与对应的路线点的位置关系,分别计算每个轨迹点与对应的路线点之间的距离;将轨迹点对应的多个距离中最大距离大于或等于第三阈值对应的路线点,作为与所述轨迹点匹配的路线点。The determination module is specifically used to calculate the distance between each track point and the corresponding route point by using the positional relationship between the track point and the corresponding route point; the maximum distance among the multiple distances corresponding to the track point is greater than or equal to The route point corresponding to the third threshold is used as the route point matching the track point. 15.一种运动路线推荐装置,其特征在于,所述装置包括:15. An exercise route recommendation device, characterized in that the device comprises: 生成模块,用于当检测到实施于当前地图界面的可绘制状态下的滑动操作时,在所述地图界面生成与所述滑动操作的路径相匹配的轨迹;A generating module, configured to generate a track on the map interface that matches the path of the sliding operation when a sliding operation implemented in the drawable state of the current map interface is detected; 识别模块,用于识别所述轨迹对应的轨迹信息,并发送给服务器,以便于所述服务器根据所述轨迹信息确定与所述轨迹相匹配的运动路线;所述轨迹信息中至少包含所述轨迹在地图界面的位置信息;An identification module, configured to identify the trajectory information corresponding to the trajectory, and send it to the server, so that the server can determine a movement route matching the trajectory according to the trajectory information; the trajectory information includes at least the trajectory Location information on the map interface; 推荐模块,用于接收所述服务器返回的运动路线,并作为引导用户运动的运动路线推荐给用户。The recommendation module is configured to receive the exercise route returned by the server, and recommend it to the user as an exercise route guiding the user to exercise. 16.根据权利要求15所述的装置,其特征在于,16. The apparatus of claim 15, wherein: 所述生成模块,具体用于识别所述滑动操作的路径;生成与所述滑动操作的路径相重合的轨迹。The generating module is specifically configured to identify a path of the sliding operation; and generate a track that coincides with the path of the sliding operation. 17.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至6任一项所述方法的步骤,或者实现权利要求7至8任一项所述方法的步骤。17. A computer-readable storage medium, on which a computer program is stored, characterized in that, when the computer program is executed by a processor, it realizes the steps of any one of claims 1 to 6, or realizes the steps of claim 7 to the step of any one of the methods described in 8. 18.一种运动路线推荐装置,其特征在于,包括:存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序;18. A device for recommending an exercise route, comprising: a memory, a processor, and a computer program stored in the memory and operable on the processor; 其中,所述处理器用于运行所述计算机程序时,执行权利要求1至6任一项所述方法的步骤。Wherein, when the processor is used to run the computer program, it executes the steps of the method according to any one of claims 1 to 6. 19.一种运动路线推荐装置,其特征在于,包括:存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序;19. A device for recommending an exercise route, comprising: a memory, a processor, and a computer program stored in the memory and operable on the processor; 其中,所述处理器用于运行所述计算机程序时,执行权利要求7至8任一项所述方法的步骤。Wherein, when the processor is used to run the computer program, it executes the steps of the method according to any one of claims 7 to 8.
CN201710877072.8A 2017-09-25 2017-09-25 A kind of moving line recommends method, apparatus and computer-readable recording medium Pending CN107590268A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710877072.8A CN107590268A (en) 2017-09-25 2017-09-25 A kind of moving line recommends method, apparatus and computer-readable recording medium
PCT/CN2018/102500 WO2019056925A1 (en) 2017-09-25 2018-08-27 Exercise route recommendation method and device, and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710877072.8A CN107590268A (en) 2017-09-25 2017-09-25 A kind of moving line recommends method, apparatus and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107590268A true CN107590268A (en) 2018-01-16

Family

ID=61047835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710877072.8A Pending CN107590268A (en) 2017-09-25 2017-09-25 A kind of moving line recommends method, apparatus and computer-readable recording medium

Country Status (2)

Country Link
CN (1) CN107590268A (en)
WO (1) WO2019056925A1 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109472204A (en) * 2018-10-08 2019-03-15 咪咕互动娱乐有限公司 Movement route display method and device and computer readable storage medium
WO2019056925A1 (en) * 2017-09-25 2019-03-28 咪咕互动娱乐有限公司 Exercise route recommendation method and device, and computer readable storage medium
CN110318213A (en) * 2019-07-23 2019-10-11 深圳和而泰小家电智能科技有限公司 A kind of clean method and relevant apparatus
CN110472159A (en) * 2019-07-26 2019-11-19 美的置业集团有限公司 Path generating method, device, medium and terminal device based on community service point
CN110633346A (en) * 2019-08-27 2019-12-31 腾讯科技(深圳)有限公司 Movement route recommendation method and device and storage medium
CN111368218A (en) * 2020-02-25 2020-07-03 深圳市口袋网络科技有限公司 Display method, device, terminal and computer storage medium
CN111625179A (en) * 2020-06-02 2020-09-04 京东方科技集团股份有限公司 Graph drawing method, electronic device, and computer storage medium
CN112989220A (en) * 2019-12-13 2021-06-18 华为技术有限公司 Motion trajectory processing method, medium, device and equipment
CN114898017A (en) * 2022-06-01 2022-08-12 中国银行股份有限公司 Route matching method and related device
CN116108326A (en) * 2023-04-12 2023-05-12 山东工程职业技术大学 Mathematic tool software control method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103995661A (en) * 2013-02-20 2014-08-20 腾讯科技(深圳)有限公司 Method for triggering application programs or application program functions through gestures, and terminal
CN104677369A (en) * 2013-11-29 2015-06-03 广东瑞图万方科技股份有限公司 Path planning method and device along hand-drawn route in navigation system
CN104750360A (en) * 2015-03-10 2015-07-01 联想(北京)有限公司 Information processing method and electronic equipment
US20160178377A1 (en) * 2014-12-19 2016-06-23 Hyundai Motor Company Navigation system, path prediction method thereof and computer readable medium for performing the same
CN106017493A (en) * 2016-05-16 2016-10-12 乐视控股(北京)有限公司 Exercise recording method and device
CN106643774A (en) * 2016-12-30 2017-05-10 宇龙计算机通信科技(深圳)有限公司 Navigation route generation method and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107590268A (en) * 2017-09-25 2018-01-16 咪咕互动娱乐有限公司 A kind of moving line recommends method, apparatus and computer-readable recording medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103995661A (en) * 2013-02-20 2014-08-20 腾讯科技(深圳)有限公司 Method for triggering application programs or application program functions through gestures, and terminal
CN104677369A (en) * 2013-11-29 2015-06-03 广东瑞图万方科技股份有限公司 Path planning method and device along hand-drawn route in navigation system
US20160178377A1 (en) * 2014-12-19 2016-06-23 Hyundai Motor Company Navigation system, path prediction method thereof and computer readable medium for performing the same
CN104750360A (en) * 2015-03-10 2015-07-01 联想(北京)有限公司 Information processing method and electronic equipment
CN106017493A (en) * 2016-05-16 2016-10-12 乐视控股(北京)有限公司 Exercise recording method and device
CN106643774A (en) * 2016-12-30 2017-05-10 宇龙计算机通信科技(深圳)有限公司 Navigation route generation method and terminal

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019056925A1 (en) * 2017-09-25 2019-03-28 咪咕互动娱乐有限公司 Exercise route recommendation method and device, and computer readable storage medium
CN109472204A (en) * 2018-10-08 2019-03-15 咪咕互动娱乐有限公司 Movement route display method and device and computer readable storage medium
CN110318213A (en) * 2019-07-23 2019-10-11 深圳和而泰小家电智能科技有限公司 A kind of clean method and relevant apparatus
CN110472159A (en) * 2019-07-26 2019-11-19 美的置业集团有限公司 Path generating method, device, medium and terminal device based on community service point
CN110633346A (en) * 2019-08-27 2019-12-31 腾讯科技(深圳)有限公司 Movement route recommendation method and device and storage medium
CN112989220A (en) * 2019-12-13 2021-06-18 华为技术有限公司 Motion trajectory processing method, medium, device and equipment
CN111368218A (en) * 2020-02-25 2020-07-03 深圳市口袋网络科技有限公司 Display method, device, terminal and computer storage medium
CN111625179A (en) * 2020-06-02 2020-09-04 京东方科技集团股份有限公司 Graph drawing method, electronic device, and computer storage medium
CN111625179B (en) * 2020-06-02 2021-11-16 京东方科技集团股份有限公司 Graph drawing method, electronic device, and computer storage medium
CN114898017A (en) * 2022-06-01 2022-08-12 中国银行股份有限公司 Route matching method and related device
CN116108326A (en) * 2023-04-12 2023-05-12 山东工程职业技术大学 Mathematic tool software control method, device, equipment and storage medium

Also Published As

Publication number Publication date
WO2019056925A1 (en) 2019-03-28

Similar Documents

Publication Publication Date Title
CN107590268A (en) A kind of moving line recommends method, apparatus and computer-readable recording medium
US8436821B1 (en) System and method for developing and classifying touch gestures
TWI493385B (en) Method, computer program product, storage device and system for motion pattern classification and gesture recognition
US20130120282A1 (en) System and Method for Evaluating Gesture Usability
Wolin et al. ShortStraw: A Simple and Effective Corner Finder for Polylines.
KR20200111617A (en) Gesture recognition method, device, electronic device, and storage medium
US20130215034A1 (en) Extraction method for multi-touch feature information and recognition method for multi-touch gestures using multi-touch feature information
CN102693025B (en) Touch finger identification method for multi-touch interaction system
CN109029446A (en) A kind of pedestrian position prediction technique, device and equipment
US11972578B2 (en) Method and system for object tracking using online training
CN107909042B (en) A Continuous Gesture Segmentation Recognition Method
CN107368820A (en) One kind becomes more meticulous gesture identification method, device and equipment
CN107909141A (en) A kind of data analysing method and device based on grey wolf optimization algorithm
CN112101408A (en) A classification method and classification device
CN111492407B (en) System and method for map beautification
CN110717385A (en) Dynamic gesture recognition method
Ye et al. Gestimator: Shape and stroke similarity based gesture recognition
CN110020638B (en) Facial expression recognition method, device, equipment and medium
CN111754605A (en) User trajectory drawing method and device, computer equipment and storage medium
TWI505173B (en) System and method for improving recognition of a touch keyboard in an electronic device
CN113342208A (en) Railway line selection method based on multi-point touch equipment, terminal and storage medium
Wang et al. Using fuzzy hybrid features to classify strokes in interactive sketches
CN106020471A (en) Operation method of mobile terminal and mobile terminal
US20120299837A1 (en) Identifying contacts and contact attributes in touch sensor data using spatial and temporal features
Jian et al. Real-time continuous handwritten trajectories recognition based on a regression-based temporal pyramid network

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180116

RJ01 Rejection of invention patent application after publication