Multi-task center display method and electronic device
By filtering application information before displaying it in the multitasking center and displaying pages based on conditions, the problem of blank and repetitive pages on electronic devices is solved, improving the display effect and protecting user privacy.
Patent Information
- Application Number
- CN202411747106.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2026-05-29
AI Technical Summary
When electronic devices display a multitasking center interface, incomplete or missing application information may lead to abnormal display issues such as blank pages, duplicate pages, or leakage of user privacy information, affecting the user experience.
Before displaying the multitasking center, the electronic device filters application information according to preset display conditions and only displays the application page when the conditions are met. The conditions include application name, icon, completeness of interface screenshot and privacy level, and blurs applications involving privacy.
It effectively avoids blank pages and duplicate displays, protects user privacy, and improves the display effect and user experience of the multitasking center.
Smart Images

Figure CN122111278A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminal technology, and in particular to a multi-task center display method and electronic device. Background Technology
[0002] The multitasking center function provided by electronic devices is used to manage the applications currently running on the electronic device. For example, a user can trigger the electronic device to display the multitasking center interface, and the electronic device can display an application snapshot of the currently running application on the multitasking center interface. A user can select an application on the multitasking center interface to trigger the application to run in the foreground on the electronic device, or a user can trigger the closure of an application on the multitasking center interface.
[0003] In some scenarios, when an electronic device displays a multitasking center interface, it needs to obtain application information of the currently running application, such as the application's name, icon, and screenshots. The electronic device displays the application information in the multitasking center without filtering or processing it, which may lead to abnormal display of the multitasking center, such as displaying a blank page, thus affecting the user experience. Summary of the Invention
[0004] This application provides a multitasking center display method and electronic device to improve the display effect of the multitasking center.
[0005] In a first aspect, this application provides a method for displaying a multitasking center. This method can be executed by an electronic device. In this method, in response to a user's first operation, the electronic device obtains application information of at least one application running on the electronic device. The first operation is used to trigger the electronic device to display the multitasking center. The application information of the at least one application includes the application information of the first application. The electronic device determines whether the application information of the first application meets preset display conditions. If the application information of the first application meets the preset display conditions, the electronic device displays the page corresponding to the first application in the multitasking center. Or, if the application information of the first application does not meet the preset display conditions, the electronic device does not display the page corresponding to the first application in the multitasking center.
[0006] In the above method, when an electronic device displays an application page in the multitasking center, it can determine whether to display the corresponding application page in the multitasking center based on preset display conditions. Only when the application information meets the preset display conditions will the corresponding application page be displayed in the multitasking center. This avoids display problems such as blank pages and missing key information that may occur when the electronic device directly displays the application page in the multitasking center based on the obtained application information.
[0007] In one possible design, the display conditions include at least one of the following: the application information of the first application includes the application name of the first application; the application information of the first application includes the application icon of the first application; the application information of the first application includes a screenshot of the application interface of the first application. With this design, when the electronic device determines that the application information does not include the application name, or does not include the application icon, or does not include a screenshot of the complete application interface, the electronic device will not display the application's page in the multitasking center. This ensures that the application pages displayed in the multitasking center all include complete information and avoid abnormal display problems such as blank pages.
[0008] In one possible design, the display conditions include at least one of the following: the privacy level of the first application meets a preset condition; the privacy level of the application interface of the first application meets a preset condition. Optionally, the preset condition can be a requirement for a privacy level, such as the preset condition allowing applications or application interfaces with low privacy levels to be displayed in the multitasking center. Through this design, for applications involving user privacy, the electronic device can only display the corresponding page of the application in the multitasking center when the privacy level of the application or application interface meets the preset condition, thereby preventing the leakage of user privacy information in the application interface screenshot when the corresponding page of the application is displayed in the multitasking center.
[0009] In one possible design, displaying the page corresponding to the first application in the multitasking center includes: blurring a screenshot of the first application's interface based on the privacy level of the first application or the privacy level of the application's interface; and displaying the page corresponding to the first application in the multitasking center, wherein the page includes the blurred screenshot of the first application's interface. This design allows electronic devices to further ensure user privacy and security when displaying pages of applications involving user privacy in the multitasking center, by blurring the application's interface screenshot before display.
[0010] In one possible design, displaying the page corresponding to the first application in the multitasking center includes: when the application information of the at least one application includes multiple application information corresponding to multiple application interfaces of the first application, selecting at least one application information from the multiple application information, and displaying the page corresponding to the at least one application interface of the first application in the multitasking center based on the at least one application information. With this design, when the electronic device obtains multiple application information of the first application, it can select at least one application information from the multiple application information and display the page corresponding to at least one application information in the multitasking center, thereby avoiding displaying too many pages of the same application in the multitasking center and affecting the display effect.
[0011] In one possible design, the at least one application interface includes the application interface most recently used by the user among the plurality of application interfaces, and / or the application interface most frequently used by the user among the plurality of application interfaces.
[0012] In one possible design, when an electronic device selects at least two application information items from multiple application information items in a first application, the application interface types of at least two application interfaces corresponding to the at least two application information items are different. This design avoids displaying pages corresponding to duplicate application interface types in the multitasking center, preventing the display of too many similar pages from affecting the display effect.
[0013] In one possible design, before determining whether the first application information of the first application meets the preset display conditions, the method further includes: determining the privacy level of the first application based on the stored correspondence between applications and privacy levels, or determining the privacy level of the application interface of the first application based on the stored correspondence between application interfaces and privacy levels; or determining the privacy level of the first application based on the first field in the first application information of the first application, or determining the privacy level of the application interface of the first application based on the first field.
[0014] In one possible design, the preset display conditions are either system-preconfigured or user-defined. This design allows the electronic device to provide system-preconfigured display conditions, or allows users to customize display conditions to meet their individual needs.
[0015] Secondly, this application provides an electronic device comprising multiple functional modules; the multiple functional modules interact to implement the methods performed by the electronic device in any of the above aspects and their respective embodiments. The multiple functional modules can be implemented based on software, hardware, or a combination of software and hardware, and the multiple functional modules can be arbitrarily combined or divided based on specific implementations.
[0016] Thirdly, this application provides an electronic device including at least one processor and at least one memory, wherein the at least one memory stores computer program instructions, and when the electronic device is running, the at least one processor executes any of the above aspects and the methods executed by the electronic device in its various embodiments.
[0017] Fourthly, this application also provides a computer program product containing instructions that, when the computer program product is run on a computer, cause the computer to perform the method executed by the electronic device in any of the above aspects and embodiments.
[0018] Fifthly, this application also provides a computer-readable storage medium storing a computer program that, when executed by a computer, causes the computer to perform the method executed by the electronic device in any of the above aspects and embodiments.
[0019] Sixthly, this application also provides a chip for reading a computer program stored in a memory and executing the method executed by the electronic device in any of the above aspects and embodiments.
[0020] Seventhly, this application also provides a chip system including a processor for supporting a computer device in implementing the methods executed by electronic devices in any of the above aspects and their embodiments. In one possible design, the chip system further includes a memory for storing programs and data necessary for the computer device. The chip system may be composed of chips or may include chips and other discrete devices. Attached Figure Description
[0021] Figure 1 This is a schematic diagram of the display interface of the multi-task center provided in an embodiment of this application;
[0022] Figure 2 This is a schematic diagram illustrating an abnormal display of a multitasking center on an electronic device.
[0023] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;
[0024] Figure 4 A software structure block diagram of an electronic device provided in an embodiment of this application;
[0025] Figure 5 A schematic diagram of a multi-task center provided in an embodiment of this application;
[0026] Figure 6 A schematic diagram of a multi-task center interface provided in an embodiment of this application;
[0027] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;
[0028] Figure 8 This application provides a method for displaying a multi-task center. Detailed Implementation
[0029] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the embodiments of this application will be further described in detail below with reference to the accompanying drawings. In the description of the embodiments of this application, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined with "first" and "second" may explicitly or implicitly include one or more of that feature.
[0030] It should be understood that in the embodiments of this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c can be single or multiple.
[0031] The multitasking center function provided by electronic devices is used to manage the applications currently running on the electronic device, such as... Figure 1 This is a schematic diagram of the display interface of the multi-task center provided in an embodiment of this application. (Refer to...) Figure 1 The multitasking center displays a page showing currently running applications on an electronic device. This page includes the application's name, icon, and a screenshot of the application interface. Users can select an application in the multitasking center to run it in the foreground, or they can close an application by swiping up on the application page.
[0032] In some scenarios, when an electronic device displays a multitasking center, it needs to obtain application information of the currently running application, such as the application's name, icon, and screenshots. The device then displays the application information in the multitasking center without filtering or processing it. If the application interface is a transitional screen between different interfaces, or if there is an underlying error when the device obtains application information, such as an interrupted interface transmission or other data transmission anomalies, the obtained application information may be incomplete. Similarly, incomplete application interface parameter configurations can also lead to missing application information, such as missing application names, icons, or screenshots. In these cases, when the device displays the application page in the multitasking center based on this information, incomplete display issues may occur, such as displaying a blank page, negatively impacting the user experience.
[0033] In other scenarios, the custom launch methods of some applications installed on electronic devices may result in multiple task stacks corresponding to the application during its operation. When the electronic device obtains the application information of the application, it may obtain information from multiple application interfaces. Among these multiple application interfaces, there may be duplicate interfaces. When the electronic device displays the application's page in the multitasking center, it may display two identical pages, which affects the user experience.
[0034] For example, Figure 2 This is a schematic diagram illustrating an abnormal display of a multitasking center on an electronic device. (Reference) Figure 2 In clause (a), when the application information obtained by the electronic device does not include the application name, the application name cannot be displayed on the page shown by the electronic device; see reference. Figure 2 In (b) of this clause, when the application information obtained by the electronic device does not include screenshots of the application interface, the electronic device displays a blank page in the multitasking center; see reference. Figure 2 In (c), the electronic device obtains information about multiple application interfaces of the social application from multiple task stack interfaces. Among the multiple application interfaces, there are two duplicate application interfaces. The electronic device displays the two duplicate pages corresponding to the social application in the multi-task center.
[0035] To address the above problems, this application provides a multi-task center display method, which can be executed by an electronic device. In this method, in response to a user's first operation, application information of at least one application running on the electronic device is obtained. The first operation triggers the electronic device to display a multi-task center interface. The application information of the at least one application includes the application information of a first application. The electronic device determines whether the application information of the first application meets preset display conditions. If the application information of the first application meets the preset display conditions, the electronic device displays the page corresponding to the first application in the multi-task center; or if the application information of the first application does not meet the preset display conditions, the electronic device does not display the page corresponding to the first application in the multi-task center. Through this solution, when the electronic device displays an application page in the multi-task center, it can filter the obtained application information according to preset display conditions to determine whether to display the corresponding page of the application in the multi-task center, avoiding display problems such as blank pages and missing key information that may occur when the electronic device directly displays the application page in the multi-task center based on the obtained application information.
[0036] The following describes an electronic device and embodiments for using such an electronic device. The electronic device in this application embodiment includes a touchscreen, such as a foldable full-touchscreen laptop, tablet, mobile phone, in-vehicle device, augmented reality (AR) / virtual reality (VR) device, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), wearable device, etc. This application embodiment does not limit the specific type of electronic device.
[0037] In some embodiments of this application, the electronic device may also be a portable terminal device that includes other functions such as a personal digital assistant and / or a music player. Exemplary embodiments of the portable terminal device include, but are not limited to, devices equipped with... Or portable terminal devices with other operating systems.
[0038] Figure 3 This is a schematic diagram of the structure of an electronic device 100 provided in an embodiment of this application. Figure 3As shown, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
[0039] Processor 110 may include one or more processing units, such as an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors. The controller may serve as the central nervous system and command center of the electronic device 100. The controller can generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution. Processor 110 may also include memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that processor 110 has recently used or is repeatedly used. If processor 110 needs to reuse an instruction or data, it can directly retrieve it from the memory. This avoids repeated access, reduces the waiting time of processor 110, and thus improves system efficiency.
[0040] USB interface 130 is a USB standard compliant interface, specifically a Mini USB interface, Micro USB interface, USB Type-C interface, etc. USB interface 130 can be used to connect a charger to charge electronic device 100, and can also be used for data transfer between electronic device 100 and peripheral devices. Charging management module 140 receives charging input from the charger. Power management module 141 connects battery 142, charging management module 140, and processor 110. Power management module 141 receives input from battery 142 and / or charging management module 140, providing power to processor 110, internal memory 121, external memory, display 194, camera 193, and wireless communication module 160, etc.
[0041] The wireless communication function of electronic device 100 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor, and baseband processor. Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.
[0042] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.
[0043] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0044] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling electronic device 100 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).
[0045] The display screen 194 is used to display the display interface of an application, such as the display page of an application installed on the electronic device 100. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1.
[0046] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.
[0047] Internal memory 121 can be used to store computer executable program code, which includes instructions. Processor 110 executes various functional applications and data processing of electronic device 100 by running the instructions stored in internal memory 121. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system and software code for at least one application program. The data storage area may store data generated during the use of electronic device 100 (e.g., captured images, recorded videos, etc.). Furthermore, internal memory 121 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
[0048] The external storage interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, images, videos, and other files can be saved on the external memory card.
[0049] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.
[0050] The sensor module 180 may include a pressure sensor 180A, an acceleration sensor 180B, a touch sensor 180C, etc.
[0051] The pressure sensor 180A is used to sense pressure signals and can convert the pressure signals into electrical signals. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194.
[0052] Touch sensor 180C, also known as a "touch panel," can be located on display screen 194. The touch sensor 180C and display screen 194 together form a touchscreen, also known as a "touch screen." Touch sensor 180C detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180C may also be located on the surface of electronic device 100, in a different position than display screen 194.
[0053] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch buttons. Electronic device 100 can receive button inputs and generate key signal inputs related to user settings and function control. Motor 191 can generate vibration alerts. Motor 191 can be used for incoming call vibration alerts or for touch vibration feedback. For example, touch operations applied to different applications (such as taking photos, audio playback, etc.) can correspond to different vibration feedback effects. Touch vibration feedback effects can also be customized. Indicator 192 can be an indicator light, used to indicate charging status, battery level changes, or to indicate messages, missed calls, notifications, etc. SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to achieve contact and separation with electronic device 100.
[0054] Understandable, Figure 3The components shown do not constitute a specific limitation on the electronic device 100. The electronic device may also include more or fewer components than shown, or combine some components, or separate some components, or have different component arrangements. Furthermore, Figure 3 The combination / connection relationships between the components can also be adjusted and modified.
[0055] Figure 4 This is a software structure block diagram of an electronic device provided in an embodiment of this application. For example... Figure 4 As shown, the software architecture of an electronic device can be a layered architecture. For example, the software can be divided into several layers, each with a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the operating system is divided into four layers, from top to bottom: the application layer, the application framework layer (framework, FWK), the runtime and system libraries, and the kernel layer.
[0056] The application layer can include a series of application packages. For example... Figure 4 As shown, the application layer can include the camera, settings, skin modules, user interface (UI), and third-party applications. Third-party applications can include gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, SMS, and a multitasking center. The multitasking center can be a system application for the electronic device, used to display information about the applications currently running on the device.
[0057] The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer can include some predefined functions. For example... Figure 4 As shown, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and capability manager service (AMS).
[0058] The window manager is used to manage windowed applications. It can obtain the screen size, determine if a status bar is present, lock the screen, and capture screenshots. The content provider stores and retrieves data, making this data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.
[0059] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.
[0060] A phone manager is used to provide communication functions for electronic devices. For example, it manages call status (including connection and disconnection).
[0061] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.
[0062] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of completed downloads or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.
[0063] In this embodiment of the application, AMS can be used to manage tasks running in the application, such as obtaining application information from the task stack currently running in the application and sending the obtained application information to the multi-task center so that the multi-task center can display the page corresponding to the application based on the application information.
[0064] The runtime includes the core libraries and the virtual machine. The runtime is responsible for the scheduling and management of the operating system.
[0065] The core library consists of two parts: one part contains the functionalities that the Java language needs to call, and the other part contains the core libraries of the operating system. The application layer and application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0066] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), image processing libraries, etc.
[0067] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.
[0068] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.
[0069] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0070] A 2D graphics engine is a graphics engine for 2D drawing.
[0071] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.
[0072] The hardware layer can include various types of sensors, such as accelerometers, gyroscopes, and touch sensors.
[0073] It should be noted that, Figure 3 and Figure 4 The structure shown is merely an example of an electronic device provided in this application embodiment and is not intended to limit the electronic device provided in this application embodiment in any way. In specific implementations, the electronic device may have a more advanced design than... Figure 3 or Figure 4 The structure shown may contain more or fewer devices or modules.
[0074] The multi-task center display method provided in the embodiments of this application is described below.
[0075] In this embodiment, in response to a user's first operation, the electronic device obtains application information of at least one currently running application. The first operation is used to activate a multitasking center, i.e., to trigger the electronic device to display the multitasking center interface. After detecting the first operation, the electronic device can determine at least one currently running application. This application includes both foreground and background applications. The electronic device can obtain application information for at least one application through the interfaces provided by each application. The application information for each application may include the application name, application icon, and a screenshot of the application interface.
[0076] Before displaying an application's page in the multitasking center interface, the electronic device can determine at least one target application that can be displayed in the multitasking center from at least one application, based on preset display conditions and at least one piece of application information obtained. Optionally, the preset display conditions can be system-configured or user-defined conditions. These preset conditions can be used to filter applications displayed in the multitasking center. For example, preset display conditions may include at least one of the following: the application information includes the application name; the application information includes the application icon; the application information includes a screenshot of the complete application interface; the application's privacy level meets preset conditions; the application's interface privacy level meets preset conditions, etc. After obtaining the application information of at least one application, the electronic device can compare the application information of at least one application with the preset display conditions, and then filter at least one target application that can be displayed in the multitasking center from at least one application. Taking the application information of at least one application obtained by the electronic device, including the application information of the first application, as an example, the electronic device can determine whether the application information of the first application meets the preset display conditions. When the application information of the first application meets the preset display conditions, the electronic device displays the page corresponding to the first application in the multi-task center; when the application information of the first application does not meet the preset display conditions, the electronic device does not display the page corresponding to the first application in the multi-task center.
[0077] After identifying at least one target application that can be displayed in the multitasking center interface, the electronic device displays a page corresponding to at least one target application in the multitasking center based on the application information of the at least one target application. Each page corresponding to a target application may include the application name, application icon, and a screenshot of the application interface. For example, refer to... Figure 1 Taking the display of the gallery app's corresponding page and the social app's corresponding page in the multitasking center interface as an example, users can swipe left and right in the multitasking center interface to view the pages corresponding to different apps.
[0078] In some examples of this application, the preset display conditions include: the application information includes the application name, the application information includes the application icon, and the application information includes a screenshot of the complete application interface. After the electronic device obtains the application information, it can determine whether the application information includes the application name, application icon, and a screenshot of the complete application interface based on different fields in the application information. A complete application interface refers to an application interface that is not a transitional or blank interface. When the electronic device determines that the application information does not include the application name, application icon, or a screenshot of the complete application interface, the electronic device will not display the application's page in the multitasking center. This ensures that the pages corresponding to the applications displayed in the multitasking center all include complete information and avoid abnormal display issues such as blank pages.
[0079] In some scenarios, when an application on an electronic device is running, taking the first application as an example, if a user opens multiple application interfaces of the first application, the first application may have multiple task stacks. Therefore, when the electronic device obtains application information for the first application, it may obtain multiple application information entries, each corresponding to an application interface. When the electronic device displays the page corresponding to the first application in the multi-task center, it can select at least one application information entry from the multiple application information entries for the first application and display at least one page corresponding to the first application in the multi-task center based on the selected entry.
[0080] In one optional implementation, when the electronic device selects at least one application from multiple application information of a first application, it can filter duplicate application interfaces among the multiple application interfaces corresponding to the acquired application information. For example, the electronic device can determine whether multiple application interfaces are the same based on the application interface path and name in the acquired application information, and filter the identical application interfaces among the multiple application interfaces, displaying the page corresponding to any one of the duplicate application interfaces in the multi-task center interface. For instance, when the electronic device supports dual-app functionality, taking a social application as an example, if a user clicks to run the social application twice on the electronic device, and each time the user selects to display the same chat interface, the electronic device will acquire two application information corresponding to two identical chat interfaces when acquiring the application information of the social application. The electronic device can filter the multiple application information corresponding to multiple duplicate application interfaces of the same application, retaining only one application information among the multiple application information corresponding to multiple duplicate application interfaces. In this way, when the electronic device acquires application information corresponding to multiple identical application interfaces, it can filter the multiple identical application interfaces, retaining only the page corresponding to one application interface in the multi-task center, ensuring the cleanliness of the multi-task center interface.
[0081] Optionally, when the electronic device selects at least one application information from multiple application information of the first application and displays at least one page corresponding to the first application in the multi-task center based on the at least one application information, the number of pages corresponding to the same application that the multi-task center can display can be a system-preconfigured or user-defined value. Optionally, the at least one application interface corresponding to the at least one application information selected by the electronic device may include the application interface most recently used by the user among multiple application interfaces, and / or the application interface most frequently used by the user.
[0082] In some examples, when an electronic device selects at least two application information items from multiple application information items of a first application, the at least two application interfaces corresponding to these at least two application information items can be application interfaces of different types. For example, when an electronic device obtains multiple application information items of a social application, including application information 1, application information 2, and application information 3, where application information 1 corresponds to chat interface 1, application information 2 corresponds to chat interface 2, and application information 3 corresponds to a shopping interface, the electronic device can select application information 3 and application information 1 from the multiple application information items, or the electronic device can select application information 3 and application information 2, thereby avoiding the display of pages corresponding to duplicate types of application interfaces in the multitasking center and preventing the display effect from being affected by displaying too many similar pages in the multitasking center. Optionally, when an electronic device obtains multiple application interfaces of the same type among multiple application interfaces of the same application, the at least one application interface selected by the electronic device can include the application interface with the highest user frequency among the multiple application interfaces of the same type, the application interface recently used by the user, or the user's preset user interface. For example, multiple chat interfaces of a social application can be set to be displayed, while only one shopping interface of the social application can be displayed. For example, if an electronic device obtains application information from multiple chat interfaces of a social application, it can select the chat interface that the user has recently used from among the multiple chat interfaces.
[0083] For example, Figure 5 This is a schematic diagram of a multi-task center provided in an embodiment of this application, with reference to... Figure 5 When an electronic device obtains multiple application information from a social application, each application information corresponds to an application interface. For example, if the electronic device obtains application information corresponding to chat interface 1, chat interface 2, and shopping interface 1, where shopping interface 1 is the user's most recently used application interface, chat interface 1 and chat interface 2 are application interfaces of the same type, and the user's most recently used application interface among chat interface 1 and chat interface 2 is chat interface 1, then refer to... Figure 5 The electronic device can select application information from shopping interface 1 and application information from chat interface 1, and display the corresponding pages of shopping interface 1 and chat interface 1 in the multi-task center.
[0084] In this way, when an electronic device obtains application information corresponding to multiple different application interfaces of the same application, the electronic device can filter out at least one application interface from the multiple application interfaces and display the page corresponding to the at least one application interface in the multi-task center interface, thereby preventing too many interfaces of the same application from being displayed in the multi-task center interface, which would affect the user experience.
[0085] In some embodiments of this application, some applications in the electronic device may involve user privacy information. The preset display conditions may further include ensuring that the application privacy level meets a preset condition. For example, the application privacy level may include high privacy level, medium privacy level, and low privacy level. For example, ensuring the application privacy level meets a preset condition may mean that the application privacy level is not higher than the low privacy level. Therefore, after the electronic device obtains the application information of a first application, if the privacy level of the first application is high or medium, the electronic device will not display the page corresponding to the first application in the multi-task center. If the privacy level of the first application is low, the electronic device can display the page corresponding to the first application in the multi-task center. Optionally, when the electronic device obtains multiple application information of the first application, if the privacy level of the first application does not meet the preset condition, then the multiple application interfaces corresponding to the multiple application information will not be displayed in the multi-task center.
[0086] In some examples, when an electronic device displays a page corresponding to a first application containing privacy information in a multitasking center, the device can blur the screenshot of the first application's interface. For instance, the electronic device can blur the screenshot based on the privacy level of the first application and display the corresponding page in the multitasking center, including the blurred screenshot. Optionally, when the first application has a high privacy level, the electronic device can perform high-level blurring on the screenshot; when the first application has a medium privacy level, the electronic device can perform medium-level blurring; and when the first application has a low privacy level, the electronic device can perform low-level blurring.
[0087] Optionally, the electronic device may store the privacy levels of multiple applications. When the electronic device obtains the application information of the first application, it can determine the privacy level of the first application based on the stored privacy levels of the multiple applications. Alternatively, the application information of the first application may include a first field, which is used to indicate the privacy level of the first application. The electronic device can then determine the privacy level of the first application based on the first field.
[0088] In some embodiments of this application, the preset display conditions may further include the application interface's privacy level meeting preset conditions. The application interface's privacy level may include, for example, a high privacy level, a medium privacy level, and a low privacy level. Meeting the preset conditions for the application interface's privacy level may be that the application's privacy level is not higher than the low privacy level. After obtaining the application information of the first application, the electronic device can obtain the privacy level of the application interface corresponding to the application information of the first application. If the privacy level of the application interface is a high privacy level or a medium privacy level, the electronic device will not display the page corresponding to the application interface in the multitasking center. If the privacy level of the application interface is a low privacy level, the electronic device can display the page corresponding to the application interface in the multitasking center.
[0089] In some examples, when an electronic device displays the page corresponding to the application interface of a first application containing privacy information in a multitasking center, the electronic device can also blur the screenshot of the application interface of the first application. For example, the electronic device can blur the screenshot of the application interface of the first application based on the privacy level of the application interface of the first application, and display the page corresponding to the application interface of the first application in the multitasking center. The page corresponding to the application interface of the first application includes the blurred screenshot of the application interface of the first application.
[0090] In some embodiments of this application, applications in an electronic device can be pre-configured with different privacy levels for their interfaces, or users can set privacy levels for application interfaces involving user privacy. For ordinary social applications, the privacy level is medium, but the privacy level of payment and billing interfaces in a social application can be set to high, and the chat interface in a social application can be set to low. Different privacy levels correspond to different degrees of blurring; for example, a high privacy level application interface corresponds to high blurring, and a low privacy level application interface corresponds to light blurring.
[0091] In one optional implementation, the electronic device can store a set of application interfaces corresponding to different privacy levels according to the privacy level of the application interface. When the electronic device displays the page corresponding to the first application in the multi-task center interface according to the application information of the first application, the electronic device can determine whether the application interface belongs to the set of application interfaces corresponding to a certain privacy level according to the identifier of the application interface in the application information. When the application interface belongs to the set of application interfaces corresponding to a certain privacy level, the electronic device can perform blurring processing corresponding to the privacy level on the screenshot of the application interface.
[0092] In another optional implementation, the application information of the first application obtained by the electronic device may also include a first field. The first field may be used to indicate the privacy level of the application interface, or the first field may be used to indicate the degree of blurring of the screenshot of the application interface. Then, after obtaining the application information of the first application, when the electronic device displays the page corresponding to the first application in the multi-task center interface according to the application information of the first application, it may blur the screenshot of the application interface according to the first field in the application information.
[0093] For example, Figure 6 This is a schematic diagram of a multi-task center interface provided in an embodiment of this application. (Reference) Figure 6 Taking the example of an electronic device obtaining application information corresponding to multiple application interfaces of a shopping application, when the electronic device obtains application information of the payment interface and the product interface of the shopping application, and displays the page corresponding to the payment interface and the page corresponding to the product interface in the multi-task center interface, it can determine whether to blur the screenshot of the application interface and the degree of blurring based on the privacy level of the application interface. For example, if the privacy level of the payment interface is high privacy level and the product interface is not a privacy interface, the electronic device can perform high blurring on the screenshot of the payment interface, and then the electronic device can display the page corresponding to the payment interface and the page corresponding to the product interface after high blurring in the multi-task center interface.
[0094] Based on the above embodiments, Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application, with reference to... Figure 7 In this embodiment of the application, the electronic device may include multiple applications, an ability manager service (AMS), and a multi-task center. The multiple applications of the electronic device can provide various services to the user. Figure 7 The example shown is the first application in an electronic device; AMS can be used to manage the tasks running in the application, and the multi-task center can be used for the system application of the electronic device to display information about the application currently running on the electronic device.
[0095] In some examples, the first application may be included among the multiple applications on an electronic device. For instance, if the electronic device is running the first application, and the first application is running multiple tasks, then the first application has multiple task stacks, such as... Figure 7The first application shown includes task stack 1, task stack 2, etc., with each task stack corresponding to an application interface. The Application Management System (AMS) can manage the tasks of applications running on the electronic device. For example, the AMS can obtain multiple application information corresponding to multiple task stacks from the first application. Each piece of application information indicates information about an application interface, such as the application name, application icon, and screenshot of the application interface. The AMS sends the obtained application information of the first application to the multi-task center. The multi-task center can determine whether to display the page corresponding to the application in the multi-task center based on the received application information. Furthermore, the multi-task center can select at least one piece of application information from multiple pieces of application information and display the page corresponding to the first application in the multi-task center based on the selected at least one piece of application information.
[0096] It should be noted that, Figure 7 The illustrated embodiment is merely an example of an electronic device and is not intended to limit its functionality. In practice, the electronic device may have other structures, such as including other functional modules. Figure 7 The functions of the illustrated modules can also be performed by other functional modules in the electronic device, and this application embodiment does not limit this. In addition, multiple functional modules in the electronic device can be implemented based on software, hardware, or a combination of software and hardware, and multiple functional modules can be arbitrarily combined or divided based on specific implementations.
[0097] based on Figure 7 The electronic device shown, Figure 8 This application provides a multi-task center display method, which can be implemented by... Figure 7 The electronic device shown performs the operation, reference Figure 8 The method includes the following steps:
[0098] S801: In response to a user's first operation, the electronic device obtains application information of at least one application running in the electronic device.
[0099] The first operation is used to trigger the electronic device to display a multi-task center, and the application information of at least one application includes the application information of the first application.
[0100] Alternatively, S801 can be... Figure 7 The AMS in the electronic device shown executes the application information of at least one application. After obtaining the application information of at least one application, the AMS can send the application information of at least one application to the multi-task center.
[0101] In some examples, when the first application has multiple task stacks, AMS can obtain the application information corresponding to each task stack, thereby obtaining multiple application information of the first application, with each application information corresponding to an application interface.
[0102] S802: The electronic device determines whether the application information of the first application meets the preset display conditions. If yes, it executes S803; otherwise, it executes S804.
[0103] In this embodiment, the preset display conditions may include at least one of the following: application information of the first application including the application name of the first application, application information of the first application including the application icon of the first application, and application information of the first application including a screenshot of the application interface of the first application. Further, the preset display conditions may also include at least one of the following: the privacy level of the first application meets preset conditions, and the privacy level of the application interface of the first application meets preset conditions.
[0104] Alternatively, S802 can be... Figure 7 The multitasking center in the electronic device shown is executed.
[0105] S803: The electronic device displays the page corresponding to the first application in the multitasking center.
[0106] In one optional implementation, when the electronic device obtains multiple application information of the first application and displays the page corresponding to the first application in the multi-task center, the electronic device can select at least one application information from the multiple application information and display at least one page corresponding to the first application in the multi-task center according to the selected at least one application information. The at least one application interface corresponding to the at least one application information selected by the electronic device may include the application interface recently used by the user among the multiple application interfaces of the first application, and / or the application interface most frequently used by the user among the multiple application interfaces.
[0107] S804: The electronic device does not display the page corresponding to the first application in the multitasking center.
[0108] Optionally, S803 and S804 can be derived from... Figure 7 The multitasking center in the electronic device shown is executed.
[0109] It should be noted that this application Figure 8 The multi-task center display method shown can be referred to in the above embodiments of this application for specific implementation, and repeated parts will not be described again.
[0110] Based on the above embodiments, this application also provides an electronic device, which includes at least one processor and at least one memory, wherein the at least one memory stores computer program instructions. When the electronic device is running, the at least one processor executes the functions performed by the electronic device in the various methods described in the embodiments of this application. For example, when executing... Figure 8 The method performed by the electronic device in the illustrated embodiment.
[0111] Based on the above embodiments, this application also provides a computer program product containing instructions, which, when run on a computer, causes the computer to execute the methods described in the embodiments of this application.
[0112] Based on the above embodiments, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a computer, causes the computer to perform the methods described in the embodiments of this application.
[0113] Based on the above embodiments, this application also provides a chip for reading computer programs stored in a memory to implement the methods described in the embodiments of this application.
[0114] Based on the above embodiments, this application provides a chip system including a processor for supporting a computer device in implementing the methods described in the embodiments of this application. In one possible design, the chip system further includes a memory for storing necessary programs and data of the computer device. This chip system may be composed of chips or may include chips and other discrete devices.
[0115] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0116] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0117] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0118] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0119] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the scope of protection of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A method for displaying a multi-task center, characterized in that, Applied to electronic devices, the method includes: In response to a user's first operation, the application information of at least one application running in the electronic device is obtained, the first operation being used to trigger the electronic device to display a multi-task center, and the application information of the at least one application includes the application information of a first application; Determine whether the application information of the first application meets the preset display conditions; If the application information of the first application meets the preset display conditions, the page corresponding to the first application is displayed in the multi-task center; or If the application information of the first application does not meet the preset display conditions, the page corresponding to the first application will not be displayed in the multi-task center.
2. The method as described in claim 1, characterized in that, The display conditions include at least one of the following: The application information of the first application includes the application name of the first application; The application information of the first application includes the application icon of the first application; The application information of the first application includes screenshots of the application interface of the first application.
3. The method as described in claim 1 or 2, characterized in that, The display conditions include at least one of the following: The privacy level of the first application meets the preset conditions; The privacy level of the application interface of the first application meets the preset conditions.
4. The method as described in claim 3, characterized in that, Displaying the page corresponding to the first application in the multi-task center includes: The screenshot of the application interface of the first application is blurred according to the privacy level of the first application or the privacy level of the application interface of the first application. The page corresponding to the first application is displayed in the multi-task center, and the page corresponding to the first application includes a screenshot of the application interface of the first application after blurring.
5. The method according to any one of claims 1-4, characterized in that, Displaying the page corresponding to the first application in the multi-task center includes: When the application information of the at least one application includes multiple application information corresponding to multiple application interfaces of the first application, at least one application information is selected from the multiple application information, and the page corresponding to at least one application interface of the first application is displayed in the multi-task center according to the at least one application information.
6. The method as described in claim 5, characterized in that, The at least one application interface includes the application interface most recently used by the user among the plurality of application interfaces, and / or the application interface most frequently used by the user among the plurality of application interfaces.
7. The method as described in claim 3 or 4, characterized in that, Before determining whether the first application information of the first application meets the preset display conditions, the method further includes: The privacy level of the first application is determined based on the correspondence between stored applications and privacy levels, or the privacy level of the application interface of the first application is determined based on the correspondence between stored application interfaces and privacy levels; or The privacy level of the first application is determined based on the first field in the first application information of the first application, or the privacy level of the application interface of the first application is determined based on the first field.
8. The method according to any one of claims 1-7, characterized in that, The preset display conditions are either system-configured or user-defined.
9. An electronic device, characterized in that, It includes at least one processor coupled to at least one memory, the at least one processor being configured to read a computer program stored in the at least one memory to perform the method as described in any one of claims 1-8.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on a computer, cause the computer to perform the method as described in any one of claims 1-8.