CN116048317B - Display method and device - Google Patents

Display method and device Download PDF

Info

Publication number
CN116048317B
CN116048317B CN202310042443.6A CN202310042443A CN116048317B CN 116048317 B CN116048317 B CN 116048317B CN 202310042443 A CN202310042443 A CN 202310042443A CN 116048317 B CN116048317 B CN 116048317B
Authority
CN
China
Prior art keywords
application
split
split screen
task window
interface
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
CN202310042443.6A
Other languages
Chinese (zh)
Other versions
CN116048317A (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.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202310042443.6A priority Critical patent/CN116048317B/en
Publication of CN116048317A publication Critical patent/CN116048317A/en
Application granted granted Critical
Publication of CN116048317B publication Critical patent/CN116048317B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application relates to the technical field of electronics, in particular to a display method and a display device, which can simplify the closing flow of a split screen display function of a first application and rapidly close the split screen display function of the first application. The method comprises the following steps: responding to a first operation of a user, and displaying a first interface; the first interface comprises at least one first task window, the at least one first task window corresponds to at least one first application which is recently operated and not closed by the electronic equipment, a plurality of application pages of one first application are displayed in a split screen mode in each first task window, each first task window comprises a first split screen button, and the first split screen button is used for triggering the electronic equipment to close the split screen display of the corresponding first application; responding to clicking operation of a user on a first split screen button of a second task window in at least one first task window, and displaying an application home page of the second application in a full screen mode; the second application is an application corresponding to a second task window in at least one first application.

Description

Display method and device
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a display method and apparatus.
Background
With the continuous development of intelligent terminal technology, more and more terminal electronic devices can meet the multi-window use requirements of users. Various multi-window display modes such as a split-screen display mode, a small window display mode and the like can be provided for a user. The split-screen display mode can be used for respectively applying a plurality of application pages in a plurality of display areas on a display screen of the electronic device. Parallel view is an application split screen display mode, and multiple application pages of the same application can be split screen displayed in multiple display areas on a display screen of an electronic device.
When the user uses the electronic equipment, the application of the split screen display can be switched to the full screen display or the application of the full screen display can be switched to the split screen display according to the self requirement. When the user switches the split screen display mode of the application, the split screen display function of the application needs to be opened or closed, the electronic equipment needs to be operated for a plurality of times, and the process is tedious and inconvenient to operate.
Disclosure of Invention
In view of this, the present application provides a display method and apparatus, which can simplify the closing process of the split screen display function of the first application.
In a first aspect, the present application provides a display method, including: responding to a first operation of a user, and displaying a first interface; the first interface comprises at least one first task window, the at least one first task window corresponds to at least one first application which is recently operated and not closed by the electronic equipment, a plurality of application pages of one first application are displayed in a split screen mode in each first task window, each first task window comprises a first split screen button, and the first split screen button is used for triggering the electronic equipment to close the split screen display of the corresponding first application; responding to clicking operation of a user on a first split screen button of a second task window in at least one first task window, and displaying an application home page of the second application in a full screen mode; the second application is an application corresponding to a second task window in at least one first application.
The application provides a display method and a display device, wherein a first split-screen button can be arranged in a task window of an application. In this way, the electronic device may turn off the split-screen display function (or referred to as the parallel view function) of the first application in response to the user's click operation of the first split-screen button. By adopting the scheme, the user does not need to operate the electronic equipment for searching the switch of the split screen display function of the first application for multiple times to close the split screen display function of the first application, the closing flow of the split screen display function of the first application can be simplified, and the split screen display function (or called as parallel vision function) of the first application can be quickly closed.
In a possible implementation manner of the first aspect, the responding to the clicking operation of the user on the first split screen button of the second task window in the at least one first task window displays the application home page of the second application in a full screen manner, includes: and responding to clicking operation of the first split screen button of the second task window by the user, displaying an animation of exiting the first interface and displaying a main interface of the electronic equipment, and automatically opening the animation of the second application until the application home page of the second application is displayed in a full screen mode. The implementation method provides a dynamic application split screen display switching process.
In another possible implementation manner of the first aspect, before displaying the first interface in response to the first operation of the user, the method further includes: displaying a third interface; the third interface is used for split-screen display of a plurality of application pages of a second application; and receiving the first operation of the user on the third interface. The implementation method provides a method for entering a first interface on an application split screen display interface to perform display switching.
In another possible implementation manner of the first aspect, the first interface further includes at least one third task window, where the at least one third task window corresponds to at least one third application that has been recently run by the electronic device and has not been closed, an application page of the third application is displayed in full screen in each third task window, and each third task window includes a second split screen button, where the second split screen button is used to trigger the electronic device to open a split screen display of the corresponding third application; after displaying the first interface in response to the first operation of the user, the method further comprises: responding to clicking operation of a second split screen button of a fourth task window in at least one third task window by a user, and displaying a plurality of application pages of a fourth application in a split screen manner; the fourth application is an application corresponding to a fourth task window in at least one third application. The application provides a display method and a display device, which can be used for setting a second split screen button in an applied task window. In this way, the electronic device may turn on the split-screen display function (or referred to as the parallel view function) of the fourth application in response to the click operation of the second split-screen button by the user. By adopting the scheme, a user does not need to operate the electronic equipment for searching the switch of the split screen display function of the fourth application for multiple times to open the split screen display function of the fourth application, the closing flow of the split screen display function of the fourth application can be simplified, and the split screen display function (or called as parallel vision function) of the fourth application can be quickly closed.
In another possible implementation manner of the first aspect, in response to a clicking operation of a second split-screen button of a fourth task window in the at least one third task window by a user, the split-screen displaying a plurality of application pages of the fourth application includes: responding to clicking operation of a second split screen button of the fourth task window by a user, displaying an animation which exits from the first interface and displays a main interface of the electronic equipment, and automatically opening the animation of the fourth application until an application home page of the fourth application is displayed in a full screen; and responding to a second operation of the user on the application home page of the fourth application, and displaying the application home page of the fourth application and an application page corresponding to the second operation in a split screen mode. The implementation method provides a dynamic application split screen display switching process.
In another possible implementation manner of the first aspect, in response to a clicking operation of a second split-screen button of a fourth task window in the at least one third task window by a user, the split-screen displaying a plurality of application pages of the fourth application includes: responding to clicking operation of a second split screen button of the fourth task window by a user, displaying an animation of exiting the first interface and displaying a main interface of the electronic equipment, and automatically opening the animation of the fourth application, and displaying a plurality of application pages of the fourth application in a split screen mode; and responding to clicking operation of the second split screen button, and pre-configuring a plurality of application pages of the fourth application to be split screen displayed in the electronic equipment. The realization method provides a display page switching method for dynamically switching from full-screen display to split-screen display. The implementation method provides another dynamic application split screen display switching process.
In another possible implementation manner of the first aspect, before displaying the first interface in response to the first operation of the user, the method further includes: displaying a fourth interface; displaying an application page of the third application in a full screen mode in a fourth interface; and receiving the first operation of the user on the fourth interface. The implementation method provides a method for entering a first interface from a full-screen display interface to perform display switching.
In another possible implementation manner of the first aspect, before displaying the first interface in response to the first operation of the user, the method further includes: judging whether the corresponding application supports split screen display according to a first configuration parameter of an application which is recently operated and not closed by the electronic equipment; the first application supports split screen display, and a first split screen button is displayed in a first task window corresponding to the first application; and the third application supports split screen display, and a second split screen button is displayed in a first task window corresponding to the third application. Before the first interface is displayed in response to the first operation of the user, it is also determined whether the first split-screen button or the second split-screen button is displayed on the first interface.
In another possible implementation manner of the first aspect, before displaying the first interface in response to the first operation of the user, the method further includes: judging whether a split screen display function of the corresponding application is started or not according to a second configuration parameter of the application which is recently operated and not closed by the electronic equipment; the split screen display function of the first application is started, and a first split screen button is displayed in a first task window corresponding to the first application; and the split screen display function of the third application is closed, and a second split screen button is displayed in the first task window corresponding to the third application. Before the first interface is displayed in response to the first operation of the user, the first split-screen button or the second split-screen button is also determined to be displayed according to the configuration parameters of the application.
In another possible implementation manner of the first aspect, after responding to a click operation of a first split screen button of a second task window in the at least one first task window by a user, the method further includes: updating a second configuration parameter of a second application; the updated second configuration parameters of the second application indicate that the split screen display function of the second application is closed; updating a second configuration parameter of the fourth application; the updated second configuration parameter of the fourth application indicates that the split screen display function of the second application is started. After the user clicks the first split screen button or the second split screen button, a second configuration parameter of the second application or the fourth application is updated, so that the split screen display function of the second application or the fourth application is started or closed again.
In a second aspect, the present application provides an electronic device, including: a memory and one or more processors; the memory is coupled with the processor; wherein the memory is for storing computer program code, the computer program code comprising computer instructions; the computer instructions, when executed by the processor, cause the electronic device to perform the steps of: responding to a first operation of a user, and displaying a first interface; the first interface comprises at least one first task window, the at least one first task window corresponds to at least one first application which is recently operated and not closed by the electronic equipment, a plurality of application pages of one first application are displayed in a split screen mode in each first task window, each first task window comprises a first split screen button, and the first split screen button is used for triggering the electronic equipment to close the split screen display of the corresponding first application; responding to clicking operation of a user on a first split screen button of a second task window in at least one first task window, and displaying an application home page of the second application in a full screen mode; the second application is an application corresponding to a second task window in at least one first application.
With reference to the second aspect, in one possible design manner, the computer instructions, when executed by the processor, cause the electronic device to further perform the following steps: and responding to clicking operation of the first split screen button of the second task window by the user, displaying an animation of exiting the first interface and displaying a main interface of the electronic equipment, and automatically opening the animation of the second application until the application home page of the second application is displayed in a full screen mode.
With reference to the second aspect, in one possible design manner, the computer instructions, when executed by the processor, cause the electronic device to further perform the following steps: displaying a third interface; the third interface is used for split-screen display of a plurality of application pages of a second application; and receiving the first operation of the user on the third interface.
With reference to the second aspect, in one possible design manner, the computer instructions, when executed by the processor, cause the electronic device to further perform the following steps: responding to clicking operation of a second split screen button of a fourth task window in at least one third task window by a user, and displaying a plurality of application pages of a fourth application in a split screen manner; the fourth application is an application corresponding to a fourth task window in at least one third application.
With reference to the second aspect, in one possible design manner, the computer instructions, when executed by the processor, cause the electronic device to further perform the following steps: responding to clicking operation of a second split screen button of the fourth task window by a user, displaying an animation which exits from the first interface and displays a main interface of the electronic equipment, and automatically opening the animation of the fourth application until an application home page of the fourth application is displayed in a full screen; and responding to a second operation of the user on the application home page of the fourth application, and displaying the application home page of the fourth application and an application page corresponding to the second operation in a split screen mode.
With reference to the second aspect, in one possible design manner, the computer instructions, when executed by the processor, cause the electronic device to further perform the following steps: responding to clicking operation of a second split screen button of the fourth task window by a user, displaying an animation of exiting the first interface and displaying a main interface of the electronic equipment, and automatically opening the animation of the fourth application, and displaying a plurality of application pages of the fourth application in a split screen mode; and responding to clicking operation of the second split screen button, and pre-configuring a plurality of application pages of the fourth application to be split screen displayed in the electronic equipment.
With reference to the second aspect, in one possible design manner, the computer instructions, when executed by the processor, cause the electronic device to further perform the following steps: displaying a fourth interface; displaying an application page of the third application in a full screen mode in a fourth interface; and receiving the first operation of the user on the fourth interface.
With reference to the second aspect, in one possible design manner, the computer instructions, when executed by the processor, cause the electronic device to further perform the following steps: judging whether the corresponding application supports split screen display according to a first configuration parameter of an application which is recently operated and not closed by the electronic equipment; the first application supports split screen display, and a first split screen button is displayed in a first task window corresponding to the first application; and the third application supports split screen display, and a second split screen button is displayed in a first task window corresponding to the third application.
With reference to the second aspect, in one possible design manner, the computer instructions, when executed by the processor, cause the electronic device to further perform the following steps: judging whether a split screen display function of the corresponding application is started or not according to a second configuration parameter of the application which is recently operated and not closed by the electronic equipment; the split screen display function of the first application is started, and a first split screen button is displayed in a first task window corresponding to the first application; and the split screen display function of the third application is closed, and a second split screen button is displayed in the first task window corresponding to the third application.
With reference to the second aspect, in one possible design manner, the computer instructions, when executed by the processor, cause the electronic device to further perform the following steps: updating a second configuration parameter of a second application; the updated second configuration parameters of the second application indicate that the split screen display function of the second application is closed; updating a second configuration parameter of the fourth application; the updated second configuration parameter of the fourth application indicates that the split screen display function of the second application is started.
In a third aspect, the present application provides a chip system that may be applied to an electronic device including a memory. The system-on-chip includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected by a wire. The interface circuit is configured to receive signals from the memory and to send the signals to the processor, the signals including computer instructions stored in the memory. When the processor executes the computer instructions, the electronic device performs the method as in the first aspect and any one of its possible designs.
In a fourth aspect, the present application provides a computer-readable storage medium comprising computer instructions. When executed on an electronic device, the computer instructions cause the electronic device to perform a method as in the first aspect and any one of its possible designs.
In a fifth aspect, the application provides a computer program product for causing a computer to carry out the method as in the first aspect and any one of its possible design approaches when the computer program product is run on a computer.
It may be appreciated that the advantages achieved by the electronic device according to any of the possible designs of the second aspect, the chip system according to the third aspect, the computer readable storage medium according to the fourth aspect, and the computer program product according to the fifth aspect may refer to the advantages as in the first aspect and any of the possible designs thereof, and are not described herein.
Drawings
FIG. 1 is a schematic diagram of a parallel view display mode according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of switching from split screen display to full screen display in the conventional technology;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 4 is a schematic diagram of a software architecture of an electronic device according to an embodiment of the present application;
FIG. 5 is a schematic flow chart of a display method according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a process for switching split screen display to full screen display according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a process of switching split screen display to full screen display according to an embodiment of the present application;
FIG. 8 is a schematic flow chart for switching full screen display to split screen display according to an embodiment of the present application;
FIG. 9 is a schematic diagram of a process for switching full screen display to split screen display according to another embodiment of the present application;
FIG. 10 is a schematic diagram of a process for switching full-screen display to split-screen display according to an embodiment of the present application;
FIG. 11 is a schematic diagram of a process for switching full screen display to split screen display according to an embodiment of the present application;
FIG. 12 is a schematic diagram of a first task window according to an embodiment of the present application;
FIG. 13 is a schematic diagram of a third task window according to an embodiment of the present application;
FIG. 14 is a schematic diagram of a first interface according to an embodiment of the present application;
FIG. 15 is a schematic flow chart of another embodiment of the present application for switching split screen display to full screen display;
FIG. 16 is a schematic diagram of another embodiment of a method for switching full screen display to split screen display;
FIG. 17 is a schematic diagram of another embodiment of a method for switching full screen display to split screen display;
FIG. 18 is a flowchart of a method for generating a first button or a second button according to an embodiment of the present application;
FIG. 19 is a flowchart of another display method according to an embodiment of the present application;
fig. 20 is an interaction schematic diagram of an internal module of an electronic device according to an embodiment of the present application.
Detailed Description
With the continuous development of intelligent terminal technology, more and more terminal electronic devices can meet the multi-window use requirements of users. Various multi-window display modes such as a split-screen display mode, a small-window display mode and the like can be provided for a user, wherein the split-screen display mode can respectively display a plurality of application pages in a plurality of display areas on a display screen of the electronic device.
An application (application), also known as an application program, refers to a computer program that runs in user mode, with visual user pages, for performing a particular job or jobs. The display screen of the electronic equipment can display application icons of the applications, and a user can click the application icons to open the corresponding applications.
Taking an example that the electronic device includes two display areas, the two display areas may display a first application page and a second application page respectively. The first application page and the second application page can be application pages of different applications, and as an example, the electronic device can display the head page of the WeChat and the head page of the address book in a split screen mode. The first application page and the second application page can also be application pages of the same application, and as an example, the electronic device can display a first page of the micro-letter and a payment page of the micro-letter in a split screen mode.
The parallel view is an application split screen display mode, and can divide a display screen of the electronic device into a plurality of display areas for displaying a plurality of application pages of the same application. The electronic equipment can display a first application page and a second application page in a split screen mode, wherein the first application page and the second application page are application pages of the same application. Taking the application as a memo as an example, a simple description of parallel views is described with reference to fig. 1. As shown in fig. 1, the electronic device displays the application home page 101 of the memo and the application page 102 of note 1 on a split screen, and the application page 102 of note 1 may be a sub page of the application home page 101.
When the user uses the electronic equipment, the electronic equipment can be triggered to switch the application of the split screen display to the full screen display or switch the application of the full screen display to the split screen display according to the self requirement. The user can trigger the electronic equipment to realize the switching of the application split screen by opening or closing the split screen display function of the application. In the related design, when a user opens or closes a split screen display function of an application, the electronic equipment needs to be operated for a plurality of times, and the flow is tedious and the operation is inconvenient. Taking parallel view as an example, when a user opens or closes the parallel view function of an application, the parallel view switch entrance is hidden, and a convenient application split screen switching method cannot be provided for the user. In the following, a conventional procedure for opening or closing parallel views of an application by a user will be briefly described with reference to fig. 1 and 2, taking an example in which the electronic device is a folding screen mobile phone.
Fig. 2 shows a process in which the user closes the parallel view as shown in fig. 1. When the user wants to close the parallel vision function of the memo, the user needs to trigger the folding screen mobile phone to exit the current application and display the main interface. As shown in fig. 2, the folding screen phone may split the application home page 201 of the display memo and the sub page 202 of the application home page. In response to operation 1 of the user on the display interface of the application home page 201 including the memo and the sub page 202 of the application home page (e.g., by a slide-up operation at the bottom of the display screen), the folding screen handset may exit the current application, displaying the main interface 203 shown in fig. 2.
As shown in fig. 2, the folding screen handset displays the main interface 203 full screen. The main interface 203 may include application icons for time, weather, and various types of applications. The folding screen phone may receive a user click 2 on the "set" icon on the main interface 203. In response to this operation 2, the folding screen handset can split the application front page 204 and the sub page 205 of the application front page of the settings. It should be appreciated that in the case where the parallel view display mode of the folding screen handset is on, in response to operation 2 described above, the folding screen handset may split the display of the set application front page 204 and the sub-page 205 of the application front page. In response to operation 2 described above, with the parallel view display mode of the folding screen handset turned off, the folding screen handset may display the set application front page 204 (not shown in the figures) full screen.
The application home page 204 set as described above includes a setting item list listing a plurality of setting items that can be set as desired by the user. For example, the plurality of setting items may include an application split screen setting item, a bluetooth setting item, a mobile network setting item, and the like. The sub page 205 of the application front is used to display parameters that can be set by the user's selected settings. Taking the selected setting item as an example of an application parallel view, the sub-page 205 of the application front page may display a list of switch buttons for the application parallel view. Responding to a switch button of a parallel view of an application opened by a user, enabling a folding screen mobile phone to open a parallel view function of the application, and displaying a plurality of application pages of the application in a split screen manner; and responding to a switch button for closing the parallel vision of the application by the user, and closing the parallel vision function of the application by the folding screen mobile phone to display the application page of the application in a full screen mode.
In response to the user's click 3 on the toggle button of the parallel view of the memo on sub-page 205, the folding screen handset may display a main interface 206. The folding screen mobile phone can receive a click operation 4 of a user on a 'memo' icon on the main interface 206, and the application home page 207 for displaying the memo in a full screen manner, so as to complete switching of the memo from split-screen display to full-screen display.
As can be seen from the above flow, when the user wants to switch the application displayed by the split screen to full screen display, that is, wants to close the parallel view display mode of the application, the main operation flow includes: the method comprises the steps of exiting the current application to return to a main interface, finding a set icon on the main interface, opening a set application page, finding an entrance of an application split screen on the set application page, opening an application split screen page, finding a corresponding application on the application split screen page, switching a switch of the current application, exiting the set icon to return to the main interface, and re-opening the current application on the main interface. Therefore, when the split screen display function of the application is closed in the conventional technology, namely when the application is switched from split screen display to full screen display, the user is required to operate the electronic equipment for a plurality of times, and the operation is tedious and inconvenient.
Based on the above, the embodiment of the application provides a display method and a display device. In the method, the electronic device may display a first task window including at least one first application that the electronic device has recently run and is closed, in response to a first operation of a user. It should be noted that in a case where the split-screen display function (or referred to as a parallel view function) of the first application is turned on, a plurality of application pages of the first application may be split-screen displayed in the corresponding first task window. In order to facilitate the user to turn on and off the split-screen display function (or referred to as the parallel view function) of the first application, in the embodiment of the present application, a first split-screen button of the first application may be set in the first task window. In the case where the split-screen display function (or parallel view function) of the first application is on, the first split-screen button may be used to trigger the electronic device to close the split-screen display of the first application.
Thus, the user may operate the first split button to turn off the split display function (alternatively referred to as the parallel view function) of the first application. Specifically, in response to the user clicking the first split-screen button, the electronic device may display the application home page of the first application corresponding to the first split-screen button in a full screen manner, close the split-screen display function (or referred to as a parallel view function) of the first application, and complete the switching of the first application from split-screen display to full-screen display.
In the display method provided by the embodiment of the application, the first split-screen button can be arranged in the applied task window. In this way, the electronic device may turn off the split-screen display function (or referred to as the parallel view function) of the first application in response to the user's click operation of the first split-screen button. By adopting the scheme, the user does not need to operate the electronic equipment for searching the switch of the split screen display function of the first application for multiple times to close the split screen display function of the first application, the closing flow of the split screen display function of the first application can be simplified, and the split screen display function (or called as parallel vision function) of the first application can be quickly closed.
The method provided by the embodiment of the application can be applied to the electronic equipment with the data processing capability. The electronic device may include a server, a mobile phone, a tablet computer, a notebook computer, a personal computer (personal computer, PC), an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a handheld computer, a netbook, an intelligent home device (e.g., an intelligent television, a smart screen, a large screen, a smart speaker, an intelligent air conditioner, etc.), a personal digital assistant (personal digital assistant, PDA), a wearable device (e.g., a smart watch, a smart bracelet, etc.), a vehicle-mounted device, a virtual reality device, etc., which are not limited in this regard. In the embodiment of the application, the electronic device is an electronic device capable of running an operating system and installing an application program. Optionally, the operating system operated by the electronic device may be An Zhuo system, windows system, iOS system, etc.
For example, please refer to fig. 3, which illustrates a schematic structure of an electronic device 300. The electronic device 300 may include a processor 310, an external memory interface 320, an internal memory 321, an audio module 330, a speaker 330A, a microphone 330B, a display 340, a communication module 350, a power module 360, an input device 370, a sensor module 380, and the like. The sensor module 380 may include, among other things, pressure sensors, touch sensors, and the like.
It should be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation on the electronic device 300. In other embodiments of the application, electronic device 300 may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 310 may include one or more processing units. For example: the processor 310 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate components or may be integrated in one or more processors. In some embodiments, the electronic device 300 may also include one or more processors 310.
Wherein the controller is the neural and command center of the electronic device 300. The operation control signal can be generated according to the instruction operation code and the time sequence signal to finish the control of instruction fetching and instruction execution.
An operating system of the electronic device 300 may be run on the application processor for managing hardware and software resources of the electronic device 300. Such as managing and configuring memory, prioritizing system resources, controlling input and output devices, operating networks, managing file systems, managing drivers, etc. The operating system may also be used to provide an operating page for a user to interact with the system. Various types of software, such as drivers, applications (apps), etc., may be installed in the operating system.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. The application such as intelligent cognition of the electronic device 300 can be realized through the NPU.
A memory may also be provided in the processor 310 for storing instructions and data. In some embodiments, the memory in the processor 310 is a cache memory. The memory may hold instructions or data that the processor 310 has just used or recycled. If the processor 310 needs to reuse the instruction or data, it may be called directly from memory. Repeated accesses are avoided and the latency of the processor 310 is reduced, thereby improving the efficiency of the system.
In some embodiments, processor 310 may include one or more interfaces. The interfaces may include inter-integrated circuit (inter-integrated circuit, I2C) interfaces, inter-integrated circuit audio (integrated circuit sound, I2S) interfaces, pulse code modulation (pulse code modulation, PCM) interfaces, universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interfaces, mobile industry processor interfaces (mobile industry processor interface, MIPI), general-purpose input/output (GPIO) interfaces, SIM card interfaces, and/or USB interfaces, among others.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only illustrative, and is not meant to limit the structure of the electronic device 300. In other embodiments of the present application, the electronic device 300 may also employ different interfacing manners in the above embodiments, or a combination of multiple interfacing manners.
The external memory interface 320 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 300. The external memory card communicates with the processor 310 through an external memory interface 320 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 321 may be used to store one or more computer programs, including instructions. The processor 310 may cause the electronic device 300 to execute the application running method provided in some embodiments of the present application, as well as various applications, data management, and the like, by executing the above-described instructions stored in the internal memory 321. The internal memory 321 may include a code storage area and a data storage area. Wherein the data storage area may store data created during use of the electronic device 300, etc. In addition, the internal memory 321 may include high-speed random access memory, and may also include non-volatile memory, such as one or more disk storage units, flash memory units, universal flash memory (universal flash storage, UFS), and the like. In some embodiments, processor 310 may cause electronic device 300 to perform the application execution methods provided in embodiments of the present application, as well as other applications and data management, by executing instructions stored in internal memory 321, and/or instructions stored in memory provided in processor 310.
The electronic device 300 may implement audio functions through an audio module 330, a speaker 330A, a microphone 330B, an application processor, and the like. Such as music playing, recording, etc. The audio module 330 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 330 may also be used to encode and decode audio signals. In some embodiments, the audio module 330 may be disposed in the processor 310, or some of the functional modules of the audio module 330 may be disposed in the processor 310.
The speaker 330A, also called "horn", is used to convert audio electrical signals into sound signals.
Microphone 330B, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. The user may sound near microphone 330B through the mouth, inputting a sound signal to microphone 330B.
The communication function of the electronic device 300 can be realized by the antenna 1, the antenna 2, the communication module 350, and the like.
The communication module 350 may provide a solution for wireless communication including cellular, wi-Fi, bluetooth (BT), wireless data transfer modules (e.g., 433mhz,868mhz,915 mhz), etc., as applied to the electronic device 300. The communication module 350 may be one or more devices integrating at least one communication processing module. The communication module 350 receives electromagnetic waves via the antenna 1 or the antenna 2, filters and frequency-modulates the electromagnetic wave signals, and transmits the processed signals to the processor 310. The communication module 350 may also receive a signal to be transmitted from the processor 310, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 1 or the antenna 2.
The electronic device 300 implements display functions through a GPU, a display screen 340, and an application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display screen 340 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 310 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 340 is used to display images, videos, and the like. The display screen 340 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (flex), a Miniled, a micr OLED, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the electronic device 300 may include 1 or N displays 340, N being a positive integer greater than 1. In an embodiment of the present application, the display screen 340 may be used to display a UI and receive user operations on the UI.
In some embodiments, pressure sensors, touch sensors, etc. are provided on the display screen 340. The pressure sensor is used for sensing a pressure signal and can convert the pressure signal into an electric signal. When a touch operation is applied to the display screen 340, the electronic device 300 detects the touch operation intensity according to the pressure sensor. The electronic device 300 may also calculate the location of the touch based on the detection signal of the pressure sensor. The touch sensor, also referred to as a "touch panel," may form a touch screen with the display screen 340, also referred to as a "touch screen. The touch sensor is used to detect a touch operation acting on or near it. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may also be provided through the display screen 340.
The power module 360 may be used to power the various components included in the electronic device 300. In some embodiments, the power module 360 may be a battery, such as a rechargeable battery.
The input device 370 may include a keyboard, mouse, etc. The keyboard is used to input english alphabets, numerals, punctuation marks, etc. into the electronic device 300, thereby giving commands, inputting data, etc. to the electronic device 300. The mouse is a pointer for the electronic device 300 to display the system aspect coordinate positioning, for inputting instructions and the like to the electronic device 300. The input device 370 may be connected to the electronic device 300 through a wired connection, for example, the input device 370 is connected to the electronic device 300 through a GPIO interface, a USB interface, or the like. The input device 370 may also be connected to the electronic apparatus 300 by wireless means, e.g. the input device 370 is connected to the electronic apparatus 300 by bluetooth, infrared, etc.
Taking the electronic device 300 as an example, a mobile phone is used. The software system of the electronic device 300 may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In the embodiment of the invention, taking an Android system with a layered architecture as an example, a software structure of the electronic device 300 is illustrated.
Fig. 4 is a software architecture block diagram of an electronic device 300 according to an embodiment of the invention.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively.
The application layer may include a series of application packages.
As shown in fig. 4, the application package may include applications for cameras, gallery, calendar, phone calls, maps, navigation, WLAN, bluetooth, music, video, short messages, desktop launchers, etc.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
The desktop initiator is used for responding to a first operation (such as a sliding operation from the bottom of a display screen) of a user on the display interface of the electronic device, calling related instructions, and enabling the electronic device to display the first interface. And before the electronic equipment displays the first interface, drawing the first split-screen button or the second split-screen button according to the configuration parameters of the application so that the electronic equipment displays the first split-screen button and/or the second split-screen button on the first interface.
As shown in fig. 4, the application framework layer may include a window manager, a content provider, a view system, a call manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the display screen, intercept the display screen and the like. The window manager may be a desktop launcher and a system Framework (Framework module) delivery class, and may obtain configuration parameters of an application through the window manager.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display page may be composed of one or more views. For example, a display page including a text notification icon may include a view displaying text and a view displaying a picture.
The call manager is used to provide the communication functions of the electronic device 300. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification presented in the form of a chart or scroll bar text in the system top status bar, such as a notification of a background running application, or a notification presented in the form of a dialog window on a display screen. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
Android run time includes a core library and virtual machines. Android run is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The kernel layer may contain display drivers, audio drivers, sensor drivers, etc.
The following describes a display method provided by the embodiment of the present application, taking the electronic device 300 as an example of a folding screen mobile phone. The folding screen mobile phone can comprise a flexible display screen, and application pages of the same application or different applications can be displayed on the flexible display screen in a split screen mode. In some embodiments, the folding screen handset may also include a secondary display screen. The folding mode of the folding screen mobile phone is not limited, and the folding mode can be an outward folding mode, an inward folding mode, a flip structure, a drawing structure and the like. The folding direction of the folding screen mobile phone is not limited, and the folding screen mobile phone can be folded left and right, folded up and down and the like.
Fig. 5 is a flow chart of a display method according to an embodiment of the present application. A display method according to an embodiment of the present application is described below with reference to fig. 5.
In S501, the electronic device displays a first interface in response to a first operation by a user.
The electronic device displays a first interface in response to a first operation of a user, the first interface including at least one first task window. A first task window corresponds to an application that the electronic device has recently run and has not been closed. The split screen display function of the first application is started, and a plurality of application pages of the corresponding first application are displayed in a split screen mode in the first task window. The first task window comprises a first split-screen button, and the first split-screen button is used for triggering the electronic equipment to close the split-screen display of the corresponding first application.
The first operation by the user is an operation to cause the electronic device to display the first interface. In some embodiments, the electronic device may receive the first operation at the main interface, and display the first interface. In other embodiments, the electronic device may receive the first operation at a third interface, where the third interface may be a split screen display interface of the application; the electronic device may also receive the first operation on a fourth interface, which may be a full screen display interface of the application.
For example, the first operation may be a sliding operation by the user on the above-described interface, for example, the first interface is displayed in response to the user swiping from bottom to top of the screen of the electronic device, swiping from top to bottom of the screen of the electronic device, swiping from left to right in the middle of the screen of the electronic device, or the like. The first operation may also be that the user clicks a key of the electronic device, i.e. in response to the user clicking a key of the electronic device, the first interface is displayed, and the key may be, for example, a virtual key on the interface. For example, the electronic device displays the first interface in response to a user clicking a "task list" button on the electronic device display or a user pressing a start key (home key) on the electronic device display for a long time, or the like. It should be understood that the electronic device may display the first interface in response to a first operation by the user, the above first operation being merely an example, the present application not being limited to the type of first operation.
In S502, the electronic device displays an application home page of the second application in full screen in response to a click operation of the first split screen button of the second task window in the at least one first task window by the user.
The electronic device, in response to clicking the first split-screen button for the second task window, may display an application home page of the second application corresponding to the second task window in full screen. The second task window is one of at least one first task window on the first interface, and the second application is a first application corresponding to the first task window.
For example, the electronic device may receive the first operation on a third interface of the split screen display. In the following embodiment, a procedure for switching an application from split screen display to full screen display is described with reference to fig. 6.
The electronic equipment displays a third interface, and a plurality of application pages of a second application are displayed in a split screen mode in the third interface. That is, the second application is displayed on the third interface split screen. The plurality of application pages may be, for example, an application front page and sub-pages of the application front pages, and the plurality of application pages may also be, for example, sub-pages of the application front pages of the same class.
It should be appreciated that the present application does not limit the number of application pages that are split-screen displayed. As one example, the electronic device may display two application pages separately by dividing the display screen into two display areas. As another example, the electronic device may also display three application pages separately by dividing the display screen into three display areas. For easy understanding, the present application is described with reference to two application pages of the second application displayed on a split screen by the electronic device.
As shown in fig. 6, the electronic device displays a third interface in which an application home page 601 of a memo (second application) and a display page 602 of note 1 are displayed in a split screen. In response to operation 1 of the user on the third interface (e.g., by a slide-up operation at the bottom of the display screen), the electronic device displays the first interface. The first interface includes at least one first task window, each corresponding to a first application that was recently run by the electronic device but was not closed. The split screen in each first task window displays two application pages of the first application. In some embodiments, the first interface may be a multi-tasking interface.
As shown in fig. 6, three first applications, namely, a memo, a first application a and a first application b, are recently executed but not closed by the electronic device. The first interface may include three first task windows, namely, a first task window 603a of the memo, a task window 603b of the first application a, and a task window 603c of the first application b. And the split screen in each task window displays two application pages of the first application. The first task window 603a of the memo displays the application home page of the memo and the display page of note 1 in a split screen mode, the first task window 603b of the first application a displays the first application page and the second application page of the first application a in a split screen mode, and the first task window 603c of the first application b displays the first application page and the second application page of the first application b in a split screen mode.
In some embodiments, the number of application pages displayed in the first task window is consistent with the number of application pages displayed in the third interface. For example, a third interface split screen displays two application pages of a second application. And responding to the first operation of the user, and after entering the first interface, displaying two application pages of the second application in a split screen mode in the corresponding first task window. The third interface split screen displays three application pages of the second application. And responding to the first operation of the user, and after entering the first interface, displaying three application pages of the second application in a split screen mode in the corresponding first task window. In other words, the second application displayed on the third interface is also displayed on the screen in the corresponding first task window, and the number of application pages displayed on the screen in the third interface and in the corresponding first task window is uniform.
Each first task window further comprises a first split-screen button for triggering the electronic device to close the split-screen display of the first application corresponding to the first task window. As shown in fig. 6, the first task window 603a of the memo includes a first split-screen button 603a1 for triggering the electronic device to close the split-screen display of the memo, the first task window 603b of the first application a includes a first split-screen button 603b1 for triggering the electronic device to close the split-screen display of the first application a, and the first task window 603c of the first application b includes a first split-screen button 603c1 for triggering the electronic device to close the split-screen display of the first application b.
The present application is not limited to the position of the first split-screen button, and as shown in fig. 6, the first split-screen button may be located at the upper right side of the first task window, and as another example, the first split-screen button may be located at the lower right side of the first task window. The shape of the first split-screen button is not limited in the present application, and as shown in fig. 6, the first split-screen button may be rectangular, and for example, the first split-screen button may be circular, triangular, diamond-shaped, etc.
And in response to the user clicking a first split screen button in a second task window of the second application on the first interface, the electronic device displays an application home page of the second application in a full screen mode. The second task window is one of at least one first task window on the first interface, and the first application corresponding to the second task window is a second application. The user can select one first task window from at least one first task window in the first interface as a second task window according to the self requirement. And closing the split screen display of the second application corresponding to the second task window by the electronic equipment in response to the user clicking the first split screen button of the second task window. As shown in fig. 6, in response to the user clicking the operation 2 of the first split screen display button 603a1 of the first task window 603a on the first interface, the electronic device displays the application home page 604 of the memo full screen, and completes the switching of the memo from split screen display to full screen display.
It should be understood that fig. 6 illustrates a process of switching the memo from the split screen display to the full screen display in response to the above-described operation of the user on the split screen display interface of the memo (second application), that is, the second application displayed on the split screen of the third interface is the same application as the first application performing the display switching. In some embodiments, the second application displayed on the third interface may be a different application than the first application that performs the display switching. As one example, the first interface is displayed in response to a first operation of the user on the separate screen display interface of the memo, and the application front page of the first application a is displayed full screen in response to a click operation of the first separate screen button of the first application a by the user on the first interface shown in fig. 6.
In some embodiments, in response to a user clicking on a first split screen button of a second application at a first interface, the electronic device may close a split screen display function of the second application. In other embodiments, in response to a user clicking on a first split button of a second application at a first interface, the electronic device not only closes the split display function of the second application, but also closes the split display functions of all the first applications.
All the first applications are all applications which are recently operated and not closed by the electronic equipment, and the split screen display functions of the applications are started, so that split screen display can be performed on the electronic equipment. Continuing with the example of fig. 6, in response to the user clicking the first split-screen button of the memo, the electronic device may close the split-screen display function of the memo, the split-screen display function of the first application a, and the split-screen display function of the first application b.
In some embodiments, the electronic device may display an animation (i.e., a dynamic effect) when the application front page of the second application is displayed full screen in response to the user clicking the first split screen button of the second task window. The animation may include a first animation that exits the first interface into a main interface of the electronic device and a second animation that automatically opens the second application. In response to the user clicking on the first split button of the second task window, the electronic device first displays a first animation. In a first animation may be presented: the electronic device exits the first interface and displays the dynamic effect of the main interface. The electronic device may then display a second animation. In a second animation may be presented: and the electronic equipment opens the second application until the dynamic effect of the application home page of the second application is displayed in full screen. As shown in fig. 7, in response to the user clicking the first split-screen button of the memo on the first interface, the electronic device displays a dynamic effect of the main interface of the electronic device exiting the first interface, and then the electronic device displays a second animation to open the memo until the dynamic effect of the application home page of the memo is automatically displayed full screen.
In other embodiments, the electronic device may also receive the first operation on a fourth interface that is displayed full screen. A procedure for switching an application from full screen display to split screen display according to an embodiment of the present application is described below with reference to fig. 8.
The electronic equipment displays a fourth interface, and an application page of the third application is displayed in the fourth interface in a full screen mode. The application page of the third application may be, for example, an application front page of the third application or other sub-pages of the third application. As shown in fig. 8, the electronic device displays a fourth interface in which an application home page 801 of a memo (third application) is displayed full screen.
As shown in fig. 8, the electronic device displays the first interface in response to operation 1 by the user on the fourth interface (e.g., by a slide-up operation at the bottom of the display screen). The first interface includes at least one third task window, each third task window corresponding to a third application that was recently run by the electronic device but was not closed. And displaying the application pages of the third application in a full screen mode in each third task window, wherein the application pages of the third application in the third task window can be consistent with the application pages of the third application on the fourth interface.
As shown in fig. 8, three third applications, namely, a memo, a third application a and a third application b, are recently run but not closed by the electronic device. Three third task windows may be included on the first interface, namely a third task window 802a of the memo, a third task window 802b of the third application a, and a third task window 802c of the third application b. The application page of the third application is displayed in a full screen manner in each third task window, specifically, the application home page of the memo is displayed in a full screen manner in the third task window 802a of the memo, the first application page of the third application a is displayed in the third task window 802b, and the first application page of the third application b is displayed in a full screen manner in the third task window 802c. The first application page of the third application a may be an application home page of the third application a, and the first page of the third application b may be a sub page of a next stage of the application home page of the third application b.
Each third task window further comprises a second split screen button for triggering the electronic device to open a split screen display of a third application corresponding to the third task window. As shown in fig. 8, the third task window 802a of the memo includes a second split-screen button 802a1 for triggering the electronic device to open the split-screen display of the memo, the third task window 802b of the third application a includes a second split-screen button 802b1 for triggering the electronic device to open the split-screen display of the third application a, and the third task window 802c of the third application b includes a second split-screen button 802c1 for triggering the electronic device to open the split-screen display of the third application b.
Also, the present application is not limited to the location of the second split-screen button, for example, as shown in fig. 8, the first split-screen button may be located at the upper right side of the first task window, and as another example, the first split-screen button may be located at the lower right side of the first task window. The present application is not limited to the shape of the first split-screen button, and for example, as shown in fig. 8, the first split-screen button may be rectangular, and for example, the first split-screen button may be circular, triangular, diamond-shaped, etc.
And in response to the user clicking a second split screen button in a fourth task window of the fourth application on the first interface, the electronic equipment displays a plurality of application pages of the fourth application in a split screen manner, and switching of the fourth application from full screen display to split screen display is completed. The fourth task window is one of at least one third task window on the first interface, and the third application corresponding to the fourth task window is a fourth application. The user can select one third task window from at least one third task window in the first interface as a fourth task window according to the self requirement. And in response to the user clicking the second split button of the fourth task window, the electronic device opens a split display of a fourth application corresponding to the fourth task window. As shown in fig. 8, in response to the clicking operation 2 of the user clicking the second split screen display button 802a1 of the fourth task window 802a on the first interface, the electronic device split screen displays a memo application front page 803 and an application page 804 of note 1.
In some embodiments, in response to the user clicking the second split button of the fourth task window, when two application pages of the fourth application are displayed in a split manner, the electronic device may first display an application home page of the fourth application in full screen, and in response to a second operation of the user on the application home page of the fourth application, the electronic device may display the application home page of the fourth application and an application page corresponding to the second operation in split manner. The second operation of the user on the application home page of the fourth application may be, for example, clicking various keys of the application home page of the fourth application to open an application page corresponding to the key. Taking fig. 9 as an example, in response to the user sliding up on the fourth interface gesture (operation 1), the electronic device displays the first interface as shown. In response to the user clicking a second split button of the fourth task window of the memo at the first interface (operation 2), the electronic device displays an application home page of the memo. And responding to the fact that the user clicks a key of 'note 1' on the application home page of the memo (operation 3), and the electronic equipment displays the application home page of the memo and the application page corresponding to the note 1 in a split screen mode.
It should be understood that fig. 8 and 9 illustrate that on the full screen display interface of the memo, in response to the above-described operation, the memo is switched from full screen display to split screen display. Namely, the fourth application which is displayed on the fourth interface in a full screen mode and the third application which is used for switching display are the same application. In some embodiments, the fourth application displayed full screen on the fourth interface and the third application performing display switching may be different applications. As one example, the first interface is displayed in response to a first operation of the user on the full screen display interface of the memo, and two application pages of the first application a are displayed in a split screen in response to a click operation of the second split screen button of the third application a by the user on the first interface shown in fig. 8. As another example, the first interface is displayed in response to a first operation of the user on the full screen display interface of the memo, the application front page of the third application a is displayed full screen in response to a click operation of the second split button of the third application a by the user on the first interface shown in fig. 9, and two application pages of the first application a are displayed split screen in response to a second operation by the user.
In some embodiments, the electronic device may open the split screen display functions of all third applications in response to the second split screen button of the fourth application being clicked by the user at the third interface. All third applications are all applications which are recently run and not closed by the electronic equipment, and the split screen display functions of the applications are closed, so that the applications can be displayed on the electronic equipment in a full screen mode. Continuing with the example of fig. 8, in response to the user clicking the second split button of the memo, the electronic device may open the split display function of the memo, the split display function of the first application a, and the split display function of the first application b.
In some embodiments, in response to the user clicking on the second split button of the fourth task window, the electronic device may display an animation, i.e., a (dynamic effect), while the split screen displays two application pages of the fourth application. The animations may include a first animation that exits the first interface into the main interface of the electronic device and a second animation that automatically opens the fourth application. In response to the user clicking on the second split button of the fourth task window, the electronic device will first display the first animation. In a first animation may be presented: the electronic device exits the first interface and displays the dynamic effect of the main interface. The electronic device may then display a second animation. In a second animation may be presented: and opening the second application until the dynamic effects of the two application pages of the fourth application are displayed in a split screen mode. Two application pages of the fourth application to be split-screen displayed may be preconfigured in the electronic device. As shown in fig. 10, in response to the user clicking the second split-screen button of the memo on the first interface, the electronic device may display a dynamic effect of the main interface of the electronic device after exiting the first interface, and then the electronic device may display a second animation to open the memo until the split-screen displays the dynamic effects of the application home page of the memo and the application interface of note 1.
In some embodiments, in response to the user clicking on the second split button of the fourth task window, the electronic device may also display an animation while displaying the application home page of the fourth application full screen. The animation may include a first animation that exits the first interface and displays the electronic device main interface, and an animation that opens the fourth application to display an application front page of the fourth application. In response to the user clicking a second split button of the fourth task window. The electronic device may first display the first animation and then display the second animation until an application home page of the fourth application is displayed. As shown in fig. 11, in response to the user clicking the second split-screen button of the memo on the first interface, the electronic device may display a dynamic effect of the main interface of the electronic device exiting the first interface, and then the electronic device may display a second animation to open the memo until the dynamic effect of the application home page of the memo is displayed full-screen.
In some embodiments, the first task window may further include a hover window button for triggering the electronic device to hover display an application page of the corresponding first application. The first task window may further include a name and an application icon of the first application corresponding thereto. As shown in fig. 12, the top of the first task window of the memo may include an application icon, an application name, a floating window button, and a first split screen button in order from left to right.
In some embodiments, the third task window may further include a hover window button for triggering the electronic device to hover display an application page of the corresponding third application. The third task window may further include a name and an application icon of a third application corresponding thereto. As shown in fig. 13, the top of the third task window of the memo may include an application icon, an application name, a floating window button, and a second split screen button in order from left to right.
In some embodiments, the applications that have recently run and have not been closed by the electronic device may include only applications that have turned on the split display function, and not applications that have not turned on the split display function. In this case, the first interface includes a first task window and does not include a third task window.
Alternatively, the applications that have recently run and have not been closed by the electronic device may include only applications that have not opened the split-screen display function, and applications that have not opened the split-screen display function. In this case, the first interface includes a third task window, and does not include the first task window.
Alternatively, the applications that have recently been run and not closed by the electronic device include not only applications that have opened the split-screen display function but also applications that have not opened the split-screen display function. In this case, in response to the first operation described above, the first interface displayed by the electronic device may include both the first task window and the third task window. Wherein the first task window includes a first split button and the third task window includes a second split button.
As shown in fig. 14, the first interface includes a first task window of the memo, wherein the split screen displays two application pages of the memo, a first task window of the panning, wherein the split screen displays two application pages of the panning, and a third task window of the WeChat, wherein the application pages of the WeChat are displayed full screen. Responding to the fact that a user clicks a first split-screen button of the memo on a first interface, and the electronic equipment can display an application home page of the memo in a full screen mode; and the electronic equipment can split the screen to display two application pages of the WeChat in response to the user clicking the second button of the WeChat in the first interface.
In some embodiments, the first interface may further include a fifth task window. The fifth task window may display an application page of the fifth application in a split screen manner, or may display an application page of the fifth application in a full screen manner. The fifth application is an application which does not support split screen display switching. Specifically, for a fifth application that can only be displayed in full screen in the electronic device, after responding to a first operation of a user, the first interface displays a fifth task window corresponding to the fifth application, and the fifth task window displays an application page of the fifth application in full screen.
For a fifth application which can only be displayed in a split screen mode in the electronic equipment, after responding to a first operation of a user, the first interface displays a fifth task window corresponding to the fifth application, and the fifth task window is used for displaying a plurality of application pages of the fifth application in a split screen mode. In the task window of the setting shown in fig. 14, two application pages of the setting are displayed by split screen, and the setting does not support switching from split screen display to full screen display.
Taking the electronic equipment as an example of the folding screen mobile phone, the switching process from full screen display to split screen display and the switching process from split screen display to full screen display are respectively introduced. The following uses an electronic device as a tablet pc as an example, and the above two switching processes are respectively described in brief with reference to fig. 15, 16 and 17.
As shown in fig. 15, the tablet computer displays the application front page and the display commodity page in a split screen manner. And responding to the operation 1 (such as the upward sliding operation from the bottom of the display screen) of the user on the interface of the application front page and the display commodity page, and displaying a first interface by the tablet personal computer. The first interface comprises a first task window of a panning cube, a first task window of a WeChat cube and a first task window of an address book, wherein the panning cube, the WeChat cube and the address book are applications which are recently operated and not closed by the tablet personal computer. The method comprises the steps of displaying an application page of a corresponding first application in a split screen mode in each first task window, specifically, displaying an application first page and a display commodity page of the panning in a split screen mode in the panning first task window, displaying an application first page and a dialogue page of the WeChat in a split screen mode in the first task window of the WeChat, and displaying an application page of the colleague B and an application page of the colleague A in a split screen mode in the first task window of the address book. Each first task window comprises a first button for triggering the tablet computer to close the split screen display of the first application. And responding to the first interface of the user, clicking a first button in a first task window of the panning block, and displaying an application home page of the panning block in a full screen manner by the tablet personal computer to finish switching from split screen display to full screen display of the panning block.
Fig. 16 shows a process of switching the panning (fourth application) from full screen display to split screen display on the tablet. And the tablet computer displays a fourth interface, and the display commodity page of the Baobao cube is displayed in the fourth interface in a full screen mode. And responding to the upward sliding operation of the finger of the user on the fourth interface, and displaying the first interface by the tablet personal computer. The first interface comprises a third task window of panning, a third task window of micro-letter and a third task window of address book, wherein the panning, micro-letter and address book are applications which are recently operated and not closed by the tablet computer. And displaying the application page of the corresponding third application in a full screen mode in each third task window, wherein each third task window comprises a second button. And responding to the click of a second button in a fourth task window of the panning, and the tablet personal computer displays the application home page and the display commodity page in a split screen mode.
Fig. 17 shows another switching process of panning (fourth application) with split screen display switching to full screen display on a tablet computer. In response to the user sliding up the fourth interface gesture, the electronic device displays the first interface in response to a user operation. And responding to the second split screen button of the fourth task window of the panning cube clicked by the user on the first interface, and displaying the application home page of the panning cube of the tablet computer in a full screen mode. And responding to clicking a certain commodity on the application home page of the panning box by the user, and displaying the application home page of the panning box and a commodity page corresponding to the commodity by the panel computer in a split screen mode.
According to the method, the first split screen button is arranged in the first task window in the first interface, and the first split screen button for switching the application display mode can be rapidly displayed in response to the first operation of the user, so that the user is prevented from operating the electronic equipment to search a switch of the split screen display function of the first application for many times; and responding to the click operation of the user on the first split-screen button, the electronic equipment can automatically display the application home page of the first application corresponding to the first split-screen button in a full screen mode, and the display mode is switched. Therefore, the embodiment of the application provides the display method and the display device, which can simplify the switching process from split screen display to full screen display of the electronic equipment and are convenient for the user to operate.
In the embodiment of the application, the electronic equipment can judge whether the application supports the split screen display function or not according to the configuration parameters of each application, and judge whether the application has started the distribution display function or not. Then, the electronic device may display the first interface according to the determination result.
Specifically, before the first interface is displayed in response to the first operation of the user, the electronic device may further determine, according to the first configuration parameter of the application, whether the corresponding application supports split screen display. The first configuration parameter is used to indicate whether the application supports split screen display in the electronic device. The first configuration parameters may be stored in a local file, for example in a local setting config file. The electronic device may call an "isMagicWinMode" code to obtain a first configuration parameter to determine whether the application supports split-screen display. The first application supports split-screen display, and a first task window corresponding to the first application is displayed with a first split-screen button. And the third application supports split screen display, and a third task window corresponding to the third application is displayed with a second split screen button. The fifth application does not support split screen display, and a fifth task window corresponding to the fifth application does not display the first split screen button and the second split screen button.
And then, the electronic equipment judges whether the split screen display function of the application is started according to the second configuration parameters, and correspondingly displays a first split screen button or a second split screen button on the first interface according to the starting state of the split screen display function of the application.
The second configuration parameter of the application is used for indicating whether the split screen display function of the application is started. The second configuration parameters may be stored in a local file, for example in a local setting config file. The electronic device may call a "getHwMagicWinEnabled" code to obtain a second configuration parameter to determine whether the split screen display function of the application is turned on.
The application with the first application having the split screen display function opened, namely, the application is split screen displayed on the electronic equipment. In the first task window corresponding to the first application, a first split-screen button can be displayed for closing the split-screen display of the first application. The application of which the split screen display function of the third application is closed, namely the application is displayed on the electronic device in a full screen mode. And a second split screen button which can be displayed in a third task window corresponding to the third application on the first interface is used for opening the split screen display of the third application.
As one example, applications that the electronic device has recently run and has not been closed have panning, micro-messaging, address books and memos. In response to a first operation by the user, the electronic device may perform, for each of the four applications described above: and judging whether the current application supports split screen display or not according to the first configuration parameters of the application. If the four applications support split-screen display and the split-screen display function is started for the first application, a first split-screen button is displayed on a first interface through a first task window corresponding to the four applications one by one. And if the four applications support split screen display and the four applications are third applications, namely the split screen display function is closed, displaying second split screen buttons on a first interface through a third task window corresponding to the four applications one by one. If the panning, the micro-letter and the memo support the split screen display and the split screen display function is started, and the address book does not support the split screen display, displaying a first split screen button on a first interface through a first task window corresponding to the panning, the micro-letter and the memo one by one, and not displaying the first split screen button and a second split screen button through a fifth task window corresponding to the address book. If the panning and the micro-letter support the split screen display, the split screen display function is started, the memo supports the split screen display, the split screen display function is closed, and the address book does not support the split screen display. And displaying a first split-screen button on the first interface through a first task window corresponding to the Baobao and WeChat, displaying a second split-screen button through a third task window corresponding to the memo, and displaying no first split-screen button or no second split-screen button through a fifth task window corresponding to the address book.
Fig. 18 shows a flow diagram of an electronic device displaying a first split button or a second split button on a first interface. After responding to the first operation, the electronic device may execute the flowchart shown in fig. 18 to draw and display the first split button or the second split button at the first interface. As one example, after being swiped in response to a gesture of the user at the third interface or the fourth interface, the following procedure is performed.
In S1801, the latest task is acquired.
The most recent task may be the most recent application and the application that the electronic device has recently run and has not been closed may be the most recent task. Acquisition of a recent task may be understood as acquiring an application that the electronic device has recently run and has not been closed.
At S1802, it is determined whether the latest task list is empty.
A recent task list (task list) may be used to expose applications that the electronic device has recently run and has not been closed. When the latest task list is empty, the flow ends. The electronic device may display a first interface, where there is no first task window or no third task window, and "no running task recently" may be displayed on the first interface. When the latest task list is not empty, it is determined whether the application supports application split screen (split screen display).
In S1803, it is determined whether the application supports split screen display.
For each application in at least one application in the recent task list, performing: and judging whether the application supports split-screen display of the application, namely judging whether the application supports split-screen display on the electronic equipment. For an application that does not support split screen display, the first split screen button and the second split screen button may not be displayed on a fifth task window corresponding to the application on the first interface.
In S1804, it is determined whether the split screen display function of the application has been turned on.
For each application of the at least one application supporting split screen display in the recent task list, performing: and judging whether the split screen display function of the application is started or not. For example, a parallel view switch of the application may be determined to determine whether a split screen display function of the application has been turned on. Specifically, a switch of an applied parallel vision is turned on, and a split screen display function of the application is turned on; the switch of the parallel view of the application is turned off and the split screen display function of the application is turned off.
In S1805, the first split button or the second split button is drawn according to whether the split display function of the application is on.
For each application of the at least one application supporting split screen display in the recent task list, performing: and drawing a first split-screen button or a second split-screen button according to whether the split-screen display function of the application is started or not. The split screen display function of the first application is started, a first split screen button of the first application is drawn, and the first split screen button is displayed in a first task window corresponding to the first application on a first interface. And the split screen display function of the third application is closed, a second split screen button of the third application is drawn, and the second split screen button is displayed in a third task window corresponding to the third application on the first interface.
As one example, after gesture swipe up, it is determined for each acquired task (application) whether parallel views are supported. And drawing a first split-screen button or a second split-screen button according to the switch state of the parallel vision for the application supporting the parallel vision, and displaying the first split-screen button or the second split-screen button on a first interface. Specifically, a switch of a parallel view of the first application is turned on, a first split-screen button is drawn for the first application, and a first task window corresponding to the first split-screen button is displayed on a first interface; and when the switch of the parallel vision of the third application is closed, drawing a second split screen button for the third application, and displaying a third task window corresponding to the second split screen button on the first interface.
In response to the user clicking the first split screen button of the second task window on the first interface, the electronic device may update a second configuration parameter of a second application corresponding to the second task window, where the updated second configuration parameter is used to indicate that a split screen display function of the second application has been turned off. As one example, the second configuration parameter may be updated in a local setting config file of the second application.
And after the user clicks the second split screen button of the fourth task window on the first interface, the electronic device can update a second configuration parameter of the fourth application corresponding to the fourth task window, and the updated second configuration parameter is used for indicating that the split screen display function of the fourth application is started. As an example, the second configuration parameter may be updated in a local setting config file of the fourth application.
Fig. 19 shows a functional implementation flow diagram of the first split-screen button and the second split-screen button. In response to the user clicking the first split button or the second split button at the first interface, the electronic device may execute the flow as shown in fig. 19.
At S1901, the user is received clicking the first split button or the second split button.
And receiving the operation of clicking the first split-screen button or clicking the second split-screen button on the first interface by the user.
At S1902, the first interface is exited.
As before, the first interface may be a multi-tasking interface. The electronic device may exit the multi-tasking interface in response to the user clicking the first split button or clicking the second split button on the multi-tasking interface. In some embodiments, the existing logic of the electronic device exiting the first interface may be multiplexed.
In S1903, a second configuration parameter of the second application or the fourth application is updated.
As before, the second configuration parameter is used to indicate whether the application turns on the split screen display function. And after the user clicks a first split screen button in a second task window corresponding to the second application, the electronic equipment updates second configuration parameters of the second application, and updates the second configuration parameters of the second application from the indication that the split screen display is started to the indication that the split screen display is closed. And after the user clicks a second split screen button in a fourth task window corresponding to the fourth application, the electronic equipment updates the second configuration parameters of the fourth application, and updates the second configuration parameters of the fourth application from the indication of closed split screen display to the indication of opened split screen display.
In some embodiments, the second configuration parameter may be updated in the second application or in the fourth application's local setting configuration file using the "sethwmagicwin enabledwrite" instruction.
At S1904, the second application or the fourth application is restarted.
The switch of the parallel vision is switched, aiming at the second application, the split screen display function of the second application is closed, the second application is restarted, and the application home page of the second application is displayed in a full screen mode; and aiming at the fourth application, opening a split screen display function of the fourth application, restarting the fourth application, and displaying a plurality of application pages of the fourth application in a split screen mode. In some embodiments, the fourth application is restarted, an application home page of the fourth application is displayed full screen, and after a second operation of the application home page is responded by the user, the application home page and an application page corresponding to the second operation are displayed in a split screen mode.
As shown in the foregoing embodiments or fig. 4, an electronic device for implementing the display method provided by the embodiments of the present application may include a desktop launcher (Hnlauncher), a window manager (hwmagicwindow manager service), and a storage module (SettingConfig).
The desktop starter is used for responding to a first operation of a user, calling related instructions, enabling the electronic equipment to display a first interface, and drawing a first split-screen button or a second split-screen button according to first configuration parameters and second configuration parameters of an application before the electronic equipment displays the first interface, so that the electronic equipment displays the first split-screen button and/or the second split-screen button on the first interface. The desktop launcher is further configured to restart the second application or the fourth application in response to the user clicking the first split button or the second split button. Desktop launchers may include desktop gesture processing modules (OtherActivityInputConsumer), multitasking modules (ReccentsView), button implementation modules (TaskViewHeader), and the like. The desktop gesture processing module may be, for example, a desktop gesture processing class that, in response to a first operation (e.g., gesture swipe up) by a user, enters a portal of a first interface (e.g., a multi-tasking interface). The multitasking module may be, for example, a first interface (e.g., a multitasking interface) processing interface for obtaining applications that have recently been run and have not been closed by the electronic device. The button realization module is used for drawing application icons, a first split screen button or a second split screen button in the first task window or the third task window. The button realization module is also used for realizing the opening and closing of the split-screen display function of the application.
The window manager may be a desktop starter and a system Framework (Framework module) delivery class, and may acquire a first configuration parameter and a second configuration parameter of an application through the window manager, where the first configuration parameter is used to indicate whether the application supports split-screen display, and the second configuration parameter indicates a switch state of a split-screen display function of the application.
The storage module is responsible for storing local information and can store the first configuration parameters and the second configuration parameters of the application. In response to a user clicking the first split button or the second split button, the first configuration parameter and the second configuration parameter in the memory module may be updated.
The process of the above module to implement the split screen display is described below with reference to fig. 20. Fig. 20 shows the interaction of the three modules.
In S2001, the desktop launcher determines whether the current application supports application split screen in response to the first operation of the user.
The first operation of the user can be a gesture up-sliding operation on the third interface, the current application can be a second application displayed on the third interface, and the desktop starter judges whether the second application supports application split-screen display or not; the first operation of the user may be a gesture up operation on the fourth interface, the current application may be a third application displayed on the fourth interface, and the desktop launcher determines whether the third application supports split screen display of the application.
The desktop starter can acquire the first configuration parameters of the current application from the storage module, and judge whether the current application supports split screen display or not according to the first configuration parameters.
In S2002, if the current application supports split display, the desktop starter acquires the on-off state of the split display function of the current application.
If the current application supports split screen display, the desktop starter can acquire the second configuration parameters of the current application from the storage module through the window manager. And obtaining the switch state of the split screen display function currently applied according to the second configuration parameters. The desktop starter can read the local file from the storage module through the window manager by using a 'getHwMagicWinEnabled' instruction so as to acquire the switch state of the split screen display function of the current application.
In S2003, the desktop launcher generates a first split button or a second split button according to the application split switch state of the current application, and displays the first split button or the second split button on the first interface.
For supporting the split screen display of the current application, the desktop starter can correspondingly generate a first split screen button or a second split screen button according to the second configuration parameters returned by the storage module through the window manager, and display the first split screen button or the second split screen button on the first interface. Specifically, the current application supports split-screen display, the split-screen display function is started, and the desktop starter can generate a first split-screen button for closing the split-screen display function of the current application; the current application supports split screen display, and the split screen display function is turned off, and the desktop starter can generate a second split screen button for turning on the split screen display function of the current application.
At S2004, in response to the user clicking the first split button or the second split button, the desktop launcher updates the second configuration parameters of the current application.
And in response to the user clicking a first split screen button of the current application on the first interface, closing a split screen display function of the current application, and updating a second configuration parameter of the current application in the storage module through the window manager. And responding to the user clicking a second split screen button of the current application on the first interface, opening the split screen display function of the current application, and updating the second configuration parameters of the current application in the storage module through the window manager. In some embodiments, the desktop launcher may update the second configuration parameters written to the current application in the storage module through the window manager using the "setHwMagicWinEnabled" instruction.
At S2005, the desktop launcher restarts the current application.
If the current application is the first application, responding to clicking a first split screen button corresponding to the first application by a user, restarting the current application by a desktop starter, and displaying an application home page of the current application in a full screen manner; if the current application is the third application, the desktop starter restarts the current application in response to clicking a second split-screen button of the third application by the user, and displays a plurality of preset application pages of the current application in a split-screen manner, or displays an application home page of the current application in a full-screen manner, and displays the application home page and an application page corresponding to the second operation in a split-screen manner after the second operation of the application home page by the user.
The desktop starter can determine whether to draw a first split-screen button or a second split-screen button according to a first configuration parameter of an application which is recently operated and not closed when a 'onTaskListVisiilyChanged' instruction is executed to draw a first task window or a second task window on a multi-task interface; and drawing a first split screen button or a second split screen button for the application according to a second configuration parameter of the application which is recently run and not closed.
Functionally divided, the desktop launcher may include a multitasking module, a recent task acquisition module (current model), a recent task list acquisition module (current task list), an interactive interface module (activity manager wrapper), a task display module (task view), a task thumbnail display module (task thumbnail view), and a task thumbnail cache module (task thumbnail cache).
The multitasking module calls an "ontatachedtowindow ()" instruction, executes "updatetaskstacklistenstate ()", and executes some registration callback operations. When there is a change in the application, callback notification is made to update the UI and determine whether to execute "reloadifebed ()".
The most recent task acquisition module invokes "getTasks (callback)" to acquire the most recent task list. The most recent task is an application that the electronic device has recently run and has not been closed. The latest task list acquisition module may acquire, in order to acquire the latest task list class, in "getTasks (callback)", ordered latest tasks through "getmenttasks ()" in "loadtasks lnbackgroup ()" based on the order of use of the user. A thumbnail of the latest task is acquired by "task.tumbnail= get TaskThumbnail ()" in "preloadLastTwoTask ()".
The multi-task processing module obtains the number of the latest tasks through 'convertracentTaskToGroups ()', and for a plurality of latest tasks, the multi-task processing module circularly obtains the information of task view, blind task and the like of each latest task through 'layoutInfo'. The task display module can call a "bind ()" record and display the task view, blind task and other information of each latest task.
The multitasking module also empties the existing visible task data in "unloadVisibleTaskData ()" through "onTaskListVisibilityChanged (false)". And loading the latest tasks one by one through a 'releaseThumbinailResource ()' on a multi-task interface through a task display module. The change listening of the thumbnail data of the registration application is performed by "addhummbiilchangelistener ()". The callback of the latest task is registered through "registerTaskStackListener ()". The UI interface is refreshed by "applloadplan ()". The data of the application which has been displayed on the multitasking interface is deleted by "unloadByview ()" and "unloadtask". The multitasking processing module executes 'resetTaskvisual ()' to refresh the loading data, and finally invokes 'loadVisibleTaskData ()' and 'loadVisibleTaskDataafterrecorder ()' to load the data of the task window corresponding to the application through 'onTaskVisibilityChanged (true)' of TaskView. The multitasking processing module calls an "actiglyManagerWrapper.getInstance ()" instruction and "actiglyManagerWrapper.getInstance ()" instruction, and obtains a recently running and not closed application and a task window thumbnail of the application.
The task thumbnail display module is used for displaying the thumbnail of the task on the first interface, and the task thumbnail caching module is used for caching the thumbnail of the task. And the task display module calls a 'laodthumb background ()' instruction, loads a task window of the first interface display application, and the task window comprises a first split screen button or a second split screen button. The task display module invokes the "uploadThumbnailBackground (callback)" instruction to cache the task window thumbnail of the application in the task thumbnail cache module. The task thumbnail display module calls a 'setthumb ()' instruction to enable the electronic device to display a task window of the application on the first interface, and calls a 'thumb view update thumb matrix ()' instruction to update the thumbnail of the loaded application.
Embodiments of the present application also provide a computer storage medium including computer instructions which, when executed on an electronic device (e.g., electronic device 300 shown in fig. 3), cause the electronic device to perform the functions or steps of the method embodiments described above.
Embodiments of the present application also provide a computer program product which, when run on a computer, causes the computer to perform the functions or steps of the method embodiments described above.
It will be apparent to those skilled in the art from this description that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts shown as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present application should be covered by the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (11)

1. A display method applied to an electronic device, the method comprising:
responding to a first operation of a user, and displaying a first interface; the first interface comprises at least one first task window and at least one third task window, the at least one first task window corresponds to at least one first application which is recently operated and not closed by the electronic equipment, a plurality of application pages of one first application are displayed in a split screen mode in each first task window, each first task window comprises a first split screen button, and the first split screen button is used for triggering the electronic equipment to close a split screen display function of the corresponding first application; the at least one third task window corresponds to at least one third application which is recently operated and not closed by the electronic equipment, an application page of the third application is displayed in a full screen mode in each third task window, each third task window comprises a second split screen button, and the second split screen button is used for triggering the electronic equipment to start a split screen display function of the corresponding third application;
Responding to clicking operation of a first split screen button of a second task window in the at least one first task window by a user, closing a split screen display function of the second application, and displaying an application home page of the second application in a full screen mode; the second application is an application corresponding to the second task window in the at least one first application;
responding to clicking operation of a second split screen button of a fourth task window in the at least one third task window by a user, starting a split screen display function of a fourth application, and displaying a plurality of application pages of the fourth application in a split screen mode; the fourth application is an application corresponding to the fourth task window in the at least one third application.
2. The method according to claim 1, wherein the responding to the click operation of the user on the first split screen button of the second task window in the at least one first task window, closing the split screen display function of the second application, and displaying the application home page of the second application in full screen includes:
and responding to the click operation of the user on the first split screen button of the second task window, closing the split screen display function of the second application, displaying the animation of exiting the first interface and displaying the main interface of the electronic equipment, and automatically opening the animation of the second application until the application home page of the second application is displayed in a full screen mode.
3. The method of claim 1 or 2, wherein prior to said displaying the first interface in response to the first operation by the user, the method further comprises:
displaying a third interface; the third interface is used for split-screen display of a plurality of application pages of a second application;
and receiving the first operation of the user on the third interface.
4. The method according to claim 1, wherein the responding to the click operation of the second split-screen button of the fourth task window in the at least one third task window by the user starts the split-screen display function of the fourth application and displays a plurality of application pages of the fourth application in a split-screen manner, including:
responding to clicking operation of a second split screen button of the fourth task window by a user, starting a split screen display function of the fourth application, displaying an animation of exiting the first interface and displaying a main interface of the electronic equipment, and automatically starting the animation of the fourth application until an application home page of the fourth application is displayed in a full screen;
and responding to a second operation of a user on an application home page of the fourth application, and displaying the application home page of the fourth application and an application page corresponding to the second operation in a split screen mode.
5. The method according to claim 1, wherein the responding to the click operation of the second split-screen button of the fourth task window in the at least one third task window by the user starts the split-screen display function of the fourth application and displays a plurality of application pages of the fourth application in a split-screen manner, including:
responding to clicking operation of a second split screen button of the fourth task window by a user, starting a split screen display function of the fourth application, displaying an animation of exiting the first interface and displaying a main interface of the electronic equipment, and automatically starting the animation of the fourth application, and displaying a plurality of application pages of the fourth application in a split screen mode;
and responding to clicking operation of the second split screen button, and pre-configuring a plurality of application pages of the fourth application to be split screen displayed in the electronic equipment.
6. The method of claim 1, wherein prior to said displaying the first interface in response to the first operation by the user, the method further comprises:
displaying a fourth interface; wherein, the fourth interface displays the application page of the third application in full screen;
and receiving the first operation of the user on the fourth interface.
7. The method of claim 1, wherein prior to said displaying the first interface in response to the first operation by the user, the method further comprises:
judging whether the corresponding application supports split screen display according to a first configuration parameter of the application which is recently operated and not closed by the electronic equipment;
the first application supports split-screen display, and a first split-screen button is displayed in a first task window corresponding to the first application; and the third application supports split screen display, and the second split screen button is displayed in the first task window corresponding to the third application.
8. The method of claim 7, wherein prior to said displaying the first interface in response to the first operation by the user, the method further comprises:
judging whether a split screen display function of a corresponding application is started or not according to a second configuration parameter of the application which is recently operated and not closed by the electronic equipment;
the split screen display function of the first application is started, and the first split screen button is displayed in a first task window corresponding to the first application; and the split screen display function of the third application is closed, and the second split screen button is displayed in the first task window corresponding to the third application.
9. The method of claim 8, wherein after responding to a user click operation of a first split screen button of a second task window of the at least one first task window, the method further comprises:
updating a second configuration parameter of the second application; the updated second configuration parameters of the second application indicate that the split screen display function of the second application is closed;
after responding to the click operation of the second split screen button of the fourth task window in the at least one third task window, the method further comprises:
updating a second configuration parameter of the fourth application; and the updated second configuration parameter of the fourth application indicates that the split screen display function of the second application is started.
10. An electronic device, the electronic device comprising: a memory and one or more processors; the memory is coupled with the processor; wherein the memory is for storing computer program code, the computer program code comprising computer instructions; the computer instructions, when executed by the processor, cause the electronic device to perform the method of any of claims 1-9.
11. A computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of any of claims 1-9.
CN202310042443.6A 2023-01-28 2023-01-28 Display method and device Active CN116048317B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310042443.6A CN116048317B (en) 2023-01-28 2023-01-28 Display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310042443.6A CN116048317B (en) 2023-01-28 2023-01-28 Display method and device

Publications (2)

Publication Number Publication Date
CN116048317A CN116048317A (en) 2023-05-02
CN116048317B true CN116048317B (en) 2023-08-22

Family

ID=86116068

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310042443.6A Active CN116048317B (en) 2023-01-28 2023-01-28 Display method and device

Country Status (1)

Country Link
CN (1) CN116048317B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107037949A (en) * 2017-03-29 2017-08-11 北京小米移动软件有限公司 A kind of multi-screen display method and device
CN110661917A (en) * 2019-08-07 2020-01-07 华为技术有限公司 Display method and electronic equipment
CN110865744A (en) * 2019-09-30 2020-03-06 华为技术有限公司 Split-screen display method and electronic equipment
CN112068907A (en) * 2019-05-25 2020-12-11 华为技术有限公司 Interface display method and electronic equipment
CN113986408A (en) * 2020-07-09 2022-01-28 华为技术有限公司 Application page display method and electronic equipment
CN114003324A (en) * 2021-09-30 2022-02-01 华为技术有限公司 Method for combining multiple applications and simultaneously starting multiple applications and electronic equipment
WO2022052671A1 (en) * 2020-09-09 2022-03-17 华为技术有限公司 Method for displaying window, method for switching windows, electronic device, and system
CN114363462A (en) * 2020-09-30 2022-04-15 华为技术有限公司 Interface display method and related device
CN114554299A (en) * 2022-01-20 2022-05-27 海信视像科技股份有限公司 Display device and split-screen display method
CN114995693A (en) * 2021-12-31 2022-09-02 荣耀终端有限公司 Display screen window switching method and electronic equipment
CN115328358A (en) * 2021-04-22 2022-11-11 华为技术有限公司 Display method and related device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078091A (en) * 2019-11-29 2020-04-28 华为技术有限公司 Split screen display processing method and device and electronic equipment

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107037949A (en) * 2017-03-29 2017-08-11 北京小米移动软件有限公司 A kind of multi-screen display method and device
CN112068907A (en) * 2019-05-25 2020-12-11 华为技术有限公司 Interface display method and electronic equipment
CN114840127A (en) * 2019-08-07 2022-08-02 华为技术有限公司 Display method and electronic equipment
CN110661917A (en) * 2019-08-07 2020-01-07 华为技术有限公司 Display method and electronic equipment
CN110865744A (en) * 2019-09-30 2020-03-06 华为技术有限公司 Split-screen display method and electronic equipment
CN113811844A (en) * 2019-09-30 2021-12-17 华为技术有限公司 Split-screen display method and electronic equipment
CN113986408A (en) * 2020-07-09 2022-01-28 华为技术有限公司 Application page display method and electronic equipment
WO2022052671A1 (en) * 2020-09-09 2022-03-17 华为技术有限公司 Method for displaying window, method for switching windows, electronic device, and system
CN114363462A (en) * 2020-09-30 2022-04-15 华为技术有限公司 Interface display method and related device
CN115328358A (en) * 2021-04-22 2022-11-11 华为技术有限公司 Display method and related device
CN114003324A (en) * 2021-09-30 2022-02-01 华为技术有限公司 Method for combining multiple applications and simultaneously starting multiple applications and electronic equipment
CN114995693A (en) * 2021-12-31 2022-09-02 荣耀终端有限公司 Display screen window switching method and electronic equipment
CN114554299A (en) * 2022-01-20 2022-05-27 海信视像科技股份有限公司 Display device and split-screen display method

Also Published As

Publication number Publication date
CN116048317A (en) 2023-05-02

Similar Documents

Publication Publication Date Title
WO2021244443A1 (en) Split-screen display method, electronic device, and computer readable storage medium
US10013098B2 (en) Operating method of portable terminal based on touch and movement inputs and portable terminal supporting the same
CN113805743B (en) Method for switching display window and electronic equipment
CN111263002B (en) Display method and electronic equipment
CN114816167B (en) Application icon display method, electronic device and readable storage medium
WO2021135578A1 (en) Page processing method and apparatus, and storage medium and terminal device
CN113766064A (en) Schedule processing method and electronic equipment
CN113805744A (en) Window display method and electronic equipment
CN114138139A (en) Application card management method, electronic device, product and medium
WO2023221946A1 (en) Information transfer method and electronic device
CN116048317B (en) Display method and device
CN111638828A (en) Interface display method and device
CN110502169B (en) Display control method and terminal
CN114461312B (en) Display method, electronic device and storage medium
CN115033193B (en) Screen turning processing method and device, medium and electronic equipment
WO2022001261A1 (en) Prompting method and terminal device
CN114546113A (en) Menu operation method and device, storage medium and electronic equipment
WO2024109220A1 (en) Widget display method, electronic device, and readable storage medium
CN115016714B (en) Electronic device control method, system, electronic device and storage medium
WO2023284625A1 (en) Cross-platform display method for application, and readable medium and electronic device
CN116700554B (en) Information display method, electronic device and readable storage medium
CN114036954B (en) Method and device for synchronizing notification messages
CN118093067A (en) Method for displaying card, electronic device and readable storage medium
CN117762290A (en) Interaction method, electronic device and readable storage medium
CN117615055A (en) Display control method and electronic equipment

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
GR01 Patent grant
GR01 Patent grant