Application Display Method and Electronic Device
By pre-creating and saving an application list that supports split-screen function, the application name and icon are displayed directly when receiving split-screen operation instructions, solving the problem of too long loading time in split-screen operation, improving user experience and reducing lag.
Patent Information
- Application Number
- CN202310877813.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-18
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2043-07-18
AI Technical Summary
In the prior art, the electronic device loads the application name and icon that supports the split screen function for a long time during split screen operation, resulting in the user waiting time being too long and affecting the user experience.
Pre-create and save the application list, including application identification information that supports split-screen function, and directly read and display the application's name and icon from the storage when receiving split-screen operation instructions, without the need for temporary scanning and filtering, and display the application's name and icon in batches to reduce loading time.
Shorten the loading time of application names and icons, reduce user waiting time, improve user experience, and reduce lag through batch display.
Smart Images

Figure CN116594534B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of terminals, and particularly relates to an application display method and an electronic device. Background Art
[0002] With the intelligent development of electronic devices, users can install various applications in the electronic devices to meet the needs of daily life and work. In order to improve the user experience when using various applications, more and more electronic devices begin to support the split-screen function, that is, the electronic device supports dividing the display interface into several different areas to display the interfaces of different applications respectively. The user can select the applications they want to use and perform split-screen operations to display different applications in split-screen.
[0003] Therefore, how to enable users to conveniently and quickly select the applications to be split-screen and improve the user experience is a technical problem to be solved urgently. Summary of the Invention
[0004] The embodiments of this application provide an application display method and an electronic device, which can improve the speed of displaying the names and icons of applications that support the split-screen function, so that users can conveniently and quickly select the applications to be split-screen and improve the user experience.
[0005] In a first aspect, an application display method is provided. This method is applied to an electronic device and includes: generating and saving an application list, where the application list includes the identification information of m applications installed in the electronic device, where m applications support the split-screen function and m is an integer greater than or equal to 1. When a split-screen operation instruction is received, the application list is read from the storage based on the split-screen operation instruction, and then the names and icons of the m applications are displayed on the display screen based on the application list.
[0006] In the embodiments of this application, by pre-generating the application list, after receiving the user's split-screen operation instruction, the names and icons of the applications that support split-screen are directly loaded and displayed based on the application list, without the need to temporarily scan and filter the applications that support the split-screen function, thereby shortening the loading time and improving the user experience.
[0007] Combined with the first aspect, in a certain implementation manner of the first aspect, generating and saving the application list includes: generating the application list and saving the application list to the running memory.
[0008] In the embodiments of this application, by saving the application list in the running memory, the application list can be quickly called later after receiving the split-screen operation instruction, thereby improving the loading speed of the names and icons of the applications. In addition, the application list includes the names of the applications but does not include the icons of the applications, which can reduce the memory occupancy.
[0009] In combination with the first aspect, in a certain implementation of the first aspect, the names and icons of m applications are displayed based on the application list, including: based on the application list, the names and icons of n applications among the m applications are displayed, where n is an integer greater than or equal to 1 and less than m; after the names and icons of the n applications are displayed, the names and icons of the other applications among the m applications except the n applications are continuously displayed.
[0010] In the embodiments of the present application, by displaying the names and icons of m applications in batches (that is, first displaying the names and icons of n applications, and then displaying the names and icons of the remaining applications), the lag situation of loading and displaying the names and icons of m applications simultaneously can be reduced, and the user experience can be improved.
[0011] In combination with the first aspect, in a certain implementation of the first aspect, n is the number of applications corresponding to the names and icons that can be displayed on a display interface of the display screen, and the display interface is an interface for displaying the names and icons of applications.
[0012] In the embodiments of the present application, by first displaying the names and icons of applications on a display interface and then displaying the remaining names and icons, the user can be made to hardly perceive the loading time of the names and icons of applications, and the user experience can be improved.
[0013] In combination with the first aspect, in a certain implementation of the first aspect, the method further includes: receiving a search instruction for a first application; when the first flag bit is not set, indicating that the application has not been loaded completely; or, when the first flag bit is set and the first application belongs to the n applications, displaying the name and icon of the first application; or, when the first flag bit is set but the second flag bit is not set and the first application does not belong to the n applications, indicating that the application has not been loaded completely; or, when the first flag bit and the second flag bit are set and the first application belongs to the m applications, displaying the name and icon of the first application; or, when the first flag bit and the second flag bit are set but the first application does not belong to the m applications, indicating that no search result is found; where the first flag bit indicates that the names and icons of the n applications have been displayed completely, and the second flag bit indicates that the names and icons of the applications among the m applications except the n applications have been displayed completely.
[0014] In the embodiments of the present application, in the case of receiving a search instruction from the user, corresponding prompt operations or search results can be provided to the user according to the display situation of the applications, thereby improving the user experience.
[0015] In combination with the first aspect, in a certain implementation of the first aspect, an application list is generated and saved, including: generating an initial list based on the applications installed on the electronic device and saving the initial list, where the initial list includes the names of x applications installed in the electronic device, and the x applications support split-screen functionality, and x is an integer greater than or equal to 1; monitoring the installation and uninstallation of applications on the electronic device; and updating the initial list based on the installation and uninstallation of applications to obtain the application list.
[0016] In the embodiments of the present application, the application list can be maintained in real time, so that the applications corresponding to the application list are always the applications currently supporting split-screen functionality on the electronic device, which can avoid display problems caused by the application list not being updated in time, such as a user selecting an application, but the selected application has been uninstalled, resulting in a display error.
[0017] In combination with the first aspect, in some implementations of the first aspect, the m applications in the application list are arranged according to a preset rule. For example, they are arranged according to the user's usage frequency.
[0018] Based on the above solution, the m applications can be arranged according to the user's needs, so as to facilitate the subsequent display of the names and icons of the applications in this order, thereby improving the user experience.
[0019] In a second aspect, an electronic device is provided. The electronic device includes a list generation module, a list reading module, and an application display module. Among them, the list generation module is used to generate and save an application list, and the application list includes the identification information of m applications, and the m applications support split-screen functionality, and m is an integer greater than or equal to 1; the list reading module is used to receive a split-screen operation instruction and read the application list from the storage based on the split-screen operation instruction; the application display module is used to display the names and icons of the m applications based on the application list.
[0020] In a third aspect, an electronic device is provided, including a memory and a processor. A computer program that can run on the processor is stored on the memory. When the processor executes the computer program, the electronic device implements the steps of the application display method as described in any one of the first aspects above.
[0021] In a fourth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the steps of the application display method as described in any one of the first aspects above are implemented.
[0022] In a fifth aspect, a computer program product is provided. When the computer program product runs on an electronic device, the electronic device is caused to execute the application display method as described in any one of the first aspects above.
[0023] In a sixth aspect, a chip system is provided. The chip system includes a processor coupled to a memory. The processor executes a computer program stored in the memory to implement the application display method according to any one of the first aspects described above.
[0024] Wherein, the chip system may be a single chip or a chip module composed of multiple chips.
[0025] It can be understood that the beneficial effects of the second to sixth aspects described above can be referred to the relevant descriptions in the first aspect, and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
[0027] Figure 2 is a software structure block diagram of an electronic device according to an embodiment of the present application;
[0028] Figure 3 shows a schematic diagram of a split-screen scenario;
[0029] Figure 4 shows another schematic diagram of a split-screen scenario;
[0030] Figure 5 shows a schematic flowchart of an application display method provided by an embodiment of the present application;
[0031] Figure 6 shows a schematic flowchart of a method for generating an application list provided by an embodiment of the present application;
[0032] Figure 7 shows an exemplary flowchart of a method for responding to a user's search operation based on a flag bit provided by an embodiment of the present application;
[0033] Figure 8 shows an application schematic diagram of a split-screen scenario provided by an embodiment of the present application;
[0034] Figure 9 shows an application schematic diagram of a split-screen scenario provided by an embodiment of the present application;
[0035] Figure 10 shows an application schematic diagram of a split-screen scenario provided by an embodiment of the present application;
[0036] Figure 11 shows an application schematic diagram of a split-screen scenario provided by an embodiment of the present application;
[0037] Figure 12 shows a structural block diagram of an electronic device provided by an embodiment of the present application;
[0038] Figure 13 The block diagram of another electronic device provided by the embodiment of the present application is shown. Detailed implementation manners
[0039] Next, the technical solutions in the embodiments of the present application will be described with reference to the accompanying drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, unless otherwise specified, " / " means "or". For example, A / B may represent A or B. The "and / or" herein is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality of" or "multiple" means two or more than two.
[0040] Hereinafter, the terms "first" and "second" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of this embodiment, unless otherwise specified, the meaning of "a plurality of" is two or more than two.
[0041] The method provided by the embodiment of the present application can be applied to electronic devices such as mobile phones, tablet computers, wearable devices, in-vehicle devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPCs), netbooks, and personal digital assistants (PDAs). The embodiment of the present application does not impose any restrictions on the specific types of electronic devices.
[0042] Exemplarily, Figure 1 The schematic structural diagram of the electronic device 100 is shown. The electronic device 100 may include a processor 110, a display screen 111, and an internal memory 112.
[0043] It can be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In some other embodiments of the present application, the electronic device 100 may include more or fewer components than those illustrated, or combine certain components, or split certain components, or have different component arrangements. For example, in addition to the above-mentioned display screen 111 and internal memory 112, the electronic device 100 may further include one or more of the following: an external memory interface, a universal serial bus (USB) interface, a charging management module, a power management module, a battery, an antenna, a mobile communication module, a wireless communication module, an audio module, a speaker, a receiver, a microphone, a headphone interface, a sensor module, a button, a motor, an indicator, a camera, and a subscriber identification module (SIM) card interface, etc. Among them, the above-mentioned sensor module may include a pressure sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc. The functions of these modules are not limited in the present application. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0044] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.
[0045] Among them, the controller may be the nerve center and command center of the electronic device 100. The controller may generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.
[0046] A memory can also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can hold the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be directly retrieved from the memory. This avoids repeated accesses and reduces the waiting time of the processor 110, thus improving the efficiency of the system.
[0047] In some embodiments, the processor 110 may include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0048] The display screen 111 is used to display images, videos, etc. The display screen 111 includes a display panel. The display panel can adopt 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 Miniled, a MicroLed, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 111, where N is a positive integer greater than 1.
[0049] The electronic device 100 implements the display function through the GPU, the display screen 111, the application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 111 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
[0050] The internal memory 112 can be used to store computer-executable program code, and the executable program code includes instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 112. The internal memory 112 may include a program storage area and a data storage area. Among them, the program storage area can store the operating system, application programs required for at least one function (such as the sound playback function, the image playback function, etc.). The data storage area can store the data created during the use of the electronic device 100 (such as audio data, phone book, etc.). In addition, the internal memory 112 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0051] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. In the embodiments of the present application, taking the Android system with a layered architecture as an example, the software structure of the electronic device 100 is exemplarily described.
[0052] Figure 2 It is the software structure block diagram of the electronic device 100 in the embodiments of the present application. The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom are the application layer, the application framework layer, the Android runtime and the system libraries, and the kernel layer. The application layer may include a series of application packages.
[0053] As Figure 2 shown, the application packages may include applications such as cameras, address books, phones, messages, clocks, calendars, galleries, memos, music, weather malls, etc.
[0054] The application framework layer provides application programming interfaces (APIs) and programming frameworks for the applications in the application layer. The application framework layer includes some predefined functions.
[0055] As Figure 2As shown in the figure, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, etc.
[0056] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0057] The content provider is used to store and obtain data, and make this data accessible to application programs. The data may include videos, images, audio, incoming and outgoing calls, browsing history and bookmarks, phone books, etc.
[0058] The view system includes visible controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build application programs. The display interface can be composed of one or more views. For example, a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.
[0059] The phone manager is used to provide the communication function of the electronic device 100. For example, the management of call states (including connection, disconnection, etc.).
[0060] The resource manager provides various resources for application programs, such as localized strings, icons, pictures, layout files, video files, and so on.
[0061] The notification manager enables application programs to display notification information in the status bar. It can be used to convey notification-type messages, which can automatically disappear after a short stay without user interaction. For example, the notification manager is used to inform that the download is completed, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as the notification of a background-running application program, and can also be a notification that appears on the screen in the form of a dialogue window. For example, prompting text information in the status bar, emitting a prompt sound, vibrating the electronic device, flashing the indicator light, etc.
[0062] Android Runtime includes a core library and a virtual machine. Android Runtime is responsible for the scheduling and management of the Android system.
[0063] The core library contains two parts: one part is the functional functions that need to be called by the Java language, and the other part is the core library of Android.
[0064] The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as the management of object life cycles, stack management, thread management, security and exception management, and garbage collection.
[0065] The system library may include multiple functional modules. For example: a surface manager, media libraries, a 3D graphics processing library (such as OpenGL ES), a 2D graphics engine (such as SGL), etc.
[0066] The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
[0067] The media library supports the playback and recording of various common audio and video formats, as well as static image files, etc. The media library can support multiple audio and video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0068] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing, etc. The 2D graphics engine is a drawing engine for 2D drawing. The kernel layer is the layer between hardware and software. The kernel layer at least includes a display driver, a camera driver, an audio driver, and a sensor driver.
[0069] It should be understood that the embodiments of the present application can be applied to various different operating systems, such as Android, IOS, and other systems.
[0070] With the intelligent development of electronic devices, users can install various applications in electronic devices to meet the needs of daily life and work. In order to improve the user experience when using various applications, more and more electronic devices begin to support the split-screen function, that is, the electronic device supports dividing the display interface into several different areas to display the interfaces of different applications respectively. Users can select the applications they want to use and perform split-screen operations to display different applications in split-screen mode.
[0071] Please refer to Figure 3 , Figure 3 shows a schematic diagram of a split-screen scenario. For example, the user divides the display interface of an electronic device with a foldable screen into two areas, left and right, and displays a main application in the left display area ( Figure 3 taking a shopping App as an example), and the names and icons of the applications that support the split-screen function are displayed in the right display area through a split-screen launcher. Users can select the applications they want to split-screen in the right display area to achieve split-screen display of two applications.
[0072] However, if there are a large number of applications installed in the electronic device, it will take a relatively long time for the electronic device to load the names and icons of the applications that support the split-screen function for the user. Therefore, the waiting time of the user will become longer, resulting in a poor user experience. For example, if the user installs more than 300 applications on the electronic device, when the user performs a split-screen operation, the electronic device may not be able to immediately load the names and icons of the applications that support the split-screen function. As Figure 4 shown, after the user performs a split-screen operation, during the process of loading the names and icons of the applications, the right display area may display a blank interface as shown in the figure. The user needs to wait for a relatively long time to select the applications that want to be split-screen displayed, and the experience is poor.
[0073] To solve the above problems, the embodiments of the present application provide an application display method, device, and electronic device. In this application display method, an application list can be pre-generated. After receiving a split-screen operation instruction, the pre-generated application list is read from the storage, and the icons and names of the applications are displayed based on this application list, instead of scanning and filtering the applications on the electronic device that support the split-screen function only after receiving the split-screen operation instruction. Thus, the time for displaying the icons and names of the applications can be shortened, the waiting time of the user can be reduced, and the user experience can be improved. The following will combine Figures 5 to 11 to make an exemplary description of the application display method provided by the embodiments of the present application.
[0074] Figure 5 FIG. shows a schematic flowchart of an application display method 500 provided by an embodiment of the present application. This method 500 is applied to an electronic device, which can be an electronic device that supports the split-screen function such as a smart phone, a folding phone, a tablet computer, etc. The following will combine Figure 5 each step in to make an exemplary description of method 500.
[0075] S510, generate and save an application list.
[0076] Exemplarily, before receiving a split-screen operation instruction (i.e., before S520), an application list is pre-generated and saved. The application list includes identification information of m applications installed in the electronic device, where the m applications support the split-screen function, and m is an integer greater than or equal to 1. It can be understood that when m equals 1, the problem described in the background art of the present application may not exist, but the solution provided by the embodiments of the present application can still be executed to display the names and icons of the applications at this time.
[0077] In a possible implementation, the identification information of the m applications may be the names of the m applications. In this case, in the application list, the names of the m applications may be arranged according to a preset rule. For example, they may be arranged according to the first letter of the name, or according to the user usage frequency, or sorted in a combination of multiple ways. This application does not make any limitations.
[0078] It can be understood that the application list may also include some other information in addition to the identification information of the m applications. This application does not make any limitations.
[0079] Next, a possible implementation of generating the application list will be introduced with examples:
[0080] Generate an initial list based on the applications installed on the electronic device and save the initial list. The initial list includes the identification information of x applications installed in the electronic device, and the x applications support the split-screen function. The x is an integer greater than or equal to 1. In a possible implementation, the x applications are all the applications in the electronic device that support the split-screen function.
[0081] After generating the initial list, monitor the installation and uninstallation of applications on the electronic device. Among them, monitoring the installation and uninstallation of applications on the electronic device means monitoring which new applications are installed on the electronic device and which applications are uninstalled.
[0082] Furthermore, based on the installation and uninstallation of the applications, update the initial list to obtain the application list. For example, when a new application is installed on the electronic device, detect whether the application supports the split-screen function. If it does, add the identification information of the application to the initial list. Another example is that when an old application is uninstalled, if the identification information of the application is in the initial list, delete the name of the application from the initial list.
[0083] Based on the above solution, the application list can be maintained in real time, so that the applications corresponding to the application list are always the applications currently supported by the split-screen function on the electronic device.
[0084] It can be understood that when the installation and uninstallation status of the applications indicates that no application supporting the split-screen function is installed or uninstalled on the electronic device, the initial list is the same as the application list. That is to say, in this case, the operation of updating the initial list can be skipped. When the installation and uninstallation status of the applications indicates that a and b applications supporting the split-screen function are installed and uninstalled respectively on the electronic device, where a and b are both integers greater than or equal to 0 and a is greater than or equal to b, then at this time m = x+(a - b). When the installation and uninstallation status of the applications indicates that a and b applications supporting the split-screen function are installed and uninstalled respectively on the electronic device, where a and b are both integers greater than or equal to 0 and b is greater than a, then at this time m = x+(b - a).
[0085] The following combines Figure 6 to make an exemplary description of a specific implementation. Assume Figure 6 that the process shown is executed by a preloading module on the electronic device. Herein, the preloading module can be an existing module reused on the electronic device or a newly added module, which is not limited in this application.
[0086] First, after the electronic device is powered on, the preloading module scans the applications installed on the electronic device and filters out x applications that support the split-screen function, and uses the identification information of these x applications to form an initial list. In one implementation, the preloading module can scan the applications installed on the electronic device immediately after the electronic device is powered on. In another implementation, the preloading module can also wait for a preset period of time (such as 30s) after the electronic device is powered on and then scan the applications installed on the electronic device. Since many tasks usually need to be loaded after the electronic device is powered on, waiting for a preset period of time before scanning the applications can avoid concentrating on occupying the computing power of the system and improve the overall operation efficiency of the device. It can be understood that in one implementation, the application list in the embodiments of this application is stored in the running memory of the electronic device. In this case, after the electronic device is powered off, the application list in the running memory will be cleared. Therefore, the preloading module needs to scan the applications installed on the electronic device each time the electronic device is powered on and generate an initial list according to the scanning results. When the method 500 is applied to Figure 3 the electronic device 100 shown, the running memory can refer to the internal memory 112 in the electronic device 100 or the memory arranged on the processor 110, which is not limited in this application.
[0087] Further, the preloading module registers a BroadcastReceiver, listens for the application installation broadcast (android.intent.action.PACKAGE_ADDED) and / or the application uninstallation broadcast (android.intent.action.PACKAGE_REMOVED) through this BroadcastReceiver, inserts or deletes the identification information of the applications in the initial list according to the application installation broadcast and / or the application uninstallation broadcast, and obtains an application list, where the application installation broadcast is used to broadcast the installation status of the applications on the electronic device, and the application uninstallation broadcast is used to broadcast the uninstallation status of the applications on the electronic device.
[0088] In the above solution, by pre-generating and saving the application list, it is possible to avoid the situation where the subsequent use of the application list requires temporary loading, resulting in too long loading time, thereby improving the operation efficiency. In addition, the application list includes the identification information of m applications, but does not include information such as the icons of the m applications, which can effectively reduce the memory size occupied by the application list.
[0089] S520, when receiving a split-screen operation instruction, read the application list from the storage.
[0090] Exemplarily, when receiving a split-screen operation instruction, read the application list pre-generated and saved in S510 from the storage. It can be understood that the split-screen operation instruction is used to instruct the electronic device to display multiple applications in split-screen, or rather, the split-screen operation instruction is used to instruct the electronic device to display the names and icons of the applications that support the split-screen function. It can also be understood that before receiving the split-screen operation instruction, the application interface of the main application may have been displayed (such as Figure 3 the application interface of the main application displayed in the left display area in ), or the application interface of the main application may not have been displayed yet, which is not limited in this application.
[0091] S530, based on the application list, display the names and icons of the m applications on the display screen of the electronic device.
[0092] Exemplarily, after reading the application list, the electronic device obtains the identification information of the m applications that support the split-screen function, then based on the identification information of the m applications, loads the names and icons of the m applications, and then displays the names and icons of the m applications on the display screen of the electronic device. In one possible implementation manner, based on the application list, the split-screen launcher displays the names and icons of the m applications on the display screen. It can be understood that the split-screen launcher can be regarded as an application independent of the main application, and it is responsible for displaying the list of applications that support split-screen, so that the user can click and start the application that wants to be displayed in split-screen with the main application.
[0093] The following introduces a possible implementation method for displaying the names and icons of these m applications:
[0094] After reading the application list, based on the application list, display the names and icons of n applications among the m applications, where n is an integer greater than or equal to 1 and less than m. After displaying the names and icons of these n applications, continue to display the names and icons of the other applications among the m applications except these n applications. That is to say, it is possible to first display the names and icons of n applications among the m applications, and after displaying the names and icons of these n applications, then continue to display the names and icons of the remaining applications.
[0095] In the above solution, instead of displaying all the names and icons of the m applications at once, but first displaying the names and icons of some applications and then the names and icons of the remaining applications, it is possible to improve the loading speed of the names and icons of the first n applications and further reduce the waiting time of the user.
[0096] In a possible implementation method, n is the number of applications corresponding to the names and icons that can be displayed on a display interface of the display screen, and the display interface is an interface for displaying the names and icons of applications. Combining Figure 3 For illustration, in Figure 3 , the right display area is used to display the names and icons of applications that support the split-screen function, then n is the number of applications corresponding to the names and icons that can be displayed in the right display area. For example, in the example of Figure 3 , n is 20.
[0097] Through the above solution, it is possible to make the user hardly perceive the application loading time and improve the user experience. For example, if the user installs a relatively large number of applications (such as m = 300), after receiving the user's split-screen operation instruction, it still takes a long time to load and display the icons of the m applications according to the application list, making the user still able to perceive the lag of the system interface. And through the above method, first load and display the names and icons of the applications on the first screen for the user. Since only n (for example, n is 20) applications' names and icons need to be displayed on the first screen, the loading speed will be relatively fast, enabling the current display interface of the electronic device to quickly display the picture without having to stay on a blank interface as shown in Figure 4 for a certain period of time, thus enabling the user not to perceive the application loading process and improving the user experience.
[0098] It can be understood that in another possible implementation method, n can also be greater than the number of applications corresponding to the names and icons that can be displayed on a display interface of the electronic device. For example, in Figure 3In the example shown, n can be 30 or 40. In this way, after the application display on the first screen is completed, even if the user quickly swipes up, the names and icons of the applications can still be displayed in a timely manner without requiring the user to wait. Here, n can be determined according to various factors such as the performance of the electronic device, so that there will be no lag when the electronic device directly loads the names and icons of n applications.
[0099] It can also be understood that in another possible implementation, after the names and icons of n applications are displayed, the names and icons of the remaining applications can also be displayed in batches instead of all at once, so as to reduce the lag when the user quickly swipes.
[0100] Based on the above solutions, the application display method provided by the embodiments of the present application can also support users to search for the displayed applications. If the user immediately performs an operation to search for an application after performing a split-screen operation, a prompt can be provided according to the application loading situation. An exemplary description of a possible implementation solution is given below.
[0101] Exemplarily, after n applications are loaded, a first flag bit is set, and this first flag bit indicates that the names and icons of these n applications have been displayed; after the other applications among the m applications except these n applications are loaded, a second flag bit is set, and this second flag bit indicates that the names and icons of the applications among the m applications except these n applications have been displayed. The present application does not limit the specific forms of the first flag bit and the second flag bit. As an example, two flag bits A and B can be set. When the value of flag bit A is "true", it means that the names and icons of n applications have been displayed (i.e., the first flag bit is set), and when the value of flag bit A is "false", it means that the names and icons of n applications have not been displayed (i.e., the first flag bit is not set). Similarly, when the value of flag bit B is "true", it means that the names and icons of the other applications except n applications have been displayed (i.e., the second flag bit is set), and when the value of flag bit B is "false", it means that the names and icons of the other applications except n applications have not been displayed (i.e., the second flag bit is not set).
[0102] Further, after receiving a search instruction from a user, an operation to be executed is determined based on the first flag and / or the second flag. For example: receiving a search instruction for a first application; when the first flag is not set, indicating that the application has not been fully loaded; or, when the first flag is set and the first application belongs to the n applications, displaying the name and icon of the first application; when the first flag is set but the second flag is not set and the first application does not belong to the n applications, indicating that the application has not been fully loaded; or, when the first flag and the second flag are set and the first application belongs to the m applications, displaying the name and icon of the first application; or, when the first flag and the second flag are set but the first application does not belong to the m applications, indicating that no search results are found. The following will specifically describe this solution in conjunction with Figure 7 this solution.
[0103] As Figure 7 shown, after receiving a search instruction for a first application, first determine whether the first flag is set. If the first flag is not set, it means that the names and icons of even the n applications have not been fully displayed yet, and at this time, the user is instructed that the application has not been fully loaded. For example, as Figure 8 shown, the user searches for a music App, but since the name and icon of the application have not been fully loaded yet, at this time, a pop-up window can be displayed to show "Loading not completed!".
[0104] Further, if the first flag is set, then further determine whether the second flag is set.
[0105] If the second flag is not set, it means that the names and icons of the first n applications have been fully loaded, but the names and icons of the remaining applications have not been fully loaded yet. Then, search among the first n applications to see if the first application exists. If it does not exist, indicate that the application has not been fully loaded. If it exists, display the search results. For example, as Figure 9 shown, the user searches for a music App. Since the music App belongs to the first n applications (such as the 20 applications on the first screen, for details, please refer to Figure 3 ), and the n applications have been fully displayed, the search results are directly displayed. Another example, as Figure 10 shown, the user searches for a racing game App. Since the racing game does not belong to the first n applications (such as the 20 applications on the first screen, for details, please refer to Figure 3 ), and the other applications except the n applications have not been fully displayed yet, a pop-up window can be displayed to show "Loading not completed!".
[0106] If the second flag bit is set, it indicates that the names and icons of the m applications have all been displayed. At this time, search for the first application among the m applications. If it does not exist, indicate that the application has not been found. If it exists, display the search result. For example, as Figure 11 shown, when the user searches for the Racing Game App, and the names and icons of the m applications have all been displayed, and the Racing Game App belongs to the m applications, the search result is directly displayed.
[0107] Based on the above solution, when receiving the user's search instruction, corresponding prompt operations or search results can be provided to the user according to the display situation of the applications, thereby improving the user experience.
[0108] The above solution combines Figures 5 to 11 and details the application display method provided by the embodiments of the present application. In the above solution, by pre-generating an application list, after receiving the user's split-screen operation instruction, the names and icons of the applications supporting split-screen are directly loaded and displayed based on the application list, without the need to temporarily scan and filter the applications supporting the split-screen function, thereby shortening the loading time and improving the user experience. And in a further solution, by displaying the names and icons of the m applications in batches, the perceived lag by the user can be significantly reduced. In addition, when receiving the user's search instruction, corresponding prompt operations or search results can be provided to the user based on the loading situation of the applications, thereby improving the user experience.
[0109] It should be noted that the above embodiments are described by taking the split-screen scenario as an example, but the embodiments of the present application are not limited thereto. That is to say, the embodiments of the present application can also be applied to other scenarios that require temporarily displaying the names and icons of applications. At this time, the m applications can be all applications or a set of applications with a certain characteristic, and its meaning should depend on the specific application scenario, which is not limited in the present application.
[0110] Corresponding to the methods given in the above method embodiments, the embodiments of the present application also provide corresponding devices, and the devices include modules for executing the corresponding modules of the above method embodiments respectively. The module can be software, hardware, or a combination of software and hardware. It can be understood that the technical features described in the above method embodiments also apply to the following device embodiments. Therefore, the content not described in detail can be referred to the above method embodiments. For the sake of brevity, it will not be repeated here.
[0111] Figure 12 The block diagram of the electronic device 1200 provided by the embodiments of the present application is shown. For the sake of convenience of description, only the parts related to the embodiments of the present application are shown. Refer to Figure 12 , and the device can specifically include the following modules:
[0112] A list generation module 1201 is configured to generate and save an application list, where the application list includes the names of m applications, and the m applications support the split-screen function, and m is an integer greater than or equal to 1;
[0113] A list reading module 1202 is configured to receive a split-screen operation instruction and read the application list from the storage based on the split-screen operation instruction;
[0114] An application display module 1203 is configured to display the names and icons of the m applications based on the application list.
[0115] It should be noted that for the information interaction, execution process, etc. between the above-mentioned devices / units, since they are based on the same concept as the method embodiments of the present application, their specific functions and the technical effects brought can be specifically referred to in the method and system embodiment parts, and will not be elaborated here.
[0116] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the above-mentioned division of each functional unit and module is used as an example. In actual applications, the above functions can be allocated to different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit. In addition, the specific names of each functional unit and module are only for the convenience of mutual distinction and do not limit the protection scope of the present application. The specific working processes of the units and modules in the above system can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated here.
[0117] As Figure 13 shown, an embodiment of the present application further provides an electronic device 1300, and the electronic device 1300 includes: at least one processor 1310, a memory 1320, and a computer program 1321 stored in the memory and executable on the at least one processor. When the processor executes the computer program, the steps in any of the foregoing method embodiments are implemented.
[0118] An embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the foregoing method embodiments can be implemented.
[0119] An embodiment of the present application provides a computer program product. When the computer program product runs on an electronic device, it enables the mobile terminal to execute the steps implemented in the above-mentioned various method embodiments when executed.
[0120] If the integrated unit is implemented in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, to implement all or part of the processes in the above-mentioned embodiment methods of the present application, a computer program can be used to instruct relevant hardware to complete. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file, or some intermediate form, etc. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the photographing device / electronic device, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk, or an optical disc, etc. In some jurisdictions, according to legislation and patent practice, the computer-readable medium cannot be an electrical carrier signal and a telecommunication signal.
[0121] In the above embodiments, the descriptions of the various embodiments have their own emphases. For the parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0122] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0123] In the embodiments provided in the present application, it should be understood that the disclosed device / network device and method can be implemented in other ways. For example, the device / network device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in electrical, mechanical or other forms.
[0124] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0125] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. An application display method, characterized in that, Applied to an electronic device, the method includes: After the electronic device is powered on and after a preset time, generate an application list by scanning the applications installed on the electronic device, and save the application list in the operating memory of the electronic device. The application list includes identification information of m applications installed in the electronic device. The m applications support split-screen function, where m is an integer greater than 1. The m applications in the application list are arranged according to the user usage frequency; Register a broadcast receiver, and listen for application installation broadcasts and / or application uninstallation broadcasts through the broadcast receiver, and then update and maintain the application list in real time based on the application installation broadcasts and / or application uninstallation broadcasts. The application installation broadcast is used to broadcast the installation status of applications on the electronic device, and the application uninstallation broadcast is used to broadcast the uninstallation status of applications on the electronic device; When a split-screen operation instruction is received, read the pre-saved application list from the operating memory; Load the names and icons of the n applications according to the identification information of the first n applications among the m applications in the application list, and then display the names and icons of the n applications on the first screen of the electronic device. Here, n is an integer greater than or equal to 1 and less than m. The application interface of the main application is displayed on the second screen of the electronic device. The first screen and the second screen are two different display areas of the display screen of the electronic device. When the electronic device is in an unfolded state, the display directions of the first screen and the second screen are the same; After the names and icons of the n applications are displayed on the first screen, load the names and icons of the other applications according to the identification information of the other applications among the m applications except the n applications, and then display the names and icons of the other applications on the first screen; Receive a search instruction from the user for a first application; When the first flag bit is not set, display a prompt message indicating that the loading is not completed on the first screen; When the first flag bit is set but the second flag bit is not set, determine whether the first application belongs to the n applications, and in the case where the first application belongs to the n applications, display a first search result on the first screen, otherwise display a prompt message indicating that the loading is not completed on the first screen. The first search result is the name and icon of the first application; When the second flag bit is set, determine whether the first application belongs to the m applications, and in the case where the first application belongs to the m applications, display a second search result on the first screen, otherwise display a prompt message indicating that the search result is not found on the first screen. The second search result is the name and icon of the first application, or a prompt message indicating that the first application is not found; Wherein, the first flag bit indicates that the names and icons of the n applications have been displayed, and the second flag bit indicates that the names and icons of the applications other than the n applications among the m applications have been displayed.
2. The method according to claim 1, wherein The n is the number of applications corresponding to the names and icons that can be displayed on a display interface of the first screen of the electronic device, and the display interface is an interface for displaying the names and icons of applications.
3. An electronic device, characterized in that, The electronic device includes: A list generation module, configured to generate an application list by scanning the applications installed on the electronic device after the electronic device is powered on and after a preset time, and save the application list in the operating memory of the electronic device. The application list includes identification information of m applications, and the m applications support a split-screen function. The m is an integer greater than 1, and the m applications in the application list are arranged according to the user usage frequency. A list maintenance module, configured to register a broadcast receiver, and monitor an application installation broadcast and / or an application uninstallation broadcast through the broadcast receiver, and then update and maintain the application list in real time based on the application installation broadcast and / or the application uninstallation broadcast. The application installation broadcast is used to broadcast the installation situation of applications on the electronic device, and the application uninstallation broadcast is used to broadcast the uninstallation situation of applications on the electronic device. A list reading module, configured to receive a split-screen operation instruction, and read the pre-saved application list from the operating memory based on the split-screen operation instruction. An application display module, configured to load the names and icons of the n applications according to the identification information of the first n applications among the m applications in the application list, and then display the names and icons of the n applications on the first screen of the electronic device. Among them, the n is an integer greater than or equal to 1 and less than the m. The second screen of the electronic device displays the application interface of the main application. The first screen and the second screen are two different display areas of the display screen of the electronic device. When the electronic device is in an unfolded state, the display directions of the first screen and the second screen are the same; after the names and icons of the n applications are displayed on the first screen, based on the identification information of the other applications except the n applications among the m applications, load the names and icons of the other applications, and then display the names and icons of the other applications on the first screen. A transceiver module, configured to receive a search instruction of the user for a first application. A display module, configured to display a prompt message indicating that the loading is not completed on the first screen when a first flag bit is not set. A judgment module, configured to judge whether the first application belongs to the n applications when the first flag bit is set but the second flag bit is not set, and configured to judge whether the first application belongs to the m applications when the second flag bit is set. The display module is further configured to, when the first flag bit is set but the second flag bit is not set, and the first application belongs to the n applications, display a first search result on the first screen; otherwise, display a prompt message indicating that the loading is not completed on the first screen. The first search result is the name and icon of the first application. The display module is further configured to, when the second flag bit is set and the first application belongs to the m applications, display a second search result on the first screen; otherwise, display a prompt message indicating that no search result is found on the first screen. The second search result is the name and icon of the first application, or a prompt message indicating that the first application is not found. Wherein, the first flag bit indicates that the names and icons of the n applications have been displayed, and the second flag bit indicates that the names and icons of the applications other than the n applications among the m applications have been displayed.
4. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the application display method according to claim 1 or 2.
5. A computer-readable storage medium storing a computer program, characterized in that , When the computer program is executed by the processor, it implements the steps of the method according to claim 1 or 2.
6. A chip system, characterized in that, The chip system includes a processor, the processor is coupled to a memory, and the processor executes a computer program stored in the memory to implement the application display method according to claim 1 or 2.
Citation Information
Patent Citations
Method and device for switching applications in split screen mode and related equipment of method and device
CN107256129A
Page information loading method, device and system and computer readable storage medium
CN112528175A
Application recommendation method and electronic device
WO2023097914A1