技术领域Technical field
本申请属于通信技术领域,具体涉及一种导航路线显示方法、装置、设备及介质。The present application belongs to the field of communication technology, and specifically relates to a navigation route display method, device, equipment and medium.
背景技术Background technique
目前,用户在利用电子设备进行导航时,通常是先确定目的地,然后在导航类应用程序(Application,APP)中输入目的地,使导航类APP基于该目的地显示导航路线,过程比较繁琐。At present, when users use electronic devices to navigate, they usually first determine the destination, and then enter the destination in a navigation application (Application, APP), so that the navigation APP displays the navigation route based on the destination, which is a cumbersome process.
发明内容Contents of the invention
本申请实施例的目的是提供一种导航路线显示方法、装置、设备及介质,能够解决用户通过导航类APP显示导航路线时过程繁琐的问题。The purpose of the embodiments of the present application is to provide a navigation route display method, device, equipment and medium that can solve the problem of cumbersome processes when users display navigation routes through navigation APPs.
第一方面,本申请实施例提供了一种导航路线显示方法,该方法包括:In a first aspect, embodiments of the present application provide a navigation route display method, which method includes:
在接收到对第一标识与N个第二标识的第一输入的情况下,从第一应用程序中获取位置信息,第一标识为第一应用程序的应用标识,N个第二标识为N个第二应用程序的应用标识,N为正整数;When receiving the first input of the first identifier and N second identifiers, obtain location information from the first application program, the first identifier is the application identifier of the first application program, and the N second identifiers are N The application identifier of a second application, N is a positive integer;
显示目标导航路线,目标导航路线由N个第二应用程序基于位置信息规划得到。Display a target navigation route, which is planned by N second applications based on location information.
第二方面,本申请实施例提供了一种导航路线显示装置,该装置包括:In a second aspect, embodiments of the present application provide a navigation route display device, which includes:
获取模块,用于在接收到对第一标识与N个第二标识的第一输入的情况下,从第一应用程序中获取位置信息,第一标识为第一应用程序的应用标识,N个第二标识为N个第二应用程序的应用标识,N为正整数;An acquisition module, configured to acquire location information from the first application program upon receiving a first input of a first identifier and N second identifiers, where the first identifier is an application identifier of the first application program, and the N second identifiers are The second identifier is the application identifier of N second applications, and N is a positive integer;
显示模块,用于显示目标导航路线,目标导航路线由N个第二应用程序基于位置信息规划得到。The display module is used to display the target navigation route. The target navigation route is planned by N second applications based on location information.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括:处理器、存储器及存储在存储器上并可在处理器上运行的程序或指令,程序或指令被处理器执行时实现如第一方面所述方法的步骤。In a third aspect, embodiments of the present application provide an electronic device. The electronic device includes: a processor, a memory, and a program or instruction stored in the memory and executable on the processor. The program or instruction is implemented when executed by the processor. The steps of the method described in the first aspect.
第四方面,本申请实施例提供了一种可读存储介质,可读存储介质上存储程序或指令,程序或指令被处理器执行时实现如第一方面所述方法的步骤。In a fourth aspect, embodiments of the present application provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the programs or instructions are executed by a processor, the steps of the method described in the first aspect are implemented.
第五方面,本申请实施例提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现如第一方面所述方法的步骤。In a fifth aspect, embodiments of the present application provide a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the steps of the method described in the first aspect.
在本申请实施例中,在接收到对第一标识与N个第二标识的第一输入的情况下,从第一应用程序中获取位置信息,显示目标导航路线,其中,第一标识为第一应用程序的应用标识,N个第二标识为N个第二应用程序的应用标识,N为正整数。即本申请实施例可以在无需进入第二应用程序的情况下,即可显示由第二应用程序得到的导航路线,如此简化了用户的操作,提高了导航路线的显示效率。In this embodiment of the present application, upon receiving the first input of the first identifier and N second identifiers, the location information is obtained from the first application program and the target navigation route is displayed, where the first identifier is the The application identifier of an application program, the N second identifiers are the application identifiers of N second application programs, and N is a positive integer. That is, the embodiment of the present application can display the navigation route obtained by the second application program without entering the second application program, thus simplifying the user's operation and improving the display efficiency of the navigation route.
附图说明Description of drawings
图1为本申请实施例提供的一种导航路线显示方法的流程图;Figure 1 is a flow chart of a navigation route display method provided by an embodiment of the present application;
图2为本申请实施例提供的一种设置界面的示意图;FIG2 is a schematic diagram of a setting interface provided in an embodiment of the present application;
图3为本申请实施例提供的一种电子设备显示界面的示意图;Figure 3 is a schematic diagram of an electronic device display interface provided by an embodiment of the present application;
图4为本申请实施例提供的一种第一标识和第二标识的叠加过程示意图;Figure 4 is a schematic diagram of the superposition process of a first identification and a second identification provided by an embodiment of the present application;
图5为本申请实施例提供的一种第一标识和第二标识叠加成功的示意图;Figure 5 is a schematic diagram showing the successful superposition of a first identification and a second identification provided by an embodiment of the present application;
图6为本申请实施例提供的一种位置信息的显示示意图;Figure 6 is a schematic diagram of displaying location information provided by an embodiment of the present application;
图7为本申请实施例提供的一种第一控件的显示示意图;Figure 7 is a schematic display diagram of a first control provided by an embodiment of the present application;
图8为本申请实施例提供的一种第四标识的更新过程示意图;Figure 8 is a schematic diagram of the update process of a fourth identifier provided by an embodiment of the present application;
图9为本申请实施例提供的一种目标导航路线的显示示意图;Figure 9 is a schematic diagram showing a target navigation route provided by an embodiment of the present application;
图10为本申请实施例提供的一种新增导航路线的过程示意图;Figure 10 is a schematic diagram of a process of adding a new navigation route provided by an embodiment of the present application;
图11为本申请实施例提供的一种导航路线显示装置的结构示意图;Figure 11 is a schematic structural diagram of a navigation route display device provided by an embodiment of the present application;
图12为本申请实施例提供的一种电子设备的结构示意图;Figure 12 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图13为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 13 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art fall within the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the figures so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in orders other than those illustrated or described herein, and that "first," "second," etc. are distinguished Objects are usually of one type, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the related objects are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的导航路线显示方法、装置、设备及介质进行详细地说明。The navigation route display method, device, equipment and medium provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios.
图1为本申请实施例提供的一种导航路线显示方法的流程图。如图1所示,该导航路线显示方法可以包括如下步骤:Figure 1 is a flow chart of a navigation route display method provided by an embodiment of the present application. As shown in Figure 1, the navigation route display method may include the following steps:
S110、在接收到对第一标识和N个第二标识的第一输入的情况下,从第一应用程序中获取位置信息。S110. Upon receiving the first input of the first identifier and N second identifiers, obtain location information from the first application program.
其中,第一标识为第一应用程序的应用标识,N个第二标识为N个第二应用程序的应用标识,N为正整数。The first identifier is the application identifier of the first application program, the N second identifiers are the application identifiers of the N second application programs, and N is a positive integer.
S120、显示目标导航路线。S120. Display the target navigation route.
其中,目标导航路线由N个第二应用程序基于位置信息规划得到。Among them, the target navigation route is planned by N second applications based on location information.
在本申请实施例中,在接收到对第一标识与N个第二标识的第一输入的情况下,从第一应用程序中获取位置信息,显示目标导航路线,其中,第一标识为第一应用程序的应用标识,N个第二标识为N个第二应用程序的应用标识,N为正整数。即本申请实施例可以在无需进入第二应用程序的情况下,即可显示由第二应用程序得到的导航路线,如此简化了用户的操作,提高了导航路线的显示效率。In this embodiment of the present application, upon receiving the first input of the first identifier and N second identifiers, the location information is obtained from the first application program and the target navigation route is displayed, where the first identifier is the The application identifier of an application program, the N second identifiers are the application identifiers of N second application programs, and N is a positive integer. That is, the embodiment of the present application can display the navigation route obtained by the second application program without entering the second application program, thus simplifying the user's operation and improving the display efficiency of the navigation route.
本申请实施例提供的导航路线显示方法可以应用于电子设备,电子设备可以包括但不限于手机、平板电脑、笔记本电脑、掌上电脑等。The navigation route display method provided by the embodiment of the present application can be applied to electronic devices, which may include but are not limited to mobile phones, tablet computers, notebook computers, handheld computers, etc.
电子设备中可以安装有多个应用程序,这多个应用程序中,可能包括行程类应用程序、事项类应用程序、导航类应用程序、社交类应用程序、图像类应用程序,等等。Multiple applications may be installed in the electronic device, and the multiple applications may include itinerary applications, event applications, navigation applications, social applications, image applications, etc.
其中,行程类应用程序可以包括飞机、火车或其他交通工具的出发时间等信息。事项类应用程序可以包括各类待办事项的开始时间,例如出行时间、发车时间等。导航类应用程序可以为用户提供导航路线,例如在目的地确定的情况下,导航类应用程序可以向用户提供从用户所在位置到目的地的导航路线。社交类应用程序用于使不同的用户之间可以通信。图像类应用程序可以用于存储图像或拍摄等。Among them, itinerary applications can include information such as departure times of airplanes, trains, or other means of transportation. To-do applications can include the start time of various to-do items, such as travel time, departure time, etc. The navigation application can provide the user with a navigation route. For example, when the destination is determined, the navigation application can provide the user with a navigation route from the user's location to the destination. Social applications are used to enable communication between different users. Image applications can be used to store images or take photos, etc.
一般来说,每一应用程序可以具有对应的应用标识。示例性地,该应用标识可以是对应应用程序的应用图标,也可以是该应用图标的缩略图。结合一个应用场景,电子设备的桌面上可以显示各个应用程序的应用标识,而且用户可以对这些应用标识进行操作,例如点击、长按或者拖动等。Generally speaking, each application program may have a corresponding application identification. For example, the application identifier may be an application icon corresponding to the application program, or may be a thumbnail image of the application icon. Combined with an application scenario, the application identification of each application can be displayed on the desktop of the electronic device, and the user can operate these application identifications, such as clicking, long pressing, or dragging.
其中,用户可以通过对一个或多个应用标识进行拖动输入,以改变这些应用标识的显示位置。The user can drag and input one or more application logos to change the display position of these application logos.
在本申请实施例中,上述的多个应用标识可以包括第一标识和第二标识。In this embodiment of the present application, the multiple application identifiers mentioned above may include a first identifier and a second identifier.
在一些实施例中,第一标识可以是包含位置信息的应用程序的应用标识,换言之,上述第一应用程序可以是包含位置信息的应用程序,例如在图像类应用程序、社交类应用程序等应用程序包含位置信息时,第一应用程序可以是图像类应用程序、社交类应用程序等应用程序。In some embodiments, the first identification may be an application identification of an application that contains location information. In other words, the first application may be an application that contains location information, such as an image application, a social application, etc. When the program contains location information, the first application may be an image application, a social application, or other application.
在一些实施例中,第一标识也可以是与第一应用程序相关联,并包含第一应用程序中的部分关键信息的图标,例如用户通过第一标识可以直观地了解第一应用程序中的部分关键信息,无需再进入第一应用程序。In some embodiments, the first identification may also be an icon associated with the first application and containing some key information in the first application. For example, the user can intuitively understand the key information in the first application through the first identification. For some key information, there is no need to enter the first application.
示例性地,对于相册应用程序,第一标识可以是包含相册应用程序中部分图像的标识,如此用户通过第一标识可以直观地看到相册应用程序中的图像,无需再进入相册应用程序。第一标识中包含的图像可以由用户根据需求预先设置。For example, for the photo album application, the first identification may be an identification containing part of the images in the photo album application. In this way, the user can intuitively see the images in the photo album application through the first identification without entering the photo album application. The image included in the first logo can be preset by the user according to requirements.
每一个第二标识可以是一个第二应用程序的应用标识,第二应用程序可以是能够基于位置信息确定导航路线的应用程序,例如可以是导航类应用程序,本申请实施例对导航类应用程序的具体类型不进行限定。Each second identification may be an application identification of a second application. The second application may be an application capable of determining a navigation route based on location information. For example, it may be a navigation application. This embodiment of the present application applies to navigation applications. The specific type is not limited.
在S110中,示例性地,第一输入用于将第一标识与N个第二标识叠加显示,以触发第一应用程序和第二应用程序的相关功能。例如在第一应用程序为相册应用程序,第二应用程序为导航类应用程序的情况下,当电子设备接收到第一输入时,可以触发相册应用程序的图像显示功能,使相册应用程序显示其包含的图像,供用户选择;同时也可以触发第二应用程序的导航功能,使第二应用程序进入导航模式,并从第一应用程序中获取位置信息,例如可以获取相册应用程序中某图像的位置信息,为后续规划导航路线提供依据。In S110, for example, the first input is used to overlay and display the first identification and N second identifications to trigger related functions of the first application program and the second application program. For example, when the first application is a photo album application and the second application is a navigation application, when the electronic device receives the first input, the image display function of the photo album application can be triggered, causing the photo album application to display its Contains images for the user to select; at the same time, it can also trigger the navigation function of the second application, causing the second application to enter the navigation mode and obtain location information from the first application. For example, you can obtain the location of an image in the photo album application. Location information provides a basis for subsequent planning of navigation routes.
这里的位置信息可以是地点文字信息,也即该图像中包含地点文字信息;也可以是地标建筑或典型景点对应的位置信息,也即该图像可以是带有地标建筑的图像,或者带有典型景点的图像,等等。The location information here can be location text information, that is, the image contains location text information; it can also be location information corresponding to landmark buildings or typical scenic spots, that is, the image can be an image with landmark buildings, or with typical attractions. Images of attractions, etc.
示例性地,第一输入可以是将第一标识叠加到N个第二标识上的输入,例如第一输入可以是将第一标识拖动到N个第二标识上的操作。在N大于1,即第二标识为多个的情况下,在一些实施例中,可以将N个第二标识移动至文件夹,并将第一标识与该文件夹叠加。例如将第一标识拖动到该文件夹上即可实现将第一标识与N个第二标识叠加,简单方便。第一标识与文件夹的叠加过程,和第一标识与第二标识的叠加过程类似。For example, the first input may be an input of superimposing the first identification onto the N second identifications. For example, the first input may be an operation of dragging the first identification onto the N second identifications. In the case where N is greater than 1, that is, there are multiple second identifiers, in some embodiments, N second identifiers can be moved to the folder, and the first identifier can be superimposed on the folder. For example, drag the first logo to the folder to superimpose the first logo with N second logos, which is simple and convenient. The superposition process of the first logo and the folder is similar to the superposition process of the first logo and the second logo.
示例性地,第一输入也可以是将N个第二标识叠加到第一标识上的输入。例如第一输入可以是将N个第二标识拖动到第一标识上的操作。需要说明的是,在N大于1的情况下,可以先在第一标识上叠加一个第二标识,然后在该第二标识上叠加其他的第二标识,各标识的叠加过程类似,如此即可实现第一标识与N个第二标识叠加。For example, the first input may also be an input in which N second identifiers are superimposed on the first identifier. For example, the first input may be an operation of dragging N second identifiers onto the first identifier. It should be noted that when N is greater than 1, a second logo can be superimposed on the first logo, and then other second logos can be superimposed on the second logo. The superposition process of each logo is similar, and that's it. Realize the superposition of the first identifier and N second identifiers.
以将N个第二标识叠加到第一标识上为例,在一些实施例中,可以将第二标识拖动至第一标识所在的区域,当第二标识与该区域的重叠面积大于预设阈值,或在该区域的停留时长大于预设时长时,认为第二标识和第一标识叠加成功。Taking N second logos superimposed on the first logo as an example, in some embodiments, the second logo can be dragged to the area where the first logo is located. When the overlapping area of the second logo and the area is larger than the preset threshold, or when the stay time in this area is greater than the preset time, it is considered that the second logo and the first logo are superimposed successfully.
以基于第二标识的停留时长判断第二标识和第一标识是否叠加为例,在一些实施例中,在S110之前,可以进入图2所示的设置界面,以设置预设时长的大小,示例性地,图2以预设时长为3秒为例,即当第二标识在第一标识所在的区域的停留时长大于3秒时,即认为第二标识和第一标识叠加成功。Taking the judgment of whether the second logo and the first logo overlap based on the dwell time of the second logo as an example, in some embodiments, before S110, you can enter the setting interface shown in Figure 2 to set the size of the preset duration. Example Specifically, Figure 2 takes the preset duration of 3 seconds as an example. That is, when the second logo stays in the area where the first logo is for more than 3 seconds, it is considered that the second logo and the first logo are superimposed successfully.
示例性地,参考图3,图3为本申请实施例提供的一种电子设备显示界面的示意图,该显示界面示例性地显示了9个应用程序的应用图标,9个应用程序分别为APP1-APP9,APP2和APP3的应用标识为第一标识,APP7-APP9的应用标识为第二标识,以下简称APP2和APP3为第一标识,APP7-APP9为第二标识。Exemplarily, refer to Figure 3, which is a schematic diagram of an electronic device display interface provided by an embodiment of the present application. The display interface exemplarily displays application icons of 9 application programs, and the 9 application programs are respectively APP1- The application identifiers of APP9, APP2 and APP3 are the first identifiers, and the application identifiers of APP7-APP9 are the second identifiers. Hereinafter referred to as APP2 and APP3 are the first identifiers, and APP7-APP9 are the second identifiers.
示例性地,参考图4,图4以将一个第二标识叠加到第一标识上为例。具体地,当需要将第二标识APP9叠加到第一标识APP2上时,可以将第二标识APP9拖动到第一标识APP2上,当第二标识APP9在第一标识APP1上停留的时长大于3秒时,认为第一标识APP1和第二标识APP9叠加成功。Illustratively, refer to FIG. 4 , which takes superimposing a second logo on the first logo as an example. Specifically, when the second logo APP9 needs to be superimposed on the first logo APP2, the second logo APP9 can be dragged onto the first logo APP2. When the second logo APP9 stays on the first logo APP1 for longer than 3 seconds, it is considered that the first identification APP1 and the second identification APP9 are superimposed successfully.
当第一标识和第二标识叠加成功时,如果释放第二标识,第二标识的位置保持不变。示例性地,参考图5,用户释放第二标识APP9后,第二标识APP9依然保持在第一标识APP1上不变。When the first identifier and the second identifier are superimposed successfully, if the second identifier is released, the position of the second identifier remains unchanged. For example, referring to Figure 5, after the user releases the second identification APP9, the second identification APP9 still remains on the first identification APP1.
在本申请实施例中,当用户需要以第一应用程序中的位置信息为目的地时,可以通过第一输入将第一标识与第二标识叠加显示,如此可以使第二应用程序从第一应用程序中获取位置信息,为后续规划导航路线提供依据,无需用户再分别打开第一应用程序和第二应用程序,如此简化了用户的操作。In this embodiment of the present application, when the user needs to take the location information in the first application as the destination, the first identification and the second identification can be superimposed and displayed through the first input, so that the second application can be displayed from the first Obtaining location information in the application provides a basis for subsequent planning of navigation routes. The user does not need to open the first application and the second application separately, which simplifies the user's operation.
在S120中,第二应用程序从第一应用程序中获取位置信息后,即可基于该位置信息和电子设备所在的位置信息为用户规划导航路线,满足用户的导航需求。In S120, after the second application obtains the location information from the first application, it can plan a navigation route for the user based on the location information and the location information of the electronic device to meet the user's navigation needs.
示例性地,电子设备可以将N个第二应用程序规划得到的M条导航路线作为目标导航路线进行显示;也可以将M条导航路线中的部分导航路线作为目标导航路线进行显示,例如可以将M条导航路线中路程最短或耗时最短的导航路线作为目标导航路线。目标导航路线的选取规则可以根据用户的需求预先设定,如此第二应用程序获取位置信息后,即可根据预先设定的选取规则,从M条导航路线中选取目标导航路线进行显示,满足用户对导航路线的需求。M为正整数。For example, the electronic device can display M navigation routes planned by N second applications as target navigation routes; it can also display part of the M navigation routes as target navigation routes, for example, it can display The navigation route with the shortest distance or the shortest time among the M navigation routes is used as the target navigation route. The selection rules of the target navigation route can be preset according to the user's needs. In this way, after the second application obtains the location information, it can select the target navigation route from the M navigation routes for display according to the preset selection rules to satisfy the user. The need for navigation routes. M is a positive integer.
在一些实施例中,第一标识包括桌面组件,桌面组件用于显示图片。相应地,上述S110可以包括如下步骤:In some embodiments, the first identification includes a desktop component, and the desktop component is used to display pictures. Correspondingly, the above S110 may include the following steps:
在接收到对第一标识与所述N个第二标识的第一输入的情况下,显示目标图片,目标图片为图片中的至少一张;When receiving the first input of the first identification and the N second identifications, display a target picture, where the target picture is at least one of the pictures;
从目标图片中获取位置信息。Get location information from target image.
本申请实施例对桌面组件的形式不进行限定,例如可以为矩形形式。桌面组件可以显示某应用程序的一些关键信息,如此当用户需要查看该应用程序的某些关键信息时,可以通过桌面组件查看,无需再进入相关应用程序,如此简化了用户的操作。The embodiment of the present application does not limit the form of the desktop component, and may be in a rectangular form, for example. The desktop component can display some key information of an application, so that when the user needs to view some key information of the application, they can view it through the desktop component without having to enter the relevant application, thus simplifying the user's operation.
示例性地,该桌面组件可以与相册应用程序关联,如此可以显示该相册应用程序中的图片。示例性地,该桌面组件可以静态地显示该相册应用程序中的某些图片,也可以动态地显示该相册应用程序中的图片,例如可以每隔预设时长显示该相册应用程序中的一张图片,如此可以满足用户的个性化查看需求。For example, the desktop component can be associated with a photo album application, so that pictures in the photo album application can be displayed. For example, the desktop component can statically display some pictures in the photo album application, or can dynamically display pictures in the photo album application. For example, it can display one picture in the photo album application every preset time period. Pictures, so as to meet the personalized viewing needs of users.
目标图片为用户需要选择的图片,示例性地,当用户将第二标识拖动至图片A(桌面组件)上时,即认为用户需要选择图片A,此时可以将图片A作为目标图片。在第一标识和第二标识叠加的情况下,第一应用程序和第二应用程序之间可以进行信息传输,例如在本申请实施例中,当用户将第二标识拖动至图片A(桌面组件)上时,第二应用程序也即获取了图片A,此时,第二应用程序可以识别图片A,获取图片A的位置信息,为后续规划导航路线提供依据。The target picture is a picture that the user needs to select. For example, when the user drags the second logo to picture A (desktop component), it is considered that the user needs to select picture A. At this time, picture A can be used as the target picture. When the first logo and the second logo are superimposed, information can be transmitted between the first application and the second application. For example, in the embodiment of the present application, when the user drags the second logo to picture A (desktop component), the second application also obtains picture A. At this time, the second application can identify picture A and obtain the location information of picture A, which provides a basis for subsequent planning of navigation routes.
在一些实施例中,第一应用程序为相册类应用程序;相应地,上述S110可以包括如下步骤:In some embodiments, the first application is a photo album application; accordingly, the above S110 may include the following steps:
在接收到对第一标识与N个第二标识的第一输入的情况下,显示相册界面,相册界面中包括至少一张图片;In the case of receiving the first input of the first identification and the N second identifications, displaying a photo album interface, where the photo album interface includes at least one picture;
在接收到对目标图片的第二输入的情况下,响应于第二输入,从目标图片中获取位置信息,目标图片为图片中的至少一张。When a second input to the target picture is received, position information is obtained from the target picture in response to the second input, the target picture being at least one of the pictures.
在本申请实施例中,在第一应用程序为相册类应用程序的情况下,当电子设备接收到第一输入时,可以触发第一应用程序的图片显示功能,使其显示相册界面,供用户选择。In the embodiment of the present application, when the first application is a photo album application, when the electronic device receives the first input, the picture display function of the first application can be triggered to display the photo album interface for the user. choose.
第二输入为选取目标图片的输入,示例性地,第二输入可以是对相册界面的点击、触摸等操作,即当电子设备检测到用户点击或触摸相册界面,可以将对应图片作为目标图片,此时第二应用程序可以获取并识别目标图片,得到目标图片的位置信息,为后续规划导航路线提供依据。The second input is an input for selecting a target picture. For example, the second input can be a click, touch, or other operation on the album interface. That is, when the electronic device detects that the user clicks or touches the album interface, the corresponding picture can be used as the target picture. At this time, the second application can obtain and identify the target picture, obtain the location information of the target picture, and provide a basis for subsequent planning of the navigation route.
在一些实施例中,第一应用程序为相机类应用程序;相应地,上述S110可以包括如下步骤:In some embodiments, the first application is a camera application; accordingly, the above S110 may include the following steps:
在接收到对第一标识与N个第二标识的第一输入的情况下,基于第一应用程序拍摄得到拍摄图片;In the case of receiving the first input of the first identification and the N second identifications, obtaining the photographed picture based on the first application;
从拍摄图片中获取位置信息。Get location information from captured pictures.
在本申请实施例中,在第一应用程序为相机应用程序的情况下,当电子设备接收到第一输入时,可以触发相机应用程序的拍摄功能,使其进入拍摄模式,进行图片拍摄,得到拍摄图片。此时第二应用程序可以获取并识别第一应用程序得到的拍摄图片,得到拍摄图片的位置信息,为后续规划导航路线提供依据。In the embodiment of the present application, when the first application is a camera application, when the electronic device receives the first input, the shooting function of the camera application can be triggered to enter the shooting mode and take pictures, and obtain Take pictures. At this time, the second application can obtain and identify the photographed picture obtained by the first application, and obtain the location information of the photographed picture, which provides a basis for subsequent planning of the navigation route.
在一些实施例中,第一应用程序为日程类应用程序或备忘录类应用程序,当电子设备接收到第一输入时,第二应用程序即可从上述日程类应用程序或备忘录应用程序中获取位置信息,为后续规划导航路线提供依据。In some embodiments, the first application is a calendar application or a memo application. When the electronic device receives the first input, the second application can obtain the location from the above calendar application or memo application. information to provide a basis for subsequent planning of navigation routes.
例如日程类应用程序中包含出发机场和目的地机场的出行信息,此时,第二应用程序可以识别出发机场,为用户规划到达出发机场的导航路线。For example, a schedule application contains travel information about the departure airport and the destination airport. At this time, the second application can identify the departure airport and plan a navigation route to the departure airport for the user.
在一些实施例中,电子设备从第一应用程序中获取位置信息之后,还可以向用户显示该位置信息,由用户进行确认。In some embodiments, after obtaining the location information from the first application, the electronic device can also display the location information to the user for confirmation by the user.
以将第二标识和图片A叠加为例,示例性地,参考图6,电子设备获取图片A的位置信息B后,可以显示位置信息B,由用户进行确认,电子设备在接收到用户对位置信息B的输入的情况下,可以通过第二应用程序基于该位置信息B确定M个导航路线。Taking the superimposition of the second logo and the picture A as an example, referring to Figure 6 , after the electronic device obtains the location information B of the picture A, the location information B can be displayed for confirmation by the user. After receiving the user's confirmation of the location, the electronic device In the case of input of information B, M navigation routes can be determined based on the location information B through the second application.
例如电子设备在接收到用户对“是”的点击操作时,可以基于位置信息B确定M个导航路线。这里的M个导航路线可以是同一个第二应用程序对应的不同导航路线,也可以是不同的第二应用程序对应的导航路线。具体与叠加到图片A上的第二标识有关。For example, when the electronic device receives the user's click operation on "Yes", it can determine M navigation routes based on the location information B. The M navigation routes here may be different navigation routes corresponding to the same second application, or may be navigation routes corresponding to different second applications. It is specifically related to the second logo superimposed on picture A.
在一些实施例中,在S120之后,该导航路线显示方法还可以包括如下步骤:In some embodiments, after S120, the navigation route display method may further include the following steps:
在N大于1的情况下,接收用于将第三标识移动至预设区域的第三输入,第四标识为第二标识中的至少一个;When N is greater than 1, receive a third input for moving the third identifier to the preset area, and the fourth identifier is at least one of the second identifiers;
响应于第三输入,删除目标导航路线中的第一导航路线,第一导航路线与第三标识关联。In response to the third input, a first navigation route in the target navigation route is deleted, and the first navigation route is associated with the third identification.
预设区域可以是桌面上与第一标识不关联的区域,也即当第三标识位于预设区域时,电子设备将解除第三标识和第一标识的叠加操作。示例性地,预设区域可以是除图片A所在区域之外的任意区域,也即只要将第二标识APP8从图片A上移除,即可解除第二标识APP8和图片A的叠加操作。假定用户想取消目标导航路线,则可以将第二标识APP8从图片A上移除,此时,目标导航路线也会消失。The preset area may be an area on the desktop that is not associated with the first identification. That is, when the third identification is located in the preset area, the electronic device will cancel the superposition operation of the third identification and the first identification. For example, the preset area can be any area except the area where the picture A is located. That is, as long as the second identification APP8 is removed from the picture A, the superposition operation of the second identification APP8 and the picture A can be released. Assuming that the user wants to cancel the target navigation route, the second identification APP8 can be removed from the picture A. At this time, the target navigation route will also disappear.
在本申请实施例中,电子设备可以基于用户对某标识的移动输入,删除与该标识对应的导航路线,如此可以满足用户的需求。In this embodiment of the present application, the electronic device can delete the navigation route corresponding to an identification based on the user's movement input to the identification, thus meeting the user's needs.
为了满足用户的实际需求,在一些实施例中,在S120之前,该导航路线显示方法还可以包括如下步骤:In order to meet the actual needs of users, in some embodiments, before S120, the navigation route display method may also include the following steps:
显示Q个第一控件,其中,Q为大于1的整数。Display Q first controls, where Q is an integer greater than 1.
相应地,上述S120可以包括如下步骤:Correspondingly, the above S120 may include the following steps:
在接收到对Q个第一控件中的第二控件的输入的情况下,响应于该输入,根据第二控件关联的确定规则,显示目标导航路线。When an input to the second control among the Q first controls is received, in response to the input, the target navigation route is displayed according to the determination rule associated with the second control.
第一控件可以是辅助电子设备从M个导航路线中确定目标导航路线的控件,本申请实施例对第一控件的具体形式不进行限定,例如可以是可触控或可点击的文本框或按钮等。The first control may be a control that assists the electronic device in determining the target navigation route from M navigation routes. The embodiment of the present application does not limit the specific form of the first control. For example, it may be a touchable or clickable text box or button. wait.
示例性地,参考图7,在电子设备在得到M个导航路线之后,可以显示第一控件,图7以包含两个第一控件为例,分别为第一控件71和第一控件72,实际应用时,第一控件的数量可以减少或增加。Illustratively, referring to Figure 7, after the electronic device obtains M navigation routes, the first control can be displayed. Figure 7 takes two first controls as an example, namely the first control 71 and the first control 72. In practice, When applied, the number of first controls can be reduced or increased.
第二控件可以是承载用户输入的控件,示例性地,参考图7,当第一控件72承载用户的输入,也即该输入作用于第一控件72上时,第二控件即为第一控件72。The second control may be a control that carries user input. For example, referring to FIG. 7 , when the first control 72 carries user input, that is, when the input acts on the first control 72 , the second control is the first control. 72.
确定规则可以是辅助电子设备从M个第一导航路线中确定目标导航路线的规则。一个确定规则可以关联一个第一控件。示例性地,确定规则可以是选取耗时最短的导航路线,选取路程最短的导航路线,选取费用最低的导航路线,等等。在一些实施例中,确定规则可以显示在第一控件中,方便用户选择。The determination rule may be a rule that assists the electronic device in determining the target navigation route from the M first navigation routes. A determination rule can be associated with a first control. For example, the determination rule may be to select the navigation route with the shortest time, select the navigation route with the shortest distance, select the navigation route with the lowest cost, etc. In some embodiments, the determination rule may be displayed in the first control to facilitate user selection.
在本申请实施例中,电子设备在得到M个导航路线后,可以向用户显示Q个包含确定规则的第一控件,如此,电子设备可以根据用户输入确定用户触发的第二控件,进而根据第二控件关联的确定规则,从M个导航路线中确定出目标导航路线并进行显示,如此可以满足用户的实际需求。In this embodiment of the present application, after obtaining M navigation routes, the electronic device can display Q first controls containing determined rules to the user. In this way, the electronic device can determine the second control triggered by the user according to the user input, and then according to the first control The determination rules associated with the two controls determine the target navigation route from the M navigation routes and display them, so that the actual needs of the user can be met.
在M大于1,且目标导航路线为M个导航路线中的部分导航路线的情况下,在一些实施例中,电子设备在确定目标导航路线之后,可以将M个导航路线中除目标导航路线之外的导航路线对应的第二标识从第一标识上移除,即只将目标导航路线对应的第二标识保留在第一标识上,如此可以避免这部分第二标识对用户造成干扰,使用户不清楚当前采用的目标导航路线属于哪个应用程序。In the case where M is greater than 1 and the target navigation route is part of the M navigation routes, in some embodiments, after determining the target navigation route, the electronic device may remove the target navigation route from the M navigation routes. The second identification corresponding to the external navigation route is removed from the first identification, that is, only the second identification corresponding to the target navigation route is retained on the first identification. This can prevent this part of the second identification from causing interference to the user, which makes the user It is not clear which application the target navigation route currently being taken belongs to.
基于此,在一些实施例中,该导航路线的确定方法还可以包括如下步骤:Based on this, in some embodiments, the navigation route determination method may also include the following steps:
将第四标识更新显示在初始位置,第四标识为N个第二应用程序中除第三应用程序之外的应用程序的应用标识,第三应用程序为所述目标导航路线对应的应用程序,初始位置为第四标识和第一标识叠加之前,第四标识所在的位置。The fourth identification is updated and displayed at the initial position, the fourth identification is the application identification of the application program except the third application program among the N second application programs, and the third application program is the application program corresponding to the target navigation route, The initial position is the position of the fourth logo before the fourth logo and the first logo are superimposed.
示例性地,参考图8,第二标识APP8和第二标识APP9与图片A(第一标识)叠加之前,在桌面的位置如图8所示,叠加之后,第二标识APP8和第二标识APP位于图片A(第一标识)上。假定目标导航路线与APP8对应,也即与第二标识APP8对应,则第四标识也即第二标识APP9。此时电子设备可以将第二标识APP9更新显示在第二标识APP9与图片A叠加之前在桌面上的位置。For example, referring to Figure 8, before the second logo APP8 and the second logo APP9 are superimposed on the picture A (the first logo), the positions on the desktop are as shown in Figure 8. After the superposition, the second logo APP8 and the second logo APP Located on picture A (first logo). Assume that the target navigation route corresponds to APP8, that is, corresponds to the second identification APP8, then the fourth identification, that is, the second identification APP9. At this time, the electronic device can update and display the second logo APP9 at the position on the desktop before the second logo APP9 is superimposed on the picture A.
在一些实施例中,为了方便用户观看,可以更新与目标导航路线对应的第二标识的显示形式,例如可以为第二标识添加高亮或加粗的浮动框,当然也可以采用其他显示形式,本申请实施例不进行限定。In some embodiments, in order to facilitate user viewing, the display form of the second identifier corresponding to the target navigation route can be updated. For example, a highlighted or bold floating box can be added to the second identifier. Of course, other display forms can also be used, which is not limited in the embodiments of the present application.
示例性地,参考图9,图片A上保留了第二标识APP8,电子设备为第二标识APP8添加了加粗的浮动框,同时显示了与第二标识APP8对应的目标导航路线。For example, referring to FIG. 9 , the second identification APP8 is retained on picture A. The electronic device adds a bold floating box to the second identification APP8 and displays the target navigation route corresponding to the second identification APP8.
在本申请实施例中,电子设备可以在第一标识上自动保留与目标导航路线对应的第二标识,并将其他第二标识恢复到叠加之前在桌面上的位置,无需用户手动移动其他第二标识,如此简化了用户的操作,提升了导航的便捷性。In the embodiment of the present application, the electronic device can automatically retain the second identification corresponding to the target navigation route on the first identification, and restore other second identifications to their positions on the desktop before superimposition, without the user having to manually move other second identifications. The logo simplifies the user's operations and improves the convenience of navigation.
在一些实施例中,当用户希望参考多个导航路线时,例如电子设备当前显示了一个导航路线,当用户希望参考另外一个应用程序对应的导航路线时,可以在已叠加标识的基础上再叠加该应用程序的应用标识,此时电子设备可以同时显示两个应用程序对应的导航路线,供用户参考。In some embodiments, when the user wants to refer to multiple navigation routes, for example, the electronic device currently displays one navigation route, and when the user wants to refer to the navigation route corresponding to another application, the logo can be superimposed on top of the already superimposed logo. The application identification of the application. At this time, the electronic device can display the navigation routes corresponding to the two applications at the same time for the user's reference.
示例性地,参考图10,在将第二标识APP9叠加到图片A上时,电子设备可以同时显示与第二标识APP8对应的导航路线,以及与第二标识APP9对应的导航路线,满足了用户双导航的应用需求。For example, referring to Figure 10, when the second logo APP9 is superimposed on the picture A, the electronic device can simultaneously display the navigation route corresponding to the second logo APP8 and the navigation route corresponding to the second logo APP9, which satisfies the user Dual navigation application requirements.
在本申请实施例中,电子设备可以使多个第二应用程序同时基于位置信息确定导航路线,并从中选取符合用户需求的导航路线,满足用户的需求;此外,用户还可以根据需求随时增加或删除导航路线,整个过程用户无需进入应用程序,如此简化了用户的操作,提高了导航的便捷性。In the embodiment of the present application, the electronic device can enable multiple second applications to simultaneously determine navigation routes based on location information, and select navigation routes that meet the user's needs to meet the user's needs; in addition, the user can also add or To delete a navigation route, the user does not need to enter the application during the entire process, which simplifies the user's operation and improves the convenience of navigation.
需要说明的是,本申请实施例提供的导航路线显示方法,执行主体可以为导航路线显示装置,或者该导航路线显示装置中的用于执行导航路线显示方法的处理模块。本申请实施例中以导航路线显示装置执行导航路线显示方法为例,说明本申请实施例提供的导航路线显示装置。该导航路线显示装置可以应用于电子设备。It should be noted that, for the navigation route display method provided by the embodiment of the present application, the execution subject may be a navigation route display device, or a processing module in the navigation route display device for executing the navigation route display method. In the embodiment of the present application, the navigation route display device performing the navigation route display method is taken as an example to illustrate the navigation route display device provided by the embodiment of the present application. The navigation route display device can be applied to electronic equipment.
图11为本申请实施例提供的一种导航路线显示装置的结构示意图。Figure 11 is a schematic structural diagram of a navigation route display device provided by an embodiment of the present application.
如图11所示,该导航路线显示装置110可以包括:As shown in Figure 11, the navigation route display device 110 may include:
获取模块111,用于在接收到对第一标识与N个第二标识的第一输入的情况下,从第一应用程序中获取位置信息,第一标识为第一应用程序的应用标识,N个第二标识为N个第二应用程序的应用标识,N为正整数;The acquisition module 111 is configured to acquire location information from the first application program upon receiving a first input of a first identifier and N second identifiers, where the first identifier is an application identifier of the first application program, N The second identifiers are the application identifiers of the N second applications, and N is a positive integer;
显示模块112,用于显示目标导航路线,目标导航路线由N个第二应用程序基于位置信息规划得到。The display module 112 is used to display a target navigation route, which is planned by N second applications based on location information.
在本申请实施例中,在接收到对第一标识与N个第二标识的第一输入的情况下,从第一应用程序中获取位置信息,显示目标导航路线,其中,第一标识为第一应用程序的应用标识,N个第二标识为N个第二应用程序的应用标识,N为正整数。即本申请实施例可以在无需进入第二应用程序的情况下,即可显示由第二应用程序得到的导航路线,如此简化了用户的操作,提高了导航路线的显示效率。In this embodiment of the present application, upon receiving the first input of the first identifier and N second identifiers, the location information is obtained from the first application program and the target navigation route is displayed, where the first identifier is the The application identifier of an application program, the N second identifiers are the application identifiers of N second application programs, and N is a positive integer. That is, the embodiment of the present application can display the navigation route obtained by the second application program without entering the second application program, thus simplifying the user's operation and improving the display efficiency of the navigation route.
在本申请实施例的一些可能实现中,第一输入用于将第一标识与N个第二标识叠加显示。In some possible implementations of the embodiments of this application, the first input is used to overlay and display the first identification and N second identifications.
在本申请实施例的一些可能实现中,第一标识包括桌面组件,桌面组件用于显示图片;In some possible implementations of the embodiments of this application, the first identifier includes a desktop component, and the desktop component is used to display pictures;
获取模块111,具体用于在接收到对第一标识与N个第二标识的第一输入的情况下,显示目标图片,目标图片为图片中的至少一张;The acquisition module 111 is specifically configured to display a target picture, where the target picture is at least one of the pictures, upon receiving the first input of the first identification and the N second identifications;
从目标图片中获取位置信息。Get location information from target image.
在本申请实施例的一些可能实现中,第一应用程序为相册类应用程序;In some possible implementations of the embodiments of this application, the first application is a photo album application;
获取模块111,具体用于在接收到对第一标识与N个第二标识的第一输入的情况下,显示相册界面,相册界面中包括至少一张图片;The acquisition module 111 is specifically configured to display an album interface when receiving the first input of the first identification and the N second identifications, and the album interface includes at least one picture;
在接收到对目标图片的第二输入的情况下,响应于第二输入,从目标图片中获取位置信息,目标图片为图片中的至少一张。When a second input to the target picture is received, position information is obtained from the target picture in response to the second input, the target picture being at least one of the pictures.
在本申请实施例的一些可能实现中,第一应用程序为相机类应用程序;In some possible implementations of the embodiments of this application, the first application is a camera application;
获取模块111,具体用于在接收到对第一标识与N个第二标识的第一输入的情况下,基于第一应用程序拍摄得到拍摄图片;The acquisition module 111 is specifically configured to, upon receiving a first input of a first identification and N second identifications, obtain a photograph based on the first application;
从拍摄图片中获取位置信息。Get location information from captured pictures.
在本申请实施例的一些可能实现中,第一应用程序为日程类应用程序或备忘录类应用程序。In some possible implementations of the embodiments of this application, the first application is a calendar application or a memo application.
在本申请实施例的一些可能实现中,该导航路线显示装置110还可以包括:In some possible implementations of the embodiments of this application, the navigation route display device 110 may also include:
接收模块,用于在显示模块112显示目标导航路线之后,在N大于1的情况下,接收用于将第三标识移动至预设区域的第三输入,第三标识为第二标识中的至少一个;The receiving module is configured to receive a third input for moving the third identification to the preset area after the display module 112 displays the target navigation route, and when N is greater than 1, and the third identification is at least one of the second identifications. one;
删除模块,用于响应于第三输入,删除目标导航路线中的第一导航路线,第一导航路线与第三标识关联。A deletion module, configured to delete the first navigation route in the target navigation route in response to the third input, where the first navigation route is associated with the third identification.
本申请实施例中的应用于电子设备的导航路线显示装置可以是装置,也可以是电子设备中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The navigation route display device applied to electronic equipment in the embodiment of the present application may be a device, or may be a component, integrated circuit, or chip in the electronic equipment. The device may be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (personal digital assistant). assistant, PDA), etc., the non-mobile electronic device can be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., this application The examples are not specifically limited.
本申请实施例中的电子设备可以为具有操作系统的电子设备。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The electronic device in the embodiment of the present application may be an electronic device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of this application.
本申请实施例提供的应用于电子设备的导航路线显示装置能够实现图1至图10的应用于电子设备的导航路线显示方法实施例中的各个过程,为避免重复,这里不再赘述。The navigation route display device applied to electronic equipment provided by the embodiment of the present application can implement each process in the embodiment of the navigation route display method applied to electronic equipment shown in FIG. 1 to FIG. 10 . To avoid duplication, they will not be described again here.
如图12所示,本申请实施例还提供一种电子设备120,包括处理器121,存储器122,存储在存储器122上并可在处理器121上运行的程序或指令,该程序或指令被处理器121执行时实现上述导航路线显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。As shown in Figure 12, the embodiment of the present application also provides an electronic device 120, including a processor 121, a memory 122, and a program or instruction stored on the memory 122 and executable on the processor 121. The program or instruction is processed When the processor 121 is executed, each process of the above-mentioned navigation route display method embodiment is implemented, and the same technical effect can be achieved. To avoid duplication, details will not be described here.
需要注意的是,本申请实施例中的电子设备可以包括上述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application may include the above-mentioned mobile electronic devices and non-mobile electronic devices.
在本申请实施例的一些可能实现中,处理器121可以包括中央处理器(CPU),或者特定集成电路(Application Specific Integrated Circuit,ASIC),或者可以被配置成实施本申请实施例的一个或多个集成电路。In some possible implementations of the embodiments of the present application, the processor 121 may include a central processing unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured to implement one or more of the embodiments of the present application. integrated circuit.
在本申请实施例的一些可能实现中,存储器122可以包括只读存储器(Read-OnlyMemory,ROM),随机存取存储器(Random Access Memory,RAM),磁盘存储介质设备,光存储介质设备,闪存设备,电气、光学或其他物理/有形的存储器存储设备。因此,通常,存储器122包括一个或多个编码有包括计算机可执行指令的软件的有形(非暂态)计算机可读存储介质(例如,存储器设备),并且当该软件被执行(例如,由一个或多个处理器)时,其可操作来执行参考根据本申请实施例的导航路线的确定方法所描述的操作。In some possible implementations of the embodiments of this application, the memory 122 may include read-only memory (ROM), random access memory (Random Access Memory, RAM), magnetic disk storage media device, optical storage media device, flash memory device , electrical, optical, or other physical/tangible memory storage device. Thus, generally, memory 122 includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by a or multiple processors), it is operable to perform the operations described with reference to the method for determining a navigation route according to an embodiment of the present application.
图13为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 13 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备130包括但不限于:射频单元131、网络模块132、音频输出单元133、输入单元134、传感器135、显示单元136、用户输入单元137、接口单元138、存储器139、以及处理器1310等部件。The electronic device 130 includes but is not limited to: radio frequency unit 131, network module 132, audio output unit 133, input unit 134, sensor 135, display unit 136, user input unit 137, interface unit 138, memory 139, processor 1310, etc. part.
本领域技术人员可以理解,电子设备130还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1310逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图13中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 130 may also include a power supply (such as a battery) that supplies power to various components. The power supply may be logically connected to the processor 1310 through a power management system, thereby managing charging, discharging, and function through the power management system. Consumption management and other functions. The structure of the electronic device shown in Figure 13 does not constitute a limitation of the electronic device. The electronic device may include more or less components than shown in the figure, or combine certain components, or arrange different components, which will not be described again here. .
其中,用户输入单元137用于:接收对第一标识与N个第二标识的第一输入;Wherein, the user input unit 137 is used to: receive the first input of the first identification and the N second identifications;
处理器1310用于:在用户输入单元137接收到第一输入的情况下,从第一应用程序中获取位置信息,第一标识为第一应用程序的应用标识,N个第二标识为N个第二应用程序的应用标识,N为正整数;The processor 1310 is configured to: when the user input unit 137 receives the first input, obtain location information from the first application program, the first identifier is the application identifier of the first application program, and the N second identifiers are N The application identifier of the second application, N is a positive integer;
显示单元136,用于显示目标导航路线,目标导航路线由N个第二应用程序基于位置信息规划得到。The display unit 136 is used to display the target navigation route, which is planned by N second applications based on location information.
在本申请实施例中,在接收到对第一标识与N个第二标识的第一输入的情况下,从第一应用程序中获取位置信息,显示目标导航路线,其中,第一标识为第一应用程序的应用标识,N个第二标识为N个第二应用程序的应用标识,N为正整数。即本申请实施例可以在无需进入第二应用程序的情况下,即可显示由第二应用程序得到的导航路线,如此简化了用户的操作,提高了导航路线的显示效率。In this embodiment of the present application, upon receiving the first input of the first identifier and N second identifiers, the location information is obtained from the first application program and the target navigation route is displayed, where the first identifier is the The application identifier of an application program, the N second identifiers are the application identifiers of N second application programs, and N is a positive integer. That is, the embodiment of the present application can display the navigation route obtained by the second application program without entering the second application program, thus simplifying the user's operation and improving the display efficiency of the navigation route.
在本申请实施例的一些可能实现中,第一输入用于将第一标识与N个第二标识叠加显示。In some possible implementations of the embodiments of this application, the first input is used to overlay and display the first identification and N second identifications.
在本申请实施例的一些可能实现中,第一标识包括桌面组件,桌面组件用于显示图片;In some possible implementations of the embodiments of this application, the first identifier includes a desktop component, and the desktop component is used to display pictures;
处理器1310,具体用于:在用户输入单元137接收到第一输入的情况下,显示目标图片,目标图片为所述图片中的至少一张;从目标图片中获取位置信息。The processor 1310 is specifically configured to: when the user input unit 137 receives the first input, display a target picture, where the target picture is at least one of the pictures; and obtain location information from the target picture.
在本申请实施例的一些可能实现中,第一应用程序为相册类应用程序;In some possible implementations of the embodiments of this application, the first application is a photo album application;
处理器1310,具体用于:在用户输入单元137接收到第一输入的情况下,显示相册界面,所述相册界面中包括至少一张图片;The processor 1310 is specifically configured to: when the user input unit 137 receives the first input, display an album interface, where the album interface includes at least one picture;
在用户输入单元137接收到对目标图片的第二输入的情况下,响应于第二输入,从目标图片中获取位置信息,目标图片为图片中的至少一张。In the case where the user input unit 137 receives a second input to the target picture, in response to the second input, position information is acquired from the target picture, which is at least one of the pictures.
在本申请实施例的一些可能实现中,第一应用程序为相机类应用程序;In some possible implementations of the embodiments of this application, the first application is a camera application;
处理器1310,具体用于:在接收到对第一标识与N个第二标识的第一输入的情况下,基于第一应用程序拍摄得到拍摄图片;The processor 1310 is specifically configured to: upon receiving the first input of the first identification and the N second identifications, obtain the photographed picture based on the first application;
从拍摄图片中获取位置信息。Get location information from captured pictures.
在本申请实施例的一些可能实现中,第一应用程序为日程类应用程序或备忘录类应用程序。In some possible implementations of the embodiments of this application, the first application is a calendar application or a memo application.
在本申请实施例的一些可能实现中,用户输入单元137还用于:In some possible implementations of the embodiments of the present application, the user input unit 137 is also used to:
在显示单元136显示目标导航路线之后,在N大于1的情况下,接收用于将第三标识移动至预设区域的第三输入,第三标识为第二标识中的至少一个;After the display unit 136 displays the target navigation route, if N is greater than 1, receive a third input for moving the third identification to the preset area, where the third identification is at least one of the second identifications;
处理器1310还用于:Processor 1310 is also used to:
响应于第三输入,删除目标导航路线中的第一导航路线,第一导航路线与第三标识关联。In response to the third input, a first navigation route in the target navigation route is deleted, and the first navigation route is associated with the third identification.
应理解的是,本申请实施例中,输入单元134可以包括图形处理器(GraphicsProcessing Unit,GPU)1341和麦克风1342,图形处理器1341对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元136可包括显示面板1361,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1361。用户输入单元137包括触控面板1371以及其他输入设备1372。触控面板1371,也称为触摸屏。触控面板1371可包括触摸检测装置和触摸控制器两个部分。其他输入设备1372可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器139可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1310可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1310中。It should be understood that in the embodiment of the present application, the input unit 134 may include a graphics processor (Graphics Processing Unit, GPU) 1341 and a microphone 1342. The graphics processor 1341 is responsible for the image capture device (such as Process the image data of still pictures or videos obtained by the camera). The display unit 136 may include a display panel 1361, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 137 includes a touch panel 1371 and other input devices 1372 . Touch panel 1371 is also called a touch screen. The touch panel 1371 may include two parts: a touch detection device and a touch controller. Other input devices 1372 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here. Memory 139 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 1310 can integrate an application processor and a modem processor, where the application processor mainly processes operating systems, user interfaces, application programs, etc., and the modem processor mainly processes wireless communications. It can be understood that the above modem processor may not be integrated into the processor 1310.
本申请实施例还提供一种可读存储介质,可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述应用于电子设备的导航路线显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application also provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the program or instructions are executed by the processor, each process of the above embodiment of the navigation route display method applied to electronic devices is implemented. And can achieve the same technical effect. To avoid repetition, they will not be described again here.
其中,处理器为上述实施例中所述的电子设备中的处理器。可读存储介质包括计算机可读存储介质,计算机可读存储介质的示例包括非暂态计算机可读存储介质,如ROM、RAM、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiment. Readable storage media include computer-readable storage media, and examples of computer-readable storage media include non-transitory computer-readable storage media, such as ROM, RAM, magnetic disks, or optical disks.
本申请实施例另提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述应用于电子设备的导航路线显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application also provides a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement various processes of the above embodiment of the navigation route display method applied to electronic devices. , and can achieve the same technical effect, so to avoid repetition, they will not be described again here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-a-chip or system-on-chip, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the terms "comprising", "comprises" or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device that includes a series of elements not only includes those elements, It also includes other elements not expressly listed or inherent in the process, method, article or apparatus. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article or apparatus that includes that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions may be performed, for example, the methods described may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to related technologies. The computer software product is stored in a storage medium (such as ROM/RAM, disk, CD), including several instructions to cause a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Inspired by this application, many forms can be made without departing from the purpose of this application and the scope protected by the claims, all of which fall within the protection of this application.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111264819.5ACN114001748B (en) | 2021-10-28 | 2021-10-28 | Navigation route display method, device, equipment and medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111264819.5ACN114001748B (en) | 2021-10-28 | 2021-10-28 | Navigation route display method, device, equipment and medium |
| Publication Number | Publication Date |
|---|---|
| CN114001748A CN114001748A (en) | 2022-02-01 |
| CN114001748Btrue CN114001748B (en) | 2024-03-22 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111264819.5AActiveCN114001748B (en) | 2021-10-28 | 2021-10-28 | Navigation route display method, device, equipment and medium |
| Country | Link |
|---|---|
| CN (1) | CN114001748B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115451991A (en)* | 2022-10-27 | 2022-12-09 | 南京维沃软件技术有限公司 | Navigation path determining method and device, electronic equipment and readable storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2012044777A1 (en)* | 2010-10-01 | 2012-04-05 | Imerj LLC | Dragging an application to a screen using the app manager |
| AU2014100581A4 (en)* | 2013-06-09 | 2014-07-17 | Apple Inc. | Device, method, and graphical user interface for providing navigation and search functionalities |
| CN105191387A (en)* | 2013-03-15 | 2015-12-23 | 苹果公司 | Mapping application with turn-by-turn navigation mode for output to vehicle display |
| CN107084736A (en)* | 2017-04-27 | 2017-08-22 | 维沃移动通信有限公司 | A navigation method and mobile terminal |
| CN108548539A (en)* | 2018-06-28 | 2018-09-18 | Oppo广东移动通信有限公司 | Air navigation aid and device based on image recognition, terminal, readable storage medium storing program for executing |
| CN109408172A (en)* | 2018-09-27 | 2019-03-01 | 维沃移动通信有限公司 | A kind of processing method and terminal device of application program |
| CN109491560A (en)* | 2018-09-20 | 2019-03-19 | 华为技术有限公司 | The starting method and apparatus of application program |
| WO2019095392A1 (en)* | 2017-11-20 | 2019-05-23 | 华为技术有限公司 | Method and device for dynamically displaying icon according to background image |
| CN110334352A (en)* | 2019-07-08 | 2019-10-15 | 腾讯科技(深圳)有限公司 | Guidance information display methods, device, terminal and storage medium |
| CN110851051A (en)* | 2019-10-28 | 2020-02-28 | 维沃移动通信有限公司 | Object sharing method and electronic equipment |
| CN110940339A (en)* | 2019-11-25 | 2020-03-31 | 维沃移动通信有限公司 | Navigation method and electronic equipment |
| CN111078076A (en)* | 2019-12-31 | 2020-04-28 | 维沃移动通信有限公司 | Application switching method and electronic device |
| CN112148174A (en)* | 2020-09-30 | 2020-12-29 | 维沃移动通信有限公司 | Application information display method and device and electronic equipment |
| CN112783998A (en)* | 2021-01-21 | 2021-05-11 | 维沃移动通信(杭州)有限公司 | Navigation method and electronic equipment |
| CN113188561A (en)* | 2021-06-18 | 2021-07-30 | 北京市商汤科技开发有限公司 | Navigation method, navigation device, computer equipment and computer readable storage medium |
| CN113220178A (en)* | 2021-05-07 | 2021-08-06 | 维沃移动通信有限公司 | Application program control method and device |
| CN113375688A (en)* | 2021-06-22 | 2021-09-10 | 北京百度网讯科技有限公司 | Navigation processing method, device, equipment and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2012044777A1 (en)* | 2010-10-01 | 2012-04-05 | Imerj LLC | Dragging an application to a screen using the app manager |
| CN105191387A (en)* | 2013-03-15 | 2015-12-23 | 苹果公司 | Mapping application with turn-by-turn navigation mode for output to vehicle display |
| AU2014100581A4 (en)* | 2013-06-09 | 2014-07-17 | Apple Inc. | Device, method, and graphical user interface for providing navigation and search functionalities |
| CN107084736A (en)* | 2017-04-27 | 2017-08-22 | 维沃移动通信有限公司 | A navigation method and mobile terminal |
| WO2019095392A1 (en)* | 2017-11-20 | 2019-05-23 | 华为技术有限公司 | Method and device for dynamically displaying icon according to background image |
| CN108548539A (en)* | 2018-06-28 | 2018-09-18 | Oppo广东移动通信有限公司 | Air navigation aid and device based on image recognition, terminal, readable storage medium storing program for executing |
| CN112740179A (en)* | 2018-09-20 | 2021-04-30 | 华为技术有限公司 | Application startup method and device |
| CN109491560A (en)* | 2018-09-20 | 2019-03-19 | 华为技术有限公司 | The starting method and apparatus of application program |
| CN109408172A (en)* | 2018-09-27 | 2019-03-01 | 维沃移动通信有限公司 | A kind of processing method and terminal device of application program |
| CN110334352A (en)* | 2019-07-08 | 2019-10-15 | 腾讯科技(深圳)有限公司 | Guidance information display methods, device, terminal and storage medium |
| CN110851051A (en)* | 2019-10-28 | 2020-02-28 | 维沃移动通信有限公司 | Object sharing method and electronic equipment |
| CN110940339A (en)* | 2019-11-25 | 2020-03-31 | 维沃移动通信有限公司 | Navigation method and electronic equipment |
| CN111078076A (en)* | 2019-12-31 | 2020-04-28 | 维沃移动通信有限公司 | Application switching method and electronic device |
| CN112148174A (en)* | 2020-09-30 | 2020-12-29 | 维沃移动通信有限公司 | Application information display method and device and electronic equipment |
| CN112783998A (en)* | 2021-01-21 | 2021-05-11 | 维沃移动通信(杭州)有限公司 | Navigation method and electronic equipment |
| CN113220178A (en)* | 2021-05-07 | 2021-08-06 | 维沃移动通信有限公司 | Application program control method and device |
| CN113188561A (en)* | 2021-06-18 | 2021-07-30 | 北京市商汤科技开发有限公司 | Navigation method, navigation device, computer equipment and computer readable storage medium |
| CN113375688A (en)* | 2021-06-22 | 2021-09-10 | 北京百度网讯科技有限公司 | Navigation processing method, device, equipment and storage medium |
| Title |
|---|
| 应用程序图标的实现方法;李征宇;;内蒙古科技与经济(第24期);115-116* |
| Publication number | Publication date |
|---|---|
| CN114001748A (en) | 2022-02-01 |
| Publication | Publication Date | Title |
|---|---|---|
| CN114356197B (en) | Data transmission method and device | |
| US10452333B2 (en) | User terminal device providing user interaction and method therefor | |
| CN106227344B (en) | Electronic device and control method thereof | |
| US10365819B2 (en) | Device, method, and graphical user interface for displaying a character input user interface | |
| CN105302784B (en) | Method and system for copying/cutting and pasting data | |
| US9411484B2 (en) | Mobile device with memo function and method for controlling the device | |
| US20170205894A1 (en) | Method and device for switching tasks | |
| US20160092064A1 (en) | Method and Apparatus for Displaying Application Interface, and Electronic Device | |
| US20110010672A1 (en) | Directory Management on a Portable Multifunction Device | |
| KR20130080179A (en) | Method and apparatus for managing icon in portable terminal | |
| KR20140143555A (en) | Method for executing application on unlocking screen of mobile terminal and the mobile terminal | |
| CN104346085A (en) | Control object operation method and device and terminal device | |
| WO2022194004A1 (en) | Application icon arrangement method and apparatus, and electronic device | |
| EP3828682A1 (en) | Method, apparatus for adding shortcut plug-in, and intelligent device | |
| CN112948844B (en) | Control method, device and electronic equipment | |
| WO2023046106A1 (en) | Desktop editing method and apparatus, and electronic device | |
| CN117193916A (en) | Methods and devices for processing chat content | |
| CN114001748B (en) | Navigation route display method, device, equipment and medium | |
| CN114116098B (en) | Application icon management method and device, electronic equipment and storage medium | |
| CN113986082A (en) | Information interaction method, device and equipment | |
| CN114489414A (en) | File processing method and device | |
| CN113835592A (en) | Application function combination method and device and electronic equipment | |
| CN112764614A (en) | Data isolation method and electronic equipment | |
| JP2015018426A (en) | Information display device | |
| CN114116087B (en) | Interface operation method, device, electronic equipment and medium between dual systems |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |