Movatterモバイル変換


[0]ホーム

URL:


CN114780193A - Toolbar display method, apparatus, electronic device and storage medium - Google Patents

Toolbar display method, apparatus, electronic device and storage medium
Download PDF

Info

Publication number
CN114780193A
CN114780193ACN202210435638.2ACN202210435638ACN114780193ACN 114780193 ACN114780193 ACN 114780193ACN 202210435638 ACN202210435638 ACN 202210435638ACN 114780193 ACN114780193 ACN 114780193A
Authority
CN
China
Prior art keywords
application
toolbar
page
application program
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210435638.2A
Other languages
Chinese (zh)
Inventor
苏伟鸿
陈启
黎瀚
谷穗子
池卓哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202210435638.2ApriorityCriticalpatent/CN114780193A/en
Publication of CN114780193ApublicationCriticalpatent/CN114780193A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

The application discloses a display method and device of a toolbar, electronic equipment and a storage medium, and relates to the technical field of electronic equipment. The method comprises the steps of displaying an application page of a first application program, and displaying a toolbar on the application page of the first application program in response to a toolbar display instruction initiated through the application page of the first application program, wherein the first toolbar displays at least one application icon of a second application program, and the second application program is used for providing services adapting to a use scene of the first application program. According to the application program running on the foreground, the application icon adaptive to the use scene of the application program running on the foreground is provided on the toolbar, so that diversified requirements under the application use scene are met.

Description

Translated fromChinese
工具栏的显示方法、装置、电子设备以及存储介质Toolbar display method, device, electronic device, and storage medium

技术领域technical field

本申请涉及电子设备技术领域,更具体地,涉及一种工具栏的显示方法、装置、电子设备以及存储介质。The present application relates to the technical field of electronic devices, and more particularly, to a method, apparatus, electronic device, and storage medium for displaying a toolbar.

背景技术Background technique

随着电子设备运行能力的发展,电子设备能够在同一时间运行多个应用程序。其中,当用户需要使用后台运行的应用程序或未运行的应用程序的服务时,则需要将在电子设备的前台运行的应用程序转入后台运行,或关掉在电子设备的前台运行的应用程序,再将指定后台运行的应用程序或未运行的应用程序调入前台运行,接收用户的操作并为用户提供对应的服务,这种方式操作繁琐,导致用户的使用体验不佳。With the development of the operational capabilities of electronic devices, electronic devices can run multiple applications at the same time. Wherein, when the user needs to use the application program running in the background or the service of the application program that is not running, the application program running in the foreground of the electronic device needs to be transferred to the background operation, or the application program running in the foreground of the electronic device needs to be turned off. , and then call the specified application running in the background or the application that is not running into the foreground to run, receive the user's operation and provide the corresponding service for the user. This method is cumbersome to operate, resulting in a poor user experience.

发明内容SUMMARY OF THE INVENTION

鉴于上述问题,本申请提出了一种工具栏的显示方法、装置、电子设备以及存储介质,以解决上述问题。In view of the above problems, the present application proposes a method, device, electronic device, and storage medium for displaying a toolbar to solve the above problems.

第一方面,本申请实施例提供了一种工具栏的显示方法,所述方法包括:显示第一应用程序的应用页面;响应于通过所述第一应用程序的应用页面发起的工具栏显示指令,在所述第一应用程序的应用页面上显示第一工具栏,其中,所述第一工具栏显示有至少一个第二应用程序的应用图标,所述第二应用程序用于提供适配所述第一应用程序的使用场景的服务。In a first aspect, an embodiment of the present application provides a method for displaying a toolbar, the method comprising: displaying an application page of a first application; in response to a toolbar display instruction initiated through the application page of the first application , displaying a first toolbar on the application page of the first application, wherein the first toolbar displays an application icon of at least one second application, and the second application is used to provide the adaptation Describe the service of the usage scenario of the first application.

第二方面,本申请实施例提供了一种工具栏的显示装置,所述装置包括:应用页面显示模块,用于显示第一应用程序的应用页面;工具栏显示模块,用于响应于通过所述第一应用程序的应用页面发起的工具栏显示指令,在所述第一应用程序的应用页面上显示第一工具栏,其中,所述第一工具栏显示有至少一个第二应用程序的应用图标,所述第二应用程序用于提供适配所述第一应用程序的使用场景的服务。In a second aspect, an embodiment of the present application provides a display device for a toolbar, the device includes: an application page display module for displaying an application page of a first application; a toolbar display module for responding to the The toolbar display instruction initiated by the application page of the first application program, the first toolbar is displayed on the application page of the first application program, wherein the first toolbar displays at least one application of the second application program icon, the second application is configured to provide a service adapted to a usage scenario of the first application.

第三方面,本申请实施例提供了一种电子设备,包括存储器和处理器,所述存储器耦接到所述处理器,所述存储器存储指令,当所述指令由所述处理器执行时所述处理器执行上述方法。In a third aspect, embodiments of the present application provide an electronic device, including a memory and a processor, the memory is coupled to the processor, and the memory stores instructions, which are stored when the instructions are executed by the processor. The processor executes the above method.

第四方面,本申请实施例提供了一种计算机可读取存储介质,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行上述方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code can be invoked by a processor to execute the above method.

在本申请实施例中,在显示第一应用程序的应用页面的过程中,响应于通过第一应用程序的应用页面发起的工具栏显示指令,在第一应用程序的应用页面上显示第一工具栏,其中,该第一工具栏显示有至少一个第二应用程序的应用图标,该第二应用程序用于提供适配该第一应用程序的使用场景的服务,从而通过根据前台运行的应用程序,在工具栏提供适配该前台运行的应用程序的使用场景的应用图标,以满足应用使用场景下的多样化需求。In this embodiment of the present application, in the process of displaying the application page of the first application, in response to a toolbar display instruction initiated through the application page of the first application, the first tool is displayed on the application page of the first application bar, wherein the first toolbar displays an application icon of at least one second application, and the second application is used to provide services adapted to the usage scenario of the first application, so as to , and an application icon that adapts to the usage scenario of the application running in the foreground is provided on the toolbar to meet the diverse needs of the application usage scenario.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained from these drawings without creative effort.

图1示出了可用于本申请实施例提供的工具栏的显示方法的一种电子设备的折叠状态的结构示意图;FIG. 1 shows a schematic structural diagram of a folded state of an electronic device that can be used in the method for displaying a toolbar provided by an embodiment of the present application;

图2示出了可用于本申请实施例提供的工具栏的显示方法的一种的电子设备的展开状态的结构示意图;2 shows a schematic structural diagram of an electronic device in an expanded state that can be used in one of the methods for displaying a toolbar provided in an embodiment of the present application;

图3示出了可用于本申请实施例提供的工具栏的显示方法的另一种的电子设备的结构示意图;FIG. 3 shows a schematic structural diagram of another electronic device that can be used for the display method of the toolbar provided by the embodiment of the present application;

图4示出了本申请一实施例提供的工具栏的显示方法的流程示意图;FIG. 4 shows a schematic flowchart of a method for displaying a toolbar provided by an embodiment of the present application;

图5示出了本申请实施例提供的电子设备的第一种界面示意图;FIG. 5 shows a schematic diagram of a first interface of an electronic device provided by an embodiment of the present application;

图6示出了本申请一实施例提供的工具栏的显示方法的流程示意图;6 shows a schematic flowchart of a method for displaying a toolbar provided by an embodiment of the present application;

图7示出了本申请的图6所示的工具栏的显示方法的步骤S250的流程示意图;FIG. 7 shows a schematic flowchart of step S250 of the method for displaying the toolbar shown in FIG. 6 of the present application;

图8示出了本申请实施例提供的电子设备的第二种界面示意图;FIG. 8 shows a schematic diagram of a second interface of an electronic device provided by an embodiment of the present application;

图9示出了本申请实施例提供的电子设备的第一种交互示意图;FIG. 9 shows a first interaction schematic diagram of an electronic device provided by an embodiment of the present application;

图10示出了本申请实施例提供的电子设备的第二种交互示意图;FIG. 10 shows a second schematic diagram of interaction of an electronic device provided by an embodiment of the present application;

图11示出了本申请实施例提供的电子设备的第三种交互示意图;FIG. 11 shows a third interaction schematic diagram of an electronic device provided by an embodiment of the present application;

图12示出了本申请实施例提供的电子设备的第四种交互示意图;FIG. 12 shows a fourth interaction schematic diagram of an electronic device provided by an embodiment of the present application;

图13示出了本申请实施例提供的电子设备的第三种界面示意图;13 shows a schematic diagram of a third interface of an electronic device provided by an embodiment of the present application;

图14示出了本申请实施例提供的电子设备的第四种界面示意图;FIG. 14 shows a schematic diagram of a fourth interface of an electronic device provided by an embodiment of the present application;

图15示出了本申请实施例提供的电子设备的第五种界面示意图;FIG. 15 shows a schematic diagram of a fifth interface of an electronic device provided by an embodiment of the present application;

图16示出了本申请一实施例提供的工具栏的显示方法的流程示意图;16 shows a schematic flowchart of a method for displaying a toolbar provided by an embodiment of the present application;

图17示出了本申请实施例提供的电子设备的第六种界面示意图;FIG. 17 shows a schematic diagram of a sixth interface of an electronic device provided by an embodiment of the present application;

图18示出了本申请的图16所示的工具栏的显示方法的步骤S340的流程示意图;FIG. 18 shows a schematic flowchart of step S340 of the method for displaying the toolbar shown in FIG. 16 of the present application;

图19示出了本申请一实施例提供的工具栏的显示方法的流程示意图;FIG. 19 shows a schematic flowchart of a method for displaying a toolbar provided by an embodiment of the present application;

图20示出了本申请实施例提供的电子设备的第七种界面示意图;FIG. 20 shows a seventh interface schematic diagram of the electronic device provided by the embodiment of the present application;

图21示出了本申请实施例提供的工具栏的显示装置的模块框图;FIG. 21 shows a block diagram of a module of a display device for a toolbar provided by an embodiment of the present application;

图22示出了本申请实施例用于执行根据本申请实施例的工具栏的显示方法的电子设备的框图;FIG. 22 shows a block diagram of an electronic device for implementing the method for displaying a toolbar according to an embodiment of the present application;

图23示出了本申请实施例的用于保存或者携带实现根据本申请实施例的工具栏的显示方法的程序代码的存储单元。FIG. 23 shows a storage unit for storing or carrying a program code for implementing a method for displaying a toolbar according to an embodiment of the present application according to an embodiment of the present application.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to make those skilled in the art better understand the solutions of the present application, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application.

其中,触摸屏是电子设备上用于显示用户界面以及供用户进行触控操作的部分,柔性显示屏可以实现成为折叠屏,折叠屏是指使用柔性屏材质,通过铰链等硬件结构实现屏幕形态从展开到折起的切换。在相关技术中,具有折叠屏的电子设备可以处于折叠状态或展开状态。当处于展开状态时,折叠屏可以具有多个显示区域,并通过多个显示区域进行内容显示,此时,整个触摸屏的尺寸较大。Among them, the touch screen is the part of the electronic device used to display the user interface and for the user to perform touch operations. The flexible display screen can be realized as a folding screen. The folding screen refers to the use of flexible screen materials, and hardware structures such as hinges are used to realize the screen shape from unfolding. to the folded switch. In the related art, an electronic device with a folding screen may be in a folded state or an unfolded state. When in the unfolded state, the folding screen may have multiple display areas, and display content through the multiple display areas, and at this time, the size of the entire touch screen is relatively large.

目前,针对用户需要频繁点击应用程序图标,以切换前台运行的应用程序的情况,越来越多的电子设备开始提供工具栏服务。用户采用预定方式呼出工具栏后,可以通过点击工具栏中的应用图标的方式,即可开启应用程序,从而提高用户操作应用程序的效率。At present, in view of the situation that users need to frequently click on application icons to switch applications running in the foreground, more and more electronic devices begin to provide toolbar services. After the user calls out the toolbar in a predetermined manner, the application program can be opened by clicking the application icon in the toolbar, thereby improving the efficiency of the user operating the application program.

而针对目前仅支持单个应用程序在前台运行的情况,越来越多的电子设备也开始支持多任务操作模式(在电子设备上同时显示并处理多个应用界面)。其中,电子设备可以通过打开如侧边栏的方式添加应用程序并进入多任务操作模式,在打开侧边栏之后,侧边栏内可以显示有近期常用的应用程序对应的应用图标,在拖动侧边栏中的应用图标离开侧边栏之后,相应的应用程序可以以分屏的形式或者以悬浮窗的形式打开,与原前台运行的应用程序共同组成多任务操作模式。In view of the situation that currently only a single application program is supported to run in the foreground, more and more electronic devices also begin to support a multitasking operation mode (simultaneous display and processing of multiple application interfaces on the electronic device). Among them, the electronic device can add applications by opening the sidebar and enter the multitasking operation mode. After opening the sidebar, the sidebar can display the application icons corresponding to the recently used applications. After the application icon in the sidebar leaves the sidebar, the corresponding application can be opened in the form of a split screen or in the form of a floating window, forming a multitasking operation mode together with the application running in the original foreground.

但是,上述操作方式中,电子设备在前台运行某个应用程序并打开侧边栏时,侧边栏内仅支持快速开启近期高频使用的应用程序并进入多任务操作模式。而近期高频使用的应用程序不代表着为前台运行的应用程序所适配使用的应用程序,与用户的使用需求不适配。基于上述形式,若用户需要使用与前台运行的应用程序所适配的应用程序,则需要退出前台运行的应用程序而单独开启其他应用程序以使用,从而导致操作过程繁琐,且与使用场景的操作不契合。However, in the above operation mode, when the electronic device runs an application program in the foreground and opens the sidebar, the sidebar only supports to quickly open recently frequently used applications and enter the multitasking operation mode. However, applications that are frequently used recently do not represent applications that are adapted to the applications running in the foreground, and do not meet the needs of users. Based on the above form, if the user needs to use the application program that is adapted to the application program running in the foreground, he needs to exit the application program running in the foreground and open other applications separately for use, resulting in a cumbersome operation process and the operation of the usage scenario. does not fit.

针对上述问题,发明人经过长期的研究发现,并提出了本申请实施例提供的工具栏的显示方法、装置、电子设备以及存储介质,通过根据前台运行的应用程序的应用类型,确定对应显示的工具栏,以及在应用类型满足预设类型时,在工具栏提供适配该前台运行的应用程序的使用场景的应用图标,以满足应用使用场景下的多样化需求。其中,具体的工具栏的显示方法在后续的实施例中进行详细的说明。In view of the above problems, the inventor has found through long-term research, and proposed the display method, device, electronic device and storage medium of the toolbar provided by the embodiments of the present application, by determining the corresponding display according to the application type of the application running in the foreground Toolbar, and when the application type meets the preset type, an application icon adapted to the usage scenario of the application running in the foreground is provided on the toolbar to meet the diverse needs of the application usage scenario. The specific display method of the toolbar will be described in detail in the following embodiments.

下面将针对可用于本申请实施例提供的工具栏的显示方法的应用环境进行说明。An application environment applicable to the display method of the toolbar provided by the embodiment of the present application will be described below.

请参阅图1,电子设备100可以但不限于为手机、平板电脑、游戏机、智能穿戴设备、车载设备等电子装置。本实施方式的电子设备100以手机为例进行说明。Referring to FIG. 1 , theelectronic device 100 may be, but is not limited to, electronic devices such as mobile phones, tablet computers, game consoles, smart wearable devices, and in-vehicle devices. Theelectronic device 100 of the present embodiment will be described by taking a mobile phone as an example.

电子设备100包括可折叠壳体组件110、柔性显示屏120以及电子组件(图中未示出),电子组件设置于可折叠壳体组件110内,柔性显示屏120铺设于可折叠壳体组件110上。可折叠壳体组件110用于对柔性显示屏120进行承载,同时对电子组件进行防护。电子组件可以,但不限于包括中央处理器、存储器、摄像头、受话器、指纹模组等,具体的电子组件在本申请实施例中可以不作为限定。Theelectronic device 100 includes afoldable casing assembly 110 , aflexible display screen 120 and an electronic assembly (not shown in the figure), the electronic assembly is arranged in thefoldable casing assembly 110 , and theflexible display screen 120 is laid on thefoldable casing assembly 110 superior. Thefoldable housing assembly 110 is used to carry theflexible display screen 120 while protecting the electronic components. The electronic components may, but are not limited to, include a central processing unit, a memory, a camera, a receiver, a fingerprint module, and the like, and the specific electronic components may not be limited in the embodiments of the present application.

可折叠壳体组件110包括第一壳体111、第二壳体112以及转轴机构113,第一壳体111和第二壳体112分别连接于转轴机构113的两侧。第二壳体112能够通过转轴机构113相对第一壳体111折叠或展开,使可折叠壳体组件110带动柔性显示屏120折叠或展开,可折叠壳体组件110及柔性显示屏120呈叠合状时,电子设备100的体积相对较小,便于收纳及携带,可折叠壳体组件110及柔性显示屏120呈展开状时,电子设备100的体积相对较大,便于进行信息的展示。Thefoldable casing assembly 110 includes afirst casing 111 , a second casing 112 and a rotating shaft mechanism 113 , and thefirst casing 111 and the second casing 112 are respectively connected to two sides of the rotating shaft mechanism 113 . The second housing 112 can be folded or unfolded relative to thefirst housing 111 through the hinge mechanism 113, so that thefoldable housing assembly 110 drives theflexible display screen 120 to fold or unfold, and thefoldable housing assembly 110 and theflexible display screen 120 are superimposed When thefoldable housing assembly 110 and theflexible display screen 120 are unfolded, the volume of theelectronic device 100 is relatively large, which is convenient for information display.

请参阅图2,本实施方式中,柔性显示屏120包括连接于第一壳体111的第一显示部121、连接于第二壳体112的第二显示部122和连接于第一显示部121和第二显示部122的弯折显示部123。其中,第一显示部121、第二显示部122对以及弯折显示部123可对应形成多个显示区域(例如,形式两个显示区域、形成三个显示区域、形成四个显示区域……形成N个显示区域)。第一显示部121和第二显示部122分别随第一壳体111和第二壳体112相对地折叠或展开。弯折显示部123随第一显示部121与第二显示部122的折叠或展开而弯折或展平。在一些实施方式中,第一显示部121、第二显示部122以及弯折显示部123可以为一体结构,使柔性显示屏120为整片式的柔性显示屏;或者,在其他的一些实施方式中,弯折显示部123为可弯折的柔性部分,而第一显示部121、第二显示部122可以为非柔性部分,第一显示部121、第二显示部122通过弯折显示部123相对地折叠或展开。在本实施方式中,第一壳体111与第二壳体112呈叠合状时,第一显示部121与第二显示部122相背离,使电子设备100呈现为外折屏幕的结构,使用户在折叠的情况下同样能够观察柔性显示屏120的显示内容,提高了电子设备100使用的便利性。在其他的一些实施方式中,第一壳体111与第二壳体112呈叠合状时,第一显示部121与第二显示部122相靠近,使电子设备100呈现为内折屏幕的结构,以使柔性显示屏120免于刮花损坏。Referring to FIG. 2 , in this embodiment, theflexible display screen 120 includes afirst display portion 121 connected to thefirst housing 111 , asecond display portion 122 connected to the second housing 112 , and afirst display portion 121 connected to the second housing 112 . and thebending display part 123 of thesecond display part 122 . Wherein, thefirst display part 121, thesecond display part 122 pair and thebending display part 123 can correspondingly form multiple display areas (for example, two display areas, three display areas, four display areas, etc.) N display areas). Thefirst display part 121 and thesecond display part 122 are folded or unfolded relatively with thefirst casing 111 and the second casing 112 , respectively. The bendingdisplay part 123 is bent or flattened with the folding or unfolding of thefirst display part 121 and thesecond display part 122 . In some implementations, thefirst display part 121 , thesecond display part 122 and thebending display part 123 may be an integral structure, so that theflexible display screen 120 is a whole-piece flexible display screen; or, in other implementations , the bendingdisplay part 123 is a flexible part that can be bent, and thefirst display part 121 and thesecond display part 122 can be non-flexible parts, thefirst display part 121 and thesecond display part 122 Relatively folded or unfolded. In this embodiment, when thefirst casing 111 and the second casing 112 are in a superimposed shape, thefirst display part 121 and thesecond display part 122 are separated from each other, so that theelectronic device 100 presents a structure of an outwardly folded screen, so that the The user can also observe the display content of theflexible display screen 120 in the case of folding, which improves the convenience of using theelectronic device 100 . In other embodiments, when thefirst casing 111 and the second casing 112 are in a superimposed shape, thefirst display part 121 and thesecond display part 122 are close to each other, so that theelectronic device 100 presents a structure with an inwardly folded screen , so that theflexible display screen 120 is not damaged by scratches.

应当理解的是,上述的第一显示部121、第二显示部122以及弯折显示部123的命名仅为便于描述而设置,并不作为柔性显示屏120的结构限制,在实际的应用场景中,第一显示部121、第二显示部122以及弯折显示部123可以没有明显的界限,或者,柔性显示屏120可以以其他的划分结构出现,例如,柔性显示屏120包括第一显示部121以及连接于该第一显示部121的第二显示部122,该第一显示部121及该第二显示部122能够相对转动以折叠或展开。It should be understood that the above-mentioned names of thefirst display part 121 , thesecond display part 122 and thebending display part 123 are set for convenience of description only, and are not limited to the structure of theflexible display screen 120 . In actual application scenarios , thefirst display part 121 , thesecond display part 122 and thebending display part 123 may not have obvious boundaries, or theflexible display screen 120 may appear in other division structures, for example, theflexible display screen 120 includes thefirst display part 121 and asecond display part 122 connected to thefirst display part 121 , thefirst display part 121 and thesecond display part 122 can rotate relative to each other to be folded or unfolded.

请参阅图3,电子设备100除了可以为上述折叠屏电子设备之外,还可以为非折叠屏电子设备。需要说明的是,在本实施例中,电子设备100的外形和结构均不作为限定,只要能适用本方案即可。Referring to FIG. 3 , theelectronic device 100 may be a non-folding screen electronic device in addition to the above-mentioned folding screen electronic device. It should be noted that, in this embodiment, the shape and structure of theelectronic device 100 are not limited, as long as this solution can be applied.

请参阅图4,图4示出了本申请一实施例提供的工具栏的显示方法的流程示意图。该方法用于通过根据前台运行的应用程序的应用类型,确定对应显示的工具栏,以及在应用类型满足预设类型时,在工具栏提供适配该前台运行的应用程序的使用场景的应用图标,以满足应用使用场景下的多样化需求。其中,在具体的实施例中,该工具栏的显示方法应用于如图21所示的工具栏的显示装置200以及配置有工具栏的显示装置200的电子设备100(图22)。下面将以电子设备为例,说明本实施例的具体流程,当然,可以理解的,本实施例所应用的电子设备可以包括智能手机、平板电脑、穿戴式电子设备等,在此不做限定。下面将针对图4所示的流程进行详细的阐述,所述工具栏的显示方法具体可以包括以下步骤:Referring to FIG. 4 , FIG. 4 shows a schematic flowchart of a method for displaying a toolbar provided by an embodiment of the present application. The method is used to determine the corresponding displayed toolbar according to the application type of the application running in the foreground, and when the application type meets the preset type, provide an application icon on the toolbar that adapts to the usage scenario of the application running in the foreground , to meet the diverse needs of application scenarios. In a specific embodiment, the method for displaying the toolbar is applied to the display device 200 of the toolbar as shown in FIG. 21 and the electronic device 100 ( FIG. 22 ) equipped with the display device 200 of the toolbar. The following will take an electronic device as an example to describe the specific process of this embodiment. Of course, it can be understood that the electronic device applied in this embodiment may include a smart phone, a tablet computer, a wearable electronic device, etc., which is not limited here. The flow shown in FIG. 4 will be described in detail below, and the display method of the toolbar may specifically include the following steps:

步骤S110:显示第一应用程序的应用页面。Step S110: Display the application page of the first application program.

在本实施例中,电子设备可以显示有第一应用程序的应用页面。例如,在第一应用程序为购物类应用程序的情况下,则该电子设备可以显示有购物类应用程序的应用页面,如物品选购页面、支付页面等。又例如,在第一应用程序为视频类应用程序的情况下,则该电子设备可以显示有视频类应用程序的应用页面,如电影播放页面、电视剧选择页面等。再例如,在第一应用程序为即时通讯类应用程序的情况下,则该电子设备可以显示有即时通讯类应用程序的应用页面,如聊天页面、联系人页面等。当然,在本实施例中,该第一应用程序还可以为其他更多的应用程序,在此不再赘述。In this embodiment, the electronic device may display an application page of the first application program. For example, if the first application is a shopping application, the electronic device may display an application page of the shopping application, such as an item purchase page, a payment page, and the like. For another example, if the first application is a video application, the electronic device may display an application page of the video application, such as a movie playing page, a TV drama selection page, and the like. For another example, if the first application is an instant messaging application, the electronic device may display an application page of the instant messaging application, such as a chat page, a contact page, and the like. Of course, in this embodiment, the first application program may also be other more application programs, and details are not described herein again.

在一些实施方式中,电子设备可以响应于用户输入的指令显示第一应用程序的应用页面。例如,电子设备可以响应作用于第一应用程序的应用图标上的点击操作显示第一应用程序的应用页面,电子设备可以响应作用于第一应用程序对应的链接上的点击操作显示第一应用程序的应用页面,电子设备可以响应输入的第一应用程序对应的语音显示第一应用程序的应用页面等,在此不做限定。In some embodiments, the electronic device may display an application page of the first application program in response to an instruction input by the user. For example, the electronic device may display the application page of the first application in response to a click operation on an application icon of the first application, and the electronic device may display the first application in response to a click operation on a link corresponding to the first application The electronic device may display the application page of the first application in response to the input voice corresponding to the first application, etc., which is not limited herein.

在一些实施方式中,电子设备可以全屏显示该第一应用程序的应用页面,可以部分屏显示该第一应用程序的应用页面等,在此不做限定。其中,电子设备在部分屏显示该第一应用程序的应用页面的情况下,则可以半屏显示该第一应用程序的应用页面,可以三分之一屏显示该第一应用程序的应用页面,可以四分之一屏显示该第一应用程序的应用页面等,在此不做限定。In some embodiments, the electronic device may display the application page of the first application program in full screen, may display the application page of the first application program in part of the screen, etc., which is not limited herein. Wherein, when part of the screen of the electronic device displays the application page of the first application, the electronic device may display the application page of the first application in half of the screen, and may display the application page of the first application in one third of the screen, The application page and the like of the first application program may be displayed in a quarter of the screen, which is not limited herein.

步骤S120:响应于通过所述第一应用程序的应用页面发起的工具栏显示指令,在所述第一应用程序的应用页面上显示第一工具栏,其中,所述第一工具栏显示有至少一个第二应用程序的应用图标,所述第二应用程序用于提供适配所述第一应用程序的使用场景的服务。Step S120: In response to the toolbar display instruction initiated through the application page of the first application, display a first toolbar on the application page of the first application, wherein the first toolbar displays at least An application icon of a second application, where the second application is used to provide a service adapted to a usage scenario of the first application.

在一些实施方式中,在第一应用程序的应用页面上显示第一工具栏可以包括:在第一应用程序的应用页面上悬浮显示该第一工具栏;或者,覆盖第一应用程序的应用页面的部分区域显示该第一工具栏;或者,缩小显示第一应用程序的应用页面且在缩小后的剩余区域显示该第一工具栏等,在此不做限定。In some implementation manners, displaying the first toolbar on the application page of the first application may include: displaying the first toolbar in suspension on the application page of the first application; or, covering the application page of the first application The first toolbar is displayed in a partial area of the first application program; or, the application page of the first application program is displayed in a reduced size, and the first toolbar is displayed in the remaining area after the reduction, etc., which is not limited herein.

在一些实施方式中,第一工具栏可以显示于第一显示页面(电子设备的触摸屏)的侧边(左侧边或者右侧边),此时,该第一工具栏可以是以侧边栏的形式呈现;第一工具栏还可以显示于第一显示页面(电子设备的触摸屏)的顶侧或底侧,此时,该第一工具栏可以是以状态栏的形式呈现。In some embodiments, the first toolbar may be displayed on the side (left side or right side) of the first display page (touch screen of the electronic device), in this case, the first toolbar may be a sidebar The first toolbar can also be displayed on the top side or the bottom side of the first display page (touch screen of the electronic device). In this case, the first toolbar can be presented in the form of a status bar.

在一些实施方式中,电子设备可以预先设置并存储有第一映射关系表,该第一预设关系表中可以包括多个应用程序和多个第二应用程序之间的对应关系,其中,该对应关系可以包括一个应用程序对应一个第二应用程序,一个应用程序对应多个第二应用程序,多个应用程序对应一个第二应用程序等,在此不做限定。在本实施例中,在获得第一应用程序的情况下,则可以基于该映射关系表,确定该第一应用程序对应的至少一个第二应用程序。In some embodiments, the electronic device may preset and store a first mapping relationship table, and the first preset relationship table may include correspondence between multiple application programs and multiple second application programs, wherein the The corresponding relationship may include one application program corresponding to one second application program, one application program corresponding to multiple second application programs, multiple application programs corresponding to one second application program, etc., which are not limited herein. In this embodiment, when the first application program is obtained, at least one second application program corresponding to the first application program can be determined based on the mapping relationship table.

于本实施例中,该第二应用程序可以用于提供适配第一应用程序的使用场景的服务。以第一应用程序的应用类型为购物类型为例,在第一应用程序的应用类型为购物类型的情况下,表征用户可能存在记录所需购买的物品的情况,此时的使用需求包括“记录”,因此,备忘录作为第二应用程序可以提供与购物类应用程序的使用场景相关的“记录”服务;在第一应用程序的应用类型为购物类型的情况下,表征用户可能存在计算所选定的物品的总价的情况,此时的使用需求包括“计算”,因此,计算器作为第二应用程序可以提供与购物类应用程序的使用场景相关的“计算”服务;在第一应用程序的应用类型为购物类型的情况下,表征用户可能存在定时抢购物品的情况,此时的使用需求包括“定时”,因此,闹钟作为第二应用程序可以提供与购物类应用程序的使用场景相关的“定时”服务。In this embodiment, the second application may be used to provide a service adapted to a usage scenario of the first application. Taking the application type of the first application as the shopping type as an example, in the case where the application type of the first application is the shopping type, it indicates that the user may record the items to be purchased. ”, therefore, the memo, as the second application, can provide a “recording” service related to the usage scenarios of shopping applications; in the case that the application type of the first application is the shopping type, it indicates that the user may have the calculation selected In the case of the total price of the items, the usage requirements at this time include "calculation". Therefore, as a second application, the calculator can provide "calculation" services related to the usage scenarios of shopping applications; in the first application When the application type is the shopping type, it indicates that the user may be rushing to buy items regularly, and the usage requirements at this time include "timing". Therefore, as a second application, the alarm clock can provide the "timer" related to the usage scenarios of shopping applications. Timed" service.

请参阅图5,图5示出了本申请实施例提供的电子设备的第一种界面示意图。如图5所示,电子设备可以显示第一应用程序的应用页面A,以及在第一应用程序的应用页面A上显示第一工具栏B,该第一工具栏B中可以显示至少一个(图示为三个)第二应用程序的应用图标C。Referring to FIG. 5 , FIG. 5 shows a schematic diagram of a first interface of an electronic device provided by an embodiment of the present application. As shown in FIG. 5 , the electronic device can display the application page A of the first application program, and display the first toolbar B on the application page A of the first application program, and the first toolbar B can display at least one (Fig. shown as three) application icons C of the second application.

本申请一实施例提供的工具栏的显示方法,在显示第一应用程序的应用页面的过程中,响应于通过第一应用程序的应用页面发起的工具栏显示指令,在第一应用程序的应用页面上显示第一工具栏,其中,该第一工具栏显示有至少一个第二应用程序的应用图标,该第二应用程序用于提供适配该第一应用程序的使用场景的服务,从而通过根据前台运行的应用程序,在工具栏提供适配该前台运行的应用程序的使用场景的应用图标,以满足应用使用场景下的多样化需求。In the method for displaying a toolbar provided by an embodiment of the present application, in the process of displaying the application page of the first application, in response to the toolbar display instruction initiated through the application page of the first application, in the application page of the first application A first toolbar is displayed on the page, wherein the first toolbar displays an application icon of at least one second application, and the second application is used to provide a service adapted to the usage scenario of the first application, so as to According to the application running in the foreground, an application icon adapted to the usage scenario of the application running in the foreground is provided on the toolbar to meet the diverse needs of the application usage scenario.

请参阅图6,图6示出了本申请一实施例提供的工具栏的显示方法的流程示意图。下面将针对图6所示的流程进行详细的阐述,所述工具栏的显示方法具体可以包括以下步骤:Please refer to FIG. 6. FIG. 6 shows a schematic flowchart of a method for displaying a toolbar provided by an embodiment of the present application. The process shown in FIG. 6 will be described in detail below, and the display method of the toolbar may specifically include the following steps:

步骤S210:显示第一应用程序的应用页面。Step S210: Display the application page of the first application program.

步骤S220:响应于通过所述第一应用程序的应用页面发起的工具栏显示指令,在所述第一应用程序的应用页面上显示第一工具栏,其中,所述第一工具栏显示有至少一个第二应用程序的应用图标,所述第二应用程序用于提供适配所述第一应用程序的使用场景的服务。Step S220: In response to the toolbar display instruction initiated through the application page of the first application, display a first toolbar on the application page of the first application, wherein the first toolbar displays at least An application icon of a second application, where the second application is used to provide a service adapted to a usage scenario of the first application.

其中,步骤S210-步骤S220的具体描述请参阅步骤S110-步骤S120,在此不再赘述。Wherein, the specific description of steps S210-step S220 can refer to steps S110-step S120, and details are not repeated here.

步骤S230:响应于通过所述第一工具栏发起的应用启动指令,从所述至少一个第二应用程序中确定并启动所述应用启动指令所指示的目标应用程序。Step S230: In response to the application start-up instruction initiated through the first toolbar, determine and start the target application program indicated by the application start-up instruction from the at least one second application program.

在本实施例中,电子设备在第一应用程序的应用页面上显示第一工具栏的过程中,可以对通过第一工具栏发起的指令进行检测。其中,在检测到通过第一工具栏发起的应用启动指令时,则可以响应于通过第一工具栏发起的应用启动指令,从第一工具栏中显示的至少一个第二应用程序中,确定并启动该应用启动指令所指示的目标应用程序。In this embodiment, in the process of displaying the first toolbar on the application page of the first application program, the electronic device may detect an instruction initiated through the first toolbar. Wherein, when the application startup instruction initiated through the first toolbar is detected, in response to the application startup instruction initiated through the first toolbar, from at least one second application displayed in the first toolbar, determine and Launches the target application indicated by the application launch instruction.

在一些实施方式中,电子设备在第一应用程序的应用页面上显示第一工具栏的过程中,可以对作用于第一工具栏的触控操作进行检测。其中,在检测到作用于第一工具栏显示的至少一个第二应用程序的应用图标中的某个第二应用程序的应用图标的点击操作的情况下,则可以将所点击的应用图标对应的第二应用程序确定为目标应用程序,并启动该目标应用程序。或者,在检测到作用于第一工具栏显示的至少一个第二应用程序的应用图标中的某个应用图标的目标拖动操作时,则可以将所拖动的某个应用图标对应的第二应用程序确定为目标应用程序,并启动该目标应用程序,其中,该目标拖动操作为拖动应用图标从工具栏中移动至应用页面中。In some embodiments, during the process of displaying the first toolbar on the application page of the first application, the electronic device may detect a touch operation acting on the first toolbar. Wherein, when a click operation acting on the application icon of a certain second application among the application icons of the at least one second application displayed on the first toolbar is detected, the clicked application icon corresponding to the The second application is determined as the target application, and the target application is started. Alternatively, when a target drag operation acting on an application icon among the application icons of at least one second application displayed on the first toolbar is detected, the second application icon corresponding to the dragged application icon may be The application is determined as the target application, and the target application is started, wherein the target drag operation is to drag the application icon from the toolbar to the application page.

步骤S240:在所述第一应用程序的应用页面显示所述目标应用程序的应用页面。Step S240: Display the application page of the target application on the application page of the first application.

在本实施例中,在确定启动目标应用程序的情况下,则可以在第一应用程序的应用页面显示该目标应用程序的应用页面。在一些实施方式中,可以在第一应用程序的应用页面悬浮显示该目标应用程序的应用页面,此时,该目标应用程序的应用页面可移动的悬浮显示与该第一应用程序的应用页面,可以响应作用于目标应用程序的应用页面的移动操作,改变目标应用程序的应用页面在第一应用程序的应用页面的显示位置。In this embodiment, when it is determined to start the target application, the application page of the target application may be displayed on the application page of the first application. In some implementation manners, the application page of the target application may be displayed in suspension on the application page of the first application, and at this time, the application page of the target application may be suspended and displayed with the application page of the first application, The display position of the application page of the target application on the application page of the first application may be changed in response to a moving operation acting on the application page of the target application.

在一些实施方式中,电子设备在第一应用程序的应用页面显示该目标应用程序的应用页面的过程中,可以对作用于目标应用程序的应用页面的触控操作进行检测。其中,若检测到作用于目标应用程序的应用页面的触控操作,则以第一透明度显示该目标应用程序的应用页面;或者,若未检测到作用于目标应用程序的应用页面的触控操作,则以第二透明度显示该目标应用程序的应用页面,其中,该第二透明度大于第一透明度。In some embodiments, the electronic device may detect a touch operation acting on the application page of the target application during the process of displaying the application page of the target application on the application page of the first application. Wherein, if a touch operation acting on the application page of the target application is detected, the application page of the target application is displayed with the first transparency; or, if no touch operation acting on the application page of the target application is detected , the application page of the target application is displayed with a second transparency, wherein the second transparency is greater than the first transparency.

作为一种可实施的方式,电子设备可以对作用于目标应用程序的应用页面的触控操作进行检测,例如,电子设备可以对作用于目标应用程序的应用页面的点击操作、按压操作、滑动操作等进行检测。其中,在检测到作用于目标应用程序的应用页面上的触控操作的情况下,可以认为用户期望通过对目标应用程序的应用页面进行操作的方式以完成对应的服务,因此,可以确定用户的注意力在目标应用程序的应用页面上,而非查看第一应用程序的应用页面中显示的内容,则可以按第一透明度显示目标应用程序的应用页面,其中,第一透明度对应的透明度可以较低,以更明显的显示目标应用程序的应用页面。其中,在未检测到作用于目标应用程序的应用页面的触控操作的情况下,可以认为用户不期望通过对目标应用程序的应用页面进行操作的方式以完成对应的服务,而是期望对第一应用程序的应用页面中所显示的内容进行查看,则可以按第二透明度显示目标应用程序的应用页面,其中,该第二透明度对应的透明度可以较高,以更隐性的显示目标应用程序的应用页面,即更明显的显示第一应用程序的应用页面。As an implementable manner, the electronic device can detect the touch operation acting on the application page of the target application. For example, the electronic device can detect the click operation, pressing operation, sliding operation acting on the application page of the target application. etc. to be detected. Wherein, in the case of detecting a touch operation acting on the application page of the target application, it can be considered that the user expects to complete the corresponding service by operating the application page of the target application. Therefore, it can be determined that the user's Focus on the application page of the target application, instead of viewing the content displayed in the application page of the first application, the application page of the target application may be displayed according to the first transparency, wherein the transparency corresponding to the first transparency may be higher than that of the first transparency. Low to display the application page of the target application more clearly. Wherein, in the case where the touch operation acting on the application page of the target application is not detected, it can be considered that the user does not expect to complete the corresponding service by operating the application page of the target application, but expects to To view the content displayed in the application page of an application program, the application page of the target application program can be displayed according to the second transparency, wherein the transparency corresponding to the second transparency can be higher, so as to display the target application program more implicitly. The application page, that is, the application page that more clearly displays the first application.

请参阅图7,图7示出了本申请的图6所示的工具栏的显示方法的步骤S250的流程示意图。下面将针对图7所示的流程进行详细的阐述,所述方法具体可以包括以下步骤:Please refer to FIG. 7 , which shows a schematic flowchart of step S250 of the method for displaying the toolbar shown in FIG. 6 of the present application. The flow shown in FIG. 7 will be described in detail below, and the method may specifically include the following steps:

步骤S241:获取所述目标应用程序所提供的适配所述第一应用程序的使用场景的服务,作为目标服务。Step S241: Acquire a service provided by the target application that adapts to the usage scenario of the first application as a target service.

在本实施例中,电子设备在确定目标应用程序的情况下,则可以获取该目标应用程序所提供的适配该第一应用程序的使用场景的服务,并将该目标应用程序所提供的适配该第一应用程序的使用场景的服务确定为目标服务。In this embodiment, when the electronic device determines the target application, the electronic device can obtain the service provided by the target application that adapts to the usage scenario of the first application, and use the appropriate service provided by the target application. The service matching the usage scenario of the first application is determined as the target service.

作为一种可实施的方式,电子设备可以预先设置并存储有第一应用程序的使用场景所需的服务,以及至少一个第二电子设备可以对应提供的服务。那么,在从至少一个第二电子设备中确定目标电子设备的情况下,则可以基于预先设置的关系,获取该目标应用程序所提供的适配第一应用程序的使用场景的服务。As an implementable manner, the electronic device may preset and store the service required by the usage scenario of the first application, and the corresponding service provided by at least one second electronic device. Then, when the target electronic device is determined from at least one second electronic device, the service provided by the target application that adapts to the usage scenario of the first application may be obtained based on a preset relationship.

其中,以第一应用程序的应用类型为购物类型为例。若目标应用程序为备忘录,则可以确定该备忘录所能提供的适配该第一应用程序使用场景的服务为“记录”,则可以将“记录”确定为目标服务;若目标应用程序为计算器,则可以确定该备忘录所能提供的适配该第一应用程序使用场景的服务为“计算”,则可以将“计算”确定为目标服务;若目标应用程序为闹钟,则可以确定该备忘录所能提供的适配该第一应用程序使用场景的服务为“定时”,则可以将“定时”确定为目标服务。Wherein, take the application type of the first application as the shopping type as an example. If the target application is a memo, it can be determined that the service provided by the memo that adapts to the usage scenario of the first application is "record", and then the "record" can be determined as the target service; if the target application is a calculator , then it can be determined that the service provided by the memorandum to adapt to the usage scenario of the first application is "computing", and then "computing" can be determined as the target service; if the target application is an alarm clock, it can be determined that the If the service that can be provided to adapt to the usage scenario of the first application is "timing", then the "timing" can be determined as the target service.

步骤S242:基于所述目标服务,确定并删除所述目标应用程序的应用页面中与所述目标服务无关的信息。Step S242: Based on the target service, determine and delete information irrelevant to the target service in the application page of the target application.

在本实施例中,在确定目标服务的情况下,则可以基于该目标服务,从目标应用程序的应用页面中,确定与该目标服务无关的信息,并删除与该目标服务无关的信息。在一些实施方式中,在确定目标服务的情况下,则可以去掉目标应用程序的应用页面中除与该目标服务相关的其他内容,获得该目标应用程序删除无关的信息后的应用页面。In this embodiment, when the target service is determined, information irrelevant to the target service may be determined from the application page of the target application based on the target service, and the information irrelevant to the target service may be deleted. In some embodiments, in the case of determining the target service, other content in the application page of the target application program except related to the target service can be removed, and the application page after the target application program has deleted irrelevant information can be obtained.

作为一种可实施的方式,基于目标服务,确定并删除目标应用程序的应用页面中与目标服务无关的信息可以包括:确定并删除目标应用程序的应用页面所支持的与目标服务无关的服务。其中,目标应用程序的应用页面可能同时支持多个服务,且该多个服务中可能存在与第一应用程序的使用场景适配的服务,也可能存在与第一应用程序的使用场景不适配的服务。可以理解的,在运行第一应用程序的过程中,多个服务中与第一应用程序的使用场景适配的服务对用户而言是有用的,则可以保留,多个服务中与第一应用程序的使用场景适配的服务对用户而言是无用的,对用户的使用会造成障碍,则可以不保留。因此,在本实施例中,可以对目标应用程序所支持的服务进行去冗余,即,去掉目标应用程序所支持的服务中与第一应用程序的使用场景不适配的服务,并保留目标应用程序所支持的服务中与第一应用程序的使用场景适配的服务,以便于用户对服务的直接使用。As an implementable manner, based on the target service, determining and deleting the information unrelated to the target service in the application page of the target application may include: determining and deleting the service unrelated to the target service supported by the application page of the target application. The application page of the target application may support multiple services at the same time, and among the multiple services, there may be services that are adapted to the usage scenario of the first application, or there may be services that are not adapted to the usage scenario of the first application. service. It can be understood that in the process of running the first application, if a service among the multiple services that is adapted to the usage scenario of the first application is useful to the user, it can be reserved. The service adapted to the usage scenario of the program is useless to the user and will cause obstacles to the user's use, so it may not be retained. Therefore, in this embodiment, the services supported by the target application can be de-redundant, that is, the services supported by the target application that are not suitable for the usage scenario of the first application are removed, and the target application is retained. Among the services supported by the application, the service is adapted to the usage scenario of the first application, so as to facilitate the direct use of the service by the user.

作为一种可实施的方式,基于目标服务,确定并删除目标应用程序的应用页面中与目标服务无关的信息可以包括:确定并删除目标应用程序的应用页面所包括的与目标服务无关的内容。其中,目标应用程序的应用页面所包括的内容可能同时包括:与第一应用程序的使用场景适配的服务对应的内容,以及,与第一应用程序的使用场景适配的服务不对应的内容。可以理解的,在运行第一应用程序的过程中,目标应用程序的应用页面所包括的内容中,与第一应用程序的使用场景适配的服务对应的内容对用户而言是有用的,则可以保留,而与第一应用程序的使用场景适配的服务不对应的内容对用户而言是无用的,对用户的使用会造成障碍,则可以不保留。即,去掉与第一应用程序的使用场景适配的服务不对应的内容,并保留与第一应用程序的使用场景适配的服务对应的内容,以便减少对第一应用程序的应用页面的遮挡,影响用户的操作体验。As an implementable manner, based on the target service, determining and deleting information irrelevant to the target service in the application page of the target application may include: determining and deleting the content irrelevant to the target service included in the application page of the target application. The content included in the application page of the target application may include both: content corresponding to the service adapted to the usage scenario of the first application, and content not corresponding to the service adapted to the usage scenario of the first application . It can be understood that, in the process of running the first application, among the content included in the application page of the target application, the content corresponding to the service adapted to the usage scenario of the first application is useful to the user, then It can be reserved, but the content that does not correspond to the service adapted to the usage scenario of the first application program is useless to the user and will cause obstacles to the user's use, so it does not need to be reserved. That is, the content that does not correspond to the service adapted to the usage scenario of the first application is removed, and the content corresponding to the service adapted to the usage scenario of the first application is retained, so as to reduce the occlusion of the application page of the first application , affecting the user's operating experience.

在一些实施方式中,该目标应用程序删除与目标服务无关的信息后的应用页面,由支持该目标服务的最小元素集合组成。In some embodiments, the application page after the target application program deletes information irrelevant to the target service is composed of a minimum set of elements supporting the target service.

步骤S243:在所述第一应用程序的应用页面显示所述目标应用程序删除无关的信息后的应用页面。Step S243: Display the application page of the target application after deleting irrelevant information on the application page of the first application.

在本实施例中,在获得目标应用程序删除无关的信息后的应用页面的情况下,则可以在第一应用程序的应用页面显示该目标应用程序删除无关的信息后的应用页面。在一些实施方式中,可以在第一应用程序的应用页面悬浮显示该目标应用程序删除无关的信息后的应用页面,此时,该目标应用程序删除无关的信息后的应用页面可移动的悬浮显示与该第一应用程序的应用页面,可以响应作用于目标应用程序删除无关的信息后的应用页面的移动操作,改变目标应用程序删除无关的信息后的应用页面在第一应用程序的应用页面的显示位置。In this embodiment, in the case of obtaining an application page after the target application program deletes irrelevant information, the application page after the target application program deletes irrelevant information may be displayed on the application page of the first application program. In some implementations, the application page after the target application deletes irrelevant information can be displayed in suspension on the application page of the first application. In this case, the application page after the target application deletes irrelevant information can be displayed in a movable suspension. With the application page of the first application program, in response to the moving operation on the application page after the target application program deletes irrelevant information, the application page after the target application program deletes irrelevant information can be changed in the application page of the first application program. Display location.

作为一种方式,以第一应用程序为购物类应用程序,且目标应用程序为备忘录为例。在电子设备显示购物类应用程序的应用页面的过程中,若通过第一工具栏打开备忘录时,备忘录的应用页面可以以悬浮窗的形式显示在购物类应用程序的应用页面,并仅提供清单服务。在清单服务下,用户可以点击清单中的输入框输入需要购物的物品清单,点击各个输入框前方的选中图标来对已购买的物品进行标记,同时,还可以通过点击悬浮窗最下方的增加图标来增加输入框的数量。As an example, the first application is a shopping application and the target application is a memo as an example. During the process of displaying the application page of the shopping application on the electronic device, if the memo is opened through the first toolbar, the application page of the memo can be displayed on the application page of the shopping application in the form of a floating window, and only the list service is provided. . Under the list service, users can click the input box in the list to input the list of items to be purchased, click the check icon in front of each input box to mark the purchased items, and at the same time, they can also click the add icon at the bottom of the floating window. to increase the number of input boxes.

请参阅图8,图8示出了本申请实施例提供的电子设备的第二种界面示意图。如图8所示,电子设备可以显示购物类应用程序的应用页面A,以及在购物类应用程序的应用页面A上显示备忘录的应用页面D1。Referring to FIG. 8 , FIG. 8 shows a schematic diagram of a second interface of an electronic device provided by an embodiment of the present application. As shown in FIG. 8 , the electronic device can display the application page A of the shopping application, and the application page D1 of displaying the memo on the application page A of the shopping application.

请参阅图9,图9示出了本申请实施例提供的电子设备的第一种交互示意图。如图9所示,电子设备可以显示购物类应用程序的应用页面A,以及在购物类应用程序的应用页面A上显示备忘录的应用页面D1,此时,用户可以点击输入框输入所需购买的物品的名称,如“煮蛋器”、“空气炸锅”。Referring to FIG. 9 , FIG. 9 shows a first interaction schematic diagram of an electronic device provided by an embodiment of the present application. As shown in FIG. 9 , the electronic device can display the application page A of the shopping application, and the application page D1 of the memo on the application page A of the shopping application. At this time, the user can click the input box to input the desired purchase The name of the item, such as "egg cooker", "air fryer".

请参阅图10,图10示出了本申请实施例提供的电子设备的第二种交互示意图。如图10所示,电子设备可以显示购物类应用程序的应用页面A,以及在购物类应用程序的应用页面A上显示备忘录的应用页面D1,输入框内输入有所需购买的物品的名称,此时,用户可以点击输入框前方的选中图标来对已购买的物品进行标记。Referring to FIG. 10 , FIG. 10 shows a second interaction schematic diagram of the electronic device provided by the embodiment of the present application. As shown in Figure 10, the electronic device can display the application page A of the shopping application, and the application page D1 of the memo on the application page A of the shopping application, and the name of the item to be purchased is entered in the input box, At this point, the user can click the check icon in front of the input box to mark the purchased item.

请参阅图11,图11示出了本申请实施例提供的电子设备的第三种交互示意图。如图11所示,电子设备可以显示购物类应用程序的应用页面A,以及在购物类应用程序的应用页面A上显示备忘录的应用页面D1,此时,用户可以通过点击悬浮窗最下方的增加图标来增加输入框的数量。Referring to FIG. 11 , FIG. 11 shows a third interaction schematic diagram of an electronic device provided by an embodiment of the present application. As shown in Figure 11, the electronic device can display the application page A of the shopping application, and the application page D1 of the memo on the application page A of the shopping application. At this time, the user can click the add icon to increase the number of input boxes.

作为又一种方式,以第一应用程序为购物类应用程序,且目标应用程序为闹钟为例。在电子设备显示购物类应用程序的应用页面的过程中,通过第一工具栏打开闹钟时,闹钟的应用页面可以以悬浮窗的形式显示在购物类应用程序的应用页面,并仅提供倒计时服务。在倒计时服务下,用户通过对选项框上下滑动的操作来选定提醒时刻。点击确认后,悬浮窗将自动转换为悬浮球,悬浮球内显示对应提醒时刻的秒数倒计时,当倒计时达到0秒的情况下,悬浮球以目标颜色(如红色)闪烁,并通过震动与铃声的方式提醒用户。As another way, take the first application as a shopping application and the target application as an alarm clock as an example. During the process of displaying the application page of the shopping application on the electronic device, when the alarm clock is opened through the first toolbar, the application page of the alarm clock can be displayed on the application page of the shopping application in the form of a floating window, and only provide countdown service. Under the countdown service, the user selects the reminder time by sliding up and down the option box. After clicking confirm, the floating window will be automatically converted into a floating ball, and the second countdown corresponding to the reminder time will be displayed in the floating ball. When the countdown reaches 0 seconds, the floating ball will flash with the target color (such as red), and vibrate and ring tones. way to alert users.

请参阅图12,图12示出了本申请实施例提供的电子设备的第四种交互示意图。如图12所示,电子设备可以显示购物类应用程序的应用页面A,以及在购物类应用程序的应用页面A上显示闹钟的应用页面D2,此时,用户可以通过上下滑动的方式选定提醒时刻。Referring to FIG. 12 , FIG. 12 shows a fourth interaction schematic diagram of an electronic device provided by an embodiment of the present application. As shown in FIG. 12 , the electronic device can display the application page A of the shopping application, and the application page D2 of the alarm clock on the application page A of the shopping application. At this time, the user can select the reminder by sliding up and down. time.

请参阅图13,图13示出了本申请实施例提供的电子设备的第三种界面示意图。如图13所示,电子设备可以显示购物类应用程序的应用页面A,以及在购物类应用程序的应用页面A上显示闹钟的应用页面D2,用户在选定提醒时刻并点击确定后,则悬浮窗将自动转换为悬浮球,悬浮球内显示对应提醒时刻的秒数倒计时。Referring to FIG. 13 , FIG. 13 shows a schematic diagram of a third interface of an electronic device provided by an embodiment of the present application. As shown in Figure 13, the electronic device can display the application page A of the shopping application, and the application page D2 of the alarm clock on the application page A of the shopping application. After the user selects the reminder time and clicks OK, the The window will be automatically converted into a floating ball, and the second countdown corresponding to the reminder time will be displayed in the floating ball.

请参阅图14,图14示出了本申请实施例提供的电子设备的第四种界面示意图。如图14所示,电子设备可以显示购物类应用程序的应用页面A,以及在购物类应用程序的应用页面A上显示闹钟的应用页面D2,当倒计时达到0秒的情况下,悬浮球以目标颜色闪烁,并通过震动与铃声的方式提醒用户。Please refer to FIG. 14. FIG. 14 shows a schematic diagram of a fourth interface of an electronic device provided by an embodiment of the present application. As shown in Figure 14, the electronic device can display the application page A of the shopping application, and the application page D2 of the alarm clock on the application page A of the shopping application. When the countdown reaches 0 seconds, the floating ball will target The color flashes, and the user is reminded by vibration and ringtone.

作为再一种方式,以第一应用程序为购物类应用程序,且目标应用程序为计算器为例。在电子设备显示购物类应用程序的应用页面的过程中,通过第一工具栏打开计算器时,计算器的应用页面可以以悬浮窗的形式显示在购物类应用程序的应用页面,并仅提供计算服务。在基本计算服务下,计算器悬浮窗内仅保留数字键、小数点键、加减乘除服务键与归零键。当用户输入计算内容,即数字与加减乘除服务键后,计算器界面显示框内将自动显示计算结果。As a further way, take the first application as a shopping application and the target application as a calculator as an example. In the process of displaying the application page of the shopping application on the electronic device, when the calculator is opened through the first toolbar, the application page of the calculator can be displayed on the application page of the shopping application in the form of a floating window, and only provides calculation Serve. Under the basic computing service, only the number key, decimal point key, addition, subtraction, multiplication and division service keys and zero return key are reserved in the floating window of the calculator. When the user enters the calculation content, that is, the number and the addition, subtraction, multiplication and division service keys, the calculation result will be automatically displayed in the display box of the calculator interface.

请参阅图15,图15示出了本申请实施例提供的电子设备的第五种界面示意图。如图15所示,电子设备可以显示购物类应用程序的应用页面A,以及在购物类应用程序的应用页面A上显示计算器的应用页面D3。Referring to FIG. 15 , FIG. 15 shows a schematic diagram of a fifth interface of an electronic device provided by an embodiment of the present application. As shown in FIG. 15 , the electronic device can display the application page A of the shopping application, and display the calculator application page D3 on the application page A of the shopping application.

本申请一实施例提供的工具栏的显示方法,相较于图4所示的工具栏的显示方法,本实施例还响应于通过工具栏发起的应用启动指令,从至少一个第二应用程序中确定并启动应用启动指令所指示的目标应用程序,在第一应用程序的应用页面显示该目标应用程序的应用页面,从而提升对应应用程序启动的便利性,以及以多任务模型的形式显示运行,满足使用场景下的多样化需求。Compared with the display method of the toolbar shown in FIG. 4 , in the method for displaying a toolbar provided by an embodiment of the present application, this embodiment also responds to an application startup instruction initiated through the toolbar, from at least one second application program. determining and starting the target application indicated by the application startup instruction, displaying the application page of the target application on the application page of the first application, thereby improving the convenience of starting the corresponding application, and displaying and running in the form of a multi-task model, Meet the diverse needs of usage scenarios.

请参阅图16,图16示出了本申请一实施例提供的工具栏的显示方法的流程示意图。下面将针对图16所示的流程进行详细的阐述,所述工具栏的显示方法具体可以包括以下步骤:Please refer to FIG. 16. FIG. 16 shows a schematic flowchart of a method for displaying a toolbar provided by an embodiment of the present application. The flow shown in FIG. 16 will be described in detail below. The method for displaying the toolbar may specifically include the following steps:

步骤S310:显示第一应用程序的应用页面。Step S310: Display the application page of the first application program.

步骤S320:响应于通过所述第一应用程序的应用页面发起的工具栏显示指令,在所述第一应用程序的应用页面上显示第一工具栏,其中,所述第一工具栏显示有至少一个第二应用程序的应用图标,所述第二应用程序用于提供适配所述第一应用程序的使用场景的服务。Step S320: In response to the toolbar display instruction initiated through the application page of the first application, display a first toolbar on the application page of the first application, wherein the first toolbar displays at least An application icon of a second application, where the second application is used to provide a service adapted to a usage scenario of the first application.

其中,步骤S310-步骤S320的具体描述请参阅步骤S110-步骤S120,在此不再赘述。The specific description of steps S310-step S320 can refer to steps S110-step S120, which will not be repeated here.

步骤S330:响应于通过所述第一工具栏发起的工具栏切换指令,在所述第一应用程序的应用页面上将所述第一工具栏切换为第二工具栏,其中,所述第二工具栏显示有至少一个第三应用程序的应用图标,所述第三应用程序的运行频率满足预设频率条件。Step S330: In response to the toolbar switching instruction initiated through the first toolbar, switch the first toolbar to a second toolbar on the application page of the first application program, wherein the second toolbar is The toolbar displays at least one application icon of a third application, and the running frequency of the third application satisfies a preset frequency condition.

在本实施例中,电子设备在第一应用程序的应用页面显示第一工具栏的过程中,可以对通过第一工具栏发起的工具栏切换指令进行检测,其中,在检测到通过第一工具栏发起的工具栏切换指令的情况下,则可以响应于通过第一工具栏发起的工具栏切换指令,在第一应用程序的应用页面上将第一工具栏切换为第二工具栏。其中,该第二工具栏中可以显示有至少一个第三应用程序的应用图标,该第三应用程序的运行频率满足预设频率条件。In this embodiment, during the process of displaying the first toolbar on the application page of the first application program, the electronic device may detect the toolbar switching instruction initiated through the first toolbar, In the case of the toolbar switching instruction initiated by the first toolbar, the first toolbar can be switched to the second toolbar on the application page of the first application program in response to the toolbar switching instruction initiated through the first toolbar. Wherein, an application icon of at least one third application program may be displayed in the second toolbar, and the running frequency of the third application program satisfies a preset frequency condition.

作为一种可实施的方式,第三应用程序的运行频率满足预设频率条件可以包括:第三应用程序的运行频率满足频率阈值。也就是说,电子设备可以预先设置并存储有频率阈值,该频率阈值用于作为电子设备所安装的应用程序的运行频率的判断依据,因此,在本实施例中,可以获取电子设备所安装的每个应用程序的运行频率,并将每个应用程序的运行频率分别与频率阈值进行比较,以判断每个应用程序的运行频率是否大于频率阈值,以及将运行频率大于频率阈值的应用程序确定为第三应用程序。As an implementable manner, the running frequency of the third application satisfies the preset frequency condition may include: the running frequency of the third application satisfies the frequency threshold. That is to say, the electronic device may preset and store a frequency threshold, and the frequency threshold is used as a basis for judging the running frequency of the application program installed in the electronic device. Therefore, in this embodiment, the frequency threshold installed in the electronic device can be obtained. The running frequency of each application, and the running frequency of each application is compared with the frequency threshold to judge whether the running frequency of each application is greater than the frequency threshold, and the application whose running frequency is greater than the frequency threshold is determined as third application.

作为一种可实施的方式,第三应用程序的运行频率满足预设频率条件可以包括:按照电子设备所安装的多个应用程序的运行频率从高到低的顺序,第三应用程序排序在预设顺序之前。也就是说,电子设备可以预先设置并存储有预设顺序,该预设顺序用于作为电子设备所安装的应用程序的运行频率的顺序的判断依据,因此,在本实施例中,可以获取电子设备所安装的每个应用程序的运行频率对应的排列顺序,并将每个应用程序的运行频率对应的排列顺序与预设顺序进行比较,以判断每个应用程序的运行频率对应的排列顺序是否在预设顺序之前,以及将排列顺序在预设顺序之前的应用程序确定为第三应用程序。As an implementable manner, that the running frequency of the third application satisfies the preset frequency condition may include: according to the order of running frequencies of multiple applications installed on the electronic device from high to low, the third application is sorted in the preset frequency. before setting the order. That is to say, the electronic device may preset and store a preset sequence, and the preset sequence is used as a basis for judging the sequence of the running frequencies of the application programs installed on the electronic device. Therefore, in this embodiment, the electronic device can be obtained The arrangement order corresponding to the running frequency of each application installed on the device, and the arrangement order corresponding to the running frequency of each application is compared with the preset order to determine whether the arrangement order corresponding to the running frequency of each application is Before the preset order, and the application program whose arrangement order is before the preset order is determined as the third application program.

请参阅图17,图17示出了本申请实施例提供的电子设备的第六种界面示意图。如图17所示,电子设备可以显示购物类应用程序的应用页面A,以及在购物类应用程序的应用页面A上显示第二工具栏E,该第二工具栏E中可以显示至少一个(图示为三个)第三应用程序的应用图标F。Please refer to FIG. 17 . FIG. 17 shows a schematic diagram of a sixth interface of an electronic device provided by an embodiment of the present application. As shown in FIG. 17 , the electronic device can display the application page A of the shopping application, and display a second toolbar E on the application page A of the shopping application, and at least one (Fig. shown as three) the application icon F of the third application.

请参阅图18,图18示出了本申请的图16所示的工具栏的显示方法的步骤S330的流程示意图。下面将针对图18所示的流程进行详细的阐述,所述方法具体可以包括以下步骤:Please refer to FIG. 18 . FIG. 18 shows a schematic flowchart of step S330 of the method for displaying the toolbar shown in FIG. 16 of the present application. The flow shown in FIG. 18 will be described in detail below, and the method may specifically include the following steps:

步骤S331:响应作用于所述第一工具栏的第一滑动操作,在所述第一应用程序的应用页面删除所述第一工具栏。Step S331: In response to the first sliding operation acting on the first toolbar, delete the first toolbar on the application page of the first application program.

在一些实施方式中,电子设备在第一应用程序的应用页面显示第一工具栏的过程中,可以对作用于第一工具栏的滑动操作进行检测。其中,在检测到作用于第一工具栏的第一滑动操作的情况下,则可以响应作用于该第一工具栏的第一滑动操作,在第一应用程序的应用页面删除该第一工具栏。In some embodiments, the electronic device may detect a sliding operation acting on the first toolbar during the process of displaying the first toolbar on the application page of the first application. Wherein, when a first sliding operation acting on the first toolbar is detected, the first toolbar can be deleted on the application page of the first application program in response to the first sliding operation acting on the first toolbar .

作为一种可实施的方式,该第一滑动操作可以包括:作用于第一工具栏的沿第一方向的滑动操作。即,在检测到作用于第一工具栏的沿第一方向的滑动操作的情况下,则可以响应作用于该第一工具栏的滑动操作,在第一应用程序的应用页面删除该第一工具栏。As an implementable manner, the first sliding operation may include: a sliding operation along the first direction acting on the first toolbar. That is, when a sliding operation acting on the first toolbar in the first direction is detected, the first tool may be deleted on the application page of the first application program in response to the sliding operation acting on the first toolbar. column.

例如,若第一工具栏显示于第一应用程序的应用页面(电子设备的触摸屏)的左侧时,则可以响应作用于第一工具栏沿左方的滑动操作,在第一应用程序的应用页面删除该第一工具栏。若第一工具栏显示于第一应用程序的应用页面(电子设备的触摸屏)的顶侧时,则可以响应作用于第一工具栏沿上方的滑动操作,在第一应用程序的应用页面删除该第一工具栏。For example, if the first toolbar is displayed on the left side of the application page of the first application (the touch screen of the electronic device), in response to the sliding operation on the first toolbar along the left The page deletes the first toolbar. If the first toolbar is displayed on the top side of the application page of the first application (the touch screen of the electronic device), the first toolbar can be deleted on the application page of the first application in response to the sliding operation acting on the top of the first toolbar. The first toolbar.

步骤S332:响应作用于所述第一应用程序的应用页面的第二滑动操作,在所述第一应用程序的应用页面显示所述第二工具栏,其中,所述第一滑动操作对应的滑动方向和所述第二滑动操作对应的滑动方向相反。Step S332: In response to the second sliding operation acting on the application page of the first application program, display the second toolbar on the application page of the first application program, wherein the sliding operation corresponding to the first sliding operation The direction is opposite to the sliding direction corresponding to the second sliding operation.

在一些实施方式中,在从第一应用程序的应用页面删除第一工具栏后,则电子设备仅显示第一应用程序的应用页面,此时,电子设备在显示应用程序的应用页面的过程中,可以对作用于第一应用程序的应用页面的滑动操作进行检测。其中,在检测到作用于第一应用程序的应用页面的第二滑动操作的情况下,则可以响应作用于该第一应用程序的应用页面的第二滑动操作,在第一应用程序的应用页面显示第二工具栏,即,将在第一应用程序的应用页面从显示第一工具栏切换为显示第二工具栏。In some embodiments, after the first toolbar is deleted from the application page of the first application, the electronic device only displays the application page of the first application. At this time, the electronic device is in the process of displaying the application page of the application. , the sliding operation acting on the application page of the first application program can be detected. Wherein, in the case where a second sliding operation acting on the application page of the first application is detected, the second sliding operation acting on the application page of the first application can be responded to, and the application page of the first application Displaying the second toolbar, that is, switching from displaying the first toolbar to displaying the second toolbar on the application page of the first application.

其中,该第一滑动操作对应的滑动方向和第二滑动操作对应的滑动方向相反。例如,若第一滑动操作的滑动方向为左方,则第二滑动操作的滑动方向为右方;若第一滑动操作的滑动方向为上方,则第二滑动操作的滑动方向为下方。The sliding direction corresponding to the first sliding operation is opposite to the sliding direction corresponding to the second sliding operation. For example, if the sliding direction of the first sliding operation is left, the sliding direction of the second sliding operation is right; if the sliding direction of the first sliding operation is upward, the sliding direction of the second sliding operation is downward.

作为一种可实施的方式,该第二滑动操作可以包括:作用于第一应用程序的应用页面的沿第二方向的滑动操作。即,在检测到作用于第一应用程序的应用页面的沿第二方向的滑动操作的情况下,则可以响应作用于该第一应用程序的应用页面的滑动操作,在第一应用程序的应用页面显示该第二工具栏。As an implementable manner, the second sliding operation may include: a sliding operation in the second direction acting on the application page of the first application program. That is, when a sliding operation in the second direction acting on the application page of the first application is detected, the application page of the first application may respond to the sliding operation acting on the application page of the first application. The page displays the second toolbar.

本申请一实施例提供的工具栏的显示方法,相较于图4所示的工具栏的显示方法,本实施例还在第一工具栏显示的过程中,响应于通过第一工具栏发起的工具栏切换指令,在第一应用程序的页面上讲第一工具栏切换为第二工具栏,其中,第二工具栏显示有至少一个第三应用程序的应用图标,该第三应用程序的运行频率满足预设频率条件,从而实现对所显示的工具栏的切换以及对不同应用程序的快速调用,提升用户的使用体验。Compared with the display method of the toolbar shown in FIG. 4 , in the display method of the toolbar provided by an embodiment of the present application, this embodiment is also in the process of displaying the first toolbar. Toolbar switching instruction, on the page of the first application, the first toolbar is switched to the second toolbar, wherein the second toolbar displays at least one application icon of the third application, and the operation of the third application The frequency meets the preset frequency condition, so as to realize the switching of the displayed toolbar and the quick calling of different applications, and improve the user experience.

请参阅图19,图19示出了本申请一实施例提供的工具栏的显示方法的流程示意图。下面将针对图19所示的流程进行详细的阐述,所述工具栏的显示方法具体可以包括以下步骤:Please refer to FIG. 19. FIG. 19 shows a schematic flowchart of a method for displaying a toolbar provided by an embodiment of the present application. The flow shown in FIG. 19 will be described in detail below, and the method for displaying the toolbar may specifically include the following steps:

步骤S410:显示第一应用程序的应用页面。Step S410: Display the application page of the first application program.

步骤S420:响应于通过所述第一应用程序的应用页面发起的工具栏显示指令,获取所述第一应用程序的应用类型。Step S420: Acquire the application type of the first application in response to the toolbar display instruction initiated through the application page of the first application.

在本实施例中,电子设备在显示第一应用程序的应用页面的过程中,可以对通过第一应用程序的应用页面发起的指令进行检测。其中,在检测到通过第一应用程序的应用页面发起的工具栏显示指令时,则可以响应于通过第一应用程序的应用页面发起的工具栏显示指令,获取该第一应用程序的应用类型。In this embodiment, during the process of displaying the application page of the first application program, the electronic device may detect an instruction initiated through the application page of the first application program. Wherein, when a toolbar display instruction initiated through the application page of the first application is detected, the application type of the first application may be acquired in response to the toolbar display instruction initiated through the application page of the first application.

在一些实施方式中,电子设备在显示第一应用程序的应用页面的过程中,可以对作用于第一应用程序的应用页面的触控操作进行检测。其中,在检测到作用于该第一应用程序的应用页面的触控操作满足预设触控操作时,则可以获取该第一应用程序的应用类型。作为一种可实施的方式,电子设备在显示第一应用程序的应用页面的过程中,可以对作用于第一应用程序的应用页面的滑动操作进行检测,其中,在检测到以该第一应用程序的应用页面的边缘为滑动起点,以对侧边缘为滑动方向的滑动操作时,可以确定作用于该第一应用程序的应用页面的触控操作满足预设触控操作,则可以获取该第一应用程序的应用类型。In some embodiments, during the process of displaying the application page of the first application program, the electronic device may detect a touch operation acting on the application page of the first application program. Wherein, when it is detected that the touch operation acting on the application page of the first application satisfies the preset touch operation, the application type of the first application can be acquired. As an implementable manner, in the process of displaying the application page of the first application program, the electronic device may detect the sliding operation acting on the application page of the first application program, wherein, after detecting that the first application The edge of the application page of the program is the starting point of sliding, and when the sliding operation is performed with the opposite edge as the sliding direction, it can be determined that the touch operation acting on the application page of the first application program satisfies the preset touch operation, and the first application page can be obtained. The application type of an application.

例如,在检测到以第一应用程序的应用页面(电子设备的触摸屏)的左侧边缘为滑动起点,以朝向第一应用程序的应用页面(电子设备的触摸屏)的右侧边缘为滑动方向的滑动操作,可以获取该第一应用程序的应用类型;在检测到以第一应用程序的应用页面(电子设备的触摸屏)的右侧边缘为滑动起点,以朝向第一应用程序的应用页面(电子设备的触摸屏)的左侧边缘为滑动方向的滑动操作,可以获取该第一应用程序的应用类型;在检测到以第一应用程序的应用页面(电子设备的触摸屏)的顶部边缘为滑动起点,以朝向第一应用程序的应用页面(电子设备的触摸屏)的底部边缘为滑动方向的滑动操作,可以获取该第一应用程序的应用类型;在检测到以第一应用程序的应用页面(电子设备的触摸屏)的底部边缘为滑动起点,以朝向第一应用程序的应用页面(电子设备的触摸屏)的顶部边缘为滑动方向的滑动操作,可以获取该第一应用程序的应用类型。For example, when it is detected that the left edge of the application page (touch screen of the electronic device) of the first application is the starting point of sliding, and the right edge of the application page (touch screen of the electronic device) facing the first application is the sliding direction The sliding operation can obtain the application type of the first application; when it is detected that the right edge of the application page (touch screen of the electronic device) of the first application is the starting point of sliding, the application page (electronic The left edge of the touch screen of the device) is a sliding operation in the sliding direction, and the application type of the first application can be obtained; when it is detected that the top edge of the application page (touch screen of the electronic device) of the first application is the sliding starting point, Taking the sliding operation towards the bottom edge of the application page of the first application (the touch screen of the electronic device) as the sliding direction, the application type of the first application can be obtained; The bottom edge of the touch screen of the first application is the sliding starting point, and the application type of the first application can be obtained by taking the sliding operation toward the top edge of the application page of the first application (the touch screen of the electronic device) as the sliding direction.

在一些实施方式中,可以获取第一应用程序的包名,并基于该第一应用程序的包名获取该第一应用程序的应用类型。作为一种可实施的方式,电子设备可以预先设置多个应用类型各自包括的包名,在获取到第一应用程序的包名的情况下,可以将该第一应用程序的包名分别与多个应用程序各自包括的包名进行比较,以从多个应用类型中,确定包名与第一应用程序的包名一致的应用类型,作为第一应用程序的应用类型。In some embodiments, the package name of the first application may be obtained, and the application type of the first application may be obtained based on the package name of the first application. As an implementable manner, the electronic device can preset the package names included in each of the multiple application types, and when the package name of the first application is obtained, the package name of the first application can be respectively associated with the multiple application types. The package names included in each application program are compared, so as to determine an application type whose package name is consistent with the package name of the first application program from a plurality of application types, as the application type of the first application program.

步骤S430:在所述第一应用程序的应用类型满足预设类型的情况下,在所述第一应用程序的应用页面上显示第一工具栏,其中,所述第一工具栏显示有至少一个第二应用程序的应用图标,所述第二应用程序用于提供适配所述第一应用程序的使用场景的服务。Step S430: In the case that the application type of the first application satisfies the preset type, display a first toolbar on the application page of the first application, wherein the first toolbar displays at least one An application icon of a second application, where the second application is used to provide a service adapted to a usage scenario of the first application.

在一些实施方式中,电子设备可以预先设置并存储有第二映射关系表,该第二预设关系表中可以包括多个应用类型和多个第二应用程序之间的对应关系,其中,该对应关系可以包括一个应用类型对应一个第二应用程序,一个应用类型对应多个第二应用程序,多个应用类型对应一个第二应用程序等,在此不做限定。在本实施例中,在获得第一应用程序的应用类型的情况下,则可以基于该第二映射关系表,确定该第一应用程序的应用类型对应的至少一个第二应用程序。In some embodiments, the electronic device may preset and store a second mapping relationship table, and the second preset relationship table may include correspondence between multiple application types and multiple second application programs, wherein the The corresponding relationship may include that one application type corresponds to one second application program, one application type corresponds to multiple second application programs, and multiple application types correspond to one second application program, etc., which are not limited herein. In this embodiment, when the application type of the first application is obtained, at least one second application corresponding to the application type of the first application may be determined based on the second mapping relationship table.

作为一种可实施的方式,在预设类型包括购物类型的情况下,该至少一个第二应用程序可以包括备忘录、计算器以及闹钟中的至少一种;在预设类型包括视频类型的情况下,该至少一个第二应用程序可以包括浏览器、图像美化应用程序中的至少一种;在预设类型包括即时通讯类型的情况下,该至少一个第二应用程序可以包括浏览器、备忘录中的至少一种。As an implementable manner, if the preset type includes shopping type, the at least one second application may include at least one of memo, calculator and alarm clock; if the preset type includes video type , the at least one second application may include at least one of a browser and an image beautifying application; if the preset type includes an instant messaging type, the at least one second application may include a browser, a at least one.

在一些实施方式中,电子设备可以预先设置并存储有预设类型,该预设类型用于作为该第一应用程序的应用类型的判断依据。因此,在本实施例中,在获得该第一应用程序的应用类型的情况下,可以将该第一应用程序的应用类型与该预设类型进行比较,以判断该第一应用程序的应用类型是否满足预设类型,以及根据该第一应用程序的应用类型满足或者不满足预设类型的不同情况,在第一应用程序的应用页面上显示不同的工具栏。In some embodiments, the electronic device may preset and store a preset type, and the preset type is used as a basis for judging the application type of the first application program. Therefore, in this embodiment, when the application type of the first application is obtained, the application type of the first application may be compared with the preset type to determine the application type of the first application Whether the preset type is satisfied, and according to different situations of whether the application type of the first application satisfies the preset type or not, different toolbars are displayed on the application page of the first application.

作为一种方式,在确定该第一应用程序的应用类型满足预设类型的情况下,则可以在第一应用程序的应用页面上显示第一工具栏。其中,该第一工具栏中可以显示有至少一个第二应用程序的应用图标,该第二应用程序用于提供适配第一应用程序的使用场景的服务。As one way, if it is determined that the application type of the first application satisfies the preset type, the first toolbar may be displayed on the application page of the first application. Wherein, an application icon of at least one second application program may be displayed in the first toolbar, and the second application program is used to provide a service adapted to a usage scenario of the first application program.

步骤S440:在所述第一应用程序的应用类型不满足预设类型的情况下,在所述第一应用程序的应用页面上显示第二工具栏,其中,所述第二工具栏显示有至少一个第三应用程序的应用图标,所述第三应用程序的运行频率满足预设频率条件。Step S440: In the case where the application type of the first application does not meet the preset type, display a second toolbar on the application page of the first application, wherein the second toolbar displays at least An application icon of a third application, where the running frequency of the third application satisfies a preset frequency condition.

作为一种方式,在确定第一应用程序的应用类型不满足预设类型的情况下,则可以在第一应用程序的应用页面上显示第二工具栏。其中,该第二工具栏中可以显示有至少一个第三应用程序的应用图标,该第三应用程序的运行频率满足预设频率条件。As one way, in the case that it is determined that the application type of the first application does not meet the preset type, the second toolbar may be displayed on the application page of the first application. Wherein, an application icon of at least one third application program may be displayed in the second toolbar, and the running frequency of the third application program satisfies a preset frequency condition.

在一些实施方式中,在第一应用程序的应用页面上显示第二工具栏可以包括:在第一应用程序的应用页面上悬浮显示该第二工具栏;或者,覆盖第一应用程序的应用页面的部分区域显示该第二工具栏;或者,缩小显示第一应用程序的应用页面且在缩小后的剩余区域显示该第二工具栏等,在此不做限定。In some embodiments, displaying the second toolbar on the application page of the first application may include: displaying the second toolbar in suspension on the application page of the first application; or, covering the application page of the first application The second toolbar is displayed in the partial area of the first application program; or, the application page of the first application program is displayed in a reduced size, and the second toolbar is displayed in the remaining area after the reduction, etc., which is not limited herein.

其中,第二工具栏可以显示于第一显示页面(电子设备的触摸屏)的侧边(左侧边或者右侧边),此时,该第一工具栏可以是以侧边栏的形式呈现;第一工具栏还可以显示于第一显示页面(电子设备的触摸屏)的顶侧或底侧,此时,该第一工具栏可以是以状态栏的形式呈现。Wherein, the second toolbar may be displayed on the side (left side or right side) of the first display page (touch screen of the electronic device), and at this time, the first toolbar may be presented in the form of a side bar; The first toolbar may also be displayed on the top side or the bottom side of the first display page (the touch screen of the electronic device). In this case, the first toolbar may be presented in the form of a status bar.

在一些实施方式中,电子设备在第一应用程序的应用页面上显示第二工具栏的过程中,可以对通过第二工具栏发起的指令进行检测。其中,在检测到通过第二工具烂发起的应用启动指令时,则可以响应于通过第二工具栏发起的应用启动指令,从第二工具栏中显示的至少一个第三应用程序中,确定并启动该应用启动指令所指示的其中一个第三应用程序。其中,在确定启动其中一个第三应用程序时,则可以在第一应用程序的应用页面显示该其中一个第三应用程序的应用页面。In some embodiments, in the process of displaying the second toolbar on the application page of the first application, the electronic device may detect an instruction initiated through the second toolbar. Wherein, when the application startup instruction initiated by the second tool is detected, in response to the application startup instruction initiated by the second toolbar, from the at least one third application displayed in the second toolbar, determine and Start one of the third applications indicated by the application start instruction. Wherein, when it is determined to start one of the third application programs, the application page of the one of the third application programs may be displayed on the application page of the first application program.

在一些实施方式中,电子设备在第一应用程序的应用页面上显示第二工具栏的过程中,若所需开启的应用程序并非第三应用程序(运行频率满足预设频率条件),则所需开启的应用程序不会显示于该第二工具栏中,此时,可以点击工具栏中所显示的菜单图标,进入所有应用程序的选择界面,在该选择界面,用户可以将所需开启的应用程序的应用图标从选择界面拖动至第二工具栏中,再对通过第二工具栏发起的指令进行检测的方式启动该应用程序。In some embodiments, in the process of displaying the second toolbar on the application page of the first application, if the application to be opened is not the third application (the running frequency satisfies the preset frequency condition), the The application to be opened will not be displayed in the second toolbar. At this time, you can click the menu icon displayed in the toolbar to enter the selection interface of all applications. In the selection interface, the user can select the desired application. The application icon of the application program is dragged from the selection interface to the second toolbar, and then the application program is started by detecting the instruction initiated through the second toolbar.

请参阅图20,图20示出了本申请实施例提供的电子设备的第七种界面示意图。如图20所示,电子设备在显示第二工具栏E的过程中,用户可以点击第二工具栏E中所显示的菜单图标,进入所有应用程序的选择界面G。Please refer to FIG. 20. FIG. 20 shows a schematic diagram of a seventh interface of an electronic device provided by an embodiment of the present application. As shown in FIG. 20 , when the electronic device displays the second toolbar E, the user can click the menu icon displayed in the second toolbar E to enter the selection interface G of all application programs.

本申请一实施例提供的工具栏的显示方法,相较于图4所示的工具栏的显示方法,本实施例还在第一应用程序的应用类型满足预设类型的情况下显示第一工具栏,以适配应用类型的应用,在第一应用程序的应用类型不满足预设类型的情况下,在第一应用程序的应用页面上显示第二工具栏,其中,该第二工具栏显示有至少一个第三应用程序的应用图标,该第三应用程序的运行频率满足预设频率条件,从而通过根据前台运行的应用程序的应用类型,确定对应显示的工具栏,以及在应用类型不满足预设类型时,在工具栏提供运行频率满足预设频率条件的应用图标,以满足用户的使用需求。Compared with the toolbar display method shown in FIG. 4 , in the toolbar display method provided by an embodiment of the present application, this embodiment also displays the first tool when the application type of the first application satisfies the preset type. bar, to adapt to the application of the application type, in the case that the application type of the first application does not meet the preset type, a second toolbar is displayed on the application page of the first application, wherein the second toolbar displays There is at least one application icon of a third application, and the running frequency of the third application satisfies the preset frequency condition, so that the corresponding displayed toolbar is determined according to the application type of the application running in the foreground, and if the application type does not satisfy When the preset type is selected, an application icon whose running frequency meets the preset frequency condition is provided on the toolbar to meet the user's usage needs.

请参阅图21,图21示出了本申请实施例提供的工具栏的显示装置的模块框图。该工具栏的显示装置200可以应用于上述电子设备,下面将针对图21所示的框图进行阐述,该工具栏的显示装置200包括:应用页面显示模块210和工具栏显示模块220,其中:Referring to FIG. 21, FIG. 21 shows a block diagram of a module of a display device for a toolbar provided by an embodiment of the present application. The display device 200 of the toolbar can be applied to the above-mentioned electronic equipment, and the following will describe the block diagram shown in FIG. 21 . The display device 200 of the toolbar includes: an application page display module 210 and a toolbar display module 220, wherein:

应用页面显示模块210,用于显示第一应用程序的应用页面。The application page display module 210 is configured to display the application page of the first application.

工具栏显示模块220,用于响应于通过所述第一应用程序的应用页面发起的工具栏显示指令,在所述第一应用程序的应用页面上显示第一工具栏,其中,所述第一工具栏显示有至少一个第二应用程序的应用图标,所述第二应用程序用于提供适配所述第一应用程序的使用场景的服务。A toolbar display module 220, configured to display a first toolbar on the application page of the first application in response to a toolbar display instruction initiated through the application page of the first application, wherein the first The toolbar displays at least one application icon of a second application, where the second application is used to provide a service adapted to a usage scenario of the first application.

进一步地,所述工具栏显示模块220包括:应用类型获取子模块和工具栏显示子模块,其中:Further, the toolbar display module 220 includes: an application type acquisition sub-module and a toolbar display sub-module, wherein:

应用类型获取子模块,用于获取所述第一应用程序的应用类型。The application type acquiring submodule is used to acquire the application type of the first application.

工具栏显示子模块,用于在所述第一应用程序的应用类型满足预设类型的情况下,在所述第一应用程序的应用页面上显示所述第一工具栏。The toolbar display sub-module is configured to display the first toolbar on the application page of the first application when the application type of the first application satisfies a preset type.

进一步地,所述工具栏显示装置220还包括:工具栏展示子模块,其中:Further, the toolbar display device 220 further includes: a toolbar display sub-module, wherein:

工具栏展示子模块,用于在所述第一应用程序的应用类型不满足预设类型的情况下,在所述第一应用程序的应用页面上显示第二工具栏,其中,所述第二工具栏显示有至少一个第三应用程序的应用图标,所述第三应用程序的运行频率满足预设频率条件。a toolbar display sub-module, configured to display a second toolbar on the application page of the first application when the application type of the first application does not meet the preset type, wherein the second The toolbar displays at least one application icon of a third application, and the running frequency of the third application satisfies a preset frequency condition.

进一步地,所述工具栏的显示装置200还包括:目标应用程序启动模块和目标应用程序显示模块,其中:Further, the display device 200 of the toolbar further includes: a target application program startup module and a target application program display module, wherein:

目标应用程序启动模块,用于响应于通过所述第一工具栏发起的应用启动指令,从所述至少一个第二应用程序中确定并启动所述应用启动指令所指示的目标应用程序。A target application startup module, configured to, in response to an application startup instruction initiated through the first toolbar, determine and start a target application indicated by the application startup instruction from the at least one second application program.

目标应用程序显示模块,用于在所述第一应用程序的应用页面显示所述目标应用程序的应用页面。A target application display module, configured to display the application page of the target application on the application page of the first application.

进一步地,所述目标应用程序显示模块包括:目标应用程序显示子模块,其中:Further, the target application display module includes: a target application display submodule, wherein:

目标应用程序显示子模块,用于在所述第一应用程序的应用页面悬浮显示所述目标应用程序的应用页面。The target application display sub-module is configured to display the application page of the target application by floating on the application page of the first application.

进一步地,所述目标应用程序显示模块包括:目标服务获取子模块、应用页面获得子模块以及应用页面显示子模块,其中:Further, the target application display module includes: a target service acquisition sub-module, an application page acquisition sub-module and an application page display sub-module, wherein:

目标服务获取子模块,用于获取所述目标应用程序所提供的适配所述第一应用程序的使用场景的服务,作为目标服务。A target service acquisition sub-module, configured to acquire a service provided by the target application that adapts to the usage scenario of the first application, as a target service.

应用页面获得子模块,用于所述目标服务,确定并删除所述目标应用程序的应用页面中与所述目标服务无关的信息。The application page obtaining sub-module is used for the target service to determine and delete the information irrelevant to the target service in the application page of the target application program.

进一步地,所述应用页面获得子模块包括:第一删除单元和第二删除单元,其中:Further, the application page obtaining submodule includes: a first deletion unit and a second deletion unit, wherein:

第一删除单元,用于确定并删除所述目标应用程序的应用页面所支持的与所述目标服务无关的服务。The first deletion unit is configured to determine and delete the service irrelevant to the target service supported by the application page of the target application.

第二删除单元,用于确定并删除所述目标应用程序的应用页面所包括的与所述目标服务无关的内容。The second deletion unit is configured to determine and delete the content irrelevant to the target service included in the application page of the target application.

应用页面显示子模块,用于在所述第一应用程序的应用页面显示所述目标应用程序删除无关的信息后的应用页面。The application page display sub-module is configured to display, on the application page of the first application program, the application page after the target application program deletes irrelevant information.

进一步地,所述工具栏的显示装置200还包括:工具栏切换模块,其中:Further, the display device 200 of the toolbar further includes: a toolbar switching module, wherein:

工具栏切换模块,用于响应于通过所述第一工具栏发起的工具栏切换指令,在所述第一应用程序的应用页面上将所述第一工具栏切换为第二工具栏,其中,所述第二工具栏显示有至少一个第三应用程序的应用图标,所述第三应用程序的运行频率满足预设频率条件。A toolbar switching module, configured to switch the first toolbar to a second toolbar on the application page of the first application in response to a toolbar switching instruction initiated through the first toolbar, wherein, The second toolbar displays an application icon of at least one third application, and the running frequency of the third application satisfies a preset frequency condition.

进一步地,所述工具栏切换模块包括:工具栏删除子模块和工具栏显示子模块,其中:Further, the toolbar switching module includes: a toolbar deletion sub-module and a toolbar display sub-module, wherein:

工具栏删除子模块,用于响应作用于所述第一工具栏的第一滑动操作,在所述第一应用程序的应用页面删除所述第一工具栏。A toolbar deletion sub-module, configured to delete the first toolbar on the application page of the first application program in response to a first sliding operation acting on the first toolbar.

工具栏显示子模块,用于响应作用于所述第一应用程序的应用页面的第二滑动操作,在所述第一应用程序的应用页面显示所述第二工具栏,其中,所述第一滑动操作对应的滑动方向和所述第二滑动操作对应的滑动方向相反。A toolbar display submodule, configured to display the second toolbar on the application page of the first application in response to a second sliding operation acting on the application page of the first application, wherein the first The sliding direction corresponding to the sliding operation is opposite to the sliding direction corresponding to the second sliding operation.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the above-described devices and modules, reference may be made to the corresponding processes in the foregoing method embodiments, which will not be repeated here.

在本申请所提供的几个实施例中,模块相互之间的耦合可以是电性,机械或其它形式的耦合。In several embodiments provided in this application, the coupling between the modules may be electrical, mechanical or other forms of coupling.

另外,在本申请各个实施例中的各服务模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件服务模块的形式实现。In addition, each service module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically alone, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software service modules.

请参阅图22,其示出了本申请实施例提供的一种电子设备100的结构框图。该电子设备100可以是智能手机、平板电脑、电子书等能够运行应用程序的电子设备。本申请中的电子设备100可以包括一个或多个如下部件:处理器110、存储器120以及一个或多个应用程序,其中一个或多个应用程序可以被存储在存储器120中并被配置为由一个或多个处理器110执行,一个或多个程序配置用于执行如前述方法实施例所描述的方法。Please refer to FIG. 22 , which shows a structural block diagram of anelectronic device 100 provided by an embodiment of the present application. Theelectronic device 100 may be an electronic device capable of running an application program, such as a smart phone, a tablet computer, an electronic book, or the like. Theelectronic device 100 in the present application may include one or more of the following components: aprocessor 110, amemory 120, and one or more application programs, wherein the one or more application programs may be stored in thememory 120 and configured to be executed by a The processor orprocessors 110 execute one or more programs configured to execute the method described in the foregoing method embodiments.

其中,处理器110可以包括一个或者多个处理核。处理器110利用各种接口和线路连接整个电子设备100内的各个部分,通过运行或执行存储在存储器120内的指令、程序、代码集或指令集,以及调用存储在存储器120内的数据,执行电子设备100的各种服务和处理数据。可选地,处理器110可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(ProgrammableLogic Array,PLA)中的至少一种硬件形式来实现。处理器110可集成中央处理器(CentralProcessing Unit,CPU)、图形处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责待显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器110中,单独通过一块通信芯片进行实现。Theprocessor 110 may include one or more processing cores. Theprocessor 110 uses various interfaces and lines to connect various parts of the entireelectronic device 100, and executes by running or executing the instructions, programs, code sets or instruction sets stored in thememory 120, and calling the data stored in thememory 120. Various services and processing data of theelectronic device 100 . Optionally, theprocessor 110 may employ at least one of a digital signal processing (Digital Signal Processing, DSP), a Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and a Programmable Logic Array (Programmable Logic Array, PLA). implemented in hardware. Theprocessor 110 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly handles the operating system, user interface, and application programs; the GPU is used to render and draw the content to be displayed; the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may also not be integrated into theprocessor 110, and is implemented by a communication chip alone.

存储器120可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器120可用于存储指令、程序、代码、代码集或指令集。存储器120可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个服务的指令(比如触控服务、声音播放服务、图像播放服务等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储电子设备100在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。Thememory 120 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory).Memory 120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. Thememory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system and instructions for implementing at least one service (such as a touch service, a sound playback service, an image playback service, etc.) , instructions for implementing the following method embodiments, and the like. The storage data area may also store data (such as phone book, audio and video data, chat record data) created by theelectronic device 100 during use.

请参阅图23,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读介质300中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。Please refer to FIG. 23 , which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. The computer-readable medium 300 stores program codes, and the program codes can be invoked by the processor to execute the methods described in the above method embodiments.

计算机可读存储介质300可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质300包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质300具有执行上述方法中的任何方法步骤的程序代码310的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码310可以例如以适当形式进行压缩。The computer-readable storage medium 300 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 300 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 300 has storage space forprogram code 310 for performing any of the method steps in the above-described methods. These program codes can be read from or written to one or more computer program products. Theprogram code 310 may be compressed, for example, in a suitable form.

综上所述,本申请实施例提供的工具栏的显示方法、装置、电子设备以及存储介质,显示第一应用程序的应用页面,响应于通过第一应用程序的应用页面发起的工具栏显示指令,在第一应用程序的应用页面上显示第一工具栏,其中,该第一工具栏显示有至少一个第二应用程序的应用图标,该第二应用程序用于提供适配该第一应用程序的使用场景的服务,从而通过根据前台运行的应用程序,在工具栏提供适配该前台运行的应用程序的使用场景的应用图标,以满足应用使用场景下的多样化需求。In summary, the toolbar display method, device, electronic device, and storage medium provided by the embodiments of the present application display the application page of the first application, and respond to the toolbar display instruction initiated through the application page of the first application , displaying a first toolbar on the application page of the first application, wherein the first toolbar displays an application icon of at least one second application, and the second application is used to provide adaptation to the first application The service of the usage scenario, so that according to the application running in the foreground, an application icon adapted to the usage scenario of the application running in the foreground is provided on the toolbar to meet the diverse needs of the application usage scenario.

最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or some technical features thereof are equivalently replaced; and these modifications or replacements do not drive the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (13)

CN202210435638.2A2022-04-242022-04-24Toolbar display method, apparatus, electronic device and storage mediumPendingCN114780193A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202210435638.2ACN114780193A (en)2022-04-242022-04-24Toolbar display method, apparatus, electronic device and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202210435638.2ACN114780193A (en)2022-04-242022-04-24Toolbar display method, apparatus, electronic device and storage medium

Publications (1)

Publication NumberPublication Date
CN114780193Atrue CN114780193A (en)2022-07-22

Family

ID=82432133

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202210435638.2APendingCN114780193A (en)2022-04-242022-04-24Toolbar display method, apparatus, electronic device and storage medium

Country Status (1)

CountryLink
CN (1)CN114780193A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN116225280A (en)*2023-02-032023-06-06珠海光通智装科技有限公司 Method for displaying application program, terminal, storage medium and processor

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20140282151A1 (en)*2013-03-122014-09-18Intergraph CorporationUser Interface for Toolbar Navigation
CN107544809A (en)*2017-09-072018-01-05北京小米移动软件有限公司The method and apparatus for showing the page
CN108536504A (en)*2018-03-162018-09-14广东欧珀移动通信有限公司Page display method and device, mobile terminal and storage medium
CN109062475A (en)*2018-08-222018-12-21Oppo广东移动通信有限公司icon display method, device, terminal and storage medium
CN109144649A (en)*2018-08-222019-01-04Oppo广东移动通信有限公司Icon display method and device, terminal and storage medium
CN110531920A (en)*2019-08-292019-12-03Oppo广东移动通信有限公司Display method and device of sidebar, terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20140282151A1 (en)*2013-03-122014-09-18Intergraph CorporationUser Interface for Toolbar Navigation
CN107544809A (en)*2017-09-072018-01-05北京小米移动软件有限公司The method and apparatus for showing the page
CN108536504A (en)*2018-03-162018-09-14广东欧珀移动通信有限公司Page display method and device, mobile terminal and storage medium
CN109062475A (en)*2018-08-222018-12-21Oppo广东移动通信有限公司icon display method, device, terminal and storage medium
CN109144649A (en)*2018-08-222019-01-04Oppo广东移动通信有限公司Icon display method and device, terminal and storage medium
CN110531920A (en)*2019-08-292019-12-03Oppo广东移动通信有限公司Display method and device of sidebar, terminal and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN116225280A (en)*2023-02-032023-06-06珠海光通智装科技有限公司 Method for displaying application program, terminal, storage medium and processor

Similar Documents

PublicationPublication DateTitle
CN108089786B (en) User interface display method, device, device and storage medium
CN109766053B (en) User interface display method, device, terminal and storage medium
CN110058828B (en) Application display method, device, electronic device and storage medium
CN107870716B (en) Method and device for calling background application
CN107704177B (en)Interface display method and device and terminal
CN108351794B (en)Display method and terminal
CN107765959B (en) Background application display method and terminal
CN107623763B (en) Method and apparatus for editing images
CN107844228A (en)Message display method, device and terminal
CN110147192A (en) Interface operation method, device, electronic device and storage medium
CN108491127A (en)Interface of input method display methods, device, terminal and storage medium
KR20170093658A (en)Electronic device comprising multiple displays and method for controlling thereof
CN107728885A (en) Multi-task control method, device, mobile terminal and storage medium
CN107656578A (en)terminal control method, device, terminal and storage medium
CN107273111A (en)A kind of multi-screen display method and terminal
CN110187952B (en) Method, device, terminal and storage medium for storing content
CN107656792A (en)Method for displaying user interface, device and terminal
CN110059207A (en)Image information processing method and device, storage medium and electronic equipment
CN107888723A (en) Method and device for image taking and processing
CN114780193A (en)Toolbar display method, apparatus, electronic device and storage medium
CN115866114A (en)Mode switching method and device, electronic equipment and computer readable storage medium
CN109558203B (en) Display method, device, terminal and storage medium for recent content
CN111782099A (en) Method, device, terminal and storage medium for realizing preview of background picture
CN111324262A (en)Application interface control method, device, terminal and medium
CN115237324A (en) Split-screen display method, apparatus, electronic device, and computer-readable medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp