+

CN105491517B - A kind of route recommendation method and mobile terminal - Google Patents

A kind of route recommendation method and mobile terminal Download PDF

Info

Publication number
CN105491517B
CN105491517B CN201510736190.8A CN201510736190A CN105491517B CN 105491517 B CN105491517 B CN 105491517B CN 201510736190 A CN201510736190 A CN 201510736190A CN 105491517 B CN105491517 B CN 105491517B
Authority
CN
China
Prior art keywords
route
mobile terminal
recommendation method
destination
route recommendation
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.)
Expired - Fee Related
Application number
CN201510736190.8A
Other languages
Chinese (zh)
Other versions
CN105491517A (en
Inventor
张海平
周意保
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510736190.8A priority Critical patent/CN105491517B/en
Publication of CN105491517A publication Critical patent/CN105491517A/en
Application granted granted Critical
Publication of CN105491517B publication Critical patent/CN105491517B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/20Instruments for performing navigational calculations
    • G01C21/206Instruments for performing navigational calculations specially adapted for indoor navigation

Landscapes

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

Abstract

本发明公开了一种路线推荐方法,包括:获取移动终端当前地理位置和目的地地理位置;根据所述移动终端当前地理位置和目的地地理位置生成N条路线信息,所述N为大于1的整数;根据所述移动终端中存储的路线推荐方式的被使用次数确定目标路线推荐方式;从所述N条路线信息中选取与所述目标路线推荐方式相匹配的路线信息。本发明实施例还提供了一种移动终端。采用本发明实施例可提升室内导航应用的智能性和用户体验。

The present invention discloses a route recommendation method, comprising: obtaining the current geographic location of a mobile terminal and the geographic location of a destination; generating N pieces of route information according to the current geographic location of the mobile terminal and the geographic location of the destination, where N is greater than 1 Integer; determine the target route recommendation method according to the number of times the route recommendation method stored in the mobile terminal is used; select the route information matching the target route recommendation method from the N pieces of route information. The embodiment of the present invention also provides a mobile terminal. The intelligence and user experience of indoor navigation applications can be improved by adopting the embodiments of the present invention.

Description

一种路线推荐方法及移动终端A route recommendation method and mobile terminal

技术领域technical field

本发明涉及电子技术领域,尤其涉及一种路线推荐方法及移动终端。The invention relates to the field of electronic technology, in particular to a route recommendation method and a mobile terminal.

背景技术Background technique

随着智能手机的普及,以及移动互联网的发展,室内导航应用越来越普及。With the popularity of smart phones and the development of mobile Internet, indoor navigation applications are becoming more and more popular.

目前的室内地图导航功能中,用户输入一个目的地后,终端会直接查询地图,进而为用户提供一个可行路线。有时候导航处理的路线不一定是用户想要的,比如,该路线人比较多,或是用时较长,或是距离较长等等。这种情况下简单的室内地图导航功能无法满足用户的需求。In the current indoor map navigation function, after the user inputs a destination, the terminal will directly query the map, and then provide the user with a feasible route. Sometimes the route processed by the navigation is not necessarily what the user wants, for example, the route has many people, or takes a long time, or has a long distance, and so on. In this case, the simple indoor map navigation function cannot meet the needs of users.

发明内容Contents of the invention

本发明实施例提供一种路线推荐方法,以期提升室内导航应用的智能性和用户体验。An embodiment of the present invention provides a method for recommending a route in order to improve the intelligence and user experience of indoor navigation applications.

本发明实施例第一方面提供一种路线推荐方法,包括:The first aspect of the embodiments of the present invention provides a route recommendation method, including:

获取移动终端当前地理位置和目的地地理位置;Obtain the current geographic location of the mobile terminal and the geographic location of the destination;

根据所述移动终端当前地理位置和目的地地理位置生成N条路线信息,所述N为大于1的整数;Generate N pieces of route information according to the current geographic location of the mobile terminal and the geographic location of the destination, where N is an integer greater than 1;

根据所述移动终端中存储的路线推荐方式的被使用次数确定目标路线推荐方式;determining the target route recommendation method according to the number of times the route recommendation method stored in the mobile terminal is used;

从所述N条路线信息中选取与所述目标路线推荐方式相匹配的路线信息。Selecting route information matching the target route recommendation mode from the N pieces of route information.

结合本发明实施例第一方面,在第一方面的第一种可能的实现方式中,所述根据所述移动终端中存储的路线推荐方式的被使用次数确定目标路线推荐方式,包括:With reference to the first aspect of the embodiments of the present invention, in the first possible implementation of the first aspect, the determining the target route recommendation method according to the number of times the route recommendation method stored in the mobile terminal is used includes:

获取所述移动终端中存储的所有路线推荐方式在预设时间阈值范围内被使用的次数;Obtain the number of times all route recommendation methods stored in the mobile terminal are used within a preset time threshold;

将所有所述路线推荐方式在预设时间阈值范围内被使用的次数最大的路线推荐方式作为所述目标路线推荐方式。The route recommendation method whose number of times all the route recommendation methods are used within the preset time threshold range is the largest as the target route recommendation method.

结合本发明实施例第一方面,在第一方面的第二种可能的实现方式中,所述根据所述移动终端中存储的路线推荐方式的被使用次数确定目标路线推荐方式,包括:With reference to the first aspect of the embodiments of the present invention, in the second possible implementation of the first aspect, the determining the target route recommendation method according to the number of times the route recommendation method stored in the mobile terminal is used includes:

获取所述移动终端中存储的所有路线推荐方式在预设时间段内被使用的次数,所述预设时间段与所述移动终端当前时间匹配;Acquire the number of times all route recommendation methods stored in the mobile terminal are used within a preset time period, and the preset time period matches the current time of the mobile terminal;

将所有所述路线推荐方式在所述预设时间段内被使用的次数最大的路线推荐方式作为所述目标路线推荐方式。The route recommendation method with the largest number of times of all the route recommendation methods used within the preset time period is taken as the target route recommendation method.

结合本发明实施例第一方面、第一方面的第一种或第二种可能的实现方式,在第一方面的第三种可能的实现方式中,所述目标路线推荐方式为到达所述目的地所历经的距离最短的路线推荐方式,所述从所述N条路线信息中选取与所述目标路线推荐方式相匹配的路线信息,包括:In combination with the first aspect of the embodiments of the present invention, the first or the second possible implementation of the first aspect, in the third possible implementation of the first aspect, the target route recommendation method is to reach the target The route recommendation method with the shortest distance traveled by the place, the route information that matches the target route recommendation method is selected from the N pieces of route information, including:

获取所述N条路线信息到达所述目的地所历经的距离;Acquiring the distance traveled by the N pieces of route information to the destination;

将所述N条路线信息中到达所述目的地所历经的距离最短的路线信息作为所述路线信息。Taking the route information with the shortest distance to the destination among the N pieces of route information as the route information.

结合本发明实施例第一方面、第一方面的第一种或第二种可能的实现方式,在第一方面的第四种可能的实现方式中,所述目标路线推荐方式为到达所述目的地用时最短的路线推荐方式,所述从所述N条路线信息中选取与所述目标路线推荐方式相匹配的路线信息,包括:In combination with the first aspect of the embodiments of the present invention, the first or the second possible implementation of the first aspect, in the fourth possible implementation of the first aspect, the target route recommendation method is to reach the target The route recommendation method with the shortest land time, the route information matching the target route recommendation method is selected from the N pieces of route information, including:

获取所述N条路线信息到达所述目的地所需要的时间;Acquiring the time required for the N pieces of route information to reach the destination;

将所述N条路线信息中到达所述目的地所需要的时间最短的路线信息作为所述路线信息。Taking the route information with the shortest time required to reach the destination among the N pieces of route information as the route information.

结合本发明实施例第一方面的第四种可能的实现方式,在第一方面的第五种可能的实现方式中,所述获取所述N条路线信息到达所述目的地所需要的时间,包括:With reference to the fourth possible implementation of the first aspect of the embodiment of the present invention, in the fifth possible implementation of the first aspect, the acquisition of the time required for the N pieces of route information to reach the destination, include:

获取所述N条路线信息到达所述目的地所历经的距离和用户的平均移动速度;向服务器发送路况信息获取请求,所述路况信息获取请求携带N条路线信息,所述路况信息获取请求用于指示获取N条路线信息的路况信息;接收所述服务器响应所述路况信息获取请求而发送的N条路况信息,其中,所述N条路线信息与所述N条路况信息一一对应;根据所述N条路线信息到达所述目的地所历经的距离、所述用户的平均移动速度和所述N条路况信息确定所述N条路线信息到达所述目的地所需要的时间。Obtain the distance traveled by the N pieces of route information to the destination and the average moving speed of the user; send a road condition information acquisition request to the server, the road condition information acquisition request carries N pieces of route information, and the road condition information acquisition request uses Instructing to acquire N pieces of road condition information; receiving N pieces of road condition information sent by the server in response to the road condition information acquisition request, wherein the N pieces of route information are in one-to-one correspondence with the N pieces of road condition information; according to The distance traveled by the N pieces of route information to the destination, the average moving speed of the user, and the N pieces of road condition information determine the time required for the N pieces of route information to reach the destination.

本发明实施例第二方面提供一种移动终端,包括:A second aspect of the embodiments of the present invention provides a mobile terminal, including:

获取单元,用于获取移动终端当前地理位置和目的地地理位置;An acquisition unit, configured to acquire the current geographic location of the mobile terminal and the geographic location of the destination;

导航单元,用于根据所述获取单元获取到的所述移动终端当前地理位置和目的地地理位置生成N条路线信息,所述N为大于1的整数;A navigation unit, configured to generate N pieces of route information according to the current geographic location of the mobile terminal and the geographic location of the destination acquired by the acquiring unit, where N is an integer greater than 1;

确定单元,用于根据所述移动终端中存储的路线推荐方式的被使用次数确定目标路线推荐方式;A determining unit, configured to determine a target route recommendation method according to the number of times the route recommendation method is used stored in the mobile terminal;

选取单元,用于从所述N条路线信息中选取与所述目标路线推荐方式相匹配的路线信息。A selecting unit, configured to select route information matching the target route recommendation mode from the N pieces of route information.

结合本发明第二方面,在第二方面的第一种可能的实现方式中,所述确定单元具体用于:With reference to the second aspect of the present invention, in a first possible implementation manner of the second aspect, the determining unit is specifically configured to:

获取所述移动终端中存储的所有路线推荐方式在预设时间阈值范围内被使用的次数;Obtain the number of times all route recommendation methods stored in the mobile terminal are used within a preset time threshold;

将所有所述路线推荐方式在预设时间阈值范围内被使用的次数最大的路线推荐方式作为所述目标路线推荐方式。The route recommendation method whose number of times all the route recommendation methods are used within the preset time threshold range is the largest as the target route recommendation method.

结合本发明第二方面,在第二方面的第二种可能的实现方式中,所述确定单元具体用于:With reference to the second aspect of the present invention, in a second possible implementation manner of the second aspect, the determining unit is specifically configured to:

获取所述移动终端中存储的所有路线推荐方式在预设时间段内被使用的次数,所述预设时间段与所述移动终端当前时间匹配;Acquire the number of times all route recommendation methods stored in the mobile terminal are used within a preset time period, and the preset time period matches the current time of the mobile terminal;

将所有所述路线推荐方式在所述预设时间段内被使用的次数最大的路线推荐方式作为所述目标路线推荐方式。The route recommendation method with the largest number of times of all the route recommendation methods used within the preset time period is taken as the target route recommendation method.

结合本发明第二方面、第二方面的第一种或第二种可能的实现方式,在第二方面的第三种可能的实现方式中,所述目标路线推荐方式为到达所述目的地所历经的距离最短的路线推荐方式,所述选取单元具体用于:In combination with the second aspect of the present invention, the first or the second possible implementation manner of the second aspect, in the third possible implementation manner of the second aspect, the target route recommendation method is the The route recommendation method with the shortest distance experienced, the selection unit is specifically used for:

获取所述N条路线信息到达所述目的地所历经的距离;Acquiring the distance traveled by the N pieces of route information to the destination;

将所述N条路线信息中到达所述目的地所历经的距离最短的路线信息作为所述路线信息。Taking the route information with the shortest distance to the destination among the N pieces of route information as the route information.

结合本发明第二方面、第二方面的第一种或第二种可能的实现方式,在第二方面的第四种可能的实现方式中,所述目标路线推荐方式为到达所述目的地用时最短的路线推荐方式,所述选取单元具体用于:In combination with the second aspect of the present invention, the first or second possible implementation of the second aspect, in the fourth possible implementation of the second aspect, the target route recommendation method is the time taken to reach the destination The shortest route recommendation method, the selection unit is specifically used for:

获取所述N条路线信息到达所述目的地所需要的时间;Acquiring the time required for the N pieces of route information to reach the destination;

将所述N条路线信息中到达所述目的地所需要的时间最短的路线信息作为所述路线信息。Taking the route information with the shortest time required to reach the destination among the N pieces of route information as the route information.

实施本发明实施例,具有如下有益效果:Implementing the embodiment of the present invention has the following beneficial effects:

本发明实施例中,移动终端根据所述移动终端当前地理位置和目的地地理位置生成N条路线信息;根据所述移动终端中存储的路线推荐方式的被使用次数确定目标路线推荐方式;从所述N条路线信息中选取与所述目标路线推荐方式相匹配的路线信息。相较于现有技术,从到达目的地的N条路线信息中选取与目标路线推荐方式相匹配的路线信息,可使得最后确定的路线信息尽可能解决用户想要的路线信息,进而提升室内导航应用的智能性和用户体验。In the embodiment of the present invention, the mobile terminal generates N pieces of route information according to the current geographic location of the mobile terminal and the destination geographic location; determines the target route recommendation method according to the number of times the route recommendation method stored in the mobile terminal is used; Select the route information that matches the target route recommendation method from the N pieces of route information. Compared with the existing technology, selecting the route information matching the target route recommendation method from the N route information to the destination can make the final determined route information solve the route information that the user wants as much as possible, thereby improving indoor navigation. App intelligence and user experience.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1为本发明实施例提供的路线推荐方法的第一实施例流程图;FIG. 1 is a flow chart of the first embodiment of the route recommendation method provided by the embodiment of the present invention;

图2为本发明实施例提供的路线推荐方法的第二实施例流程图;FIG. 2 is a flow chart of the second embodiment of the route recommendation method provided by the embodiment of the present invention;

图3为本发明实施例提供的移动终端的第一实施例结构示意图;FIG. 3 is a schematic structural diagram of a first embodiment of a mobile terminal provided by an embodiment of the present invention;

图4为本发明实施例提供的移动终端的第二实施例结构示意图。FIG. 4 is a schematic structural diagram of a second embodiment of a mobile terminal provided by an embodiment of the present invention.

具体实施方式Detailed ways

本发明实施例提供一种路线推荐方法,以期提升室内导航应用的智能性和用户体验。An embodiment of the present invention provides a method for recommending a route in order to improve the intelligence and user experience of indoor navigation applications.

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

以下分别进行详细说明。Each will be described in detail below.

本发明的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third" and "fourth" in the description and claims of the present invention and the drawings are used to distinguish different objects, rather than to describe a specific order . Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or apparatuses.

在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present invention. The occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiments.

本发明涉及的移动终端例如可以是下面中的任何一项或者全部,智能电话、可穿戴设备(个人中枢)、个人或移动多媒体播放器、个人数字助理(PDA)、膝上型计算机、平板电脑、智能本、掌上型计算机以及类似的个人电子设备,上述移动终端可以包括网络接口、处理器、存储器、音频处理电路、麦克风、摄像头、闪光灯,并且包括可以在内部或外部的音频放大器以及包括连接到音频放大器的扬声器单元。The mobile terminal to which the present invention relates can be, for example, any or all of the following, smart phones, wearable devices (personal hubs), personal or mobile multimedia players, personal digital assistants (PDAs), laptop computers, tablet computers , smartbooks, palmtop computers, and similar personal electronic devices, the above-mentioned mobile terminals may include network interfaces, processors, memory, audio processing circuits, microphones, cameras, flashlights, and include audio amplifiers that may be internal or external and include connection to the speaker unit of the audio amplifier.

本发明路线推荐方法的一个实施例。其中,一种路线推荐方法:获取移动终端当前地理位置和目的地地理位置;根据所述移动终端当前地理位置和目的地地理位置生成N条路线信息,所述N为大于1的整数;根据所述移动终端中存储的路线推荐方式的被使用次数确定目标路线推荐方式;从所述N条路线信息中选取与所述目标路线推荐方式相匹配的路线信息。An embodiment of the route recommendation method of the present invention. Among them, a route recommendation method: obtain the current geographic location of the mobile terminal and the geographic location of the destination; generate N pieces of route information according to the current geographic location of the mobile terminal and the geographic location of the destination, where N is an integer greater than 1; Determine the target route recommendation method according to the number of times the route recommendation method stored in the mobile terminal is used; select the route information matching the target route recommendation method from the N pieces of route information.

请参见图1,图1为本发明实施例提供的一种室内导航的方法的第一实施例流程图。其中,如图1所示,本发明的一个实施例提供的一种室内导航的方法可以包括步骤S101~S104:Please refer to FIG. 1 . FIG. 1 is a flowchart of a first embodiment of an indoor navigation method provided by an embodiment of the present invention. Wherein, as shown in FIG. 1, an indoor navigation method provided by an embodiment of the present invention may include steps S101-S104:

S101、移动终端获取移动终端当前地理位置和目的地地理位置。S101. The mobile terminal obtains the current geographic location of the mobile terminal and the geographic location of the destination.

本发明实施例中,移动终端通过全球定位系统获取移动终端当前地理位置。移动终端获取目的地地理位置的具体实施方式为:移动终端获取用户输入的目的地名称;移动终端向服务器发送地理位置获取请求,上述地理位置获取请求携带目的地名称,上述地理位置请求用于指示获取上述目的地地理位置;移动终端接收服务器响应上述地理位置获取请求而发送的上述目的地地理位置。其中,用户输入目的地名称的方式可以是用户通过室内导航搜索界面输入目的地名称;或者,用户可通过语音输入目的地名称;或者,用户可通过扫描二维码输入目的地名称等等。In the embodiment of the present invention, the mobile terminal acquires the current geographic location of the mobile terminal through the global positioning system. The specific implementation method for the mobile terminal to acquire the geographic location of the destination is as follows: the mobile terminal acquires the destination name input by the user; the mobile terminal sends a geographic location acquisition request to the server, the geographic location acquisition request carries the destination name, and the geographic location request is used to indicate Acquiring the geographic location of the destination; the mobile terminal receives the geographic location of the destination sent by the server in response to the request for obtaining the geographic location. Wherein, the way for the user to input the destination name may be that the user enters the destination name through the indoor navigation search interface; or, the user may input the destination name by voice; or, the user may input the destination name by scanning a QR code, etc.

S102、所述移动终端根据所述移动终端当前地理位置和目的地地理位置生成N条路线信息,所述N为大于1的整数。S102. The mobile terminal generates N pieces of route information according to the current geographic location of the mobile terminal and the geographic location of the destination, where N is an integer greater than 1.

S103、所述移动终端根据所述移动终端中存储的路线推荐方式的被使用次数确定目标路线推荐方式。S103. The mobile terminal determines a target route recommendation method according to the number of times the route recommendation method is used stored in the mobile terminal.

在一发明实施例中,移动终端根据移动终端中存储的路线推荐方式的被使用次数确定目标路线推荐方式的具体实施方式为:获取所述移动终端中存储的所有路线推荐方式在预设时间阈值范围内被使用的次数;将所有所述路线推荐方式在预设时间阈值范围内被使用的次数最大的路线推荐方式作为所述目标路线推荐方式。In an embodiment of the invention, the mobile terminal determines the target route recommendation method according to the number of times the route recommendation method stored in the mobile terminal is used. The number of times used within the range; the route recommendation method with the largest number of times of all the route recommendation methods used within the preset time threshold range is used as the target route recommendation method.

在另一发明实施例中,移动终端根据移动终端中存储的路线推荐方式的被使用次数确定目标路线推荐方式的具体实施方式为:获取所述移动终端中存储的所有路线推荐方式在预设时间段内被使用的次数,所述预设时间段与所述移动终端当前时间匹配;将所有所述路线推荐方式在所述预设时间段内被使用的次数最大的路线推荐方式作为所述目标路线推荐方式。In another embodiment of the invention, the mobile terminal determines the target route recommendation method according to the number of times the route recommendation method stored in the mobile terminal is used. The number of times used within a period, the preset time period matches the current time of the mobile terminal; the route recommendation method with the largest number of times of all the route recommendation methods used within the preset time period is used as the target Route recommendation method.

S104、所述移动终端从所述N条路线信息中选取与所述目标路线推荐方式相匹配的路线信息。S104. The mobile terminal selects route information matching the target route recommendation mode from the N pieces of route information.

在一发明实施例中,移动终端从上述N条路线信息中选取与上述目标路线推荐方式相匹配的路线信息的具体实施方式为:获取所述N条路线信息到达所述目的地所需要的时间;将所述N条路线信息中到达所述目的地所需要的时间最短的路线信息作为所述路线信息。其中,获取所述N条路线信息到达所述目的地所需要的时间的具体实施方式为:获取所述N条路线信息到达所述目的地所历经的距离和用户的平均移动速度;向服务器发送路况信息获取请求,所述路况信息获取请求携带N条路线信息,所述路况信息获取请求用于指示获取N条路线信息的路况信息;接收所述服务器响应所述路况信息获取请求而发送的N条路况信息,其中,所述N条路线信息与所述N条路况信息一一对应;根据所述N条路线信息到达所述目的地所历经的距离、所述用户的平均移动速度和所述N条路况信息确定所述N条路线信息到达所述目的地所需要的时间。In an embodiment of the invention, the specific implementation method for the mobile terminal to select the route information that matches the target route recommendation method from the above N pieces of route information is: to obtain the time required for the N pieces of route information to reach the destination ; Taking the route information with the shortest time required to reach the destination among the N pieces of route information as the route information. Wherein, the specific implementation manner of acquiring the time required for the N pieces of route information to reach the destination is: acquiring the distance experienced by the N pieces of route information to reach the destination and the average moving speed of the user; sending to the server A road condition information acquisition request, the road condition information acquisition request carries N pieces of route information, and the road condition information acquisition request is used to indicate to acquire the road condition information of N pieces of route information; receiving the N pieces of road condition information sent by the server in response to the road condition information acquisition request pieces of road condition information, wherein the N pieces of route information are in one-to-one correspondence with the N pieces of road condition information; according to the distance traveled by the N pieces of route information to the destination, the average moving speed of the user, and the The N pieces of road condition information determine the time required for the N pieces of route information to reach the destination.

在另一发明实施例中,移动终端从上述N条路线信息中选取与上述目标路线推荐方式相匹配的路线信息的具体实施方式为:获取所述N条路线信息到达所述目的地所历经的距离;将所述N条路线信息中到达所述目的地所历经的距离最短的路线信息作为所述路线信息。In another embodiment of the invention, the specific implementation manner in which the mobile terminal selects the route information that matches the above-mentioned target route recommendation method from the above N pieces of route information is as follows: acquire the elapsed time of the N pieces of route information to reach the destination Distance: use the route information with the shortest distance to the destination among the N pieces of route information as the route information.

可以看出,本发明实施例中,移动终端根据所述移动终端当前地理位置和目的地地理位置生成N条路线信息;根据所述移动终端中存储的路线推荐方式的被使用次数确定目标路线推荐方式;从所述N条路线信息中选取与所述目标路线推荐方式相匹配的路线信息。相较于现有技术,从到达目的地的N条路线信息中选取与目标路线推荐方式相匹配的路线信息,可使得最后确定的路线信息尽可能解决用户想要的路线信息,进而提升室内导航应用的智能性和用户体验。It can be seen that, in the embodiment of the present invention, the mobile terminal generates N pieces of route information according to the current geographic location of the mobile terminal and the destination geographic location; and determines the target route recommendation according to the number of times the route recommendation method stored in the mobile terminal is used. Mode: select route information matching the target route recommendation mode from the N pieces of route information. Compared with the existing technology, selecting the route information matching the target route recommendation method from the N route information to the destination can make the final determined route information solve the route information that the user wants as much as possible, thereby improving indoor navigation. App intelligence and user experience.

请参见图2,图2为本发明实施例提供的一种室内导航的方法的第二实施例流程图。其中,如图2所示,本发明的一个实施例提供的一种室内导航的方法可以包括步骤S201~S206:Please refer to FIG. 2 . FIG. 2 is a flowchart of a second embodiment of an indoor navigation method provided by an embodiment of the present invention. Wherein, as shown in FIG. 2, an indoor navigation method provided by an embodiment of the present invention may include steps S201-S206:

S201、移动终端获取移动终端当前地理位置和目的地地理位置。S201. The mobile terminal obtains the current geographic location of the mobile terminal and the geographic location of the destination.

本发明实施例中,移动终端通过全球定位系统获取移动终端当前地理位置。移动终端获取目的地地理位置的具体实施方式为:移动终端获取用户输入的目的地名称;移动终端向服务器发送地理位置获取请求,上述地理位置获取请求携带目的地名称,上述地理位置请求用于指示获取上述目的地地理位置;移动终端接收服务器响应上述地理位置获取请求而发送的上述目的地地理位置。其中,用户输入目的地名称的方式可以是用户通过室内导航搜索界面输入目的地名称;或者,用户可通过语音输入目的地名称;或者,用户可通过扫描二维码输入目的地名称等等。In the embodiment of the present invention, the mobile terminal acquires the current geographic location of the mobile terminal through the global positioning system. The specific implementation method for the mobile terminal to acquire the geographic location of the destination is as follows: the mobile terminal acquires the destination name input by the user; the mobile terminal sends a geographic location acquisition request to the server, the geographic location acquisition request carries the destination name, and the geographic location request is used to indicate Acquiring the geographic location of the destination; the mobile terminal receives the geographic location of the destination sent by the server in response to the request for acquiring the geographic location. Wherein, the way for the user to input the destination name may be that the user enters the destination name through the indoor navigation search interface; or, the user may input the destination name by voice; or, the user may input the destination name by scanning a QR code, etc.

S202、所述移动终端根据所述移动终端当前地理位置和目的地地理位置生成N条路线信息,所述N为大于1的整数。S202. The mobile terminal generates N pieces of route information according to the current geographic location of the mobile terminal and the geographic location of the destination, where N is an integer greater than 1.

S203、所述移动终端获取所述移动终端中存储的所有路线推荐方式在预设时间阈值范围内被使用的次数。S203. The mobile terminal acquires the number of times all route recommendation methods stored in the mobile terminal are used within a preset time threshold.

其中,移动终端中存储的所有路线推荐包括到达所述目的地用时最短的路线推荐方式和到达所述目的地所历经的距离最短的路线推荐方式等等。上述预设时间范围例如可以是1个月、2个月、3个月、6个月、10个月或是其他值。Wherein, all the recommended routes stored in the mobile terminal include the recommended route with the shortest time to reach the destination, the recommended route with the shortest distance to the destination, and so on. The aforementioned preset time range may be, for example, 1 month, 2 months, 3 months, 6 months, 10 months or other values.

S204、所述移动终端将所有所述路线推荐方式在预设时间阈值范围内被使用的次数最大的路线推荐方式作为所述目标路线推荐方式。S204. The mobile terminal uses the route recommendation method with the largest number of times of all the route recommendation methods used within the preset time threshold range as the target route recommendation method.

比如,所以路线推荐方式包括路线推荐方式1和路线推荐方式2,其中路线推荐方式1在预设时间阈值范围内被使用的次数为10次,路线推荐方式2在预设时间阈值范围内被使用的次数为15次,则路线推荐方式2为目标路线推荐方式。For example, all route recommendation methods include route recommendation method 1 and route recommendation method 2, wherein route recommendation method 1 is used 10 times within the preset time threshold range, and route recommendation method 2 is used within the preset time threshold range The number of times is 15, then the route recommendation method 2 is the target route recommendation method.

S205、若所述目标路线推荐方式为到达所述目的地所历经的距离最短的路线推荐方式,所述移动终端获取所述N条路线信息到达所述目的地所历经的距离。S205. If the target route recommendation mode is the route recommendation mode with the shortest distance traveled to the destination, the mobile terminal acquires the distance traveled by the N pieces of route information to the destination.

S206、所述移动终端将所述N条路线信息中到达所述目的地所历经的距离最短的路线信息作为所述路线信息。S206. The mobile terminal takes the route information with the shortest distance to the destination among the N pieces of route information as the route information.

可选的,步骤S203和步骤S204可由步骤:移动终端获取所述移动终端中存储的所有路线推荐方式在预设时间段内被使用的次数,所述预设时间段与所述移动终端当前时间匹配;移动终端将所有所述路线推荐方式在预设时间段内被使用的次数最大的路线推荐方式作为所述目标路线推荐方式替换。具体地,上述预设时间与上述移动终端当前时间匹配,包括:上述预设时间与移动终端当前时间部分匹配。举例来说,上述预设时间段为17:00~18:00,移动终端当前时间为2015年10月26号17:30,由于移动终端当前时间的时间点17:30在预设时间段17:00~18:00范围内,则上述预设时间段与上述移动终端当前时间匹配。Optionally, step S203 and step S204 may be performed by the step: the mobile terminal acquires the number of times that all route recommendation methods stored in the mobile terminal are used within a preset time period, and the preset time period is different from the current time of the mobile terminal Matching: the mobile terminal replaces the route recommendation method with the largest number of times of all the route recommendation methods used within a preset time period as the target route recommendation method. Specifically, matching the preset time with the current time of the mobile terminal includes: partially matching the preset time with the current time of the mobile terminal. For example, the above-mentioned preset time period is 17:00-18:00, and the current time of the mobile terminal is 17:30 on October 26, 2015. :00-18:00, the above-mentioned preset time period matches the current time of the above-mentioned mobile terminal.

可选的,若上述目标路线推荐方式为到达所述目的地用时最短的路线推荐方式,步骤S205和步骤S206可由步骤:移动终端获取所述N条路线信息到达所述目的地所需要的时间;移动终端将所述N条路线信息中到达所述目的地所需要的时间最短的路线信息作为所述路线信息替换。Optionally, if the above-mentioned target route recommendation method is the route recommendation method with the shortest time to reach the destination, steps S205 and S206 may be performed by the steps: the mobile terminal obtains the time required for the N pieces of route information to reach the destination; The mobile terminal replaces the route information with the shortest time required to reach the destination among the N pieces of route information as the route information.

具体地,移动终端获取所述N条路线信息到达所述目的地所需要的时间的具体实施方式为:所述移动终端获取所述N条路线信息到达所述目的地所历经的距离和用户的平均移动速度;所述移动终端向服务器发送路况信息获取请求,所述路况信息获取请求携带N条路线信息,所述路况信息获取请求用于指示获取N条路线信息的路况信息;所述移动终端接收所述服务器响应所述路况信息获取请求而发送的N条路况信息,其中,所述N条路线信息与所述N条路况信息一一对应;所述移动终端根据所述N条路线信息到达所述目的地所历经的距离、所述用户的平均移动速度和所述N条路况信息确定所述N条路线信息到达所述目的地所需要的时间。Specifically, the specific implementation manner of the time required for the mobile terminal to obtain the N pieces of route information to reach the destination is: the distance traveled by the mobile terminal to obtain the N pieces of route information to reach the destination and the user's Average moving speed; the mobile terminal sends a road condition information acquisition request to the server, the road condition information acquisition request carries N pieces of route information, and the road condition information acquisition request is used to indicate the road condition information for obtaining N pieces of route information; the mobile terminal receiving N pieces of road condition information sent by the server in response to the road condition information acquisition request, wherein the N pieces of route information are in one-to-one correspondence with the N pieces of road condition information; the mobile terminal arrives according to the N pieces of route information The distance traveled by the destination, the average moving speed of the user and the N pieces of road condition information determine the time required for the N pieces of route information to reach the destination.

举例来说,移动终端当前地理位置为车库,目的地为A出口,N条路线信息包括第一路线信息和第二路线信息,第一路线信息对应的路况信息为第一图片,第一图片为第一路线信息中移动终端从当前位置到目的地位置的路线图片,第二路线信息对应的路况信息为第二图片,第二图片为第二路线信息中移动终端从当前位置到目的地位置的路线图片。移动终端解析第一图片和第二图片以得到第一路线和第二路线移动终端从当前位置到目的地位置的路上有多少车辆,每个车辆出去A出口需要的预设平均时间。若第一路线对应的距离为50米,第一路线对应的车辆为20辆,第二路线对应的距离为100米,第一路线对应的车辆为5辆,用户的平均移动速度为5米/s,每个车辆出去A出口需要的预设平均时间为1min。所述移动终端根据所述N条路线信息到达所述目的地所历经的距离、所述用户的平均移动速度和所述N条路况信息确定所述N条路线信息到达所述目的地所需要的时间具体有:第一路线需要的时间为:50米/5米/s+20*1min=20min又10s,第一路线需要的时间为:100米/5米/s+5*1min=5min又20s。For example, the current geographic location of the mobile terminal is the garage, the destination is Exit A, and the N pieces of route information include the first route information and the second route information, the traffic condition information corresponding to the first route information is the first picture, and the first picture is The picture of the route of the mobile terminal from the current position to the destination in the first route information, the road condition information corresponding to the second route information is the second picture, and the second picture is the picture of the route of the mobile terminal from the current position to the destination in the second route information . The mobile terminal parses the first picture and the second picture to obtain how many vehicles there are on the way from the current position to the destination position of the mobile terminal of the first route and the second route, and the preset average time required for each vehicle to go out of Exit A. If the distance corresponding to the first route is 50 meters, the number of vehicles corresponding to the first route is 20, the distance corresponding to the second route is 100 meters, the number of vehicles corresponding to the first route is 5, and the average moving speed of the user is 5 meters/ s, the preset average time required for each vehicle to go out of Exit A is 1min. The mobile terminal determines the distance required for the N pieces of route information to reach the destination according to the distance traveled by the N pieces of route information, the average moving speed of the user, and the N pieces of road condition information. The specific time is: the time required for the first route is: 50m/5m/s+20*1min=20min and 10s, the time required for the first route is: 100m/5m/s+5*1min=5min and 20s.

可以看出,本发明实施例中,移动终端根据所述移动终端当前地理位置和目的地地理位置生成N条路线信息;根据所述移动终端中存储的路线推荐方式的被使用次数确定目标路线推荐方式;从所述N条路线信息中选取与所述目标路线推荐方式相匹配的路线信息。相较于现有技术,从到达目的地的N条路线信息中选取与目标路线推荐方式相匹配的路线信息,可使得最后确定的路线信息尽可能解决用户想要的路线信息,进而提升室内导航应用的智能性和用户体验。It can be seen that, in the embodiment of the present invention, the mobile terminal generates N pieces of route information according to the current geographic location of the mobile terminal and the destination geographic location; and determines the target route recommendation according to the number of times the route recommendation method stored in the mobile terminal is used. Mode: select route information matching the target route recommendation mode from the N pieces of route information. Compared with the existing technology, selecting the route information matching the target route recommendation method from the N route information to the destination can make the final determined route information solve the route information that the user wants as much as possible, thereby improving indoor navigation. App intelligence and user experience.

请参见图3,图3为本发明实施例提供的移动终端的第一实施例结构示意图,该移动终端包括:Please refer to FIG. 3. FIG. 3 is a schematic structural diagram of a first embodiment of a mobile terminal provided by an embodiment of the present invention. The mobile terminal includes:

获取单元301,用于获取移动终端当前地理位置和目的地地理位置。The acquiring unit 301 is configured to acquire the current geographic location and the destination geographic location of the mobile terminal.

导航单元302,用于根据所述获取单元获取到的所述移动终端当前地理位置和目的地地理位置生成N条路线信息,所述N为大于1的整数。The navigation unit 302 is configured to generate N pieces of route information according to the current geographic location of the mobile terminal and the geographic location of the destination acquired by the acquiring unit, where N is an integer greater than 1.

确定单元303,用于根据所述移动终端中存储的路线推荐方式的被使用次数确定目标路线推荐方式。The determining unit 303 is configured to determine a target route recommendation method according to the number of times the route recommendation method is used stored in the mobile terminal.

选取单元304,用于从所述N条路线信息中选取与所述目标路线推荐方式相匹配的路线信息。The selecting unit 304 is configured to select route information matching the target route recommendation mode from the N pieces of route information.

可选的,所述确定单元303具体用于:获取所述移动终端中存储的所有所述路线推荐方式在预设时间阈值范围内被使用的次数;将所有所述路线推荐方式在预设时间阈值范围内被使用的次数最大的路线推荐方式作为所述目标路线推荐方式。Optionally, the determining unit 303 is specifically configured to: obtain the number of times all the route recommendation methods stored in the mobile terminal are used within a preset time threshold range; The route recommendation method that has been used the largest number of times within the threshold range is used as the target route recommendation method.

可选的,所述确定单元303具体用于:获取所述移动终端中存储的所有所述路线推荐方式在预设时间段内被使用的次数,所述预设时间段与所述移动终端当前时间匹配;将所有所述路线推荐方式在所述预设时间段内被使用的次数最大的路线推荐方式作为所述目标路线推荐方式。Optionally, the determining unit 303 is specifically configured to: obtain the number of times that all the route recommendation methods stored in the mobile terminal are used within a preset time period, and the preset time period is different from the current time period of the mobile terminal. Time matching: using the route recommendation method with the largest number of times of all the route recommendation methods used within the preset time period as the target route recommendation method.

可选的,所述目标路线推荐方式为到达所述目的地所历经的距离最短的路线推荐方式,所述选取单元304具体用于:获取所述N条路线信息到达所述目的地所历经的距离;将所述N条路线信息中到达所述目的地所历经的距离最短的路线信息作为所述路线信息。Optionally, the target route recommendation method is a route recommendation method with the shortest distance traveled to reach the destination, and the selecting unit 304 is specifically configured to: acquire the N pieces of route information to reach the destination Distance: use the route information with the shortest distance to the destination among the N pieces of route information as the route information.

可选的,所述目标路线推荐方式为到达所述目的地用时最短的路线推荐方式,所述选取单元304具体用于:获取所述N条路线信息到达所述目的地所需要的时间;将所述N条路线信息中到达所述目的地所需要的时间最短的路线信息作为所述路线信息。Optionally, the target route recommendation method is the route recommendation method with the shortest time to reach the destination, and the selection unit 304 is specifically configured to: acquire the time required for the N pieces of route information to reach the destination; The route information with the shortest time required to reach the destination among the N pieces of route information is used as the route information.

可以理解的是,本实施例的移动终端的各功能模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。移动终端中的部分或全部功能模块可由硬件电路实现,移动终端中的部分或全部功能模块也可由处理器(如数字信号处理器)通过完成执行代码或指令来实现。It can be understood that the functions of each functional module of the mobile terminal in this embodiment can be specifically implemented according to the method in the above method embodiment, and the specific implementation process can refer to the relevant description of the above method embodiment, and will not be repeated here. Part or all of the functional modules in the mobile terminal can be implemented by hardware circuits, and some or all of the functional modules in the mobile terminal can also be implemented by a processor (such as a digital signal processor) by executing code or instructions.

可以看出,本发明实施例中,移动终端根据所述移动终端当前地理位置和目的地地理位置生成N条路线信息;根据所述移动终端中存储的路线推荐方式的被使用次数确定目标路线推荐方式;从所述N条路线信息中选取与所述目标路线推荐方式相匹配的路线信息。相较于现有技术,从到达目的地的N条路线信息中选取与目标路线推荐方式相匹配的路线信息,可使得最后确定的路线信息尽可能解决用户想要的路线信息,进而提升室内导航应用的智能性和用户体验。It can be seen that, in the embodiment of the present invention, the mobile terminal generates N pieces of route information according to the current geographic location of the mobile terminal and the destination geographic location; and determines the target route recommendation according to the number of times the route recommendation method stored in the mobile terminal is used. Mode: select route information matching the target route recommendation mode from the N pieces of route information. Compared with the existing technology, selecting the route information matching the target route recommendation method from the N route information to the destination can make the final determined route information solve the route information that the user wants as much as possible, thereby improving indoor navigation. App intelligence and user experience.

请参见图4,图4为本发明实施例提供的移动终端的第二实施例结构示意图,可包括:处理器401和存储器402;其中,处理器401和存储器402通过总线403耦合连接。其中,所述处理器401可通过调用所述存储器401中的代码或指令以执行如下步骤:Please refer to FIG. 4 , which is a schematic structural diagram of a second embodiment of a mobile terminal provided by an embodiment of the present invention, which may include: a processor 401 and a memory 402 ; wherein, the processor 401 and the memory 402 are coupled and connected through a bus 403 . Wherein, the processor 401 can execute the following steps by calling codes or instructions in the memory 401:

获取移动终端当前地理位置和目的地地理位置;Obtain the current geographic location of the mobile terminal and the geographic location of the destination;

根据所述移动终端当前地理位置和目的地地理位置生成N条路线信息,所述N为大于1的整数;Generate N pieces of route information according to the current geographic location of the mobile terminal and the geographic location of the destination, where N is an integer greater than 1;

根据所述移动终端中存储的路线推荐方式的被使用次数确定目标路线推荐方式;determining the target route recommendation method according to the number of times the route recommendation method stored in the mobile terminal is used;

从所述N条路线信息中选取与所述目标路线推荐方式相匹配的路线信息。Selecting route information matching the target route recommendation mode from the N pieces of route information.

可选的,在一些可选的实施例中,处理器401具体用于:Optionally, in some optional embodiments, the processor 401 is specifically configured to:

获取所述移动终端中存储的所有所述路线推荐方式在预设时间阈值范围内被使用的次数;Obtaining the number of times all the route recommendation methods stored in the mobile terminal are used within a preset time threshold;

将所有所述路线推荐方式在预设时间阈值范围内被使用的次数最大的路线推荐方式作为所述目标路线推荐方式。The route recommendation method whose number of times all the route recommendation methods are used within the preset time threshold range is the largest as the target route recommendation method.

可选的,在一些可选的实施例中,处理器401具体用于:Optionally, in some optional embodiments, the processor 401 is specifically configured to:

获取所述移动终端中存储的所有所述路线推荐方式在预设时间段内被使用的次数,所述预设时间段与所述移动终端当前时间匹配;Obtaining the number of times all the route recommendation methods stored in the mobile terminal are used within a preset time period, the preset time period matching the current time of the mobile terminal;

将所有所述路线推荐方式在所述预设时间段内被使用的次数最大的路线推荐方式作为所述目标路线推荐方式。The route recommendation method with the largest number of times of all the route recommendation methods used within the preset time period is taken as the target route recommendation method.

可选的,在一些可选的实施例中,所述目标路线推荐方式为到达所述目的地所历经的距离最短的路线推荐方式,处理器401具体用于:Optionally, in some optional embodiments, the target route recommendation mode is the route recommendation mode with the shortest distance to the destination, and the processor 401 is specifically configured to:

获取所述N条路线信息到达所述目的地所历经的距离;Acquiring the distance traveled by the N pieces of route information to the destination;

将所述N条路线信息中到达所述目的地所历经的距离最短的路线信息作为所述路线信息。Taking the route information with the shortest distance to the destination among the N pieces of route information as the route information.

可选的,在一些可选的实施例中,所述目标路线推荐方式为到达所述目的地用时最短的路线推荐方式,处理器401具体用于:Optionally, in some optional embodiments, the target route recommendation mode is the route recommendation mode with the shortest time to reach the destination, and the processor 401 is specifically configured to:

获取所述N条路线信息到达所述目的地所需要的时间;Acquiring the time required for the N pieces of route information to reach the destination;

将所述N条路线信息中到达所述目的地所需要的时间最短的路线信息作为所述路线信息。Taking the route information with the shortest time required to reach the destination among the N pieces of route information as the route information.

可以理解的是,本实施例的移动终端的各功能模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。移动终端中的部分或全部功能模块可由硬件电路实现,移动终端中的部分或全部功能模块也可由处理器(如数字信号处理器)通过完成执行代码或指令来实现。It can be understood that the functions of each functional module of the mobile terminal in this embodiment can be specifically implemented according to the method in the above method embodiment, and the specific implementation process can refer to the relevant description of the above method embodiment, and will not be repeated here. Part or all of the functional modules in the mobile terminal can be implemented by hardware circuits, and some or all of the functional modules in the mobile terminal can also be implemented by a processor (such as a digital signal processor) by executing code or instructions.

可以看出,本发明实施例中,移动终端根据所述移动终端当前地理位置和目的地地理位置生成N条路线信息;根据所述移动终端中存储的路线推荐方式的被使用次数确定目标路线推荐方式;从所述N条路线信息中选取与所述目标路线推荐方式相匹配的路线信息。相较于现有技术,从到达目的地的N条路线信息中选取与目标路线推荐方式相匹配的路线信息,可使得最后确定的路线信息尽可能解决用户想要的路线信息,进而提升室内导航应用的智能性和用户体验。It can be seen that, in the embodiment of the present invention, the mobile terminal generates N pieces of route information according to the current geographic location of the mobile terminal and the destination geographic location; and determines the target route recommendation according to the number of times the route recommendation method stored in the mobile terminal is used. Mode: select route information matching the target route recommendation mode from the N pieces of route information. Compared with the existing technology, selecting the route information matching the target route recommendation method from the N route information to the destination can make the final determined route information solve the route information that the user wants as much as possible, thereby improving indoor navigation. App intelligence and user experience.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. Because of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or can be Integrate into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes. .

以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still understand the foregoing The technical solutions recorded in each embodiment are modified, or some of the technical features are replaced equivalently; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1.一种路线推荐方法,其特征在于,包括:1. A route recommendation method, characterized in that, comprising: 获取移动终端当前地理位置和目的地地理位置;Obtain the current geographic location of the mobile terminal and the geographic location of the destination; 根据所述移动终端当前地理位置和目的地地理位置生成N条路线信息,所述N为大于1的整数;Generate N pieces of route information according to the current geographic location of the mobile terminal and the geographic location of the destination, where N is an integer greater than 1; 根据所述移动终端中存储的路线推荐方式的被使用次数确定目标路线推荐方式,所述目标路线推荐方式包括到达所述目的地用时最短的路线推荐方式和到达所述目的地所历经的距离最短的路线推荐方式;所述根据所述移动终端中存储的路线推荐方式的被使用次数确定目标路线推荐方式,包括:获取所述移动终端中存储的所有路线推荐方式在预设时间段内被使用的次数,所述预设时间段与所述移动终端当前时间匹配;将所有所述路线推荐方式在所述预设时间段内被使用的次数最大的路线推荐方式作为所述目标路线推荐方式;Determine the target route recommendation method according to the number of times the route recommendation method stored in the mobile terminal is used, and the target route recommendation method includes the route recommendation method with the shortest time to reach the destination and the shortest distance to the destination. The route recommendation method; the determination of the target route recommendation method according to the number of times the route recommendation method stored in the mobile terminal is used includes: obtaining all the route recommendation methods stored in the mobile terminal being used within a preset time period The number of times, the preset time period matches the current time of the mobile terminal; the route recommendation method with the largest number of times of all the route recommendation methods used within the preset time period is used as the target route recommendation method; 从所述N条路线信息中选取与所述目标路线推荐方式相匹配的路线信息。Selecting route information matching the target route recommendation mode from the N pieces of route information. 2.根据权利要求1所述的方法,其特征在于,所述根据所述移动终端中存储的路线推荐方式的被使用次数确定目标路线推荐方式,还包括:2. The method according to claim 1, wherein the determining the target route recommendation method according to the number of times the route recommendation method stored in the mobile terminal is used further comprises: 获取所述移动终端中存储的所有路线推荐方式在预设时间阈值范围内被使用的次数;Obtain the number of times all route recommendation methods stored in the mobile terminal are used within a preset time threshold; 将所有所述路线推荐方式在预设时间阈值范围内被使用的次数最大的路线推荐方式作为所述目标路线推荐方式。The route recommendation method whose number of times all the route recommendation methods are used within the preset time threshold range is the largest as the target route recommendation method. 3.根据权利要求1~2任一项所述的方法,其特征在于,在所述目标路线推荐方式为到达所述目的地所历经的距离最短的路线推荐方式时,所述从所述N条路线信息中选取与所述目标路线推荐方式相匹配的路线信息,包括:3. The method according to any one of claims 1-2, wherein when the target route recommendation method is the route recommendation method with the shortest distance to the destination, the N Select the route information that matches the target route recommendation method from the route information, including: 获取所述N条路线信息到达所述目的地所历经的距离;Acquiring the distance traveled by the N pieces of route information to the destination; 将所述N条路线信息中到达所述目的地所历经的距离最短的路线信息作为所述路线信息。Taking the route information with the shortest distance to the destination among the N pieces of route information as the route information. 4.根据权利要求1~2任一项所述的方法,其特征在于,在所述目标路线推荐方式为到达所述目的地用时最短的路线推荐方式时,所述从所述N条路线信息中选取与所述目标路线推荐方式相匹配的路线信息,包括:4. The method according to any one of claims 1 to 2, wherein when the target route recommendation mode is the route recommendation mode with the shortest time to reach the destination, the information from the N pieces of route information Select route information that matches the target route recommendation method, including: 获取所述N条路线信息到达所述目的地所需要的时间;Acquiring the time required for the N pieces of route information to reach the destination; 将所述N条路线信息中到达所述目的地所需要的时间最短的路线信息作为所述路线信息。Taking the route information with the shortest time required to reach the destination among the N pieces of route information as the route information. 5.一种移动终端,其特征在于,包括:5. A mobile terminal, characterized in that, comprising: 获取单元,用于获取移动终端当前地理位置和目的地地理位置;An acquisition unit, configured to acquire the current geographic location of the mobile terminal and the geographic location of the destination; 导航单元,用于根据所述获取单元获取到的所述移动终端当前地理位置和目的地地理位置生成N条路线信息,所述N为大于1的整数;A navigation unit, configured to generate N pieces of route information according to the current geographic location of the mobile terminal and the geographic location of the destination acquired by the acquiring unit, where N is an integer greater than 1; 确定单元,用于根据所述移动终端中存储的路线推荐方式的被使用次数确定目标路线推荐方式;其中,所述目标路线推荐方式包括到达所述目的地用时最短的路线推荐方式和到达所述目的地所历经的距离最短的路线推荐方式;所述确定单元具体用于:获取所述移动终端中存储的所有路线推荐方式在预设时间段内被使用的次数,所述预设时间段与所述移动终端当前时间匹配;将所有所述路线推荐方式在所述预设时间段内被使用的次数最大的路线推荐方式作为所述目标路线推荐方式;A determining unit, configured to determine a target route recommendation method according to the number of times the route recommendation method stored in the mobile terminal is used; wherein, the target route recommendation method includes the route recommendation method with the shortest time to reach the destination and the route recommendation method to reach the destination. The route recommendation method with the shortest distance traveled by the destination; the determining unit is specifically configured to: obtain the number of times all route recommendation methods stored in the mobile terminal are used within a preset time period, and the preset time period is related to Matching the current time of the mobile terminal; using the route recommendation method with the largest number of times of all the route recommendation methods used within the preset time period as the target route recommendation method; 选取单元,用于从所述N条路线信息中选取与所述目标路线推荐方式相匹配的路线信息。A selecting unit, configured to select route information matching the target route recommendation mode from the N pieces of route information. 6.根据权利要求5所述的移动终端,其特征在于,所述确定单元还具体用于:6. The mobile terminal according to claim 5, wherein the determining unit is further specifically configured to: 获取所述移动终端中存储的所有路线推荐方式在预设时间阈值范围内被使用的次数;Obtain the number of times all route recommendation methods stored in the mobile terminal are used within a preset time threshold; 将所有所述路线推荐方式在预设时间阈值范围内被使用的次数最大的路线推荐方式作为所述目标路线推荐方式。The route recommendation method whose number of times all the route recommendation methods are used within the preset time threshold range is the largest as the target route recommendation method. 7.根据权利要求5~6任一项所述的移动终端,其特征在于,当所述目标路线推荐方式为到达所述目的地所历经的距离最短的路线推荐方式时,所述选取单元具体用于:7. The mobile terminal according to any one of claims 5-6, wherein when the target route recommendation method is the route recommendation method with the shortest distance traveled to the destination, the selection unit specifically Used for: 获取所述N条路线信息到达所述目的地所历经的距离;Acquiring the distance traveled by the N pieces of route information to the destination; 将所述N条路线信息中到达所述目的地所历经的距离最短的路线信息作为所述路线信息。Taking the route information with the shortest distance to the destination among the N pieces of route information as the route information. 8.根据权利要求5~6任一项所述的移动终端,其特征在于,当所述目标路线推荐方式为到达所述目的地用时最短的路线推荐方式时,所述选取单元具体用于:8. The mobile terminal according to any one of claims 5-6, wherein when the target route recommendation method is the route recommendation method with the shortest time to reach the destination, the selecting unit is specifically configured to: 获取所述N条路线信息到达所述目的地所需要的时间;Acquiring the time required for the N pieces of route information to reach the destination; 将所述N条路线信息中到达所述目的地所需要的时间最短的路线信息作为所述路线信息。Taking the route information with the shortest time required to reach the destination among the N pieces of route information as the route information.
CN201510736190.8A 2015-10-31 2015-10-31 A kind of route recommendation method and mobile terminal Expired - Fee Related CN105491517B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510736190.8A CN105491517B (en) 2015-10-31 2015-10-31 A kind of route recommendation method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510736190.8A CN105491517B (en) 2015-10-31 2015-10-31 A kind of route recommendation method and mobile terminal

Publications (2)

Publication Number Publication Date
CN105491517A CN105491517A (en) 2016-04-13
CN105491517B true CN105491517B (en) 2018-12-11

Family

ID=55678164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510736190.8A Expired - Fee Related CN105491517B (en) 2015-10-31 2015-10-31 A kind of route recommendation method and mobile terminal

Country Status (1)

Country Link
CN (1) CN105491517B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105973255A (en) * 2016-06-17 2016-09-28 北京奇虎科技有限公司 Route recommendation method and terminal
CN106092116B (en) * 2016-06-30 2019-07-26 维沃移动通信有限公司 An optimal driving route generation and navigation method and device based on navigation terminal
CN107577679A (en) * 2016-07-04 2018-01-12 西安中兴新软件有限责任公司 Recommend method and device in a kind of destination
CN108592938A (en) * 2018-06-11 2018-09-28 百度在线网络技术(北京)有限公司 Navigation route planning method, device and storage medium
CN110737743A (en) * 2019-10-11 2020-01-31 成都乐动信息技术有限公司 route recommendation system and method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4504441B2 (en) * 2008-06-27 2010-07-14 株式会社トヨタIt開発センター Route search apparatus and route search method
US9008859B2 (en) * 2010-12-22 2015-04-14 Microsoft Technology Licensing, Llc Navigation instructions using low-bandwidth signaling
CN104596529B (en) * 2014-05-07 2019-01-11 腾讯科技(深圳)有限公司 A kind of air navigation aid and device
CN104596499B (en) * 2014-06-27 2019-07-05 腾讯科技(深圳)有限公司 It is a kind of that the methods, devices and systems to navigate are obtained by image

Also Published As

Publication number Publication date
CN105491517A (en) 2016-04-13

Similar Documents

Publication Publication Date Title
CN112868004B (en) Resource recommendation method and device, electronic equipment and storage medium
CN105491517B (en) A kind of route recommendation method and mobile terminal
CN105701254B (en) Information processing method and device for information processing
CN109639636B (en) Service data forwarding method, service data processing method, service data forwarding device, service data processing device and electronic equipment
WO2017177630A1 (en) Method and device for recommending personalized information
CN104967647A (en) Message push method and apparatus
WO2016150170A1 (en) Recommendation method, device and equipment and computer storage medium
CN105184612B (en) A kind of route recommendation method and user terminal
CN104765793B (en) A kind of software recommendation method and server
CN110298269A (en) Scene image localization method, device, equipment and readable storage medium storing program for executing
CN107612974B (en) Information recommendation method and device, mobile terminal and storage medium
CN106383628A (en) A lock screen picture display method and terminal
CN105444765A (en) Path generation method and user terminal
CN110020150B (en) Information recommendation method and device
CN105227604A (en) A kind of method, server and system transmitting share-car information
CN105139686A (en) Parking stall navigation method and mobile terminal
CN106875279A (en) Information-pushing method and device
CN108259674A (en) Electronic equipment, information pushing method and related product
CN105115509A (en) Indoor navigation method and mobile terminal
WO2017024684A1 (en) User behavioral intent acquisition method, device and equipment, and computer storage medium
CN108536695B (en) Aggregation method and device of geographic position information points
CN103344247B (en) The air navigation aid of multi-client and device
CN105843865B (en) Media file playback method and device
US20150347515A1 (en) Rule-based, preemptive download of digital media assets
CN104618555A (en) A method, device and system for labeling user information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20181211

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载