[go: up one dir, main page]

CN108268297B - Application interface display method, device, storage medium and electronic device - Google Patents

Application interface display method, device, storage medium and electronic device Download PDF

Info

Publication number
CN108268297B
CN108268297B CN201810150648.5A CN201810150648A CN108268297B CN 108268297 B CN108268297 B CN 108268297B CN 201810150648 A CN201810150648 A CN 201810150648A CN 108268297 B CN108268297 B CN 108268297B
Authority
CN
China
Prior art keywords
application
interface
display area
screen
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810150648.5A
Other languages
Chinese (zh)
Other versions
CN108268297A (en
Inventor
周伟达
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810150648.5A priority Critical patent/CN108268297B/en
Publication of CN108268297A publication Critical patent/CN108268297A/en
Application granted granted Critical
Publication of CN108268297B publication Critical patent/CN108268297B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Stored Programmes (AREA)

Abstract

本申请公开了一种应用界面的显示方法、装置、存储介质及电子设备。该应用界面的显示方法包括:当在屏幕显示的第一应用的界面中检测到用于启动第二应用的操作时,获取该第二应用的配置文件;根据该配置文件,生成该第二应用的界面;对该屏幕的显示区域进行划分,得到第一显示区域和第二显示区域;在该第一显示区域和该第二显示区域分别显示该第一应用的界面和该第二应用的界面。本申请可以提高终端屏幕显示区域的利用率。

Figure 201810150648

The present application discloses a method, device, storage medium and electronic device for displaying an application interface. The method for displaying an application interface comprises: when an operation for starting a second application is detected in the interface of a first application displayed on the screen, obtaining a configuration file of the second application; generating the interface of the second application according to the configuration file; dividing the display area of the screen to obtain a first display area and a second display area; and displaying the interface of the first application and the interface of the second application in the first display area and the second display area respectively. The present application can improve the utilization rate of the display area of the terminal screen.

Figure 201810150648

Description

应用界面的显示方法、装置、存储介质及电子设备Application interface display method, device, storage medium and electronic device

技术领域technical field

本申请属于终端技术领域,尤其涉及一种应用界面的显示方法、装置、存储介质及电子设备。The present application belongs to the technical field of terminals, and in particular, relates to a display method, device, storage medium and electronic device of an application interface.

背景技术Background technique

目前,随着终端技术的高速发展,如智能终端越来越深入人们的生活之中,在智能终端上可以安装各种各样的应用,如拍照应用、游戏应用、地图应用等等,以供用户使用。At present, with the rapid development of terminal technology, for example, smart terminals are more and more deeply embedded in people's lives, and various applications can be installed on smart terminals, such as camera applications, game applications, map applications, etc., for user use.

然而,相关技术中,终端在对应用的界面进行显示时,终端的屏幕的显示区域的利用率较低。However, in the related art, when the terminal displays the interface of the application, the utilization rate of the display area of the screen of the terminal is low.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种应用界面的显示方法、装置、存储介质及电子设备,可以提高终端屏幕显示区域的利用率。Embodiments of the present application provide a method, device, storage medium, and electronic device for displaying an application interface, which can improve the utilization rate of a display area of a terminal screen.

本申请实施例提供一种应用界面的显示方法,包括:An embodiment of the present application provides a method for displaying an application interface, including:

当在屏幕显示的第一应用的界面中检测到用于启动第二应用的操作时,获取所述第二应用的配置文件;When an operation for starting the second application is detected in the interface of the first application displayed on the screen, acquiring the configuration file of the second application;

根据所述配置文件,生成所述第二应用的界面;generating the interface of the second application according to the configuration file;

对所述屏幕的显示区域进行划分,得到第一显示区域和第二显示区域;dividing the display area of the screen to obtain a first display area and a second display area;

在所述第一显示区域和所述第二显示区域分别显示所述第一应用的界面和所述第二应用的界面。The interface of the first application and the interface of the second application are displayed in the first display area and the second display area, respectively.

本申请实施例提供一种应用界面的显示装置,包括:An embodiment of the present application provides a display device for an application interface, including:

获取模块,用于当在屏幕显示的第一应用的界面中检测到用于启动第二应用的操作时,获取所述第二应用的配置文件;an obtaining module, configured to obtain a configuration file of the second application when an operation for starting the second application is detected in the interface of the first application displayed on the screen;

生成模块,用于根据所述配置文件,生成所述第二应用的界面;a generating module, configured to generate the interface of the second application according to the configuration file;

划分模块,用于对所述屏幕的显示区域进行划分,得到第一显示区域和第二显示区域;a dividing module, configured to divide the display area of the screen to obtain a first display area and a second display area;

显示模块,用于在所述第一显示区域和所述第二显示区域分别显示所述第一应用的界面和所述第二应用的界面。A display module, configured to display the interface of the first application and the interface of the second application in the first display area and the second display area, respectively.

本申请实施例提供一种存储介质,其上存储有计算机程序,当所述计算机程序在计算机上执行时,使得所述计算机执行本申请实施例提供的应用界面的显示方法中的步骤。The embodiments of the present application provide a storage medium on which a computer program is stored. When the computer program is executed on a computer, the computer is caused to execute the steps in the application interface display method provided by the embodiments of the present application.

本申请实施例还提供一种电子设备,包括存储器,处理器,所述处理器通过调用所述存储器中存储的计算机程序,用于执行本申请实施例提供的应用界面的显示方法中的步骤。Embodiments of the present application further provide an electronic device, including a memory and a processor, where the processor is configured to execute steps in the method for displaying an application interface provided by the embodiments of the present application by invoking a computer program stored in the memory.

本实施例提供的应用界面的显示方法、装置、存储介质及电子设备,终端可以在第一应用的界面中检测到用于启动第二应用的操作时,对第一应用的界面和第二应用的界面进行分屏显示,从而提高对终端屏幕的显示区域的利用率。With the application interface display method, device, storage medium, and electronic device provided in this embodiment, when the terminal detects an operation for starting the second application in the interface of the first application, the interface of the first application and the interface of the second application can be displayed. The interface is displayed in a split screen, thereby improving the utilization of the display area of the terminal screen.

附图说明Description of drawings

下面结合附图,通过对本发明的具体实施方式详细描述,将使本发明的技术方案及其有益效果显而易见。The technical solutions of the present invention and its beneficial effects will be apparent through the detailed description of the specific embodiments of the present invention below in conjunction with the accompanying drawings.

图1是本申请实施例提供的应用界面的显示方法的流程示意图。FIG. 1 is a schematic flowchart of a method for displaying an application interface provided by an embodiment of the present application.

图2是本申请实施例提供的应用界面的显示方法的另一流程示意图。FIG. 2 is another schematic flowchart of a method for displaying an application interface provided by an embodiment of the present application.

图3至图8是本申请实施例提供的应用界面的显示方法的场景示意图。3 to 8 are schematic diagrams of scenarios of a method for displaying an application interface provided by an embodiment of the present application.

图9是本申请实施例提供的应用界面的显示装置的结构示意图。FIG. 9 is a schematic structural diagram of a display device for an application interface provided by an embodiment of the present application.

图10是本申请实施例提供的应用界面的显示装置的另一结构示意图。FIG. 10 is another schematic structural diagram of a display device for an application interface provided by an embodiment of the present application.

图11是本申请实施例提供的移动终端的结构示意图。FIG. 11 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present application.

图12是本申请实施例提供的移动终端的另一结构示意图。FIG. 12 is another schematic structural diagram of a mobile terminal provided by an embodiment of the present application.

具体实施方式Detailed ways

请参照图式,其中相同的组件符号代表相同的组件,本发明的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本发明具体实施例,其不应被视为限制本发明未在此详述的其它具体实施例。Please refer to the drawings, in which the same reference numerals represent the same components, and the principles of the present invention are exemplified by being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the invention and should not be construed as limiting other embodiments of the invention not detailed herein.

可以理解的是,本申请实施例的执行主体可以是诸如智能手机或平板电脑等的终端设备。It can be understood that the execution body of the embodiment of the present application may be a terminal device such as a smart phone or a tablet computer.

请参阅图1,图1是本申请实施例提供的应用界面的显示方法的流程示意图,流程可以包括:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a method for displaying an application interface provided by an embodiment of the present application. The process may include:

在步骤S101中,当在屏幕显示的第一应用的界面中检测到用于启动第二应用的操作时,获取该第二应用的配置文件。In step S101, when an operation for starting the second application is detected in the interface of the first application displayed on the screen, a configuration file of the second application is acquired.

目前,随着终端技术的高速发展,如智能终端越来越深入人们的生活之中,在智能终端上可以安装各种各样的应用,如拍照应用、游戏应用、地图应用等等,以供用户使用。At present, with the rapid development of terminal technology, for example, smart terminals are more and more deeply embedded in people's lives, and various applications can be installed on smart terminals, such as camera applications, game applications, map applications, etc., for user use.

然而,相关技术中,终端在对应用的界面进行显示时,终端的屏幕的显示区域的利用率较低。However, in the related art, when the terminal displays the interface of the application, the utilization rate of the display area of the screen of the terminal is low.

在本实施例的步骤S101中,当在屏幕显示的第一应用的界面中检测到用于启动第二应用的操作时,终端可以先获取该第二应用的配置文件。In step S101 of this embodiment, when an operation for starting the second application is detected in the interface of the first application displayed on the screen, the terminal may first obtain the configuration file of the second application.

例如,第一应用为应用A,而第二应用为应用B。其中,应用A为传统应用,应用B为网页应用。For example, the first application is application A and the second application is application B. Wherein, application A is a traditional application, and application B is a web application.

需要说明的是,传统应用是指需要将安装文件安装在终端本地的应用。以安卓操作系统为例,传统应用是指需要将安装文件(AndroidPackage)安装到终端本地的应用。网页应用是一种使用网页浏览器在互联网或企业内部网上操作的应用软件,是一种以网页语言(例如HTML、JavaScript、Java等编程语言)撰写的应用程式,需要通过浏览器来执行,比如可以统一通过某个开放平台进行访问。需要解释的是,现有网页应用的安装包、以及运行时产生的缓存数据均存储在该开放平台的服务器中,其不需要在用户设备中安装运行,从而尽可能节省用户设备的内存资源,而用户设备可以通过该开放平台中的应用接口与该网页应用的厂家服务器进行数据通信,实现对该网页应用的访问,此时,该开放平台的服务器充当代理服务器的角色,每一网页应用对应一个应用接口。It should be noted that the traditional application refers to the application that needs to install the installation file locally on the terminal. Taking the Android operating system as an example, a traditional application refers to an application that requires an installation file (Android Package) to be installed locally on a terminal. A web application is an application software that uses a web browser to operate on the Internet or an intranet. It is an application written in a web language (such as HTML, JavaScript, Java, etc.) It can be accessed uniformly through an open platform. It should be explained that the installation package of the existing web application and the cached data generated during runtime are all stored in the server of the open platform, which does not need to be installed and run in the user equipment, so as to save the memory resources of the user equipment as much as possible, The user equipment can perform data communication with the server of the manufacturer of the web application through the application interface in the open platform, so as to realize the access to the web application. At this time, the server of the open platform acts as a proxy server, and each web application corresponds to an application interface.

其中,用于启动该应用B的链接内嵌于应用A的“搜索”功能模块。那么,用户可以先打开应用A,然后点击进入应用A的“搜索”功能模块的运行界面。之后,用户可以在该“搜索”功能模块的运行界面中查找用于启动应用B的链接。当查找到该用于启动应用B的链接后,用户可以点击该链接,以启动应用B。The link for starting the application B is embedded in the "search" function module of the application A. Then, the user can first open the application A, and then click to enter the running interface of the "search" function module of the application A. Afterwards, the user can search for a link for launching application B in the running interface of the "search" function module. After finding the link for launching application B, the user can click the link to launch application B.

在步骤S102中,根据该配置文件,生成该第二应用的界面。In step S102, an interface of the second application is generated according to the configuration file.

比如,在从服务器处获取到第二应用对应的配置文件后,终端可以根据该配置文件,生成与该第二应用对应的界面。可以理解的是,该第二应用的界面可以是第二应用的启动界面,也可以是其他非启动界面。For example, after obtaining the configuration file corresponding to the second application from the server, the terminal may generate an interface corresponding to the second application according to the configuration file. It can be understood that the interface of the second application may be a startup interface of the second application, or may be other non-startup interfaces.

在步骤S103中,对该屏幕的显示区域进行划分,得到第一显示区域和第二显示区域。In step S103, the display area of the screen is divided to obtain a first display area and a second display area.

比如,在生成第二应用的界面后,终端可以对屏幕的显示区域进行划分,从而得到第一显示区域和第二显示区域。For example, after generating the interface of the second application, the terminal may divide the display area of the screen to obtain the first display area and the second display area.

需要说明的是,终端的屏幕分为显示区域和非显示区域。其中,显示区域可以是用于显示文字和图像等画面的区域。而非显示区域可以是用于设置诸如受话器、接近传感器、环境光传感器、摄像模组以及指纹识别模组等器件的区域,这部分区域不显示文字和图像等。It should be noted that the screen of the terminal is divided into a display area and a non-display area. The display area may be an area for displaying pictures such as characters and images. The non-display area may be an area for arranging devices such as a receiver, a proximity sensor, an ambient light sensor, a camera module, and a fingerprint recognition module, and this part of the area does not display text and images.

在步骤S104中,在该第一显示区域和该第二显示区域分别显示该第一应用的界面和该第二应用的界面。In step S104, the interface of the first application and the interface of the second application are displayed in the first display area and the second display area, respectively.

比如,在从屏幕的显示区域划分出第一显示区域和第二显示区域后,终端可以在该第一显示区域和该第二显示区域分别显示第一应用的界面和第二应用的界面。For example, after dividing the first display area and the second display area from the display area of the screen, the terminal may display the interface of the first application and the interface of the second application in the first display area and the second display area, respectively.

例如,终端将屏幕的显示区域分为上半屏和下半屏,那么终端可以在上半屏显示应用B的界面,在下半屏显示应用A的界面。For example, if the terminal divides the display area of the screen into an upper half screen and a lower half screen, the terminal can display the interface of application B on the upper half screen and the interface of application A on the lower half screen.

可以理解的是,本实施例中,终端可以在屏幕显示的第一应用的界面中检测到用于启动第二应用的操作时,对第一应用的运行界面和第二应用的运行界面进行分屏显示,从而提高对终端屏幕的显示区域的利用率。It can be understood that, in this embodiment, when the terminal detects an operation for starting the second application in the interface of the first application displayed on the screen, the terminal may classify the running interface of the first application and the running interface of the second application. screen display, thereby improving the utilization of the display area of the terminal screen.

另外,本实施例通过对第一应用的界面和第二应用的界面的分屏显示,还可以提高对应用的运行界面进行显示的灵活性。In addition, the present embodiment can also improve the flexibility of displaying the running interface of the application through the split-screen display of the interface of the first application and the interface of the second application.

请参阅图2,图2为本申请实施例提供的应用界面的显示方法的另一流程示意图,流程可以包括:Please refer to FIG. 2. FIG. 2 is another schematic flowchart of a method for displaying an application interface provided by an embodiment of the present application. The process may include:

在步骤S201中,当检测到用户使用第一应用搜索其他应用时,终端获取搜索关键词。In step S201, when it is detected that the user uses the first application to search for other applications, the terminal acquires search keywords.

比如,第一应用为传统应用,例如为应用A。当检测到用户使用应用A搜索其他应用时,终端可以先获取用户输入的搜索关键词。For example, the first application is a traditional application, such as application A. When it is detected that the user searches other applications using application A, the terminal may first obtain the search keywords input by the user.

例如,应用A中包含“搜索”功能模块,通过该“搜索”功能模块,用户可以搜索需要的网页应用。那么,当检测到用户使用应用A搜索需要的网页应用时,终端可以先获取用户输入的搜索关键词。For example, application A includes a "search" function module, and through the "search" function module, a user can search for a desired web application. Then, when it is detected that the user uses application A to search for a desired web page application, the terminal may first obtain the search keyword input by the user.

在步骤S202中,若根据该搜索关键词搜索到第二应用,则终端获取第二应用的应用名称。In step S202, if the second application is searched according to the search keyword, the terminal acquires the application name of the second application.

比如,在获取到用户输入的搜索关键词后,终端根据该搜索关键词搜索到第二应用,那么终端可以进一步获取该第二应用的应用名称。For example, after acquiring the search keyword input by the user, the terminal searches for the second application according to the search keyword, and the terminal may further acquire the application name of the second application.

例如,第二应用为应用B,那么在根据用户输入的搜索关键词搜索到应用B后,终端可以获取该应用B的名称。For example, if the second application is application B, after searching for application B according to the search keyword input by the user, the terminal can obtain the name of the application B.

在获取到该应用B的名称后,终端可以检测搜索关键词和应用B的名称是否一致。After acquiring the name of the application B, the terminal can detect whether the search keyword is consistent with the name of the application B.

如果检测到用户输入的搜索关键词和应用B的名称一致,例如用户输入的搜索关键词为“炫酷漫画”,而根据该关键词搜索到的应用B的名称即是“炫酷漫画”,那么可以认为用户在进行精准搜索。在这种情况下,终端可以将应用B(即炫酷漫画)的界面和应用A的界面在屏幕上分屏显示。或者,终端也可以不对应用B和应用A的界面进行分屏显示,而是只显示应用B的界面,等等。If it is detected that the search keyword input by the user is the same as the name of application B, for example, the search keyword input by the user is "cool comics", and the name of application B searched according to the keyword is "cool comics", Then it can be considered that the user is conducting a precise search. In this case, the terminal may display the interface of application B (that is, cool comics) and the interface of application A on the screen in a split-screen display. Alternatively, the terminal may not display the interface of application B and application A on a split screen, but only display the interface of application B, and so on.

如果检测到用户输入的搜索关键词和第二应用的名称不一致,那么进入步骤S203。If it is detected that the search keyword input by the user is inconsistent with the name of the second application, step S203 is entered.

在步骤S203中,若检测到该搜索关键词与该应用名称不一致,且在屏幕显示的该第一应用的界面中检测到用于启动该第二应用的操作,则终端获取该第二应用的配置文件。In step S203, if it is detected that the search keyword is inconsistent with the name of the application, and an operation for starting the second application is detected in the interface of the first application displayed on the screen, the terminal obtains the name of the second application. configuration file.

比如,用户输入的搜索关键词为“漫画”,而终端根据该关键词搜索到的应用B的名称为“炫酷漫画”,即终端可以检测到搜索关键词“漫画”与应用B的名称不一致。在这种情况下,可以认为用户在进行模糊搜索。也就是说,用户并不是在进行精准搜索,不知道具体要搜哪个应用,因此用户使用模糊搜索。For example, the search keyword entered by the user is "comic", and the name of application B searched by the terminal according to the keyword is "cool comic", that is, the terminal can detect that the search keyword "comic" is inconsistent with the name of application B . In this case, the user can be considered to be doing a fuzzy search. That is to say, the user is not performing an accurate search and does not know which application to search for, so the user uses a fuzzy search.

例如,用户想要观看漫画类的作品,但是用户并不知道具体的漫画类应用的名称,因此用户先使用“漫画”作为关键词搜索应用平台上包含的漫画类应用,再从中选择出一款目标应用。此时,用户使用“漫画”作为关键词进行的搜索也就是模糊搜索。For example, the user wants to watch comic works, but the user does not know the name of the specific comic application, so the user first uses "comic" as a keyword to search for comic applications included on the application platform, and then selects one of them. target application. At this time, the search performed by the user using "comic" as a keyword is also a fuzzy search.

在检测到用户使用的搜索关键词和搜索到的第二应用的名称不一致时,如果终端在屏幕显示的第一应用的界面中检测到用于启动第二应用的操作,例如终端检测到用户在应用A的界面中触发对应用B的启动操作,则终端可以获取该应用B的配置文件。When it is detected that the search keyword used by the user is inconsistent with the searched name of the second application, if the terminal detects an operation for starting the second application in the interface of the first application displayed on the screen, for example, the terminal detects that the user is in the If the startup operation of application B is triggered in the interface of application A, the terminal can obtain the configuration file of application B.

在一种实施方式中,用于启动该第二应用的链接可以位于该第一应用的界面中。需要说明的是,用于启动该第二应用的链接位于该第一应用的界面中可以是指第二应用的启动入口位于第一应用的界面中,例如用户可以先打开第一应用,然后在该第一应用的某个功能模块的运行界面中查找到用于启动第二应用的链接,当用户点击该链接时即可启动第二应用。In one embodiment, the link for launching the second application may be located in the interface of the first application. It should be noted that the fact that the link for launching the second application is located in the interface of the first application may mean that the launch entry of the second application is located in the interface of the first application. A link for starting the second application is found in the running interface of a certain function module of the first application, and when the user clicks the link, the second application can be started.

例如,用于启动该应用B的链接内嵌于应用A的“搜索”功能模块。那么,用户可以先打开应用A,然后点击进入应用A的“搜索”功能模块的运行界面。之后,用户可以在该“搜索”功能模块的运行界面中查找用于启动应用B的链接。当查找到该用于启动应用B的链接后,用户可以点击该链接,以启动应用B。这种情况即是用户在该应用A的界面中触发对该应用B的启动操作。For example, the link for launching the application B is embedded in the "search" function module of the application A. Then, the user can first open the application A, and then click to enter the running interface of the "search" function module of the application A. Afterwards, the user can search for a link for launching application B in the running interface of the "search" function module. After finding the link for launching application B, the user can click the link to launch application B. In this case, the user triggers the startup operation of the application B in the interface of the application A.

在步骤S204中,根据该配置文件,终端生成该第二应用的界面。In step S204, according to the configuration file, the terminal generates an interface of the second application.

比如,在从服务器处获取到应用B对应的配置文件后,终端可以根据该配置文件,生成该应用B的界面。可以理解的是,该应用B的界面可以是应用B的启动界面,也可以是其他非启动界面。For example, after obtaining the configuration file corresponding to the application B from the server, the terminal may generate the interface of the application B according to the configuration file. It can be understood that the interface of the application B may be the startup interface of the application B, or may be other non-startup interfaces.

在步骤S205中,按照预设划分比例,终端对该屏幕的显示区域进行划分,得到第一显示区域和第二显示区域。In step S205, according to a preset division ratio, the terminal divides the display area of the screen to obtain a first display area and a second display area.

比如,在生成应用B的界面后,终端可以按照预设划分比例,对屏幕的显示区域进行划分,从而得到第一显示区域和第二显示区域。For example, after generating the interface of application B, the terminal may divide the display area of the screen according to the preset division ratio, so as to obtain the first display area and the second display area.

需要说明的是,终端的屏幕分为显示区域和非显示区域。其中,显示区域可以是用于显示文字和图像等画面的区域,而非显示区域可以是用于设置诸如受话器、接近传感器、环境光传感器、摄像模组以及指纹识别模组等器件的区域,这部分区域不显示文字和图像等。It should be noted that the screen of the terminal is divided into a display area and a non-display area. The display area may be an area for displaying pictures such as text and images, and the non-display area may be an area for setting devices such as receivers, proximity sensors, ambient light sensors, camera modules, and fingerprint recognition modules. Text and images, etc. are not displayed in some areas.

例如,预设划分比例为5:5,那么终端可以将屏幕的显示区域划分为上半屏和下半屏。For example, if the preset division ratio is 5:5, the terminal can divide the display area of the screen into an upper half screen and a lower half screen.

在步骤S206中,终端在该第一显示区域和该第二显示区域分别显示该第一应用的界面和该第二应用的界面。In step S206, the terminal displays the interface of the first application and the interface of the second application in the first display area and the second display area, respectively.

比如,在从屏幕的显示区域划分出第一显示区域和第二显示区域后,终端可以在该第一显示区域和该第二显示区域分别显示第一应用的界面和第二应用的界面。For example, after dividing the first display area and the second display area from the display area of the screen, the terminal may display the interface of the first application and the interface of the second application in the first display area and the second display area, respectively.

例如,终端将屏幕的显示区域分为上半屏和下半屏,那么终端可以在上半屏显示应用B的界面,在下半屏显示应用A的界面。For example, if the terminal divides the display area of the screen into an upper half screen and a lower half screen, the terminal can display the interface of application B on the upper half screen and the interface of application A on the lower half screen.

可以理解的是,本实施例中,终端可以对第一应用的运行界面和第二应用的运行界面进行分屏显示,从而提高了对终端屏幕的显示区域的利用率。另外,由于第一应用中用于搜索网页应用的界面仍然保留在显示区域,因此用户可以直接在该搜索界面上进行网页应用的搜索,而无需由网页应用的界面返回搜索界面,因此本实施例还可以提高搜索效率。It can be understood that, in this embodiment, the terminal can perform split-screen display on the running interface of the first application and the running interface of the second application, thereby improving the utilization rate of the display area of the terminal screen. In addition, since the interface for searching the web application in the first application still remains in the display area, the user can directly search the web application on the search interface without returning to the search interface from the interface of the web application. Therefore, this embodiment It can also improve search efficiency.

在一种实施方式中,终端在该第一显示区域和该第二显示区域分别显示该第一应用的界面和该第二应用的界面之后,本实施例还可以包括如下步骤:In an implementation manner, after the terminal displays the interface of the first application and the interface of the second application in the first display area and the second display area, respectively, this embodiment may further include the following steps:

若检测到第二应用的被使用时长达到预设时长,则终端增大第二显示区域在屏幕的显示区域中所占的面积比例。If it is detected that the used duration of the second application reaches the preset duration, the terminal increases the area ratio of the second display area in the display area of the screen.

比如,终端按照5:5的预设划分比例,将屏幕的显示区域划分为上半屏和下半屏。例如,终端将上半屏确定为第二显示区域,将下半屏确定为第一显示区域。那么,终端可以在上半屏显示应用B(即第二应用)的界面,在下半屏显示应用A(即第一应用)的界面。For example, the terminal divides the display area of the screen into an upper half screen and a lower half screen according to a preset division ratio of 5:5. For example, the terminal determines the upper half of the screen as the second display area, and the lower half of the screen as the first display area. Then, the terminal may display the interface of application B (ie, the second application) on the upper half of the screen, and display the interface of application A (ie, the first application) on the lower half of the screen.

之后,如果终端检测到用户本次对应用B的使用时长达到预设时长,例如终端检测到用户在应用B启动后的预设时长内未关闭应用B,那么可以认为用户在接下来的一段时间很有可能需要继续使用应用B。在这种情况下,终端可以增大用于显示应用B的第二显示区域在整个屏幕的显示区域中所占的面积比例。例如,之前第二显示区域和第一显示区域的比例为5:5,那么在检测到用户对应用B的使用时长达到预设时长时,终端可以将第二显示区域和第一显示区域的比例由5:5调整为7:3,从而增大第二显示区域在整个屏幕的显示区域中所占的面积比例。Afterwards, if the terminal detects that the user has used application B this time for a preset period of time, for example, the terminal detects that the user does not close application B within the preset period of time after application B is started, it can be considered that the user will use application B in the next period of time. It is very likely that you will need to continue using App B. In this case, the terminal may increase the area ratio of the second display area for displaying the application B in the display area of the entire screen. For example, the previous ratio of the second display area to the first display area was 5:5, then when it is detected that the user's use of application B reaches the preset duration, the terminal can adjust the ratio of the second display area to the first display area Adjust from 5:5 to 7:3, thereby increasing the area ratio of the second display area in the display area of the entire screen.

可以理解的是,通过增大第二显示区域在整个屏幕的显示区域中所占的面积比例,可以提高用户对界面的浏览体验,同时提高对屏幕显示区域进行分屏显示的灵活性。It can be understood that by increasing the area ratio of the second display area in the display area of the entire screen, the user's browsing experience of the interface can be improved, and the flexibility of split-screen display of the screen display area can be improved.

在另一种实施方式中,本实施例的终端可以在检测到用户通过第一应用搜索到第二应用,并在屏幕显示的该第一应用的界面中检测到用于启动该第二应用的操作时,获取该第二应用的配置文件。In another implementation manner, the terminal of this embodiment may detect that the user searches for the second application through the first application, and detects in the interface of the first application displayed on the screen that an interface for starting the second application is used. During operation, the configuration file of the second application is acquired.

比如,第一应用为应用A,第二应用为应用B。其中,应用A中包含“搜索”功能模块,该“搜索”功能模块可以用于搜索网页应用或者图片等。那么,当检测到用户通过应用A中的“搜索”功能模块搜索到网页应用类型的应用B,并且用户在应用A的界面中通过用于启动应用B的链接去触发启动应用B时,终端可以获取应用B的配置文件,并在后续步骤中,对应用A和应用B的界面进行分屏显示。For example, the first application is application A, and the second application is application B. Wherein, the application A includes a "search" function module, and the "search" function module can be used to search web applications or pictures. Then, when it is detected that the user searches for application B of the web application type through the "search" function module in application A, and the user triggers the startup of application B through the link used to start application B in the interface of application A, the terminal can Obtain the configuration file of application B, and in subsequent steps, display the interfaces of application A and application B on a split screen.

请参阅图3至图8,图3至图8为本申请实施例提供的应用界面的显示方法的场景示意图。Please refer to FIGS. 3 to 8 . FIGS. 3 to 8 are schematic diagrams of scenarios of a method for displaying an application interface provided by an embodiment of the present application.

比如,用户点击终端操作系统桌面上的应用A的图标,打开应用A,如图3所示。For example, the user clicks the icon of the application A on the desktop of the terminal operating system to open the application A, as shown in FIG. 3 .

在将进入应用A后,用户点击了应用A中的“搜索”功能模块。在“搜索”功能模块的界面,用户又点击了“搜索网页应用”。这一过程中终端界面的变化可以如图4所示。After entering application A, the user clicks the "search" function module in application A. On the interface of the "Search" function module, the user clicks "Search Web Application" again. The change of the terminal interface in this process can be shown in FIG. 4 .

在“搜索网页应用”界面,用户在搜索框中输入了“漫画”这一关键词,并点击了搜索按钮,如图5所示。即,用户使用应用A搜索漫画类型的网页应用。In the "Search Web Application" interface, the user enters the keyword "comic" in the search box, and clicks the search button, as shown in Figure 5. That is, the user uses the application A to search for a web application of the comic type.

例如,终端根据用户输入的“漫画”关键词,搜索到“炫酷漫画”、“好看漫画”这两个网页应用。此时,终端可以获取“炫酷漫画”和“好看漫画”的名称。然后,终端可以检测“炫酷漫画”和“好看漫画”是否和搜索关键词“漫画”一致。例如,本实施例中,终端检测到“炫酷漫画”和“好看漫画”和搜索关键词“漫画”不一致。此时,可以认为用户在进行模糊搜索。For example, according to the keyword "comic" input by the user, the terminal searches for two web applications, "cool comics" and "good-looking comics". At this time, the terminal can obtain the names of "cool comics" and "good-looking comics". Then, the terminal can detect whether "cool comics" and "good-looking comics" are consistent with the search keyword "comic". For example, in this embodiment, the terminal detects that "cool comics" and "good-looking comics" are inconsistent with the search keyword "comic". At this point, it can be considered that the user is performing a fuzzy search.

在搜索完后,用户点击了“炫酷漫画”,以启动“炫酷漫画”网页应用,如图6所示。即,终端检测到用户在应用A的界面中触发了对“炫酷漫画”应用的启动操作。此时,终端可以从服务器处获取“炫酷漫画”这一应用的配置文件,并根据该配置文件生成“炫酷漫画”的启动界面。After searching, the user clicks "Cool Comics" to launch the "Cool Comics" web application, as shown in FIG. 6 . That is, the terminal detects that the user has triggered the startup operation of the "Cool Comics" application in the interface of application A. At this time, the terminal may obtain a configuration file of the application "Cool Comics" from the server, and generate a startup interface of "Cool Comics" according to the configuration file.

然后,终端可以按照预设的5:5的比例对屏幕的显示区域进行划分,将显示区域划分为上半屏和下半屏。之后,终端可以在显示区域的上半屏显示“炫酷漫画”的界面,并在显示区域的下半屏显示应用A的搜索网页应用的界面,如图7所示。Then, the terminal may divide the display area of the screen according to a preset ratio of 5:5, and divide the display area into an upper half screen and a lower half screen. After that, the terminal can display the interface of "cool comics" on the upper half screen of the display area, and display the interface of the search web application of application A on the lower half screen of the display area, as shown in FIG. 7 .

在对“炫酷漫画”和应用A的界面进行分配显示后,用户可以在上半屏查看“炫酷漫画”的相关内容。例如,用户在浏览了“炫酷漫画”的界面后,觉得不够满意,想要切换到其它漫画类的网页应用,此时用户可以在下半屏中直接点击“好看漫画”,并进入“好看漫画”进行浏览,如图8所示。After allocating and displaying the interface of "Cool Comics" and Application A, the user can view the related content of "Cool Comics" on the upper half screen. For example, after browsing the "Cool Comics" interface, the user feels unsatisfied and wants to switch to other comic-related web applications. At this time, the user can directly click "Good-looking Comics" in the lower half of the screen, and enter the "Good-looking Comics" " to browse, as shown in Figure 8.

同样的,终端可以在显示区域的上半屏显示“好看漫画”的界面,而在下半屏显示应用A的搜索网页应用的界面。Similarly, the terminal may display the interface of "good-looking comics" on the upper half of the display area, and display the interface of the web search application of application A on the lower half of the screen.

可以理解的是,本实施例中,终端可以同时在显示区域显示“炫酷漫画”的界面和应用A的界面,这不仅可以提高显示屏的利用率,而且用户可以直接在下半屏中继续进行应用的搜索或者切换到搜索到的其他应用,从而提高搜索效率。It can be understood that, in this embodiment, the terminal can display the interface of "cool comics" and the interface of application A in the display area at the same time, which can not only improve the utilization rate of the display screen, but also the user can directly continue in the lower half of the screen. Search for applications or switch to other applications found in the search, thereby improving search efficiency.

请参阅图9,图9为本申请实施例提供的应用界面的显示装置的结构示意图。应用界面的显示装置300可以包括:获取模块301,生成模块302,划分模块303,显示模块304。Please refer to FIG. 9 , which is a schematic structural diagram of a display device for an application interface provided by an embodiment of the present application. The display device 300 of the application interface may include: an acquisition module 301 , a generation module 302 , a division module 303 , and a display module 304 .

获取模块301,用于当在屏幕显示的第一应用的界面中检测到用于启动第二应用的操作时,获取所述第二应用的配置文件。The obtaining module 301 is configured to obtain a configuration file of the second application when an operation for starting the second application is detected in the interface of the first application displayed on the screen.

比如,当在屏幕显示的第一应用的界面中检测到用于启动第二应用的操作时,获取模块301可以先获取该第二应用的配置文件。For example, when an operation for starting the second application is detected in the interface of the first application displayed on the screen, the obtaining module 301 may first obtain the configuration file of the second application.

例如,第一应用为应用A,而第二应用为应用B。其中,应用A为传统应用,应用B为网页应用。For example, the first application is application A and the second application is application B. Wherein, application A is a traditional application, and application B is a web application.

需要说明的是,传统应用是指需要将安装文件安装在终端本地的应用。以安卓操作系统为例,传统应用是指需要将安装文件(AndroidPackage)安装到终端本地的应用。网页应用是一种使用网页浏览器在互联网或企业内部网上操作的应用软件,是一种以网页语言(例如HTML、JavaScript、Java等编程语言)撰写的应用程式,需要通过浏览器来执行,比如可以统一通过某个开放平台进行访问。需要解释的是,现有网页应用的安装包、以及运行时产生的缓存数据均存储在该开放平台的服务器中,其不需要在用户设备中安装运行,从而尽可能节省用户设备的内存资源,而用户设备可以通过该开放平台中的应用接口与该网页应用的厂家服务器进行数据通信,实现对该网页应用的访问,此时,该开放平台的服务器充当代理服务器的角色,每一网页应用对应一个应用接口。It should be noted that the traditional application refers to the application that needs to install the installation file locally on the terminal. Taking the Android operating system as an example, a traditional application refers to an application that requires an installation file (Android Package) to be installed locally on a terminal. A web application is an application software that uses a web browser to operate on the Internet or an intranet. It is an application written in a web language (such as HTML, JavaScript, Java, etc.) It can be accessed uniformly through an open platform. It should be explained that the installation package of the existing web application and the cached data generated during runtime are all stored in the server of the open platform, which does not need to be installed and run in the user equipment, so as to save the memory resources of the user equipment as much as possible, The user equipment can perform data communication with the server of the manufacturer of the web application through the application interface in the open platform, so as to realize the access to the web application. At this time, the server of the open platform acts as a proxy server, and each web application corresponds to an application interface.

其中,用于启动该应用B的链接内嵌于应用A的“搜索”功能模块。那么,用户可以先打开应用A,然后点击进入应用A的“搜索”功能模块的运行界面。之后,用户可以在该“搜索”功能模块的运行界面中查找用于启动应用B的链接。当查找到该用于启动应用B的链接后,用户可以点击该链接,以启动应用B。The link for starting the application B is embedded in the "search" function module of the application A. Then, the user can first open the application A, and then click to enter the running interface of the "search" function module of the application A. Afterwards, the user can search for a link for launching application B in the running interface of the "search" function module. After finding the link for launching application B, the user can click the link to launch application B.

生成模块302,用于根据所述配置文件,生成所述第二应用的界面。The generating module 302 is configured to generate the interface of the second application according to the configuration file.

比如,在获取模块301从服务器处获取到第二应用对应的配置文件后,生成模块302可以根据该配置文件,生成与该第二应用对应的界面。可以理解的是,该第二应用的界面可以是第二应用的启动界面。For example, after the acquiring module 301 acquires the configuration file corresponding to the second application from the server, the generating module 302 may generate an interface corresponding to the second application according to the configuration file. It can be understood that, the interface of the second application may be a startup interface of the second application.

划分模块303,用于对所述屏幕的显示区域进行划分,得到第一显示区域和第二显示区域。The dividing module 303 is configured to divide the display area of the screen to obtain a first display area and a second display area.

比如,在生成模块302生成第二应用的界面后,划分模块303可以对该屏幕的显示区域进行划分,从而得到第一显示区域和第二显示区域。For example, after the generating module 302 generates the interface of the second application, the dividing module 303 may divide the display area of the screen to obtain the first display area and the second display area.

需要说明的是,终端的屏幕分为显示区域和非显示区域。其中,显示区域可以是用于显示文字和图像等画面的区域,而非显示区域可以是用于设置诸如受话器、接近传感器、环境光传感器、摄像模组以及指纹识别模组等器件的区域,这部分区域不显示文字和图像等。It should be noted that the screen of the terminal is divided into a display area and a non-display area. The display area may be an area for displaying pictures such as text and images, and the non-display area may be an area for setting devices such as receivers, proximity sensors, ambient light sensors, camera modules, and fingerprint recognition modules. Text and images, etc. are not displayed in some areas.

显示模块304,用于在所述第一显示区域和所述第二显示区域分别显示所述第一应用的界面和所述第二应用的界面。The display module 304 is configured to display the interface of the first application and the interface of the second application in the first display area and the second display area, respectively.

比如,在划分模块303从屏幕的显示区域划分出第一显示区域和第二显示区域后,显示模块304可以在该第一显示区域和该第二显示区域分别显示第一应用的界面和第二应用的界面。For example, after the dividing module 303 divides the first display area and the second display area from the display area of the screen, the display module 304 may display the interface of the first application and the second display area in the first display area and the second display area, respectively. application interface.

例如,划分模块303将屏幕的显示区域分为上半屏和下半屏,那么显示模块304可以在上半屏显示应用B的界面,在下半屏显示应用A的界面。For example, the dividing module 303 divides the display area of the screen into an upper half screen and a lower half screen, then the display module 304 can display the interface of application B in the upper half screen and the interface of application A in the lower half screen.

在一种实施方式中,所述获取模块301可以用于:In one embodiment, the obtaining module 301 may be used to:

若检测到用户通过第一应用搜索到第二应用,并在屏幕显示的所述第一应用的界面中检测到用于启动所述第二应用的操作,则获取所述第二应用的配置文件。If it is detected that the user searches for the second application through the first application, and an operation for starting the second application is detected in the interface of the first application displayed on the screen, the configuration file of the second application is acquired .

比如,第一应用为应用A,第二应用为应用B。其中,应用A中包含“搜索”功能模块,该“搜索”功能模块可以用于搜索网页应用或者图片等。那么,当检测到用户通过应用A中的“搜索”功能模块搜索到应用B,并且检测到用户在应用A的界面中通过用于启动应用B的链接去触发启动应用B时,可以触发获取模块301获取应用B的配置文件,并在后续步骤中,对应用A和应用B的界面进行分屏显示。For example, the first application is application A, and the second application is application B. Wherein, the application A includes a "search" function module, and the "search" function module can be used to search web applications or pictures. Then, when it is detected that the user searches for application B through the "search" function module in application A, and it is detected that the user triggers the startup of application B through the link used to start application B in the interface of application A, the acquisition module can be triggered 301 Obtain the configuration file of the application B, and in the subsequent steps, perform a split-screen display on the interfaces of the application A and the application B.

在一种实施方式中,所述获取模块301可以用于:In one embodiment, the obtaining module 301 may be used to:

当检测到用户使用第一应用搜索其他应用时,获取搜索关键词;When it is detected that the user uses the first application to search for other applications, obtain search keywords;

若根据所述搜索关键词搜索到第二应用,则获取第二应用的应用名称;If the second application is searched according to the search keyword, the application name of the second application is obtained;

若检测到所述搜索关键词与所述应用名称不一致,且在屏幕显示的所述第一应用的界面中检测到用于启动所述第二应用的操作,则获取所述第二应用的配置文件。If it is detected that the search keyword is inconsistent with the application name, and an operation for starting the second application is detected in the interface of the first application displayed on the screen, the configuration of the second application is acquired document.

在一种实施方式中,所述划分模块303可以用于:In one embodiment, the dividing module 303 may be used to:

按照预设划分比例,对所述屏幕的显示区域进行划分,得到第一显示区域和第二显示区域。According to a preset division ratio, the display area of the screen is divided to obtain a first display area and a second display area.

请一并参阅图10,图10为本申请实施例提供的应用界面的显示装置的另一结构示意图。在一实施例中,应用界面的显示装置300还可以包括:调整模块305。Please also refer to FIG. 10 . FIG. 10 is another schematic structural diagram of a display device for an application interface provided by an embodiment of the present application. In an embodiment, the display device 300 of the application interface may further include: an adjustment module 305 .

调整模块305,用于若检测到所述第二应用的被使用时长达到预设时长,则增大所述第二显示区域在所述屏幕的显示区域中所占的面积比例。The adjustment module 305 is configured to increase the area ratio of the second display area in the display area of the screen if it is detected that the used duration of the second application reaches a preset duration.

比如,划分模块303按照5:5的预设划分比例,将屏幕的显示区域划分为上半屏和下半屏。例如,终端将上半屏确定为第二显示区域,将下半屏确定为第一显示区域。那么,显示模块304可以在上半屏显示应用B(即第二应用)的界面,在下半屏显示应用A(即第一应用)的界面。For example, the division module 303 divides the display area of the screen into an upper half screen and a lower half screen according to a preset division ratio of 5:5. For example, the terminal determines the upper half of the screen as the second display area, and the lower half of the screen as the first display area. Then, the display module 304 may display the interface of application B (ie, the second application) on the upper half of the screen, and display the interface of application A (ie, the first application) on the lower half of the screen.

之后,如果终端检测到用户本次对应用B的使用时长达到预设时长,例如终端检测到用户在应用B启动后的预设时长内未关闭应用B,那么可以认为用户在接下来的一段时间很有可能需要继续使用应用B。在这种情况下,调整模块305可以增大用于显示应用B的第二显示区域在整个屏幕的显示区域中所占的面积比例。例如,之前第二显示区域和第一显示区域的比例为5:5,那么在检测到用户对应用B的使用时长达到预设时长时,调整模块305可以将第二显示区域和第一显示区域的比例由5:5调整为7:3,从而增大第二显示区域在整个屏幕的显示区域中所占的面积比例。Afterwards, if the terminal detects that the user has used application B this time for a preset period of time, for example, the terminal detects that the user does not close application B within the preset period of time after application B is started, it can be considered that the user will use application B in the next period of time. It is very likely that you will need to continue using App B. In this case, the adjustment module 305 may increase the area ratio of the second display area for displaying the application B in the display area of the entire screen. For example, the ratio of the second display area to the first display area is 5:5, then when it is detected that the user's use of application B reaches the preset duration, the adjustment module 305 can adjust the second display area to the first display area. The ratio is adjusted from 5:5 to 7:3, thereby increasing the area ratio of the second display area in the display area of the entire screen.

本申请实施例提供一种计算机可读的存储介质,其上存储有计算机程序,当所述计算机程序在计算机上执行时,使得所述计算机执行如本实施例提供的应用界面的显示方法中的步骤。An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed on a computer, causes the computer to execute the method in the method for displaying an application interface provided by this embodiment. step.

本申请实施例还提供一种电子设备,包括存储器,处理器,所述处理器通过调用所述存储器中存储的计算机程序,用于执行本实施例提供的应用界面的显示方法中的步骤。An embodiment of the present application further provides an electronic device, including a memory and a processor, where the processor is configured to execute the steps in the method for displaying an application interface provided by this embodiment by invoking a computer program stored in the memory.

例如,上述电子设备可以是诸如平板电脑或者智能手机等移动终端。请参阅图11,图11为本申请实施例提供的移动终端的结构示意图。For example, the above-mentioned electronic device may be a mobile terminal such as a tablet computer or a smart phone. Please refer to FIG. 11 , which is a schematic structural diagram of a mobile terminal provided by an embodiment of the present application.

该移动终端400可以包括显示单元401、存储器402、处理器403等部件。本领域技术人员可以理解,图11中示出的移动终端结构并不构成对移动终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。The mobile terminal 400 may include components such as a display unit 401, a memory 402, a processor 403, and the like. Those skilled in the art can understand that the structure of the mobile terminal shown in FIG. 11 does not constitute a limitation on the mobile terminal, and may include more or less components than those shown, or combine some components, or arrange different components.

显示单元401可以包括如显示屏幕等。The display unit 401 may include, for example, a display screen or the like.

存储器402可用于存储应用程序和数据。存储器402存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器403通过运行存储在存储器402的应用程序,从而执行各种功能应用以及数据处理。Memory 402 may be used to store applications and data. The application program stored in the memory 402 contains executable code. Applications can be composed of various functional modules. The processor 403 executes various functional applications and data processing by executing the application programs stored in the memory 402 .

处理器403是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器402内的应用程序,以及调用存储在存储器402内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。The processor 403 is the control center of the mobile terminal, uses various interfaces and lines to connect various parts of the entire mobile terminal, and executes the mobile terminal by running or executing the application program stored in the memory 402 and calling the data stored in the memory 402. various functions and processing data, so as to monitor the mobile terminal as a whole.

在本实施例中,移动终端中的处理器403会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行代码加载到存储器402中,并由处理器403来运行存储在存储器402中的应用程序,从而实现步骤:In this embodiment, the processor 403 in the mobile terminal loads the executable code corresponding to the process of one or more application programs into the memory 402 according to the following instructions, and the processor 403 executes the executable code stored in the memory The application in 402, thus implementing the steps:

当在屏幕显示的第一应用的界面中检测到用于启动第二应用的操作时,获取所述第二应用的配置文件;根据所述配置文件,生成所述第二应用的界面;对所述屏幕的显示区域进行划分,得到第一显示区域和第二显示区域;在所述第一显示区域和所述第二显示区域分别显示所述第一应用的界面和所述第二应用的界面。When an operation for starting the second application is detected in the interface of the first application displayed on the screen, obtain the configuration file of the second application; generate the interface of the second application according to the configuration file; The display area of the screen is divided to obtain a first display area and a second display area; the interface of the first application and the interface of the second application are respectively displayed in the first display area and the second display area .

请参阅图12,移动终端500可以包括显示单元501、存储器502、处理器503、输入单元504、输出单元505等部件。Referring to FIG. 12 , the mobile terminal 500 may include components such as a display unit 501 , a memory 502 , a processor 503 , an input unit 504 , and an output unit 505 .

显示单元501可以包括如显示屏幕等。The display unit 501 may include, for example, a display screen or the like.

存储器502可用于存储应用程序和数据。存储器502存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器503通过运行存储在存储器502的应用程序,从而执行各种功能应用以及数据处理。Memory 502 may be used to store applications and data. The application program stored in the memory 502 contains executable code. Applications can be composed of various functional modules. The processor 503 executes various functional applications and data processing by running the application programs stored in the memory 502 .

处理器503是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器502内的应用程序,以及调用存储在存储器502内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。The processor 503 is the control center of the mobile terminal, uses various interfaces and lines to connect various parts of the entire mobile terminal, and executes the mobile terminal by running or executing the application program stored in the memory 502 and calling the data stored in the memory 502. various functions and processing data, so as to monitor the mobile terminal as a whole.

输入单元504可用于接收输入的数字、字符信息或用户特征信息(比如指纹),以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。The input unit 504 may be used to receive input numbers, character information, or user characteristic information (such as fingerprints), and generate keyboard, mouse, joystick, optical, or trackball signal input related to user settings and function control.

输出单元505可用于显示由用户输入的信息或提供给用户的信息以及移动终端的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。输出单元可包括显示面板。The output unit 505 may be used to display information input by the user or information provided to the user and various graphical user interfaces of the mobile terminal, which may be composed of graphics, text, icons, videos and any combination thereof. The output unit may include a display panel.

在本实施例中,移动终端中的处理器503会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行代码加载到存储器502中,并由处理器503来运行存储在存储器502中的应用程序,从而实现步骤:In this embodiment, the processor 503 in the mobile terminal loads the executable code corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 503 executes and stores it in the memory The application in 502, thus implementing the steps:

当在屏幕显示的第一应用的界面中检测到用于启动第二应用的操作时,获取所述第二应用的配置文件;根据所述配置文件,生成所述第二应用的界面;对所述屏幕的显示区域进行划分,得到第一显示区域和第二显示区域;在所述第一显示区域和所述第二显示区域分别显示所述第一应用的界面和所述第二应用的界面。When an operation for starting the second application is detected in the interface of the first application displayed on the screen, obtain the configuration file of the second application; generate the interface of the second application according to the configuration file; The display area of the screen is divided to obtain a first display area and a second display area; the interface of the first application and the interface of the second application are respectively displayed in the first display area and the second display area .

在一种实施方式中,处理器503执行所述当在屏幕显示的第一应用的界面中检测到用于启动第二应用的操作时获取所述第二应用的配置文件的步骤时,可以执行:若检测到用户通过第一应用搜索到第二应用,并在屏幕显示的所述第一应用的界面中检测到用于启动所述第二应用的操作,则获取所述第二应用的配置文件。In an implementation manner, when the processor 503 performs the step of acquiring the configuration file of the second application when an operation for starting the second application is detected in the interface of the first application displayed on the screen, the processor 503 may perform the step of acquiring the configuration file of the second application. : If it is detected that the user searches for the second application through the first application, and an operation for starting the second application is detected in the interface of the first application displayed on the screen, obtain the configuration of the second application document.

在一种实施方式中,处理器503执行所述若检测到用户通过第一应用搜索到第二应用并在屏幕显示的所述第一应用的界面中检测到用于启动所述第二应用的操作则获取所述第二应用的配置文件的步骤时,可以执行:当检测到用户使用第一应用搜索其他应用时,获取搜索关键词;若根据所述搜索关键词搜索到第二应用,则获取第二应用的应用名称;若检测到所述搜索关键词与所述应用名称不一致,且在屏幕显示的所述第一应用的界面中检测到用于启动所述第二应用的操作,则获取所述第二应用的配置文件。In an implementation manner, the processor 503 executes the process if it is detected that the user searches for the second application through the first application, and a method for starting the second application is detected in the interface of the first application displayed on the screen. When the operation is to obtain the configuration file of the second application, the following steps may be performed: when it is detected that the user uses the first application to search for other applications, obtain search keywords; if the second application is searched according to the search keywords, then Obtain the application name of the second application; if it is detected that the search keyword is inconsistent with the application name, and an operation for starting the second application is detected in the interface of the first application displayed on the screen, then Obtain the configuration file of the second application.

在一种实施方式中,处理器503执行所述对所述屏幕的显示区域进行划分,得到第一显示区域和第二显示区域的步骤时,可以执行:按照预设划分比例,对所述屏幕的显示区域进行划分,得到第一显示区域和第二显示区域。In one embodiment, when the processor 503 performs the step of dividing the display area of the screen to obtain the first display area and the second display area, the processor 503 may perform: according to a preset division ratio, divide the screen The display area is divided to obtain a first display area and a second display area.

在一种实施方式中,在所述第一显示区域和所述第二显示区域分别显示所述第一应用的界面和所述第二应用的界面之后,处理器503还可以执行:若检测到所述第二应用的被使用时长达到预设时长,则增大所述第二显示区域在所述屏幕的显示区域中所占的面积比例。In an implementation manner, after the first display area and the second display area respectively display the interface of the first application and the interface of the second application, the processor 503 may further execute: if detected When the used duration of the second application reaches a preset duration, the area ratio of the second display area in the display area of the screen is increased.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见上文针对应用界面的显示方法的详细描述,此处不再赘述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the above detailed description of the display method for the application interface, which will not be repeated here.

本申请实施例提供的所述应用界面的显示装置与上文实施例中的应用界面的显示方法属于同一构思,在所述应用界面的显示装置上可以运行所述应用界面的显示方法实施例中提供的任一方法,其具体实现过程详见所述应用界面的显示方法实施例,此处不再赘述。The display device of the application interface provided by the embodiment of the present application and the display method of the application interface in the above embodiments belong to the same concept. In the embodiment of the display method of the application interface can be executed on the display device of the application interface For the specific implementation process of any of the provided methods, please refer to the embodiment of the application interface display method, which will not be repeated here.

需要说明的是,对本申请实施例所述应用界面的显示方法而言,本领域普通技术人员可以理解实现本申请实施例所述应用界面的显示方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述计算机程序可存储于一计算机可读取存储介质中,如存储在存储器中,并被至少一个处理器执行,在执行过程中可包括如所述应用界面的显示方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储器(ROM,ReadOnly Memory)、随机存取记忆体(RAM,Random Access Memory)等。It should be noted that, for the display method of the application interface described in the embodiment of the present application, those of ordinary skill in the art can understand that all or part of the process of realizing the display method of the application interface described in the embodiment of the present application can be realized by a computer program. Control related hardware to complete, the computer program can be stored in a computer-readable storage medium, such as stored in a memory, and executed by at least one processor, and the execution process can include, for example, the display of the application interface A flow of an embodiment of a method. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM, ReadOnly Memory), a random access memory (RAM, Random Access Memory), and the like.

对本申请实施例的所述应用界面的显示装置而言,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中,所述存储介质譬如为只读存储器,磁盘或光盘等。For the display device of the application interface according to the embodiment of the present application, each functional module may be integrated in one processing chip, or each module may exist physically alone, or two or more modules may be integrated in 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 function modules. If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium, such as a read-only memory, a magnetic disk or an optical disk, etc. .

以上对本申请实施例所提供的一种应用界面的显示方法、装置、存储介质以及电子设备进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The method, device, storage medium, and electronic device for displaying an application interface provided by the embodiments of the present application have been described above in detail. The principles and implementations of the present invention are described with specific examples in this paper. The description is only used to help understand the method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific embodiments and application scope. In summary, The contents of this specification should not be construed as limiting the present invention.

Claims (8)

1.一种应用界面的显示方法,其特征在于,包括:1. a display method of an application interface, is characterized in that, comprises: 当检测到通过第一应用搜索得到第二应用,并在屏幕显示的所述第一应用的界面中检测到用于启动所述第二应用的操作时,获取所述第二应用的配置文件,其中所述第一应用为安装在终端本地的应用,所述第二应用为不需要安装在终端本地的网页应用;When it is detected that the second application is obtained through the first application search, and an operation for starting the second application is detected in the interface of the first application displayed on the screen, the configuration file of the second application is acquired, The first application is an application installed locally on the terminal, and the second application is a web application that does not need to be installed locally on the terminal; 根据所述配置文件,生成所述第二应用的界面;generating the interface of the second application according to the configuration file; 对所述屏幕的显示区域进行划分,得到第一显示区域和第二显示区域;dividing the display area of the screen to obtain a first display area and a second display area; 在所述第一显示区域和所述第二显示区域分别显示所述第一应用的界面和所述第二应用的界面;Display the interface of the first application and the interface of the second application in the first display area and the second display area, respectively; 当检测到在所述第一显示区域中启动另一第二应用的操作时,所述第二显示区域切换显示所述另一第二应用。When an operation of launching another second application in the first display area is detected, the second display area switches to display the other second application. 2.根据权利要求1所述的应用界面的显示方法,其特征在于,所述若检测到用户通过第一应用搜索到第二应用并在屏幕显示的所述第一应用的界面中检测到用于启动所述第二应用的操作则获取所述第二应用的配置文件的步骤,包括:2 . The method for displaying an application interface according to claim 1 , wherein, if it is detected that the user searches for the second application through the first application and the user is detected in the interface of the first application displayed on the screen. 3 . In the operation of starting the second application, the step of acquiring the configuration file of the second application includes: 当检测到用户使用第一应用搜索其他应用时,获取搜索关键词;When it is detected that the user uses the first application to search for other applications, obtain search keywords; 若根据所述搜索关键词搜索到第二应用,则获取第二应用的应用名称;If the second application is searched according to the search keyword, the application name of the second application is obtained; 若检测到所述搜索关键词与所述应用名称不一致,且在屏幕显示的所述第一应用的界面中检测到用于启动所述第二应用的操作,则获取所述第二应用的配置文件。If it is detected that the search keyword is inconsistent with the application name, and an operation for starting the second application is detected in the interface of the first application displayed on the screen, the configuration of the second application is acquired document. 3.根据权利要求1所述的应用界面的显示方法,其特征在于,所述对所述屏幕的显示区域进行划分得到第一显示区域和第二显示区域的步骤,包括:3. The method for displaying an application interface according to claim 1, wherein the step of dividing the display area of the screen to obtain the first display area and the second display area comprises: 按照预设划分比例,对所述屏幕的显示区域进行划分,得到第一显示区域和第二显示区域。According to a preset division ratio, the display area of the screen is divided to obtain a first display area and a second display area. 4.根据权利要求1所述的应用界面的显示方法,其特征在于,在所述第一显示区域和所述第二显示区域分别显示所述第一应用的界面和所述第二应用的界面之后,所述方法还包括:4 . The method for displaying an application interface according to claim 1 , wherein the interface of the first application and the interface of the second application are respectively displayed in the first display area and the second display area. 5 . Afterwards, the method further includes: 若检测到所述第二应用的被使用时长达到预设时长,则增大所述第二显示区域在所述屏幕的显示区域中所占的面积比例。If it is detected that the used duration of the second application reaches a preset duration, the area ratio occupied by the second display area in the display area of the screen is increased. 5.一种应用界面的显示装置,其特征在于,包括:5. A display device for an application interface, comprising: 获取模块,用于当检测到通过第一应用搜索到第二应用,并在屏幕显示的所述第一应用的界面中检测到用于启动所述第二应用的操作时,获取所述第二应用的配置文件,其中,所述第一应用为安装在终端本地的应用,所述第二应用为不需要安装在终端本地的网页应用;an acquiring module, configured to acquire the second application when it is detected that the second application is searched through the first application and an operation for starting the second application is detected in the interface of the first application displayed on the screen A configuration file of an application, wherein the first application is an application installed locally on the terminal, and the second application is a web application that does not need to be installed locally on the terminal; 生成模块,用于根据所述配置文件,生成所述第二应用的界面;a generating module, configured to generate the interface of the second application according to the configuration file; 划分模块,用于对所述屏幕的显示区域进行划分,得到第一显示区域和第二显示区域;a dividing module, configured to divide the display area of the screen to obtain a first display area and a second display area; 显示模块,用于在所述第一显示区域和所述第二显示区域分别显示所述第一应用的界面和所述第二应用的界面,还用于当检测到在所述第一显示区域中启动另一第二应用的操作时,所述第二显示区域切换显示所述另一第二应用。a display module, configured to display the interface of the first application and the interface of the second application in the first display area and the second display area, respectively, and is further configured to display the interface of the first application and the interface of the second application when it is detected that the first display area is in the first display area During the operation of starting another second application, the second display area switches to display the other second application. 6.根据权利要求5所述的应用界面的显示装置,其特征在于,所述获取模块用于:6. The display device of the application interface according to claim 5, wherein the acquisition module is used for: 当检测到用户使用第一应用搜索其他应用时,获取搜索关键词;When it is detected that the user uses the first application to search for other applications, obtain search keywords; 若根据所述搜索关键词搜索到第二应用,则获取第二应用的应用名称;If the second application is searched according to the search keyword, the application name of the second application is obtained; 若检测到所述搜索关键词与所述应用名称不一致,且在屏幕显示的所述第一应用的界面中检测到用于启动所述第二应用的操作,则获取所述第二应用的配置文件。If it is detected that the search keyword is inconsistent with the application name, and an operation for starting the second application is detected in the interface of the first application displayed on the screen, the configuration of the second application is acquired document. 7.一种存储介质,其上存储有计算机程序,其特征在于,当所述计算机程序在计算机上执行时,使得所述计算机执行如权利要求1至4中任一项所述的方法。7. A storage medium on which a computer program is stored, characterized in that, when the computer program is executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 4. 8.一种电子设备,包括存储器,处理器,其特征在于,所述处理器通过调用所述存储器中存储的计算机程序,用于执行如权利要求1至4中任一项所述的方法。8. An electronic device, comprising a memory and a processor, wherein the processor is configured to execute the method according to any one of claims 1 to 4 by invoking a computer program stored in the memory.
CN201810150648.5A 2018-02-13 2018-02-13 Application interface display method, device, storage medium and electronic device Active CN108268297B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810150648.5A CN108268297B (en) 2018-02-13 2018-02-13 Application interface display method, device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810150648.5A CN108268297B (en) 2018-02-13 2018-02-13 Application interface display method, device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN108268297A CN108268297A (en) 2018-07-10
CN108268297B true CN108268297B (en) 2020-01-31

Family

ID=62774172

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810150648.5A Active CN108268297B (en) 2018-02-13 2018-02-13 Application interface display method, device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN108268297B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005070879A (en) * 2003-08-28 2005-03-17 Canon Software Inc Program generator, program generation method, program, and recording medium
CN107329743A (en) * 2017-06-14 2017-11-07 北京小米移动软件有限公司 Methods of exhibiting, device and the storage medium of five application page
CN107402709A (en) * 2017-06-23 2017-11-28 努比亚技术有限公司 A kind of multi-screen display method, terminal and computer-readable recording medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9164540B2 (en) * 2010-10-01 2015-10-20 Z124 Method and apparatus for moving display during a device flip
KR20130054076A (en) * 2011-11-16 2013-05-24 삼성전자주식회사 Apparatus having a touch screen pre-loading plurality of applications and method for controlling thereof
CN105630307A (en) * 2015-12-23 2016-06-01 努比亚技术有限公司 Apparatus and method for displaying a plurality of applications on mobile terminal
CN107066269A (en) * 2017-03-29 2017-08-18 宇龙计算机通信科技(深圳)有限公司 A kind of split screen processing method and processing device of terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005070879A (en) * 2003-08-28 2005-03-17 Canon Software Inc Program generator, program generation method, program, and recording medium
CN107329743A (en) * 2017-06-14 2017-11-07 北京小米移动软件有限公司 Methods of exhibiting, device and the storage medium of five application page
CN107402709A (en) * 2017-06-23 2017-11-28 努比亚技术有限公司 A kind of multi-screen display method, terminal and computer-readable recording medium

Also Published As

Publication number Publication date
CN108268297A (en) 2018-07-10

Similar Documents

Publication Publication Date Title
US10705780B2 (en) Method, device, and storage medium for displaying application page
CN108319489B (en) Application page startup method, device, storage medium and electronic device
US20230259691A9 (en) Method, apparatus, device and storage medium for determining page theme
CN110417988B (en) Interface display method, device and device
CN111026491B (en) Interface display method, device, electronic equipment, server and storage medium
WO2019072201A1 (en) Webpage content extraction method and terminal device
US20140236756A1 (en) Systems and methods for integrated recommendations
CN109948073B (en) Content retrieval method, terminal, server, electronic device, and storage medium
CN108287917B (en) File opening method and device, storage medium and electronic equipment
CN108549568B (en) Application entry processing method, device, storage medium and electronic device
WO2020007146A1 (en) Method for running program, apparatus, computer device and storage medium
CN108769234B (en) Application downloading method and device, storage medium and electronic equipment
RU2595524C2 (en) Device and method for processing content of web resource in browser
CN115309470B (en) Method, device, equipment and storage medium for loading widget
US20130080871A1 (en) Method for retrieving a representation of an annotated web document, associated computer program and electronic device
CN108287918A (en) Method for playing music, device, storage medium based on five application page and electronic equipment
CN111783019B (en) Browser subpage creation method, device, computer equipment and storage medium
US11157576B2 (en) Method, system and terminal for performing search in a browser
CN108345683B (en) Web page display method, device, terminal and storage medium
CN108363793B (en) Webpage application access method and device, storage medium and electronic equipment
CN107402625A (en) Touch screen scanning method, device, terminal and computer-readable storage medium
CN106599257B (en) Method for realizing page shortcut and electronic equipment
TW201525740A (en) Method and device for displaying web page and computer-readable storage medium
CN108268298B (en) Desktop icon generation method and device, storage medium and electronic equipment
CN117093285B (en) A browser extension program dynamic implementation method, system, terminal and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

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

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

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

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant