CN118113180A - Application interface column display method and electronic equipment - Google Patents

Application interface column display method and electronic equipment Download PDF

Info

Publication number
CN118113180A
CN118113180A CN202211511336.5A CN202211511336A CN118113180A CN 118113180 A CN118113180 A CN 118113180A CN 202211511336 A CN202211511336 A CN 202211511336A CN 118113180 A CN118113180 A CN 118113180A
Authority
CN
China
Prior art keywords
interface
task
application
electronic device
activity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211511336.5A
Other languages
Chinese (zh)
Inventor
王波
芮江
黄德才
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202211511336.5A priority Critical patent/CN118113180A/en
Publication of CN118113180A publication Critical patent/CN118113180A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an application interface column display method and electronic equipment, relates to the technical field of terminals, and can provide more flexible and smooth application interface display experience. In the application, the electronic equipment can support the activities (activities) of independently running the main interface and the slave interface in different task stacks by providing the column state management, the window management, the task stack management, the life cycle management and the like under the column scene, so that when a user opens the application interface in different modes, the electronic equipment supports the normal display of the application interface, such as supporting the maintenance of the column display, or supporting the smooth switching between the full-screen display and the column display.

Description

Application interface column display method and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of terminals, in particular to an application interface column display method and electronic equipment.
Background
With the promotion of hardware and software technology of electronic devices, display modes and layouts of application interfaces on the electronic devices are also becoming more and more diversified. In order to provide a more convenient application interface experience, application interface column display is more and more common. However, the existing column display technology can only support column display of an application interface running on the same task stack, so that more defects exist.
Taking fig. 1 as an example, in order to support the column display of the setting list interface 101 and the battery interface 102, the electronic device may run the activities corresponding to the setting list interface and the battery interface in the same task stack (such as the task stack a), but since the setting list interface belongs to the setting application and the battery interface belongs to the device manager application, the setting list interface and the battery interface respectively belong to different applications, and therefore the task stack a may collide with the main task stack of the device manager application. The conflict between the task stack a and the main task stack of the device manager application may cause that the user cannot start the device manager application in a conventional manner, such as desktop start.
Disclosure of Invention
The application provides an application interface column display method and electronic equipment, which can provide more flexible and smooth application interface display and improve user experience.
In order to achieve the above purpose, the application adopts the following technical scheme:
In a first aspect, an application interface column display method is provided, and the method includes: the electronic equipment runs a first task belonging to a first application in a first task stack, runs a second task belonging to a second application in a second task stack, and displays a first interface corresponding to the first task and a second interface corresponding to the second task in columns, wherein the first interface and the second interface are related to each other; responding to the user operation, the electronic equipment displays a third interface corresponding to a third task, wherein the third task corresponding to the third interface runs in the second task stack or the third task stack, and the application to which the third task belongs is different from the application to which the first task belongs.
Wherein, the first interface and the second interface are related to each other, that is, the display of the second interface can be triggered or refreshed based on the operation of the user on the first interface, and the first interface can be refreshed in real time based on the operation of the user on the second interface.
The first task may be a first page of the first application, or may not be the first page of the first application; the second task may or may not be a home page of the second application.
As an example, the third task stack may be different from the second task stack. Or the third task stack may be identical to the second task stack. The present application is not limited.
According to the scheme provided by the first aspect, the electronic equipment can display the main interface and the auxiliary interface which are related to each other through the columns, so that a user can conveniently and rapidly open the corresponding application interface by selecting different sub-options in the main interface, and the operation convenience and the operation efficiency of the user are improved, and the flexibility and the fluency of the user in switching among different application interfaces are improved. In addition, the electronic device may normally display the application interface when the user opens the application interface in any manner (e.g., desktop open, interface open, main interface open, etc.).
As a possible implementation manner, the first interface includes an option corresponding to the third task, and the user operates: and clicking the option corresponding to the third task on the first interface by the user. Based on the above, the electronic device may normally display the third interface when the user opens the operation of the third interface on the main interface.
As a possible implementation manner, the second interface includes an option corresponding to the third task, and the user operates: and clicking the option corresponding to the third task on the second interface by the user. Based on this, the electronic device can normally display the third interface when the user opens the third interface from the interface.
As a possible implementation manner, the user operation is as follows: and clicking the application icon corresponding to the third task on the desktop by the user. Based on the above, the electronic device may normally display the third interface when the user opens the third interface on the desktop.
As a possible implementation manner, the displaying, by the electronic device, a third interface corresponding to a third task includes: the electronic equipment displays the first interface and the third interface in columns. The application is not limited to the display form of the third interface when the electronic device normally displays the third interface, for example, the electronic device can display the third interface in columns.
As a possible implementation manner, the first interface includes an option corresponding to the third task, and when the electronic device displays the first interface and the third interface in columns, the option corresponding to the third task in the first interface is updated to the selected state in real time. Based on the above, the electronic device can continuously support the relevance update executed by the first interface and the third interface displayed in the columns, and provides convenience, flexibility and fluency for the user to carry out multi-interface linkage operation.
As one possible implementation manner, the electronic device displays the first interface and the third interface in columns, including: when the background of the electronic equipment has task retention corresponding to the third interface with full-screen size, the electronic equipment modifies the interface size of the third interface into a column division size; or when the background of the electronic equipment does not have the task corresponding to the third interface, the electronic equipment creates the third task, wherein the interface size of the third interface corresponding to the third task is a column size. Based on the method, the electronic equipment can directly multiplex the task reserved in the background when the task reserved in the background and needed to be pulled up exists, so that the response efficiency is improved, and the system calculation force is saved; or the electronic equipment can create a new task when the background has no reserved task to be pulled up, so that normal response to the operation of a user is ensured, and the user experience is improved. The display form of the third interface when the electronic device normally displays the third interface is not limited, for example, the electronic device can display the third interface in columns.
As a possible implementation manner, the displaying, by the electronic device, a third interface corresponding to a third task includes: the electronic device displays the third interface full screen. The application is not limited to the display form of the third interface when the electronic device normally displays the third interface, for example, the electronic device can display the third interface in a full screen.
As a possible implementation manner, the user operation is an operation that the user clicks an application icon corresponding to a third task on a desktop, and the electronic device displays a third interface in a full screen manner, including: when the background of the electronic equipment has task retention corresponding to the third interface with the column division size, the electronic equipment modifies the interface size of the third interface into full-screen size; or when the background of the electronic equipment does not have the task corresponding to the third interface, the electronic equipment creates the third task, wherein the interface size of the third interface corresponding to the third task is full-screen size. Based on the method, the electronic equipment can directly multiplex the task reserved in the background when the task reserved in the background and needed to be pulled up exists, so that the response efficiency is improved, and the system calculation force is saved; or the electronic equipment can create a new task when the background has no reserved task to be pulled up, so that normal response to the operation of a user is ensured, and the user experience is improved. The display form of the third interface when the electronic device normally displays the third interface is not limited, for example, the electronic device can display the third interface in a full screen.
As one possible implementation manner, the second interface is a first page of the second application, the third task also belongs to the second application, the user operates to click an application icon of the second application on a desktop, and the electronic device displays the third interface in a full screen manner, where the method includes: the electronic equipment multiplexes a second task corresponding to the second interface, modifies the interface size of the second interface to be full-screen size and displays the full-screen size. Based on the method, the electronic equipment can directly multiplex the task reserved in the background when the task reserved in the background and needed to be pulled up exists, so that the response efficiency is improved, and the system calculation force is saved.
As one possible implementation manner, the second interface is a non-home page of the second application, the third task also belongs to the second application, the user operates to click an application icon of the second application on the desktop, and the electronic device displays the third interface in a full screen manner, where the method includes: and the electronic equipment creates a third task corresponding to the home page of the second application in the second task stack and then displays a third interface corresponding to the third task in a full screen mode. Based on the method, the electronic equipment can create a new task when the background has no reserved task to be pulled up, so that normal response to the operation of a user is ensured, and the user experience is improved.
As a possible implementation manner, after the electronic device runs the third task in the second task stack or the third task stack, the method further includes: the electronic device sets the state of the third task to an active state to support the electronic device to display the third interface. Based on the method, the electronic equipment can change the state of the task so as to enable the interface foreground corresponding to the task to be displayed, and the method is easy to realize for the equipment.
In a second aspect, there is provided an electronic device comprising: the processing unit is used for running a first task belonging to a first application in a first task stack and running a second task belonging to a second application in a second task stack; a display unit for: the method comprises the steps of displaying a first interface corresponding to a first task and a second interface corresponding to a second task in columns, wherein the first interface and the second interface are related to each other; and responding to the user operation, the electronic equipment displays a third interface corresponding to a third task, wherein the third task corresponding to the third interface runs in the second task stack or the third task stack, and the application to which the third task belongs is different from the application to which the first task belongs.
According to the scheme provided by the second aspect, the electronic equipment can display the main interface and the auxiliary interface which are related to each other through the columns, so that a user can conveniently and rapidly open the corresponding application interface by selecting different sub-options in the main interface, and the operation convenience and the operation efficiency of the user are improved, and the flexibility and the fluency of the user in switching among different application interfaces are improved. In addition, the electronic device may normally display the application interface when the user opens the application interface in any manner (e.g., desktop open, interface open, main interface open, etc.).
As a possible implementation manner, the first interface includes an option corresponding to the third task, and the user operates: and clicking the option corresponding to the third task on the first interface by the user. Based on the above, the electronic device may normally display the third interface when the user opens the operation of the third interface on the main interface.
As a possible implementation manner, the second interface includes an option corresponding to the third task, and the user operates: and clicking the option corresponding to the third task on the second interface by the user. Based on this, the electronic device can normally display the third interface when the user opens the third interface from the interface.
As a possible implementation manner, the user operation is as follows: and clicking the application icon corresponding to the third task on the desktop by the user. Based on the above, the electronic device may normally display the third interface when the user opens the third interface on the desktop.
As a possible implementation manner, the displaying unit displays a third interface corresponding to a third task, including: the display unit displays the first interface and the third interface in columns. The application is not limited to the display form of the third interface when the electronic device normally displays the third interface, for example, the electronic device can display the third interface in columns.
As a possible implementation manner, the first interface includes an option corresponding to the third task, and when the display unit displays the first interface and the third interface in columns, the option corresponding to the third task in the first interface is updated to the selected state in real time. Based on the above, the electronic device can continuously support the relevance update executed by the first interface and the third interface displayed in the columns, and provides convenience, flexibility and fluency for the user to carry out multi-interface linkage operation.
As a possible implementation manner, before the display unit displays the first interface and the third interface in columns, the processing unit is further configured to: when the task corresponding to the third interface with full-screen size is reserved in the processing unit, modifying the interface size of the third interface into a column size and indicating the display unit to display the first interface and the third interface in columns; or when no task corresponding to the third interface exists in the processing unit, creating the third task and indicating the display unit to display the first interface and the third interface in columns. Based on the method, the electronic equipment can directly multiplex the task reserved in the background when the task reserved in the background and needed to be pulled up exists, so that the response efficiency is improved, and the system calculation force is saved; or the electronic equipment can create a new task when the background has no reserved task to be pulled up, so that normal response to the operation of a user is ensured, and the user experience is improved. The display form of the third interface when the electronic device normally displays the third interface is not limited, for example, the electronic device can display the third interface in columns.
As a possible implementation manner, the displaying unit displays a third interface corresponding to a third task, including: the display unit displays the third interface in full screen. The application is not limited to the display form of the third interface when the electronic device normally displays the third interface, for example, the electronic device can display the third interface in a full screen.
As a possible implementation manner, the user operation is an operation that the user clicks an application icon corresponding to the third task on the desktop, and before the display unit displays the third interface in full screen, the processing unit is further configured to: when the task corresponding to the third interface with the column size is reserved in the processing unit, modifying the interface size of the third interface into a full-screen size and indicating the display unit to display the third interface in a full screen mode; or when no task corresponding to the third interface remains in the processing unit, creating the third task and indicating the display unit to display the third interface in a full screen mode. Based on the method, the electronic equipment can directly multiplex the task reserved in the background when the task reserved in the background and needed to be pulled up exists, so that the response efficiency is improved, and the system calculation force is saved; or the electronic equipment can create a new task when the background has no reserved task to be pulled up, so that normal response to the operation of a user is ensured, and the user experience is improved. The display form of the third interface when the electronic device normally displays the third interface is not limited, for example, the electronic device can display the third interface in a full screen.
As a possible implementation manner, the second interface is a first page of the second application, the third task also belongs to the second application, the user operates to click an application icon of the second application on the desktop, and before the display unit displays the third interface in full screen, the processing unit is further configured to: multiplexing a second task corresponding to the second interface, and indicating the display unit to display the second interface in a full screen mode after the interface size of the second interface is modified to be the full screen size. Based on the method, the electronic equipment can directly multiplex the task reserved in the background when the task reserved in the background and needed to be pulled up exists, so that the response efficiency is improved, and the system calculation force is saved.
As a possible implementation manner, the second interface is a non-home page of the second application, the third task also belongs to the second application, the user operates to click an application icon of the second application on the desktop, and before the display unit displays the third interface in full screen, the processing unit is further configured to: and after a third task corresponding to the home page of the second application is created in the second task stack, the display unit is instructed to display a third interface corresponding to the third task in a full screen mode. Based on the method, the electronic equipment can create a new task when the background has no reserved task to be pulled up, so that normal response to the operation of a user is ensured, and the user experience is improved.
As a possible implementation manner, after the processing unit runs the third task in the second task stack or the third task stack, the processing unit is further configured to: the state of the third task is set to an active state to support the display unit to display the third interface. Based on the method, the electronic equipment can change the state of the task so as to enable the interface foreground corresponding to the task to be displayed, and the method is easy to realize for the equipment.
In a third aspect, there is provided an electronic device comprising: the communication interface is used for carrying out communication among devices; a memory for storing computer program instructions; a processor for executing the computer program instructions to support the electronic device to implement the method as in any one of the possible implementations of the first aspect.
In a fourth aspect, a computer readable storage medium is provided, having stored thereon computer program instructions which, when executed by a processor, implement a method as in any one of the possible implementations of the first aspect.
In a fifth aspect, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to carry out the method as in any one of the possible implementations of the first aspect.
In a sixth aspect, a chip system is provided, the chip system comprising processing circuitry, a storage medium having stored therein computer program instructions; the computer program instructions, when executed by the processor, implement a method as in any one of the possible implementations of the first aspect. The chip system may be formed of a chip or may include a chip and other discrete devices.
Drawings
FIG. 1 is a schematic diagram of a conventional application interface column display;
FIG. 2 is a schematic diagram of another application interface according to an embodiment of the present application;
fig. 3 is a schematic hardware structure of an electronic device according to an embodiment of the present application;
Fig. 4 is a schematic software structure of an electronic device according to an embodiment of the present application;
FIG. 5 is a diagram of an example of a display of an application interface according to an embodiment of the present application;
FIG. 6 is a diagram of an example of a display of an application interface according to an embodiment of the present application;
FIG. 7 is a flowchart of a method for displaying a column of an application interface according to an embodiment of the present application;
FIG. 8 is a diagram illustrating background retention tasks of several electronic devices according to an embodiment of the present application;
FIG. 9 is a flowchart II of a method for displaying a column of an application interface according to an embodiment of the present application;
FIG. 10 is a flowchart III of a method for displaying a column of an application interface according to an embodiment of the present application;
FIG. 11 is a flowchart of a method for displaying an application interface in columns according to an embodiment of the present application;
FIG. 12 is a flowchart fifth exemplary embodiment of a method for displaying an application interface in columns;
FIG. 13 is a flowchart of a method for displaying a column of an application interface according to an embodiment of the present application;
FIG. 14A is a diagram of an example of a display of an application interface in columns according to an embodiment of the present application;
FIG. 14B is a diagram showing an example of a display of an application interface in columns according to an embodiment of the present application;
FIG. 15 is a fifth exemplary diagram of an application interface column display provided by an embodiment of the present application;
FIG. 16 is a diagram illustrating an example of a column display of an application interface according to an embodiment of the present application;
FIG. 17 is a diagram of an example of a column display of an application interface according to an embodiment of the present application;
FIG. 18 is a diagram illustrating an example of a display of an application interface according to an embodiment of the present application;
Fig. 19 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. Wherein, in the description of the embodiments of the present application, unless otherwise indicated, "/" means or, for example, a/B may represent a or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, in the description of the embodiments of the present application, "plurality" means two or more than two.
The terms "first" and "second" are used below for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present embodiment, unless otherwise specified, the meaning of "plurality" is two or more.
The embodiment of the application provides a method for displaying an application interface in columns, which can realize the column display of a first interface and a second interface on a display screen based on the method. The first interface and the second interface displayed in the columns can be associated with each other.
In some embodiments of the present application, the correlation between the first interface and the second interface may include that the display of the second interface may be triggered or refreshed based on the user's operation on the first interface.
In other embodiments of the present application, the correlation between the first interface and the second interface may include that the first interface may be refreshed in real time based on user operation of the second interface.
As an example, the first interface may be a column master interface (hereinafter referred to as a master interface), and the second interface may be a column slave interface (hereinafter referred to as a slave interface). For example, the first interface may be a list interface, which may provide a plurality of sub-options, and when the user selects a sub-option, the interface corresponding to the sub-option is correspondingly displayed on the second interface. In this scenario, the first interface is the master interface and the second interface is the slave interface. The electronic equipment can rapidly open the corresponding application interface and display the application interface in columns with the main interface according to the operation of selecting different sub-options in the main interface by the user, so that the operation convenience and operation efficiency of the user are improved, and the flexibility and fluency of the user in switching among different application interfaces are improved.
Taking the first interface as a setup list interface as an example, when the user selects the wireless lan (wireless local area network, WLAN) option on the setup list interface (i.e., the first interface), the corresponding second interface displays the WLAN setup interface shown in fig. 2 (a). When the user selects the battery option on the setup list interface (i.e., the first interface), the corresponding second interface is refreshed in real-time to the battery setup interface shown in fig. 2 (b). Likewise, when the user selects other options on the left setup list interface, the right second interface is refreshed in real time as the corresponding application interface.
It should be noted that, the electronic device according to the embodiment of the present application has a column display function, where the function may be implemented based on a function integrated in an operating system of the electronic device, or may be implemented based on a function provided by a third party application, and the embodiment of the present application is not limited.
The electronic device according to the embodiment of the present application may include, but is not limited to, smart phones (including folding screen phones), netbooks, tablet computers, personal computers (personal computer, PCs), palm computers, vehicle devices, wearable devices (such as smart watches, smart bracelets, smart glasses, etc.), cameras (such as single-lens reflex cameras, card-type cameras, etc.), smart televisions, personal digital assistants (personal DIGITAL ASSISTANT, PDAs), portable multimedia players (portable multimedia player, PMPs), projection devices, smart screen devices, augmented reality (augmented reality, AR)/Virtual Reality (VR) devices, mixed Reality (MR) devices, televisions, or motion sensing game machines in human-computer interaction scenes, and other electronic devices. The application is not limited to the specific function and structure of the electronic device.
As an example, please refer to fig. 3, fig. 3 shows a schematic hardware structure of an electronic device according to an embodiment of the present application.
As shown in fig. 3, the electronic device may include a processor 310, a memory (including an external memory interface 320 and an internal memory 321), a universal serial bus (universal serial bus, USB) interface 330, a charge management module 340, a power management module 341, a battery 342, an antenna 1, an antenna 2, a mobile communication module 350, a wireless communication module 360, an audio module 370, a speaker 370A, a receiver 370B, a microphone 370C, an ear-headphone interface 370D, a sensor module 380, keys 390, a motor 391, an indicator 392, a camera 393, a display screen 394, and the like. Among other things, the sensor module 380 may include a touch sensor 380A. Optionally, the sensor module 380 may also include pressure sensors, gyroscopic sensors, barometric sensors, magnetic sensors, acceleration sensors, distance sensors, proximity sensors, fingerprint sensors, temperature sensors, ambient light sensors, bone conduction sensors, and the like.
It should be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the application, the electronic device 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: 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 flight controller, a video codec, a digital signal processor (DIGITAL SIGNAL processor, DSP), a baseband processor, and/or a neural-Network Processor (NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
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 the 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 an integrated circuit (inter-INTEGRATED CIRCUIT, I2C) interface, an integrated circuit built-in audio (inter-INTEGRATED CIRCUIT SOUND, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SERIAL DATA LINE, SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 310 may contain multiple sets of I2C buses. The processor 310 may be coupled to the touch sensor 380A, microphone, camera 393, etc., respectively, via different I2C bus interfaces. For example, the processor 310 may couple the touch sensor 380A through an I2C interface, causing the processor 310 to communicate with the touch sensor 380A through an I2C bus interface, implementing the touch functionality of the electronic device.
In the embodiment of the present application, the processor 310 may acquire, through the I2C bus interface, a touch operation such as a click (e.g., a single click, a double click, etc.) operation, a sliding operation, a long-press operation, or a drag operation on the interface, which is detected by the touch sensor 380A, so as to determine a specific intention corresponding to the touch operation, and further respond to the touch operation.
The charge management module 340 is configured to receive a charge input from a charger. The power management module 341 is configured to connect the battery 342, the charge management module 340 and the processor 310. The power management module 341 receives input from the battery 342 and/or the charge management module 340 to power the processor 310, the internal memory 321, the display screen 394, the camera assembly 393, the wireless communication module 360, and the like.
The wireless communication function of the electronic device may be implemented by the antenna 1, the antenna 2, the mobile communication module 350, the wireless communication module 360, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device may be used to cover a single or multiple communications bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 350 may provide a solution for wireless communication including 2G/3G/4G/5G, etc. applied on an electronic device. The mobile communication module 350 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), or the like. The mobile communication module 350 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 350 may amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate the electromagnetic waves. In some embodiments, at least some of the functional modules of the mobile communication module 350 may be disposed in the processor 310. In some embodiments, at least some of the functional modules of the mobile communication module 350 may be provided in the same device as at least some of the modules of the processor 310.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 370A, receiver 370B, etc.) or displays images or video through display screen 394. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 350 or other functional module, independent of the processor 310.
The wireless communication module 360 may provide solutions for wireless communication including WLAN (e.g., wiFi network), bluetooth BT, global navigation satellite system (global navigation SATELLITE SYSTEM, GNSS), frequency modulation (frequency modulation, FM), near Field Communication (NFC), infrared (IR), etc. applied to the electronic device. The wireless communication module 360 may be one or more devices that integrate at least one communication processing module. The wireless communication module 360 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 310. The wireless communication module 360 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 2.
In some embodiments, the antenna 1 and the mobile communication module 350 of the electronic device are coupled, and the antenna 2 and the wireless communication module 360 are coupled, so that the electronic device can communicate with the network and other devices through wireless communication technology. The wireless communication techniques can include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (GENERAL PACKET radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation SATELLITE SYSTEM, GLONASS), a beidou satellite navigation system (beidou navigation SATELLITE SYSTEM, BDS), a quasi zenith satellite system (quasi-zenith SATELLITE SYSTEM, QZSS) and/or a satellite based augmentation system (SATELLITE BASED AUGMENTATION SYSTEMS, SBAS).
The electronic device implements display functions through the GPU, display screen 394, and application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 394 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.
In the embodiment of the application, the electronic equipment can draw and render the layer on the application interface of full-screen display or column display through the GPU. The Layer drawing is mainly used for drawing an interface Layer (Layer) to be displayed. The essence of layer drawing is the filling of pixels. The layer rendering is mainly used for adjusting brightness, contrast, saturation and the like of the drawn layer, and meanwhile, the state of the original layer is not changed.
The display screen 394 is used for displaying images, videos, and the like. The display screen 394 includes a display panel. The display panel may employ a Liquid Crystal Display (LCD) CRYSTAL DISPLAY, an organic light-emitting diode (OLED), an active-matrix organic LIGHT EMITTING diode (AMOLED), a flexible light-emitting diode (FLED), miniled, microLed, micro-oLed, a quantum dot LIGHT EMITTING diode (QLED), or the like. In some embodiments, the electronic device may include 1 or N displays 394, N being a positive integer greater than 1.
In an embodiment of the present application, the electronic device may display an application interface, including a full screen application window or a split application interface, through the display screen 394.
The electronic device may implement shooting functions through the ISP, camera module 393, video codec, GPU, display screen 394, and application processor, among others. In an embodiment of the application, ISP, camera assembly 393, video codec, GPU and display screen 394 may support video calls between electronic devices and other devices.
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. The external memory card communicates with the processor 310 through an external memory interface 320 to implement data storage functions.
Internal memory 321 may be used to store computer executable program code. By way of example, computer programs may include operating system programs and application programs. The operating system may include, but is not limited to OS, and the like. Wherein the executable program code includes instructions. The processor 310 executes various functional applications of the electronic device and data processing by executing instructions stored in the internal memory 321. The internal memory 321 may include a storage program area and a storage data area. The storage program area may store an operating system, an application program required for at least one function, and the like. The storage data area may store data created during use of the electronic device, etc. In addition, the internal memory 321 may include a high-speed random access memory, and may also include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. The processor 310 performs various functional applications of the electronic device and data processing by executing instructions stored in the internal memory 321, and/or instructions stored in a memory provided in the processor.
The electronic device may implement audio functionality through an audio module 370, speaker 370A, receiver 370B, microphone 370C, an application processor, and the like. Such as music playing, recording, etc. Regarding the specific operation and function of the audio module 370, speaker 370A, receiver 370B and microphone 370C, reference may be made to the description in the conventional art.
The touch sensor 380A, also referred to as a "touch panel". The touch sensor 380A may be disposed on the display screen 394, and the touch sensor 380A and the display screen 394 form a touch screen, which is also referred to as a "touch screen". The touch sensor 380A is used to detect a touch operation acting on or near it. The touch sensor may communicate detected touch operations (including information of touch location, touch force, contact area, and touch duration) to the processor to determine a touch event type. Visual output related to touch operations may be provided through the display screen 394. In other embodiments, touch sensor 380A may also be located on a surface of the electronic device other than where display 394 is located.
In the embodiment of the present application, the touch operation detected by the touch sensor 380A may be an operation performed on or near the touch screen by a finger, or an operation performed on or near the touch screen by a user using a stylus, a touch pen, a touch ball, or other touch-control auxiliary tools, which is not limited in the present application.
In addition, for the description of the hardware such as the key 390, the motor 391, the indicator 392, etc., reference may be made to the conventional technology, and the description of the embodiment of the present application is omitted.
It will be appreciated that the structure illustrated in fig. 3 of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the application, the electronic device 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.
It should be noted that, in the embodiment of the present application, the electronic device may support connection establishment with other peripheral devices, including wired communication connection and wireless communication connection. By way of example, such peripherals may include, but are not limited to, input devices such as a touch screen, keyboard, mouse, microphone, and/or touch-assisted tools such as a stylus, touch-ball, and the like. The electronic device may be responsive to input events entered by a user through an input device or touch-sensitive assistance tool.
FIG. 4 toA system is illustrated as an example, which shows a software architecture block diagram of an electronic device according to an embodiment of the present application. Illustratively, software may be divided into several layers based on a hierarchical architecture, each layer having a distinct role and division of labor. The layers communicate with each other through a software interface. In some embodiments, as shown in FIG. 4, the/>, may be based on a hierarchical architectureThe system is respectively an application program layer, an application program Framework layer (Framework) and a frame layer (I/O) from top to bottomRuntime (/ >)Runtime), system libraries and kernel layers.
The application layer may include a series of applications, among others. The series of applications may include third party applications such as maps, instant messaging applications, etc. as shown in fig. 4, and may also include native functions or applications integrated into the operating system of the electronic device such as settings shown in fig. 4, cameras, gallery, calendar, talk, short messages, device manager, etc.
In the embodiment of the present application, the main application of the column display (hereinafter referred to as column main application) may be any application of the application program layer shown in fig. 4, such as a setting, an instant messaging application (such as) And the like. Likewise, the slave application displayed in the column (hereinafter referred to as a column slave application) may be any application of the application program layer shown in fig. 4, such as an application of a device manager, a setting, a map, or the like.
An application Framework layer (Framework) is used to provide an application programming interface (application programming interface, API) and programming Framework for the application of the application layer. The application framework layer includes a number of predefined functions. As shown in fig. 4, the application framework layer may provide window management services (WindowManagerService, WMS), activity management services (ACTIVITYMANAGERSERVICE, AMS), view systems (VIEW SYSTEM).
WMSs are used to provide window management such as management of window creation, window initiation, window deletion, window size and hierarchy, and the like. WMS may also be used as a relay station of an input system to handle input events of a user to a corresponding target window, record information of all windows, etc.
The AMS is responsible for managing Activity, starting, switching, scheduling, managing and scheduling applications, etc. of each component in the system. Specifically, the AMS defines data classes for saving processes (processes), activities (activities), and tasks (tasks), respectively. The data class corresponding to the Process (Process) may include Process file information, memory state information of the Process, activity, service included in the Process, and the like. Activity is a User Interface (UI) component that can be displayed independently, with one Activity corresponding to at least one window. The Activity information may be stored in a task stack (ACTIVITYSTACK). Wherein the task stack is also called an active stack. A task stack is a container with a stack structure for placing activities and for uniformly scheduling application activities. The task stack may specifically hold all the running Activity (i.e., finalArrayListmHistory) information. For example, the running Activity may be saved in NEW ARRAYLIST. ACTIVITYSTACK can also store information of historic run activities. When the activities are placed, the task stacks are placed in sequence, and the activities at the uppermost layer of the task stacks are usually in a visible state.
In some examples, the electronic device creates a task stack for an application when it first starts up for placing the Activity of the application. Typically, when Activity1 of the same application starts Activity2, both activities will be placed in the same task stack, where Activity1 will be placed below the level of Activity 2.
Typically, the task stacks are independent of each other. And, the task stack may be divided into a foreground task stack and a background task stack. For example, when the electronic device runs the application a and then presses the home screen key to return to the desktop to start the application B, the electronic device creates a new task stack for the application B (the task stack is a foreground task stack), and transfers the task stack corresponding to the application a to a background operation. The electronic device transfers the task stack corresponding to the application A to the background for running, and transfers the Activity in the task stack to the background.
The view system may be used to build a display interface for an application. The view system includes visual controls, such as text box (TextBox) controls, list (List) controls, grid (Grid) controls, button (Button) controls, and embeddable Web browser controls. The display interface may be composed of one or more views.
As shown in FIG. 4, the application framework layer may also provide a column framework. The column frame is used for supporting a column display function of the electronic equipment. As shown in fig. 4, the slot framework may specifically provide a slot management service, a slot window management service, a task stack management service, and a lifecycle management service.
The column management service mainly comprises management of the overall state of the column, and comprises management of the relation between a master interface and a slave interface, layout management of the master interface and the slave interface and the like. The layout of the master interface and the slave interface, such as the slave window in which the slave interface is located, is superimposed over the master window in which the master interface is located.
The window management service mainly comprises window management under a window division scene, and comprises management services of window creation, window starting, window deleting, window size, window level and the like under the window division scene.
The task stack management service mainly comprises management of application task stacks under a column division scene, and comprises services such as creation of the task stacks under the column division scene, switching of the task stacks during switching of the column division scene and other display scenes, and the like. For example, when an application is first started, a task stack management service may be used to create a task stack for the application that runs its activities.
The lifecycle management service mainly includes management of a lifecycle of a window in a partition, for example, setting a state of a certain Activity to an active state (onResume), a pause state (onPause), or an end state (onStop) according to actual situations. The interface corresponding to the Activity in the activated state is displayed in the foreground, the interface corresponding to the Activity in the suspended state is operated in the background, and the interface corresponding to the Activity in the ending state is directly closed.
It should be noted that the application framework layer shown in fig. 4 is only an example, and the specific units or modules included in the application framework layer in the embodiment of the present application are not specifically limited. For example, the application framework layer may also include content providing services, telephony management services, resource management services, notification management services, and the like (not shown in fig. 4). For specific description of the content providing service, the telephone management service, the resource management service, the notification management service, and the like, reference may be made to conventional techniques.
Android run time includes a core library and virtual machines.Runtime is responsible for/>Scheduling and management of the 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 isIs a core library of (a).
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media library (media library), three-dimensional graphics processing library (e.g., openGL ES), 2D graphics engine (e.g., SGL), etc.
The kernel layer is a layer between the hardware layer and the software layer. The kernel layer may contain the input device drivers and output device drivers shown in fig. 4. Illustratively, input device drivers such as keyboard drivers, mouse drivers, touch screen drivers, sensor drivers, camera drivers, microphone drivers, and the like; output device drivers such as earphone drivers, speaker drivers, audio drivers, etc.
Illustratively, in some embodiments of the present application, the input operation received by the input device may include a click (e.g., a single click, a double click, etc.) operation/a long press operation/a slide operation/a drag operation/a hover gesture operation, etc., by a user's finger on the touch screen. In other embodiments of the present application, the input operation received by the input device may include a frame selection operation/a long press operation/a click (e.g., a single click, a double click, etc.) operation/a sliding operation/a drag operation, etc. on the touch screen by the user using a stylus, a touch pen, a touch ball, etc. touch assistance tool. Or the input operation received by the input device may be a voice command, etc., and the embodiment of the present application is not limited in detail.
The following will specifically describe an application interface column display method provided by the embodiment of the application with reference to the specific drawings.
The application interface column display method provided by the embodiment of the application can be suitable for the situation that the master interface and the slave interface belong to the same application, and can also be suitable for the situation that the master interface and the slave interface belong to different applications.
In some embodiments, the application interface column display method provided by the embodiment of the application can be suitable for the situation that the master interface and the slave interface belong to different applications.
Referring to fig. 5, fig. 5 illustrates an application interface column display example provided by the embodiment of the present application, in which a main interface is taken as a list interface and the main interface is located on the left side.
As shown in fig. 5, the electronic device includes two windows thereon: a divided master window (hereinafter referred to as master window) and a divided slave window (hereinafter referred to as slave window). Wherein the slave window is displayed in a superimposed manner on the upper layer of the master window. The main window is provided with a main interface H1, the main interface H1 belongs to an application H, and the main interface H1 comprises a button A and a button B. Clicking operation of a button on the main interface H1 by a user triggers corresponding switching of the slave interfaces in the slave window. Assuming that the button a is used to pull up the interface A1 of the application a and the button B is used to pull up the interface B1 of the application B, as shown in (a) of fig. 5, when the main interface H1 is displayed in the main window and the interface A1 of the application a corresponding to the button a is displayed in the sub-window, in response to an operation of clicking the button B in the main interface H1 by the user, as shown in (B) of fig. 5, the interface in the sub-window is switched to the interface B1 of the application B. And in response to the user clicking the button B in the main interface H1, the interface in the main window is refreshed to the main interface H2 shown in (B) of fig. 5, wherein the button B in the main interface H2 is in the selected state.
In the example shown in fig. 5, when the electronic device displays the interface H1 and the interface A1 of the application a in a column, ACTIVITY H corresponding to the interface H1 runs in the task stack 1, and ACTIVITY A corresponding to the interface A1 of the application a runs in the task stack 2. When the electronic equipment displays the interface H2 and the interface B1 of the application B in columns, ACTIVITY H corresponding to the interface H2 runs in the task stack 1, and Activity B1 corresponding to the interface B1 of the application B runs in the task stack 3. Wherein the task stack 1, the task stack 2 and the task stack 3 are different from each other.
As one possible example, the application H shown in fig. 5 may be a setup application, the main interface H1 may be a setup list interface shown in (B) in fig. 2, the application a may be a device manager application, the interface A1 may be a battery interface shown in (B) in fig. 2, or the application B may be a device manager application, and the interface B1 may be a battery interface shown in (B) in fig. 2.
As another possible example, the application H shown in FIG. 5 may beThe main interface H1 may be/>The applet list, application a may be applet a and interface A1 may be the interface of applet a.
It should be noted that, the example shown in fig. 5 only uses the master interface and the slave interface belonging to different applications to run in different task stacks as an example, but the present application is not limited to this, and in other examples, the master interface and the slave interface belonging to different applications may also run in the same task stack.
In other embodiments, the application interface column display method provided by the embodiment of the application can be applied to the situation that the master interface and the slave interface belong to the same application.
Referring to fig. 6, fig. 6 illustrates another example of a column display of an application interface provided by the embodiment of the present application, in which a main interface is taken as a list interface and the main interface is located on the left side.
As shown in fig. 6, the electronic device includes a master window and a slave window thereon. Wherein the slave window is displayed in a superimposed manner on the upper layer of the master window. The main window is provided with a main interface H1, the main interface H1 belongs to an application H, and the main interface H1 comprises a button A and a button H. Clicking operation of a button on the main interface H1 by a user triggers corresponding switching of the slave interfaces in the slave window. Assuming that the button a is used to pull up the interface A1 of the application a and the button H is used to pull up the interface H3 of the application H, as shown in (a) of fig. 6, when the main interface H1 is displayed in the main window and the interface A1 of the application a corresponding to the button a is displayed in the sub-window, in response to an operation of clicking the button H in the main interface H1 by the user, as shown in (b) of fig. 6, the interface in the sub-window is switched to the interface H3 of the application H. And in response to the user clicking the button H in the main interface H1, refreshing the interface in the main window to be the main interface H4 shown in (b) in FIG. 6, wherein the button H in the main interface H4 is in a selected state.
In the example shown in fig. 6, when the electronic device displays the interface H1 and the interface A1 of the application a in a column, ACTIVITY H corresponding to the interface H1 runs in the task stack 1, and ACTIVITY A corresponding to the interface A1 of the application a runs in the task stack 2. When the electronic equipment displays the interface H2 and the interface H3 of the application H in columns, ACTIVITY H corresponding to the interface H2 and ACTIVITY H corresponding to the interface H3 both run in the task stack 1.
As a possible example, the application H shown in fig. 6 may be a setup application, the main interface H1 may be a setup list interface shown in (b) of fig. 2, the button H may be a WLAN option shown in (a) of fig. 2, and the interface H3 may be a WLAN setup interface shown in (a) of fig. 2.
In addition, the examples shown in fig. 5 and 6 only show the slave window superimposed on the upper right side of the master window, and the master interface is located on the left side of the slave interface. For example, the slave window may also be displayed superimposed on the left side, upper side, lower side, or other areas of the master window.
As shown in fig. 5 and fig. 6, when the electronic device displays the master interface and the slave interface in columns, the electronic device may adjust the layout positions of the elements of the master interface in the master window, so that the slave window does not block the elements in the master interface when the slave window is superimposed on the upper layer of the master window.
The process of displaying the application interface in the electronic device column will be described in detail with reference to the specific case of application operation, taking the specific example shown in fig. 5 as an example. For the display process of the application interface in the scene shown in fig. 6, reference may also be made to the following embodiments.
In the example shown in fig. 5, when the main interface H1 is displayed in the main window and the interface A1 of the application a corresponding to the button a is displayed in the slave window, if the electronic device receives the operation of clicking the button B in the main interface H1 by the user, it is assumed that the button B corresponds to the interface B1, and the electronic device will switch the interface in the slave window from the interface A1 of the application a to the interface B1 of the application B.
When the electronic device switches from the interface in the window from the interface A1 of the application a to the interface B1 of the application B, the task stack and the Activity corresponding to the interface B1 need to be pulled up first. This process may exist in cases 1 and 2 below:
Case 1: the background of the electronic equipment does not have task retention of the application B, namely the electronic equipment does not run a task stack of the application B in the background.
For case 1, taking an example that tasks of different applications run in different task stacks, a process of displaying an application interface in a column of an electronic device may specifically include S701-S705 shown in fig. 7:
s701: the electronic device displays the main interface H1 and the interface A1 of the application a in columns.
When the slave window of the electronic device displays the interface A1 of the application a, the button a in the master interface H1 is in a selected state.
S702: the electronic device receives an operation of clicking the button B in the main interface H1 by the user.
It is assumed that the button B corresponds to the interface B1, that is, the user clicks the button B to pull up the interface B1 from the application B.
Illustratively, the operation of clicking the button B in the main interface H1 by the user is as shown in (a) of fig. 5.
S703: the electronic device creates a task stack 3 for the application B and initiates an Activity B1, wherein the Activity B1 runs in the task stack 3.
The task stack 3 created by the electronic device for the application B runs in the foreground of the electronic device, and accordingly, the task stack 2 of the application a runs in the background of the electronic device or ends running.
As an example, the electronic device may call the task stack management service shown in fig. 4 to create a task stack 3 for application B, call the AMS shown in fig. 4 to initiate Activity B1.
S704: the electronic device sets the active state of Activity B1 to the active state.
The electronic device sets the active state of the Activity B1 as an active state for displaying an application interface corresponding to the Activity B1 in the foreground.
As one possible implementation, the electronic device may set the active state of Activity B1 to the active state by executing function onResume () on Activity B1 in the task stack 3 of application B.
Correspondingly, the electronic device may transition ACTIVITY A to background operation by executing function onPause () on ACTIVITY A in task stack 2 of application a to set the active state of ACTIVITY A1 to the suspended state. Or the electronic device can set the active state of ACTIVITY A1 to the end state by executing function onStop () on Activity (including ACTIVITY A1) in the task stack 2 of application a, thereby ending the task stack 2 running application a.
As one example, the electronic device may invoke the lifecycle management service shown in fig. 4 to perform onResume () on Activity B1 to set the Activity state of Activity B1 to an active state; and onPause () is performed on ACTIVITY A1 to set the active state of ACTIVITY A1 to the suspended state, or onStop () is performed on ACTIVITY A1 to set the active state of ACTIVITY A1 to the end state.
It will be appreciated that after the task stack 2 of the application a runs in the background of the electronic device or ends running, the interface A1 of the application a is no longer displayed in the foreground of the electronic device. And when the electronic device sets the Activity state of the Activity B1 to the active state, the interface B1 of the application B can be displayed in the foreground of the electronic device. That is, the electronic device may perform the following S705:
s705: the electronic device displays an interface B1 of the application B. As one example, the electronic device may display interface B1 full screen.
As another example, the electronic device may display the master interface H2 and the slave interface B1 in columns. When the electronic device displays the master interface H2 and the slave interface B1 in columns, the B button in the master interface H2 is in a selected state.
For the case 1, taking the example that tasks of different applications run in the same task stack, when the electronic device displays the main interface H1 and the interface A1 of the application a in columns, in response to receiving an operation of clicking a button B in the main interface H1 by a user, the electronic device runs the Activity B1 in the task stack 2 corresponding to the interface A1, and sets the Activity B1 in an active state, so that the interface B1 of the application B is displayed in full screen or in columns. Case 2: and the background of the electronic equipment has task retention of the application B, namely the background of the electronic equipment runs a task stack of the application B.
In the case where the task of the application B is reserved in the background of the electronic device, according to the number of activities of the reserved application B, the interface size corresponding to the activities may be further specifically classified into the following cases 2.1 to 2.6 shown in table 1:
TABLE 1
It should be noted that, table 1 only shows a few examples of the background task, and other task retention cases may exist, which is not limited by the embodiment of the present application. For example, the background may also have the activities B1 and B2 of the application B, where the Activity B1 is a top-of-stack column Activity and the Activity B2 is a non-top full-screen Activity. For another example, the background may also store the Activity B1 and the Activity B2 of the application B, where the Activity B1 is a full-screen Activity at the top of the stack, and the Activity B2 is a non-top-split-column Activity. For another example, K tasks may be left behind, where K is a positive integer and K > 2.
For the case 2.1 shown in (a) of fig. 8, the electronic device may multiplex the full-screen Activity B1 running in the background and adaptively adjust the interface size of the Activity B1, or may directly multiplex the full-screen Activity B1 running in the background.
In some embodiments, the electronic device may multiplex full screen Activity B1 in the task stack 3 running in the background and adaptively adjust the interface size of Activity B1. For example, the process of displaying the application interface in the electronic device column may specifically include S901-S905 shown in (a) in fig. 9:
S901: the electronic equipment displays the main interface H1 and the interface A1 of the application A in columns, runs the full-screen Activity B1 of the application B in the background, and runs the Activity B1 in the task stack 3.
When the interface A1 of the application a is displayed in the slave window of the electronic device, the button a in the master interface H1 is in a selected state.
S902: the electronic device receives an operation of clicking the button B in the main interface H1 by the user.
It is assumed that the button B corresponds to the interface B1, that is, the user clicks the button B to pull up the interface B1 from the application B.
Illustratively, the operation of clicking the button B in the main interface H1 by the user is as shown in (a) of fig. 5.
S903: the electronic device sets the active state of Activity B1 in the task stack 3 to the active state.
As a possible implementation manner, the electronic device may implement multiplexing of the Activity B1 in the task stack 3 by executing onResume () on the Activity B1 in the task stack 3 to set the active state of the Activity B1 to the active state.
Correspondingly, the electronic device may transition ACTIVITY A to background operation by executing onPause () on ACTIVITY A of task stack 2 of application a to set the active state of ACTIVITY A1 to the suspended state. Or the electronic device may end the task stack 2 running the application a by executing onStop () on the Activity (including ACTIVITY A1) in the task stack 2 of the application a to set the active state of ACTIVITY A1 to the end state.
As one example, the electronic device may invoke the lifecycle management service shown in fig. 4 to perform onResume () on Activity B1 to set the Activity state of Activity B1 to an active state; and onPause () is performed on ACTIVITY A1 to set the active state of ACTIVITY A1 to the suspended state, or onStop () is performed on ACTIVITY A1 to set the active state of ACTIVITY A1 to the end state.
S904: the electronic device modifies the interface size of Activity B1 to a column size.
As one example, the electronic device may invoke the split window management service shown in fig. 4 to modify the interface size of Activity B1 to a split size.
When the full-screen Activity B1 of the application B is stored in the background of the electronic device, if the electronic device receives an operation of clicking the button B in the main interface H1 by the user, whether the electronic device adaptively modifies the interface size corresponding to the Activity B1 may be determined by a built-in program of the electronic device or may be determined according to a selection of the user.
For example, when receiving an operation of clicking the button B in the main interface H1 by the user, if the electronic device background has the full screen Activity B1 of the application B, the electronic device may display a prompt message for the user to select whether to keep the full screen display interface or the column display interface. For example, if the user selects the divided display interface, the electronic apparatus executes S904 and S905.
S905: the electronic device displays an interface B1.
For example, the electronic device may display the main interface H2 and the interface B1 of the application B in columns.
When the slave window of the electronic device displays the interface B1 of the application B, the B button in the master interface H2 is in a selected state.
In other embodiments, the electronic device may multiplex full screen Activity B1 directly in the task stack 3 running in the background. As shown in (b) of fig. 9, the process of the electronic device column display application interface may specifically include S901-S903 and S904' shown in (b) of fig. 9. Wherein in this case, in S904', the electronic apparatus displays the interface B1 full screen. For the case 2.2 shown in (B) of fig. 8, the electronic device may directly multiplex the column Activity B1 running in the background, or multiplex the column Activity B1 running in the background and adaptively adjust the interface size of the Activity B1.
In some embodiments, the electronic device may multiplex the column Activity B1 directly in the task stack 3 running in the background. The process of displaying the application interface in the electronic device columns may include, for example, S1001-S1003 and S1005 shown in fig. 10 (a). Here, S1002 and S1003 shown in (a) of fig. 10 may refer to the description of S902 and S903 above, respectively. S1001 in fig. 10 (a) is: the electronic equipment displays the main interface H1 and the interface A1 of the application A in columns, runs the column Activity B1 of the application B in the background, and runs the Activity B1 in the task stack 3. S1005 in fig. 10 (a) is: the electronic device displays the interface B1 of the application B in columns.
In other embodiments, the electronic device may multiplex the column Activity B1 in the task stack 3 running in the background and adaptively adjust the interface size of the Activity B1. The process of displaying the application interface in the electronic device columns may include, for example, S1001-S1004 and S1005' shown in (b) of fig. 10. Here, S1004 shown in fig. 10 (b) is: the electronic device modifies the interface size of Activity B1 to full screen size. S1005' shown in fig. 10 (b) is: the electronic device displays the interface B1 full screen.
In case 2.2 shown in fig. 8 (B), if the electronic device receives the operation of clicking the button B in the main interface H1 by the user, whether the electronic device adaptively modifies the interface size corresponding to the Activity B1 may be determined by the built-in program of the electronic device or may be determined according to the selection of the user.
For case 2.3 shown in fig. 8 (c), the electronic device can multiplex the column Activity B1 running in the background. Or because the Activity B2 in the background task stack 3 is positioned at the top of the stack, the electronic device can directly run the task stack 3 in the foreground and keep the hierarchy order of the Activity B1 and the Activity B2 in the task stack 3 unchanged, namely the electronic device can multiplex the full-screen Activity B2 running in the background.
As one possible implementation, the electronic device may multiplex full screen Activity B1 running in the background and adapt the interface size of Activity B1. By way of example, the process of displaying the application interface in the electronic device column may specifically include S1101 to S1104 shown in (a) of fig. 11:
S1101: the electronic equipment displays a main interface H1 and an interface A1 of an application A in a column, and runs a non-stack top Activity B1 and a stack top Activity B2 of the application B in the background, wherein the interface of the Activity B1 is a column interface, the interface of the Activity B2 is a full-screen interface, and the Activity B1 and the Activity B2 are both run in a task stack 3.
S1102: the electronic device receives an operation of clicking the button B in the main interface H1 by the user.
S1103: the electronic device sets the active state of Activity B1 to the active state.
Correspondingly, the electronic device may end running Activity B2 or pause running Activity B2.
S1104: the electronic equipment is divided into a column display interface B1.
For example, the electronic device may display the main interface H2 and the interface B1 in columns.
Of course, the embodiment of the application is not limited to the interface size of the interface B1 displayed by the electronic device, and the electronic device may multiplex the Activity B1 and modify the interface size of the Activity B1 to the full-screen size.
When the electronic device multiplexes the Activity B1 running in the background, the electronic device may push the Activity B2 running in the background to the lower layer of the Activity B1 in the task stack 3, or may end running the Activity B2, which is not limited in the present application.
As another possible implementation, the electronic device may directly multiplex the task stack 3 running in the background, and keep the Activity level order in the task stack 3 unchanged. The process of displaying the application interface in the electronic device columns may include, for example, S1101-S1102 and S1103 '-S1104' shown in (b) of fig. 11. Among them, S1103 'and S1104' shown in (b) of fig. 11 are specifically as follows:
S1103': the electronic device runs the task stack 3 in the foreground and keeps the hierarchical order of the activities B1 and B2 within the task stack 3 unchanged.
S1104: the electronic device displays the interface B2 full screen.
Of course, the embodiment of the application also does not limit the interface size of the interface 2 when the electronic device multiplexes the interface 2 corresponding to the Activity B2 at the top of the stack running in the background, and the electronic device can modify the interface 2 with the full-screen size into the column size and display the interface 2 in columns. For example, the electronic device may display the main interface H1 and the interface B2 in columns.
For case 2.4 shown in fig. 8 (d), the electronic device can multiplex the column Activity B1 running in the background. Or because the Activity B2 in the background task stack 3 is positioned at the top of the stack, the electronic device can directly run the task stack 3 in the foreground and keep the hierarchy order of the Activity B1 and the Activity B2 in the task stack 3 unchanged, namely the electronic device can multiplex the full-screen Activity B2 running in the background.
As a possible implementation manner, the electronic device may multiplex the Activity B1 in the task stack 3 running in the background, and adaptively adjust the interface size of the Activity B1. For example, the process of displaying the application interface in the electronic device column may specifically include S1201-S1205 shown in (a) in fig. 12:
S1201: the electronic equipment displays a main interface H1 and an interface A1 of an application A in columns, and runs a non-stack top Activity B1 and a stack top Activity B2 of the application B in the background, wherein the interfaces of the Activity B1 and the Activity B2 are full-screen interfaces, and the Activity B1 and the Activity B2 are run in a task stack 3.
S1202: the electronic device receives an operation of clicking the button B in the main interface H1 by the user.
S1203: the electronic device sets the active state of Activity B1 to the active state.
Correspondingly, the electronic device may end running Activity B2 or pause running Activity B2.
S1204: the electronic device modifies the interface size of Activity B1 to a column size.
S1205: the electronic equipment is divided into a column display interface B1.
For example, the electronic device may display the main interface H2 and the interface B1 in columns.
Of course, the embodiment of the application is not limited to the interface size of the interface B1 displayed by the electronic device, and the electronic device may directly multiplex the Activity B1 without changing the interface size.
As a possible implementation manner, the electronic device may directly multiplex the task stack 3 running in the background, keep the Activity level order in the task stack 3 unchanged, and adaptively adjust the interface size of the Activity B2. The process of displaying the application interface in the electronic device columns may include, for example, S1201-S1202 and S1203 '-S1204' shown in (b) of fig. 12. The specific steps S1203 '-S1204' shown in FIG. 12 (b) are as follows:
S1203': the electronic device foreground runs the task stack 3 and keeps the hierarchical order of the activities B1 and B2 in the task stack 3 unchanged.
S1204': the electronic device displays the interface B2 full screen.
Of course, the embodiment of the application also does not limit the interface size of the interface 2 when the electronic device multiplexes the interface 2 corresponding to the Activity B2 at the top of the stack running in the background, and the electronic device can modify the interface 2 with the full-screen size into the column size and display the interface 2 in columns. For example, the electronic device may display the main interface H1 and the interface B2 in columns.
For the case 2.5 shown in fig. 8 (e), or the case 2.6 shown in fig. 8 (f), the electronic device may multiplex the task stack 3 running in the background, creating the Activity B1 of the application B in the task stack. Or the electronic device may multiplex Activity B2 in the task stack 3.
For the case 2.5 shown in (e) of fig. 8, the electronic device may display the interface B1 corresponding to the newly created Activity B1 in columns, or may display the interface B1 corresponding to the newly created Activity B1 in full screen. Or the electronic device may display the interface B2 corresponding to the Activity B2 reserved in the background in columns, or may display the interface B2 corresponding to the Activity B2 reserved in the background in full screen.
For case 2.6 shown in (f) of fig. 8, the electronic device may display the interface B1 corresponding to the newly created Activity B1 in columns, or may display the interface B1 corresponding to the newly created Activity B1 in full screen. Or the electronic device may display the interface B2 corresponding to the Activity B2 reserved in the background in columns, or may display the interface B2 corresponding to the Activity B2 reserved in the background in full screen.
Taking the case 2.5 shown in (e) of fig. 8 and the case 2.6 shown in (f) of fig. 8 as an example, the electronic device column display process of displaying the interface B1 corresponding to the newly created Activity B1 may specifically include S1301-S1304 shown in (a) of fig. 13:
S1301: the electronic device displays the main interface H1 and the interface A1 of the application a in columns, and runs the Activity B2 of the application B in the background, wherein the Activity B2 is run in the task stack 3.
S1302: the electronic device receives an operation of clicking the button B in the main interface H1 by the user.
S1303: the electronic device starts the Activity B1 in the task stack 3 and sets the active state of the Activity B1 to the active state.
Correspondingly, the electronic device may end running Activity B2 or pause running Activity B2.
S1304: the electronic equipment is divided into a column display interface B1.
For example, the electronic device may display the main interface H2 and the interface B1 in columns.
Taking the case 2.5 shown in fig. 8 (e) as an example, the electronic device directly displays the interface B2 corresponding to the Activity B2 reserved in the background, and the process of displaying the application interface in the electronic device column may specifically include S1301-S1302 and S1303 '-S1304' shown in fig. 13 (B). Here, S1303' shown in (b) of fig. 13 is: the electronic device sets the active state of Activity B2 in the task stack 3 to the active state. S1304' shown in fig. 13 (b) is: the electronic device displays the interface B2 full screen.
Of course, the embodiment of the application also does not limit the interface size of the interface 2 when the electronic device multiplexes the interface 2 corresponding to the Activity B2 at the top of the stack running in the background, and the electronic device can modify the interface 2 with the full-screen size into the column size and display the interface 2 in columns. For example, the electronic device may display the main interface H1 and the interface B2 in columns.
Similarly, in the case 2.5 shown in (e) of fig. 8, the electronic device may directly display the column interface B2 corresponding to the Activity B2 retained in the background, or the electronic device may modify the column-sized interface 2 to be full-sized, and display the interface 2 in full-sized.
It can be understood that, based on the application interface column display method provided by the embodiment of the application, the electronic device can display the main interface and the auxiliary interface which are associated with each other through the columns, so that a user can conveniently select different sub-options in the main interface and rapidly open the corresponding application interface, thereby improving the operation convenience and operation efficiency of the user and improving the flexibility and fluency of the user when switching between different application interfaces.
In addition, in the scheme provided by the embodiment of the application, the electronic equipment can support the activities of independently running the main interface and the slave interface in different task stacks by providing the column state management, the window management, the task stack management, the life cycle management and the like under the column scene, so that when a user opens the application interface in different modes, the electronic equipment supports the normal display of the application interface in a mode of multiplexing the task stack running in the background or multiplexing the Activity running in the background, such as supporting the maintenance of the column display or supporting the smooth switching between the full-screen display and the column display.
Or in the scheme provided by the embodiment of the application, the electronic equipment can support the activities of the electronic equipment for running the main interface and the slave interface in the same task stack by providing the column state management, the window management, the task stack management, the life cycle management and the like under the column scene, and further when a user opens the application interface in different modes, the electronic equipment supports the normal display of the application interface in a mode of multiplexing the activities in the task stack running in the background, such as supporting the maintenance of the column display or supporting the smooth switching between the full-screen display and the column display.
It should be noted that, in addition to the manner of opening the application interface from the column main interface in the above embodiment, the user may also open the application interface on the desktop of the electronic device, or open the application interface from the interface, which is not limited to the specific manner in the present application.
Taking an example of opening an application interface on a desktop of an electronic device by a user, a specific display form of the application interface based on different opening modes of the user will be described in connection with examples 1 to 3. The following example 1 is a switching example of an application interface in a desktop open-a partition main interface open application scene, example 2 is a switching example of an application interface in a partition main interface open-a desktop open application scene, and example 3 is a switching example of an application interface in a hybrid open (e.g., a partition main interface+desktop open) -a desktop open application scene.
Example 1:
In example 1, the electronic device background has a task retention of an application B in full-screen size opened on the desktop, if the user clicks a button corresponding to a certain interface of the application B on the column main interface, as a possibility, if the task retained in the background is a task corresponding to the button, the electronic device may multiplex the task retained in the background, and display the interface corresponding to the button in full-screen or column; as another possibility, if the task reserved in the background is not the task corresponding to the button, the electronic device may multiplex the task stack of the application B reserved in the background, create the task corresponding to the button therein, and display the interface corresponding to the button in columns or display the interface corresponding to the button in full screen; as another possibility, the electronic device may multiplex the background save task, and display the interface corresponding to the background save task in full screen or in columns, regardless of whether the task corresponding to the button is the task corresponding to the background save task.
Taking the scenario shown in the case 2.1 as an example, assume that the Activity B1 of the application B reserved in the background of the electronic device is opened by the user by clicking an application icon on the desktop, and when the electronic device receives the operation of clicking the button B (corresponding to the interface B1) in the main interface H1 by the user in the column division scenario, the electronic device can still normally respond to the operation of the user. For example, the electronic device may multiplex the saved task stack 3 and the Activity B1 therein, and adaptively modify the interface size of the Activity B1 and display the column interface corresponding to the Activity B1 in the foreground, or the electronic device may directly multiplex the saved task stack 3 and the Activity B1 therein, and keep the interface size of the Activity B1 unchanged, and display the interface B1 in the full screen.
Taking the scenario of the case 2.5 as an example, assume that the Activity B2 of the application B reserved in the background of the electronic device is opened by clicking an icon on the desktop by the user, and when the electronic device receives the operation of clicking the button B (corresponding to the interface B1) in the main interface H1 by the user in the split-column scenario, the electronic device can still normally respond to the operation of the user. For example, since the background-saved Activity B2 is not the interface corresponding to the button B1, the electronic device multiplexes the saved task stack 3, creates the Activity B1 of the application B corresponding to the button B therein, and displays the interface B1 in columns or displays the interface B1 in full screen. For another example, the electronic device may directly multiplex the reserved Activity B2, and display the interface B2 corresponding to the Activity B2 in a full screen manner or in a column manner.
Example 2:
In example 2, the electronic device background has task retention of application B of a column size opened on a column interface, if a user clicks an icon of application B on a desktop of the electronic device, as a possibility, if the task retained in the background is a top page of application B, the electronic device may multiplex the background retention task, and display an interface corresponding to the retention task in full screen or column; as another possibility, if the task reserved in the background is not the first page of the application B, the electronic device may multiplex the task stack of the application B reserved in the background, create the task corresponding to the first page of the application B therein, and display the first page of the application B in columns or display the first page of the application B in full screen; as another possibility, the electronic device may multiplex the background-saved task, and display the interface corresponding to the background-saved task in full screen or in columns, regardless of whether the background-saved task is the task corresponding to the above-described button.
Taking the scenario of case 2.2 as an example, as shown in (a) in fig. 14A, (a) in fig. 14B, and (a) in fig. 15, assuming that the Activity B1 of the application B retained in the background of the electronic device is opened by the user in the split-column scenario, when the electronic device receives the operation of clicking the application B icon on the desktop by the user, the electronic device can still normally respond to the operation of the user. For example, assuming that the interface B1 is the top page of the application B, the electronic device may multiplex the saved task stack 3 and the Activity B1 therein, e.g., the electronic device may run the Activity B1 in the task stack 3 in the foreground, and display the interface B1 shown in (B) in fig. 14A in full screen after adaptively modifying the interface size of the Activity B1. For another example, assuming that the interface B1 is the top page of the application B, the electronic device may directly multiplex the saved task stack 3 and the Activity B1 therein, and keep the interface size of the interface B1 unchanged, and display the interface B1 shown in (B) in fig. 14B in columns. As another example, assuming that interface B1 is not the home page of application B, the electronic device may multiplex task stack 3, create a task corresponding to the home page of application B therein, and display the home page of application B full screen as shown in (B) of fig. 15. For another example, assuming that interface B1 is not the home page of application B, the electronic device may multiplex task stack 3, create a task corresponding to the home page of application B therein, and display the home page of application B in columns.
As another example, when the main interface H1 as shown in (a) of fig. 17 is displayed in the main window, and the interface A1 of the application a corresponding to the button a is displayed in the slave window, in response to the user clicking the operation of the "view details" button on the interface A1, the electronic device may multiplex the task stack 2 where ACTIVITY A corresponding to the interface A1 is located, run the next stage ACTIVITY A2 indicated by the "view details" button of the interface A1 therein, and further display the interface A2 as shown in (b) of fig. 17 in the slave window. As an example, for the scenario shown in fig. 17, the electronic device may perform onResume () on ACTIVITY A, and onPause () on ACTIVITY A1 to implement the interface A2 foreground display. Wherein, the hierarchical order of ACTIVITY A and ACTIVITY A1 in the task stack 2 is: ACTIVITY A1 below the ACTIVITY A level, ACTIVITY A2 at the top of the stack. As another example, for the scenario shown in fig. 17, the electronic device may perform onResume () on ACTIVITY A, onStop () on ACTIVITY A1 to end ACTIVITY A1 to implement interface A2 foreground display. Or in other embodiments, when the master interface H1 and the slave interface A1 as shown in (a) of fig. 17 are displayed in the master window, in response to the user clicking on the "view details" button on the interface A1, the electronic device may also support the next-level interface A2 full-screen display indicated by the "view details" button of the interface A1. For example, the electronic device may run full screen ACTIVITY A2 in the task stack 2 directly according to the built-in program of the electronic device. For another example, the electronic device may display a prompt message for the user to select the full screen display interface A2 or the column display interface A2, and run the full screen ACTIVITY A2 in the task stack 2 according to the operation of selecting the full screen display interface A2 by the user. When the interface A2 is displayed in full screen, the task stack 1 where the main interface H1 is located runs in the background, and the main interface H1 is blocked by the interface A2 and is invisible to the user.
Taking the scenario of the case 2.6 as an example, assume that the Activity B2 of the application B reserved in the background of the electronic device is opened by the user in the column division scenario, and when the electronic device receives the operation of clicking the icon of the application B on the desktop by the user, the electronic device can still normally respond to the operation of the user. For example, assuming that the interface B2 is the top page of the application B, the electronic device may multiplex the saved task stack 3 and the Activity B2 therein, e.g. the electronic device may run the Activity B2 in the task stack 3 in the foreground, and adaptively modify the interface size of the Activity B1 to display the interface B2 in full screen. For another example, assuming that the interface B2 is the top page of the application B, the electronic device may directly multiplex the task stack 3 and the Activity B2 therein, and keep the interface size of the interface B2 unchanged, and display the interface B2 in columns. For another example, assuming that interface B2 is not the home page of application B, the electronic device may multiplex task stack 3, create a task corresponding to the home page of application B therein, and display the home page of application B in full screen or in columns.
Taking the scenario shown in fig. 18 as an example, when the main interface H1 shown in (a) of fig. 18 is displayed in the main window and the interface A1 of the application a corresponding to the button a is displayed in the slave window, in response to the user clicking on the interface A1 to open the application B, the electronic device may create a new task stack 3 for running the Activity B1 of the application B, and further display the interface B1 of the application B shown in (B) of fig. 18 in the slave window. As an example, for the scenario shown in fig. 18, the electronic device may go to the task stack 2 where the interface A1 is located to the background run, and run the Activity B1 in the task stack 3 in the foreground to implement the normal display of the interface B1 in the slave window. As another example, for the scenario shown in fig. 18, the electronic device may end the task stack 2 where the running interface A1 is located, and run the Activity B1 in the task stack 3 in the foreground to achieve normal display of the interface B1 in the slave window. Or in other embodiments, for the scenario shown in fig. 18, the electronic device may also display the interface B1 in full screen in response to the user clicking on the interface A1 to open the application B. The electronic device may directly display the interface B1 in full screen according to a built-in program of the electronic device, or may display the interface B1 in full screen according to a selection of a user.
It should be noted that, in the embodiment of the present application, the electronic device may monitor the interface in the slave window, and if the interface in the slave window changes, the electronic device may correspondingly update the selected state of the sub-option in the master window in real time. For example, in the scenario shown in fig. 18, while the electronic device is displaying the interface B1 of the application B shown in (B) in fig. 18 in the slave window in response to the user clicking on the interface A1 to open the application B, the electronic device may update the master interface H1 in the master window in real time, so that the button B corresponding to the application B presents the selected state.
Example 3:
In example 3, the electronic device background has a plurality of task reservations of the application B that are opened in a mixed manner (e.g., a column main interface+desktop opening), if a user clicks an icon of the application B on the desktop of the electronic device, as a possibility, if the plurality of tasks reserved in the background have tasks corresponding to the first page of the application B, the electronic device may directly multiplex the first page of the application B reserved in the background, and display the first page of the application B in a full screen manner or in a column manner; as another possibility, if the task corresponding to the first page of the application B is not available in the plurality of tasks reserved in the background, the electronic device may multiplex the reserved task stack of the application B, create the task corresponding to the first page of the application B therein, and display the first page of the application B in columns or display the first page of the application B in full screen; as another possibility, the electronic device may multiplex the task stack of the application B that is left, regardless of whether there is a task corresponding to the home page of the application B among the plurality of tasks that are left in the background, and keep the hierarchical order among the tasks unchanged, and display the interface corresponding to the task located at the top of the task stack in full screen or in columns.
Taking the scenario of the case 2.3 as an example, as shown in (a) of fig. 16, assuming that the electronic device background has a field-size Activity B1 of an application B opened by a user on a field interface and a full-size Activity B2 of the application B opened by the user on the electronic device desktop, if the user clicks an icon of the application B on the electronic device desktop, as a possibility, if the background-retained Activity B1 or Activity B2 corresponds to a top page of the application B, the electronic device may directly multiplex the top page of the application B retained in the background, and display the top page of the application B in full screen (as shown in (B) of fig. 16) or display the top page of the application B in the field; if the Activity B1 stored in the background corresponds to the first page of the application B, the electronic device can activate the Activity B1 to be located at the stack top of the task stack, and then the first page of the application B is displayed in a full screen manner or in a column manner; if the Activity B2 stored by the platform corresponds to the home page of the application B, the electronic device may keep the hierarchical order of the Activity B1 and the Activity B2 in the task stack unchanged, or close the Activity B1, and further display the interface B1 corresponding to the Activity B2 located at the stack top (i.e., the home page of the application B) in a full screen or in a column. As another possibility, if the interfaces corresponding to the activities B1 and B2 reserved in the background are not the home page of the application B, the electronic device may multiplex the reserved task stack of the application B, create the task corresponding to the home page of the application B therein, and display the home page of the application B in full screen or in columns. As another possibility, the electronic device may multiplex the task stack of the application B that is left in the background, regardless of whether the Activity B1 and the Activity B2 that are left in the background correspond to the home page of the application B, and keep the hierarchical order of the Activity B1 and the Activity B2 unchanged, and display the interface B2 corresponding to the Activity B2 located at the top of the task stack in full screen or in columns.
Taking the scene of the case 2.4 as an example, assuming that the Activity B1 and the Activity B2 of the application B reserved in the background of the electronic device are both opened by clicking an icon on a desktop of the electronic device by a user, if the user clicks the icon of the application B on the desktop of the electronic device, as one possibility, if the Activity B1 or the Activity B2 reserved in the background corresponds to the first page of the application B, the electronic device can directly multiplex the first page of the application B reserved in the background, and display the first page of the application B in a full screen or in a column; if the Activity B1 stored in the background corresponds to the first page of the application B, the electronic device can activate the Activity B1 to be located at the stack top of the task stack, and then the first page of the application B is displayed in a full screen manner or in a column manner; if the Activity B2 stored by the platform corresponds to the home page of the application B, the electronic device may keep the hierarchical order of the Activity B1 and the Activity B2 in the task stack unchanged, or close the Activity B1, and further display the interface B1 corresponding to the Activity B2 located at the stack top (i.e., the home page of the application B) in a full screen or in a column. As another possibility, if the interfaces corresponding to the activities B1 and B2 reserved in the background are not the home page of the application B, the electronic device may multiplex the reserved task stack of the application B, create the task corresponding to the home page of the application B therein, and display the home page of the application B in full screen or in columns. As another possibility, the electronic device may multiplex the task stack of the application B that is left in the background, regardless of whether the Activity B1 and the Activity B2 that are left in the background correspond to the home page of the application B, and keep the hierarchical order of the Activity B1 and the Activity B2 unchanged, and display the interface B2 corresponding to the Activity B2 located at the top of the task stack in full screen or in columns.
It is to be understood that the various aspects of the embodiments of the application may be used in any reasonable combination, and that the explanation or illustration of the various terms presented in the embodiments may be referred to or explained in the various embodiments without limitation.
It should also be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application.
It is to be understood that, in order to implement the functions of any of the above embodiments, the electronic device includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application can divide the functional modules of the electronic equipment, for example, each functional module can be divided corresponding to each function, and two or more functions can be integrated in one processing module. The integrated modules may be implemented in hardware or in software functional modules. For example, as shown in fig. 19, the electronic device may include a processing unit 1910, a storage unit 1920, and a display unit 1930. It should be noted that, in the embodiment of the present application, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
It should also be appreciated that the various modules in the electronic device may be implemented in software and/or hardware, as not specifically limited. In other words, the electronic device is presented in the form of functional modules. A "module" herein may refer to an application specific integrated circuit ASIC, an electronic circuit, a processor and memory that execute one or more software or firmware programs, an integrated logic circuit, and/or other devices that can provide the described functionality.
In an alternative, when data transmission is implemented using software, it may be implemented wholly or partly in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are fully or partially implemented. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wired (e.g., coaxial cable, fiber optic, digital subscriber line ((digital subscriber line, DSL)), or wireless (e.g., infrared, wireless, microwave, etc.), the computer-readable storage medium may be any available medium that can be accessed by the computer or a data storage device such as a server, data center, etc., that contains an integration of one or more available media, the available media may be magnetic media, (e.g., floppy disk, hard disk, tape), optical media (e.g., digital versatile disk (digital video disk, DVD)), or semiconductor media (e.g., solid state disk Solid STATE DISK (SSD)), etc.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware or in software instructions executed by a processor. The software instructions may be comprised of corresponding software modules that may be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. In addition, the ASIC may reside in an electronic device. The processor and the storage medium may reside as discrete components in an electronic device.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above.

Claims (16)

1. An application interface column display method, which is characterized by comprising the following steps:
The method comprises the steps that the electronic equipment runs a first task belonging to a first application in a first task stack, runs a second task belonging to a second application in a second task stack, and displays a first interface corresponding to the first task and a second interface corresponding to the second task in columns, wherein the first interface and the second interface are related to each other;
responding to user operation, the electronic equipment displays a third interface corresponding to a third task, wherein the third task corresponding to the third interface runs in the second task stack or the third task stack, and the application to which the third task belongs is different from the application to which the first task belongs.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
The first interface comprises options corresponding to the third task, and the user operation is as follows: and clicking the option corresponding to the third task on the first interface by the user.
3. The method of claim 1, wherein the step of determining the position of the substrate comprises,
The second interface comprises options corresponding to the third task, and the user operation is as follows: and clicking the option corresponding to the third task on the second interface by the user.
4. The method of claim 1, wherein the user operation is: and clicking the application icon corresponding to the third task on the desktop by the user.
5. The method of any of claims 1-4, wherein the electronic device displaying a third interface corresponding to a third task comprises:
and the electronic equipment displays the first interface and the third interface in columns.
6. The method of claim 5, wherein the step of determining the position of the probe is performed,
The first interface comprises options corresponding to the third task, and when the electronic equipment displays the first interface and the third interface in a column, the options corresponding to the third task in the first interface are updated to be in a selected state in real time.
7. The method of claim 5 or 6, wherein the electronic device columns display the first interface and the third interface, comprising:
When the background of the electronic equipment has task retention corresponding to a third interface with full-screen size, the electronic equipment modifies the interface size of the third interface into a column division size; or alternatively
When the task corresponding to the third interface does not exist in the background of the electronic equipment, the electronic equipment creates the third task, wherein the interface size of the third interface corresponding to the third task is a column division size.
8. The method of any of claims 1-4, wherein the electronic device displaying a third interface corresponding to a third task comprises:
And the electronic equipment displays the third interface in a full screen mode.
9. The method of claim 8, wherein the user operation is an operation that a user clicks an application icon corresponding to the third task on a desktop, and wherein the electronic device displays the third interface in full screen, comprising:
when a task corresponding to a third interface with a column size exists in the background of the electronic equipment, the electronic equipment modifies the interface size of the third interface into a full-screen size; or alternatively
And when the background of the electronic equipment does not have the task corresponding to the third interface, the electronic equipment creates the third task, wherein the interface size of the third interface corresponding to the third task is full-screen size.
10. The method of claim 9, wherein the second interface is a home page of the second application, the third task also belongs to the second application, the user operation is an operation that a user clicks an application icon of the second application on a desktop, and the electronic device displays the third interface in full screen, including:
And multiplexing a second task corresponding to the second interface by the electronic equipment, and modifying the interface size of the second interface into a full-screen size and displaying the full-screen size.
11. The method of claim 9, wherein the second interface is a non-home page of the second application, the third task also belongs to the second application, the user operation is an operation that a user clicks an application icon of the second application on a desktop, and the electronic device displays the third interface in full screen, comprising:
And the electronic equipment creates a third task corresponding to the first page of the second application in the second task stack and then displays the third interface corresponding to the third task in a full screen mode.
12. The method of any of claims 1-11, wherein after the electronic device runs a third task in the second task stack or the third task stack, the method further comprises:
and the electronic equipment sets the state of the third task to be an activated state so as to support the electronic equipment to display the third interface.
13. An electronic device, the electronic device comprising:
a communication interface for communicating with other electronic devices;
A memory for storing computer program instructions;
A processor for executing the computer program instructions to support the electronic device to implement the method of any one of claims 1-12.
14. A computer readable storage medium, characterized in that it has stored thereon computer program instructions which, when executed by a processing circuit, implement the method according to any of claims 1-12.
15. A computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any of claims 1-12.
16. A chip system, comprising a processing circuit, a storage medium having computer program instructions stored therein; the computer program instructions, when executed by the processing circuitry, implement the method of any of claims 1-12.
CN202211511336.5A 2022-11-29 2022-11-29 Application interface column display method and electronic equipment Pending CN118113180A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211511336.5A CN118113180A (en) 2022-11-29 2022-11-29 Application interface column display method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211511336.5A CN118113180A (en) 2022-11-29 2022-11-29 Application interface column display method and electronic equipment

Publications (1)

Publication Number Publication Date
CN118113180A true CN118113180A (en) 2024-05-31

Family

ID=91216587

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211511336.5A Pending CN118113180A (en) 2022-11-29 2022-11-29 Application interface column display method and electronic equipment

Country Status (1)

Country Link
CN (1) CN118113180A (en)

Similar Documents

Publication Publication Date Title
CN113553014B (en) Application interface display method under multi-window screen projection scene and electronic equipment
WO2021027747A1 (en) Interface display method and device
WO2021159922A1 (en) Card display method, electronic device, and computer-readable storage medium
CN110119296B (en) Method for switching parent page and child page and related device
US11404021B2 (en) Electronic device and method of processing notification in electronic device
US10310722B2 (en) Method and electronic device for controlling scroll speed of content
CN111225108A (en) Communication terminal and card display method of negative screen interface
CN114047867B (en) Suspended window display method and electronic equipment
WO2021175272A1 (en) Method for displaying application information and related device
CN113485627A (en) Display method of application window and terminal
US11989385B2 (en) Cursor display method and electronic device
WO2022179249A1 (en) Function page display method and electronic device
CN115480670A (en) Navigation bar display method, navigation bar display method and first electronic equipment
WO2023005751A1 (en) Rendering method and electronic device
WO2022206848A1 (en) Method and device for displaying application widget
CN118113180A (en) Application interface column display method and electronic equipment
WO2024104131A1 (en) Method for gaining window focus in multi-window scenario, device and system
WO2023045774A1 (en) Display method and electronic device
CN116185245B (en) Page display method and electronic equipment
CN116204093B (en) Page display method and electronic equipment
WO2024140560A1 (en) Control method, and device
US20240236227A9 (en) Information display method and electronic device
WO2023051354A1 (en) Split-screen display method and electronic device
WO2023020339A1 (en) Interface display method and electronic device
US20240086035A1 (en) Display Method and Electronic Device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination