Split-screen display method, electronic device and storage medium
By preloading application data when triggering split screen controls on the terminal and updating them in real time, the problem of low split screen display efficiency in the prior art is solved, and fast and accurate multi-application interface display is achieved.
Patent Information
- Application Number
- CN202310666021.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-06
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2043-06-06
AI Technical Summary
The split-screen display on existing terminals is less efficient and has poor results. When users select multiple applications, they need to identify and select one by one, and the efficiency and accuracy are insufficient.
By preloading the application data installed by the terminal when triggering the split screen control in the interface, quickly loading the application data using the split screen service process, and updating the data in real time through the application listener, ensuring the accuracy and efficiency of the split screen display.
The efficiency and effect of split-screen display are improved, and users can quickly select and display the interfaces of multiple applications to ensure the accuracy and timeliness of split-screen display.
Smart Images

Figure CN117724640B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a split-screen display method, electronic device and storage medium. Background Art
[0002] With the development of terminal technology, more and more applications are installed on the terminal. Generally, the terminal can run two or more applications at the same time. Accordingly, in order to facilitate the user to view the two or more applications at the same time, a split-screen display function can be applied on the terminal, that is, the interfaces of the two or more applications are displayed on the screen or display at the same time.
[0003] Currently, when the split-screen display function is applied on a terminal, the interface of the terminal's currently displayed application and the logos of multiple applications installed on the terminal are usually displayed in split screen first, so that the user can select the logo of the application he wants to split screen from the multiple application logos displayed, thereby completing the split-screen display of the application.
[0004] However, in the above technology, the efficiency of split-screen display is low and the effect of split-screen display is poor. Summary of the invention
[0005] The present application provides a split-screen display method, an electronic device, and a storage medium for improving the efficiency of split-screen display.
[0006] In order to achieve the above objectives, this application provides the following technical solutions:
[0007] In a first aspect, a split-screen display method is provided, comprising:
[0008] Displaying the interface of the first application;
[0009] Receiving a trigger operation of a user on a first control in the interface of the first application;
[0010] In response to a triggering operation on the first control, a first window is displayed, and application data of at least one second application installed in the terminal is loaded; the first window includes a split-screen control; and the application data includes an identification of the application;
[0011] Receive a trigger operation of the split-screen control by the user;
[0012] In response to a triggering operation on the split-screen control, displaying the interface of the first application and the identifier of the at least one second application in a split-screen according to the loaded application data of the at least one second application;
[0013] receiving a triggering operation of a user on an identifier of a third application in the identifier of the at least one second application;
[0014] In response to a triggering operation on the identifier of the third application, the interface of the first application and the interface of the third application are displayed in split screen.
[0015] In the above technical solution, when the trigger operation is implemented on the first control in the interface, it can not only trigger the display of the first window containing the split-screen control, but also trigger the loading of the application data of at least one second application installed in the terminal, so that the application data is pre-loaded, providing a data basis for the subsequent split-screen display of the terminal. Furthermore, when the trigger operation is implemented on the split-screen control in the first window, the interface of the first application and the logo of the at least one second application can be directly displayed in split screen according to the application data of the at least one second application that has been loaded, so that the user can select the logo of the third application that he wants to split screen from the logo of the at least one second application displayed, thereby completing the split-screen display of the application, effectively improving the efficiency of the split-screen display, and thus improving the effect of the split-screen display.
[0016] In a possible implementation manner of the first aspect, loading application data of at least one second application installed in the terminal includes:
[0017] Bind a split-screen service process; the split-screen service process is used to provide a function for loading application data;
[0018] The application data of at least one second application installed in the terminal is loaded through the split-screen service process.
[0019] In this possible implementation, a method for preloading application data by binding a split-screen service process is provided. The split-screen service process can quickly and efficiently load application data of at least one second application installed on the terminal, so that the loaded application data can be used to implement the split-screen display of the application later, thereby improving the efficiency of the split-screen display.
[0020] In a possible implementation manner of the first aspect, loading, by the split-screen service process, application data of at least one second application installed by the terminal includes:
[0021] Acquire application data of at least one second application installed by the terminal and meeting the split-screen requirement from an application information library; the application information library is used to store application data of multiple applications installed by the terminal;
[0022] The application data of the at least one second application is stored in a target storage space; the target storage space is used to store the application data of applications that meet the split-screen requirement.
[0023] In this possible implementation method, a data loading implementation method is provided, which can achieve rapid loading of application data by obtaining application data of at least one second application installed by the terminal from application data of multiple applications stored in an application information library, so that the loaded application data can be subsequently used to realize split-screen display of the application.
[0024] In a possible implementation of the first aspect, the split-screen requirement includes at least one of the following: belonging to an application whitelist, the application whitelist includes the identifier of at least one application that allows split-screen; when not belonging to the application whitelist or the application blacklist, the application supports split-screen, and the application blacklist includes the identifier of at least one application that does not allow split-screen.
[0025] In this possible implementation, two settings for split-screen requirements are provided, which improves the flexibility of split-screen requirement settings. In one case, the split-screen requirement can be set to belong to the application whitelist, so that applications that meet the split-screen requirements are also applications that allow split-screen, which can ensure that applications that are subsequently displayed in split-screen are applications that allow split-screen, ensuring the accuracy of split-screen display. In another case, the split-screen requirement can be set to not belong to the application whitelist or the application blacklist but the application supports split-screen, so that applications that meet the split-screen requirements are also applications that do not belong to any list but support split-screen, and similarly, the accuracy of split-screen display is ensured.
[0026] In a possible implementation manner of the first aspect, after loading application data of at least one second application installed in the terminal, the method further includes:
[0027] Register an application listener, and monitor whether a target event occurs on the terminal through the application listener; the target event includes an application installation event or an application uninstallation event;
[0028] When it is monitored that the target event occurs at the terminal, the application data of the at least one second application is updated according to the target event.
[0029] In this possible implementation, a method for updating application data by registering an application listener is provided. By registering an application listener on a terminal, the terminal can be monitored so that the application data of a new application can be added when the terminal installs a new application and the application data of the application can be deleted when the terminal uninstalls an installed application, thereby achieving timely update of application data, ensuring the efficiency of subsequent split-screen display, and ensuring the accuracy of subsequent split-screen display.
[0030] In a possible implementation manner of the first aspect, when it is monitored that the target event occurs at the terminal, updating application data of the at least one second application according to the target event includes at least one of the following:
[0031] When monitoring the occurrence of the application installation event on the terminal, adding the application data of the newly installed application to the application data of the at least one second application;
[0032] When it is monitored that the application uninstall event occurs on the terminal, the application data of the uninstalled application is deleted from the application data of the at least one second application.
[0033] In this possible implementation method, two data update implementation methods are provided. When a new application is installed on the terminal, application data of a new application is added, or when an installed application is uninstalled on the terminal, application data of the application is deleted. Application data of new applications can be added and invalid application data can be cleaned up in a timely manner, thereby realizing timely updating of application data. While ensuring the efficiency of subsequent split-screen display, it can also ensure the accuracy of subsequent split-screen display.
[0034] In a possible implementation manner of the first aspect, in response to a triggering operation on the split-screen control, displaying the interface of the first application and the identifier of the at least one second application in a split-screen according to the loaded application data of the at least one second application, includes:
[0035] In response to a triggering operation on the split-screen control and the application data of the at least one second application has been loaded, the interface of the first application and the identifier of the at least one second application are displayed in split screen according to the application data of the at least one second application.
[0036] In this possible implementation, after receiving a trigger operation on the split-screen control in the first window, it is determined whether the application data of the at least one second application has been loaded, and then, if loading is completed, the split-screen is directly displayed. This ensures the efficiency of the subsequent split-screen display while also ensuring the accuracy of the subsequent split-screen display.
[0037] In a possible implementation manner of the first aspect, the method further includes:
[0038] In response to the triggering operation on the split-screen control but the application data of the at least one second application has not been loaded completely, waiting for the application data of the at least one second application to be loaded completely.
[0039] In this possible implementation, after receiving a trigger operation on the split-screen control in the first window, it is determined whether the application data of the at least one second application has been loaded. If the loading is not complete, it waits for the loading to be completed, and then the above-mentioned split-screen display process is executed. This ensures the efficiency of the subsequent split-screen display while also ensuring the accuracy of the subsequent split-screen display.
[0040] In a second aspect, an electronic device is provided, comprising: a processor and a memory. The memory is used to store program codes, and the processor is used to call the program codes stored in the memory, so as to implement any one of the methods provided in the first aspect.
[0041] According to a third aspect, a computer-readable storage medium is provided, comprising a program code. When the program code is executed on an electronic device, the electronic device executes any one of the methods provided in the first aspect.
[0042] According to a fourth aspect, a computer program product is provided, including a program code. When the program code is executed on an electronic device, the electronic device executes any one of the methods provided in the first aspect.
[0043] It should be noted that the technical effects brought about by any implementation method in the second to fourth aspects can refer to the technical effects brought about by the corresponding implementation method in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 A schematic diagram of an electronic device provided in an embodiment of the present application;
[0045] Figure 2 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
[0046] Figure 3 A schematic diagram of the software structure of an electronic device provided in an embodiment of the present application;
[0047] Figure 4 A schematic diagram of a flow chart of a split-screen display method provided in an embodiment of the present application;
[0048] Figure 5 A schematic diagram of a flow chart of a split-screen display method provided in an embodiment of the present application;
[0049] Figure 6 A schematic diagram of an interface provided in an embodiment of the present application;
[0050] Figure 7 A schematic diagram of an interface provided in an embodiment of the present application;
[0051] Figure 8 A schematic diagram of a sliding operation provided in an embodiment of the present application;
[0052] Fig. 9 A flowchart of data loading provided in an embodiment of the present application;
[0053] Fig.10 A schematic diagram of a split-screen display provided in an embodiment of the present application;
[0054] Fig.11 A schematic diagram of a split-screen display provided in an embodiment of the present application;
[0055] Fig.12 An interactive flow chart of a split-screen display provided in an embodiment of the present application;
[0056] Fig.13 An interactive flow chart of split-screen display provided in an embodiment of the present application. DETAILED DESCRIPTION
[0057] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" means one or more, and "plurality" means two or more. The words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be different.
[0058] It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0059] The split-screen display method provided in the embodiment of the present application can be applied in the field of terminal technology, and can be specifically applied in the display scenario of the interface. Wherein, the split-screen display refers to displaying the interfaces of two or more applications on one screen or display screen at the same time.
[0060] In the related art, when the split-screen display function is applied on a terminal, the interface of the application currently displayed on the terminal and the logos of multiple applications installed on the terminal are usually displayed in split screen first, so that the user can select the logo of the application he wants to split screen from the logos of the multiple applications displayed, thereby completing the split-screen display of the application.
[0061] However, in the above technology, the efficiency of split-screen display is low and the effect of split-screen display is poor.
[0062] In view of this, the embodiment of the present application provides a split-screen display method. When a trigger operation is performed on the first control in the interface, it can not only trigger the display of the first window containing the split-screen control, but also trigger the loading of the application data of at least one second application installed in the terminal. In this way, the pre-loading of the application data is realized, and a data basis is provided for the subsequent split-screen display of the terminal. Furthermore, when a trigger operation is performed on the split-screen control in the first window, the interface of the first application and the logo of the at least one second application can be directly displayed in split screen according to the application data of the at least one second application that has been loaded, so that the user can select the logo of the third application that he wants to split screen from the logo of the at least one second application displayed, thereby completing the split-screen display of the application, effectively improving the efficiency of the split-screen display, and thus improving the effect of the split-screen display.
[0063] In a possible implementation, the split-screen display method provided in the embodiment of the present application can be applied to Figure 1 The electronic device 100 shown is exemplary. Figure 1 A schematic diagram of an electronic device provided in an embodiment of the present application.
[0064] The electronic device 100 may be a terminal device, which is referred to as a terminal in the following embodiments of the present application. For example, the electronic device 100 may be at least one of a smart phone, a smart watch, a desktop computer, a laptop computer, a virtual reality terminal, an augmented reality terminal, a wireless terminal, and a laptop computer.
[0065] In a possible implementation, different types of applications (APPs) may be installed in the electronic device 100, such as camera, gallery, calendar, call, map, navigation, music, video, short message and other applications.
[0066] In the embodiment of the present application, the electronic device 100 provides a split-screen display function. Accordingly, the user can trigger the electronic device 100 to display two or more application interfaces on one screen or display screen at the same time by performing operations on the electronic device 100, thus completing the split-screen display of the application. It should be understood that after the terminal receives the user's split-screen operation on the two applications in the interface, see Figure 1 In response, the terminal may display the interfaces of the two applications in split screen, such as displaying the interface of application 1 and the interface of application 2 in split screen.
[0067] The embodiments of the present application are described later with the terminal as the execution subject. In the embodiments of the present application, the terminal is used to display the interface of the first application; receive a user trigger operation on the first control in the interface of the first application; in response to the trigger operation on the first control, display a first window, load the application data of at least one second application installed in the terminal; receive a user trigger operation on the split-screen control; in response to the trigger operation on the split-screen control, display the interface of the first application and the identifier of the at least one second application in split screen according to the loaded application data of the at least one second application; receive a user trigger operation on the identifier of the third application in the identifier of the at least one second application; in response to the trigger operation on the identifier of the third application, display the interface of the first application and the interface of the third application in split screen.
[0068] For example, Figure 1 The structural diagram of the electronic device 100 is shown in FIG. Figure 2 shown. Figure 2 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. Figure 2 The electronic device 100 may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295. The sensor module 280 may include a pressure sensor 280A, a gyroscope sensor 280B, an air pressure sensor 280C, a magnetic sensor 280D, a touch sensor 280E, and the like.
[0069] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0070] The processor 210 may include one or more processing units, for example, the processor 210 may include an application processor (AP), a modem processor, a graphics processor (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. Different processing units may be independent devices or integrated into one or more processors.
[0071] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0072] The processor 210 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may store instructions or data that the processor 210 has just used or cyclically used. If the processor 210 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.
[0073] In some embodiments, the processor 210 may include one or more interfaces. The interface may 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.
[0074] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 210 may include multiple groups of I2C buses. The processor 210 may be coupled to the touch sensor 280E, the charger, the flash, the camera 293, etc. through different I2C bus interfaces. For example: the processor 210 may be coupled to the touch sensor 280E through the I2C interface, so that the processor 210 communicates with the touch sensor 280E through the I2C bus interface, thereby realizing the touch function of the electronic device 100.
[0075] The I2S interface can be used for audio communication. In some embodiments, the processor 210 can include multiple groups of I2S buses. The processor 210 can be coupled to the audio module 270 via the I2S bus to achieve communication between the processor 210 and the audio module 270. In some embodiments, the audio module 270 can transmit an audio signal to the wireless communication module 260 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.
[0076] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 270 and the wireless communication module 260 can be coupled via a PCM bus interface. In some embodiments, the audio module 270 can also transmit audio signals to the wireless communication module 260 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0077] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 210 and the wireless communication module 260. For example, the processor 210 communicates with the Bluetooth module in the wireless communication module 260 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 270 can transmit an audio signal to the wireless communication module 260 through the UART interface to implement the function of playing music through a Bluetooth headset.
[0078] The MIPI interface can be used to connect the processor 210 with peripheral devices such as the display screen 294 and the camera 293. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 210 and the camera 293 communicate via the CSI interface to implement the shooting function of the electronic device 100. The processor 210 and the display screen 294 communicate via the DSI interface to implement the display function of the electronic device 100.
[0079] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 210 with the camera 293, the display screen 294, the wireless communication module 260, the audio module 270, the sensor module 280, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0080] The USB interface 230 is an interface that complies with the USB standard specification, and can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 230 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.
[0081] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0082] The charging management module 240 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 240 may receive charging input from a wired charger through the USB interface 230. In some wireless charging embodiments, the charging management module 240 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 240 is charging the battery 242, it may also power the electronic device through the power management module 241.
[0083] The power management module 241 is used to connect the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives input from the battery 242 and / or the charging management module 240, and supplies power to the processor 210, the internal memory 221, the external memory, the display screen 294, the camera 293, and the wireless communication module 260. The power management module 241 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 241 can also be set in the processor 210. In other embodiments, the power management module 241 and the charging management module 240 can also be set in the same device.
[0084] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, the modem processor and the baseband processor.
[0085] 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 a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0086] The mobile communication module 250 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 250 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 250 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 250 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 250 can be set in the processor 210. In some embodiments, at least some of the functional modules of the mobile communication module 250 can be set in the same device as at least some of the modules of the processor 210.
[0087] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 270A, a receiver 270B, etc.), or displays an image or video through a display screen 294. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 210 and be set in the same device as the mobile communication module 250 or other functional modules.
[0088] The wireless communication module 260 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 260 can be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 210. The wireless communication module 260 can also receive the signal to be sent from the processor 210, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0089] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 250, and the antenna 2 is coupled to the wireless communication module 260, so that the electronic device 100 can communicate with the network and other devices through 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 technology, etc. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0090] The electronic device 100 implements the display function through a GPU, a display screen 294, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 210 may include one or more GPUs that execute program instructions to generate or change display information.
[0091] The display screen 294 is used to display images, videos, etc. The display screen 294 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 or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 294, where N is a positive integer greater than 1.
[0092] The electronic device 100 can realize the shooting function through the ISP, the camera 293, the video codec, the GPU, the display screen 294 and the application processor.
[0093] The ISP is used to process the data fed back by the camera 293. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 293.
[0094] The camera 293 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 293, where N is a positive integer greater than 1.
[0095] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0096] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0097] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0098] The external memory interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 210 through the external memory interface 220 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0099] The internal memory 221 can be used to store computer executable program codes, which include instructions. The processor 210 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 221. The internal memory 221 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 221 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0100] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the headphone jack 270D, and the application processor.
[0101] The audio module 270 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal. The audio module 270 can also be used to encode and decode audio signals. In some embodiments, the audio module 270 can be arranged in the processor 210, or some functional modules of the audio module 270 can be arranged in the processor 210.
[0102] The speaker 270A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 270A.
[0103] The receiver 270B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 270B close to the human ear.
[0104] Microphone 270C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 270C to input the sound signal into the microphone 270C. The electronic device 100 can be provided with at least one microphone 270C. In other embodiments, the electronic device 100 can be provided with two microphones 270C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 270C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.
[0105] The earphone interface 270D is used to connect a wired earphone and can be a USB interface 230 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0106] The pressure sensor 280A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 280A can be set on the display screen 294. There are many types of pressure sensors 280A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 280A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 294, the electronic device 100 detects the touch operation intensity according to the pressure sensor 280A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 280A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
[0107] The gyro sensor 280B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 280B. The gyro sensor 280B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 280B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 280B can also be used for navigation and somatosensory game scenes.
[0108] The air pressure sensor 280C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 280C to assist in positioning and navigation.
[0109] The magnetic sensor 280D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 280D to detect the opening and closing of the flip leather case. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 280D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover can be automatically unlocked.
[0110] The touch sensor 280E is also called a "touch panel". The touch sensor 280E can be set on the display screen 294, and the touch sensor 280E and the display screen 294 form a touch screen, also called a "touch screen". The touch sensor 280E is used to detect touch operations acting on or near it. The touch sensor can pass 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 the display screen 294. In other embodiments, the touch sensor 280E can also be set on the surface of the electronic device 100, which is different from the position of the display screen 294.
[0111] The key 290 includes a power key, a volume key, etc. The key 290 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.
[0112] Motor 291 can generate vibration prompts. Motor 291 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 294, motor 291 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0113] Indicator 292 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
[0114] The SIM card interface 295 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 295 or pulling it out from the SIM card interface 295. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 295 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 295 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 295 can also be compatible with different types of SIM cards. The SIM card interface 295 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0115] It should be pointed out that Figure 2The structure shown in the figure does not constitute a limitation on the electronic device, except Figure 2 In addition to the components shown, the electronic device may include more or fewer components than shown, or combine certain components, or arrange the components differently.
[0116] The software system of the electronic device can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to illustrate the software structure of the electronic device. Figure 3 A schematic diagram of the software structure of an electronic device provided in an embodiment of the present application.
[0117] The layered architecture divides the software into several layers, each with clear roles 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: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
[0118] The application layer can include a series of application packages.
[0119] like Figure 3 As shown, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.
[0120] The application layer may also include a system user interface (system UI) management module and a dockbar management module.
[0121] Among them, the system interface management module is used to provide interface components related to information display and interaction, such as a status bar, a navigation bar or a notification bar, etc. In the embodiment of the present application, the system interface management module is used to display the interface of the first application; receive a user trigger operation on a first control in the interface; in response to the trigger operation on the first control, display the first window; receive a user trigger operation on a split-screen control in the first window; in response to the trigger operation on the split-screen control, call the shortcut bar management module to execute the split-screen display process.
[0122] In a possible implementation, the system interface management module can be divided into an interface management (hn multiwindow ui drawer) submodule and a pop-up window management (hw drag bar popup window) submodule. In the embodiment of the present application, the interface management submodule is used to display the interface of the first application; receive a user trigger operation on a first control in the interface; in response to the trigger operation on the first control, call the pop-up window management submodule to display the first window. The pop-up window management submodule is used to display the first window; receive a user trigger operation on a split-screen control in the first window; in response to the trigger operation on the split-screen control, call the shortcut bar management module to execute the split-screen display process.
[0123] The shortcut bar management module is used to provide shortcuts for commonly used applications. In an embodiment of the present application, the shortcut bar management module is used to load application data of at least one second application installed in the terminal; based on the application data of the at least one second application, display the interface of the first application and the identifier of the at least one second application in split screen; receive a user's trigger operation on the identifier of the third application in the identifier of the at least one second application; and in response to the trigger operation on the identifier of the third application, display the interface of the first application and the interface of the third application in split screen.
[0124] In a possible implementation, the shortcut bar management module can be divided into an application management (dock application) submodule and a loading management (dock model) submodule. In an embodiment of the present application, the loading management submodule is used to load the application data of at least one second application installed in the terminal. The application management submodule is used to display the interface of the first application and the identifier of the at least one second application in split screen according to the application data of the at least one second application; receive a user's trigger operation on the identifier of the third application in the identifier of the at least one second application; and in response to the trigger operation on the identifier of the third application, display the interface of the first application and the interface of the third application in split screen.
[0125] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0126] like Figure 3 As shown, the application framework layer may include a multi-window manager (hw multi window manager) module, an activity manager service module, a package manager service module, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0127] The multi-window management module is used to manage window programs. The multi-window management module can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc. In the embodiment of the present application, the multi-window management module is used to trigger the shortcut bar management module to execute the data loading and split-screen display process.
[0128] The activity management service module is the core service module in the terminal system architecture, which is mainly responsible for starting, switching, scheduling components in the terminal system and managing and scheduling application processes. In the embodiment of the present application, the activity management service module is used to trigger the shortcut bar management module to execute the data loading and split-screen display process.
[0129] The package management service module is used to manage the parsed packages of installed applications. In the embodiment of the present application, the package management service module is used to store data.
[0130] Content providers are used to store and retrieve data and make it accessible to applications. This data can include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0131] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
[0132] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).
[0133] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0134] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, 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 notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.
[0135] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.
[0136] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
[0137] The application layer and the application framework layer run in a 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 object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0138] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0139] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
[0140] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0141] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0142] A 2D graphics engine is a drawing engine for 2D drawings.
[0143] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
[0144] Figure 4 A schematic diagram of a split-screen display method provided in an embodiment of the present application. Figure 4 , the method includes the following S401-S407:
[0145] S401: Display the interface of the first application.
[0146] The first application is an application currently running on the terminal and displayed in the foreground. Accordingly, the interface of the first application is also the interface of the application currently running on the terminal and displayed in the foreground. Exemplarily, the interface of the first application can be an interface of a system application such as a desktop, a homepage, or a text message, or the interface of the first application can also be an interface of a third-party application, etc.
[0147] S402: Receive a trigger operation of a user on a first control in the interface of the first application.
[0148] The interface of the first application includes a first control, and the first control is used to trigger the terminal to display a first window. The first window includes a split-screen control, and the split-screen control is used to trigger the split-screen.
[0149] In a possible implementation, the triggering operation on the first control may be a click operation, a slide operation, or other types of operations.
[0150] S403: In response to a triggering operation on the first control, display a first window, and load application data of at least one second application installed in the terminal.
[0151] The application data may include an identification of the application, such as an application name and an application icon. Further, the application data may also include split-screen reference information, such as whether the application supports split-window display. Whether the split-window display is supported may include whether the split-screen display is supported or whether the floating window display is supported.
[0152] In an embodiment of the present application, the at least one second application meets the split-screen requirement. In a possible implementation, the split-screen requirement includes at least one of the following: belonging to an application whitelist, the application whitelist includes the identifier of an application that allows split-screen; in the case of not belonging to the application whitelist and the application blacklist, the application supports split-screen, and the application blacklist includes the identifier of an application that does not allow split-screen.
[0153] In this way, when the first control in the interface is triggered, not only the first window containing the split-screen control can be triggered to be displayed, but also the application data of at least one second application installed in the terminal can be triggered to be loaded. In this way, the application data is pre-loaded, providing a data basis for the subsequent split-screen display of the terminal, thereby improving the efficiency of the split-screen display.
[0154] S404: Receive a trigger operation of the user on the split-screen control.
[0155] In one possible implementation, the triggering operation of the split-screen control may be a click operation, a long press operation, a double-click operation, or other types of operations.
[0156] S405: In response to a triggering operation on the split-screen control, the interface of the first application and the identifier of the at least one second application are displayed in split screen according to the loaded application data of the at least one second application.
[0157] S406: Receive a triggering operation of the user on the identifier of the third application in the identifier of the at least one second application.
[0158] In a possible implementation, the triggering operation for the identification of the third application may be a click operation, a long press operation, a double-click operation, or other types of operations.
[0159] S407: In response to a triggering operation on the identifier of the third application, displaying the interface of the first application and the interface of the third application in split screens.
[0160] In the embodiment of the present application, the third application is the application selected by the user to be displayed in split screen.
[0161] The technical solution provided by the embodiment of the present application, when the trigger operation is implemented on the first control in the interface, can not only trigger the display of the first window containing the split-screen control, but also trigger the loading of the application data of at least one second application installed in the terminal, so that the application data is pre-loaded, providing a data basis for the subsequent split-screen display of the terminal. Furthermore, when the trigger operation is implemented on the split-screen control in the first window, the interface of the first application and the logo of the at least one second application can be directly displayed in split-screen according to the application data of the at least one second application that has been loaded, so that the user can select the logo of the third application that he wants to split-screen from the displayed logo of the at least one second application, thereby completing the split-screen display of the application, effectively improving the efficiency of the split-screen display, and thus improving the effect of the split-screen display.
[0162] Figure 5 A schematic diagram of a split-screen display method provided in an embodiment of the present application. Figure 5 , with the terminal as the execution subject, the method includes the following S501-S510:
[0163] S501: The terminal displays an interface of a first application.
[0164] The first application is an application currently running on the terminal and displayed in the foreground. Accordingly, the interface of the first application is also the interface of the application currently running on the terminal and displayed in the foreground. Exemplarily, the interface of the first application can be an interface of a system application such as a desktop, a homepage, or a text message, or the interface of the first application can also be an interface of a third-party application, etc.
[0165] S502: The terminal receives a triggering operation of a user on a first control in the interface of the first application.
[0166] The interface of the first application includes a first control, and the first control is used to trigger the terminal to display a first window. The first window includes a split-screen control, and the split-screen control is used to trigger the split-screen.
[0167] In a possible implementation, the first control may be a top bar control in the interface, that is, a control located at the top of the interface. Figure 6 This is a schematic diagram of an interface provided by an embodiment of the present application. Figure 6 , Figure 6The interface shown is an interface of a video editing application as an example to illustrate the interface of the first application. In the interface of the video editing application, a top bar control 601 is displayed. The top bar control 601 can be the above-mentioned first control. It should be noted that in another possible implementation, the first control can also be other types of controls in the interface, such as a sidebar control. The embodiments of this application will be described later using the top bar control as an example of the first control.
[0168] S503: In response to the triggering operation on the first control, the terminal displays the first window and binds the split-screen service process.
[0169] For example, Figure 7 This is a schematic diagram of an interface provided by an embodiment of the present application. It should be understood that when the terminal receives the user's Figure 6 After the trigger operation of the first control in the interface shown, see Figure 7 In response, the terminal may display a window 701. The window 701 may be the first window. The window 701 may include various controls, such as a split-screen control 702.
[0170] In an embodiment of the present application, the split-screen service process is used to provide a function of loading application data. In one possible implementation, the split-screen service process may be a service process provided by a shortcut bar management module set in the terminal. In one possible implementation, the terminal may establish an association with the split-screen service process to achieve binding between the terminal and the split-screen service process.
[0171] In a possible implementation, the triggering operation on the first control may be a click operation, and accordingly, the terminal displays the first window and binds the split-screen service process in response to the click operation on the first control. Exemplarily, the click operation may be an operation performed by a user based on an external connection device (such as a mouse or a stylus), or the click operation may be a single-click operation performed by a user using a finger on the touch screen of the terminal. The embodiments of the present application do not limit the specific implementation of the click operation.
[0172] In another possible implementation, the triggering operation on the first control may be a sliding operation, and accordingly, the terminal displays the first window and binds the split-screen service process in response to the sliding operation on the first control. Exemplarily, the sliding operation may be a sliding operation starting from the location of the first control, or the sliding operation may be a pressing operation on the first control first and then a sliding operation. Furthermore, the sliding operation may be a downward sliding operation, a left sliding operation, a lower left sliding operation, a right sliding operation, or a lower right sliding operation. The embodiments of the present application do not limit the specific implementation of the sliding operation.
[0173] For example, Figure 8A schematic diagram of a sliding operation provided in an embodiment of the present application. Figure 8 , Figure 8 The interface shown takes the interface of a video editing application as an example to illustrate the interface of the first application. Figure 8 Taking the sliding operation to the lower left as an example, the corresponding process may be: in response to the sliding operation to the lower left of the first control in the interface, the terminal displays the interface of the first application moving to the lower left along the sliding operation, and then displays the first window and binds the split-screen service process. Figure 8 , the terminal receives the user's Figure 8 After the triggering operation of the first control in the interface shown, as a response, the terminal can display a window 801. The window 801 can be the above-mentioned first window.
[0174] In the above process, two methods are provided based on a click operation or a sliding operation to trigger the terminal to display the first window and bind the split-screen service process. In this way, not only the efficiency of human-computer interaction can be improved, but also the flexibility of human-computer interaction can be improved. It should be noted that in another possible implementation method, the terminal can also trigger the execution of the above-mentioned process of displaying the first window and binding the split-screen service process based on other types of operations. Exemplarily, the triggering operation can also be a double-click operation or a floating operation, etc.
[0175] In the embodiment of the present application, when the trigger operation is performed on the first control in the interface, not only the first window containing the split-screen control can be triggered to be displayed, but also the bound split-screen service process can be triggered. In this way, the application data is preloaded so that the application data can be loaded by the split-screen service process later, providing a data basis for the subsequent split-screen display of the terminal, thereby improving the efficiency of the split-screen display.
[0176] S504: The terminal loads application data of at least one second application installed in the terminal through the split-screen service process.
[0177] In an embodiment of the present application, the at least one second application is an application that meets the split-screen requirement among the multiple applications installed in the terminal except the first application. The split-screen requirement is used to filter applications that allow split-screen display. It should be understood that the application meeting the split-screen requirement means that the application allows split-screen display, and the application not meeting the split-screen requirement means that the application does not allow split-screen display. The application data may include an identification of the application, such as an application name and an application icon. Further, the application data may also include split-screen reference information, such as whether the application supports split-window display. Whether split-window display is supported may include whether split-screen display is supported or whether floating window display is supported.
[0178] Accordingly, in a possible implementation method, the above-mentioned data loading process may be: the terminal obtains the application data of at least one second application installed on the terminal that meets the split-screen requirements from the application information library through the split-screen service process, and stores the application data of the at least one second application to the target storage space.
[0179] The application information library is used to store application data of multiple applications installed in the terminal. The target storage space is used to store application data of applications that meet the split-screen requirements. In a possible implementation, the target storage space may be a storage space provided by a package management service module set in the terminal.
[0180] In one possible implementation, the terminal obtains application data of multiple applications installed by the terminal from the application information library through the split-screen service process, and then selects application data of at least one second application that meets the split-screen requirement from the application data of the multiple applications. Alternatively, in another possible implementation, the terminal obtains application data of at least one second application that meets the split-screen requirement from the application information library through the split-screen service process based on the application data of multiple applications installed by the terminal.
[0181] In one possible implementation, the split-screen requirement includes at least one of the following: belonging to an application whitelist, the application whitelist includes the identification of applications that allow split-screen; if the application does not belong to the application whitelist or the application blacklist, the application supports split-screen, and the application blacklist includes the identification of applications that do not allow split-screen.
[0182] In a possible implementation, the terminal can screen at least one second application that meets the split-screen requirement by determining whether the application meets the split-screen requirement, and then obtain the application data of the at least one second application. The corresponding process may be: for any one of the multiple applications, determine whether the application belongs to the application whitelist according to the identifier of the application, and if the application belongs to the application whitelist, obtain the application data of the application. If the application does not belong to the application whitelist, determine whether the application belongs to the application blacklist according to the identifier of the application, and if the application belongs to the application blacklist, discard the application data of the application. If the application does not belong to the application whitelist or the application blacklist, determine whether the application supports split-screen according to the split-screen reference information of the application, and if the application supports split-screen, obtain the application data of the application. If the application does not support split-screen, discard the application data of the application.
[0183] In the above process, a method for preloading application data by binding a split-screen service process is provided. Among them, through the split-screen service process, the application data of at least one second application installed by the terminal can be quickly and efficiently loaded, so that the loaded application data can be used to realize the split-screen display of the application later, thereby improving the efficiency of the split-screen display. Specifically, a method for implementing data loading is also provided, by obtaining the application data of at least one second application that meets the split-screen requirements from the application data of multiple applications stored in the application information library, so that the application data can be quickly loaded, so that the loaded application data can be used to realize the split-screen display of the application later. Among them, two settings of the split-screen requirements are provided, which improves the flexibility of the split-screen requirements. One of them is that the split-screen requirements can be set to belong to the application whitelist, so that the application that meets the split-screen requirements is also an application that allows split-screen, which can ensure that the application displayed in the subsequent split-screen is an application that allows split-screen, and ensures the accuracy of the split-screen display. Another kind of split-screen requirements can be set to not belong to the application whitelist and the application blacklist but the application supports split-screen, so that the application that meets the split-screen requirements is also an application that does not belong to any list but supports split-screen, and similarly, the accuracy of the split-screen display is ensured.
[0184] In the above S503 to S504, the terminal displays the first window and loads the application data of at least one second application installed in the terminal in response to the trigger operation on the first control. In this way, when the trigger operation is implemented on the first control in the interface, not only can the first window containing the split-screen control be triggered to be displayed, but also the application data of at least one second application installed in the terminal can be triggered to be loaded. In this way, the pre-loading of application data is realized, providing a data basis for the subsequent split-screen display of the terminal, thereby improving the efficiency of the split-screen display.
[0185] S505: The terminal registers an application listener, and monitors whether a target event occurs in the terminal through the application listener.
[0186] Among them, the application listener is used to monitor whether the target event occurs in the terminal, so as to respond to the target event. In a possible implementation, the target event includes an application installation event or an application uninstallation event. It should be understood that the application installation event is also an event of installing a new application on the terminal. The application uninstallation event is also an event of uninstalling an installed application on the terminal.
[0187] In one possible implementation, after storing the application data of at least one second application in the target storage space based on S504, that is, storing the application data of at least one second application in the storage space provided by the package management service module, the terminal registers an application listener for the package management service module so as to subsequently use the results monitored by the application listener to update the application data stored in the storage space of the package management service module (that is, the target storage space).
[0188] S506: When the terminal monitors that the target event occurs at the terminal, the terminal updates the application data of the at least one second application according to the target event.
[0189] The data update refers to adding application data of a new application when a new application is installed on the terminal, and deleting application data of the application when an installed application is uninstalled on the terminal.
[0190] Accordingly, the data update process may include at least one of the following: in one possible implementation, when the terminal monitors the occurrence of the application installation event on the terminal, the terminal adds the application data of the newly installed application to the application data of the at least one second application. Or, in another possible implementation, when the terminal monitors the occurrence of the application uninstallation event on the terminal, the terminal deletes the application data of the uninstalled application from the application data of the at least one second application.
[0191] In this way, two data update implementation methods are provided. When a new application is installed on the terminal, the application data of the new application is added, or when an installed application is uninstalled on the terminal, the application data of the application is deleted. The application data of the new application can be added in time and the invalid application data can be cleaned up in time, thereby realizing timely update of application data. While ensuring the efficiency of subsequent split-screen display, it can also ensure the accuracy of subsequent split-screen display.
[0192] For example, Fig. 9 A flowchart of data loading provided in an embodiment of the present application. Fig. 9, taking the interaction process between the shortcut bar management module and the package management service module as an example, when the shortcut bar management module is started for the first time after the user triggers the first control, the shortcut bar management module will load the application data of the at least one second application installed by the terminal, such as the application name, application icon, and whether it supports split window display, and store the obtained application data of the at least one second application in the storage space of the package management service module. At the same time, after the first startup of the shortcut bar management module is completed, the shortcut bar management module will register an application listener with the package management service module. Through the application listener, the application data of the new application can be added when the terminal installs a new application, and the application data of the application can be deleted when the terminal uninstalls the installed application. In a possible implementation, in response to the result monitored by the application listener, the package management service module can notify the shortcut bar management module to perform the above data update process. It should be noted that the above data loading process and the process of registering the application listener are both performed after the first startup of the shortcut bar management module is completed. For example, the data loading process and the process of registering the application listener can be performed simultaneously.
[0193] Furthermore, in a possible implementation, the terminal can monitor whether the shortcut bar management module is in an idle state, and then, in response to the length of time that the shortcut bar management module is in an idle state reaching a preset length of time, the terminal closes the shortcut bar management module. Alternatively, in another possible implementation, the terminal can monitor the terminal memory, and then, in response to the terminal memory being less than or equal to the preset memory, the terminal closes the shortcut bar management module.
[0194] Among them, the idle state refers to a non-working state. The preset duration is a preset duration threshold, such as 10s, 30s or other duration thresholds. The embodiment of the present application does not limit the setting of the preset duration. The terminal memory refers to the running memory of the terminal, specifically the remaining memory when the program is running. The preset memory is a preset memory threshold, such as 10GB, 20GB or other memory thresholds. The embodiment of the present application does not limit the setting of the preset memory.
[0195] In an embodiment of the present application, the terminal can monitor whether the shortcut bar management module is in an idle state and the terminal memory, and exit the shortcut bar management module in time when it has not been used for a long time or the memory is insufficient, which can effectively save memory. Furthermore, in a possible implementation method, the shortcut bar management module will be restarted when the split-screen display is triggered next time to reload the data using the shortcut bar management module. Generally, in any process of triggering the split-screen display, the shortcut bar management module needs to be restarted to reload the data using the shortcut bar management module. In particular, if the interval between two split-screen displays is short, the shortcut bar management module may be kept in the startup state.
[0196] In the above embodiment, a method for updating application data by registering an application listener is provided. Among them, by registering an application listener on the terminal, it is possible to monitor the terminal so as to add the application data of the new application when the terminal installs a new application and delete the application data of the application when the terminal uninstalls the installed application, thereby realizing the timely update of the application data, and ensuring the efficiency of the subsequent split-screen display while ensuring the accuracy of the subsequent split-screen display. Compared with the related art, since the split-screen selector responsible for the split-screen display is not a resident process, the loaded application will be affected by the installation of the application, the uninstallation of the application, or the update of the black and white lists, etc., and the problem of low efficiency of the split-screen display may occur. In the embodiment of the present application, by registering the application listener with the package management service module, the application data can be updated in a timely manner using the shortcut bar management module, which can also solve the problem of low efficiency of the above-mentioned split-screen display.
[0197] It should be noted that the processes shown in S505 to S506 are optional steps. In a possible implementation, after the terminal loads the application data of at least one second application installed in the terminal based on S503, it is not necessary to execute S505 to S506, and S507 is sufficient.
[0198] S507: The terminal receives a trigger operation of the user on the split-screen control.
[0199] S508: In response to the triggering operation on the split-screen control, the terminal displays the interface of the first application and the identifier of the at least one second application in split-screen according to the loaded application data of the at least one second application.
[0200] In a possible implementation, the triggering operation of the split-screen control may be a click operation, and accordingly, the terminal responds to the click operation of the split-screen control, and displays the interface of the first application and the identifier of the at least one second application in a split screen according to the application data of the at least one second application. Exemplarily, the click operation may be an operation performed by a user based on an external connection device (such as a mouse or a stylus), or the click operation may be a single-click operation performed by a user using a finger on the touch screen of the terminal. The embodiments of the present application do not limit the specific implementation of the click operation.
[0201] In another possible implementation, the triggering operation of the split-screen control may be a long press operation or a double-click operation. Accordingly, the terminal responds to the long press operation or the double-click operation of the split-screen control and displays the interface of the first application and the identifier of the at least one second application in a split screen according to the application data of the at least one second application.
[0202] In the above process, three methods are provided based on click operation, long press operation or double click operation to trigger the terminal to split screen and display the interface of the first application and the logo of the at least one second application, which can not only improve the efficiency of human-computer interaction, but also improve the flexibility of human-computer interaction. It should be noted that in another possible implementation method, the terminal can also trigger the execution of the above split screen display of the interface of the first application and the logo of the at least one second application based on other types of operations. Exemplarily, the triggering operation can also be a floating operation or a sliding operation (such as sliding to center it) and the like.
[0203] In a possible implementation, the above split-screen display process may be: the terminal displays the interface of the first application in the first display area, and displays the logo of the at least one second application in the second display area.
[0204] The identifier of the second application may include an application name and an application icon of the second application. In a possible implementation, the terminal obtains the identifier of the at least one second application from the application data of the at least one second application for display.
[0205] Correspondingly, the above split-screen display process is that: the terminal displays the interface of the first application in the first display area, and displays the application name and application icon of the at least one second application in the second display area.
[0206] Exemplarily, the first display area may be the left area of the screen or display screen, and the second display area may be the right area of the screen or display screen. Accordingly, the above split-screen display process is that: the terminal displays the interface of the first application in the left area of the screen or display screen, and displays the application name and application icon of the at least one second application in the right area of the screen or display screen. Alternatively, the first display area may be the upper area of the screen or display screen, and the second display area may be the lower area of the screen or display screen. Accordingly, the above split-screen display process is that: the terminal displays the interface of the first application in the upper area of the screen or display screen, and displays the application name and application icon of the at least one second application in the lower area of the screen or display screen.
[0207] For example, Fig.10 A schematic diagram of a split screen display provided in an embodiment of the present application. It should be understood that upon receiving a user's Figure 7 After triggering the split screen control in the interface shown, see Fig.10 In response, the terminal may display the interface of the first application and the application name and application icon of the at least one second application in split screen, that is, Fig.10 The left area 1001 of the screen shows the interface of the first application. Fig.10The right area 1002 of the screen is shown to display the application name and application icon of the at least one second application, wherein the left area 1001 may be the first display area, and the right area 1002 may be the second display area.
[0208] Furthermore, the terminal may also select an application that meets the priority recommendation condition from the at least one second application, and then, in the second display area, preferentially display the application that meets the priority recommendation condition to the user.
[0209] Among them, the applications that meet the priority recommendation conditions may include at least one of the following: the application that was displayed in split screen last time, the application that was displayed in split screen more than a preset number of times, and the application that is customized by the user for priority split screen display.
[0210] In a possible implementation, the terminal displays the identifier of the application that meets the priority recommendation condition in the upper area of the second display area, and displays the identifier of the at least one second application in the lower area of the second display area.
[0211] For example, see Fig.10 ,exist Fig.10 In the recommended application area 10021 in the right area 1002 of the screen shown in FIG. 1 , the identification of applications that meet the priority recommendation condition is displayed. Fig.10 In the application area 10022 supporting split screen in the right area 1002 of the screen, the logo of the at least one second application is displayed. The recommended application area 10021 may be the upper area, and the application area 10022 supporting split screen may be the lower area. In this way, by selecting applications that meet the priority recommendation conditions, applications that may be of interest to the user can be displayed, thereby improving the user's usage experience.
[0212] In a possible implementation, after receiving the user's trigger operation on the split-screen control, the terminal can also determine whether the application data of the at least one second application has been loaded, and then display the application data in split screen if the application data has been loaded. Accordingly, the above S508 can be replaced by: the terminal responds to the trigger operation on the split-screen control and the application data of the at least one second application has been loaded, and displays the interface of the first application and the logo of the at least one second application in split screen according to the application data of the at least one second application.
[0213] The above process takes the case where the application data has been loaded as an example to illustrate the solution. In another possible implementation, the terminal responds to the triggering operation of the split-screen control but the application data of the at least one second application has not been loaded, waits for the application data of the at least one second application to be loaded, and then performs the above split-screen display step.
[0214] In this way, after receiving the user's trigger operation on the split-screen control, by determining whether the application data of the at least one second application has been loaded, the split-screen is directly displayed if the loading is completed, and if the loading is not completed, the loading is waited for to be completed, and then the above-mentioned split-screen display process is executed. This ensures the efficiency of the subsequent split-screen display while also ensuring the accuracy of the subsequent split-screen display.
[0215] S509: The terminal receives a triggering operation of a user on an identifier of a third application in the identifier of the at least one second application.
[0216] The third application is used to refer to the application selected by the user to be displayed in split screen.
[0217] S510: In response to a triggering operation on the identifier of the third application, the terminal displays the interface of the first application and the interface of the third application in split screens.
[0218] The triggering operation for the identification of the third application may be any one of a click operation, a long press operation or a double click operation.
[0219] In a possible implementation, the above split-screen display process may be: the terminal displays the interface of the first application in the first display area, and displays the interface of the third application in the second display area.
[0220] Exemplarily, the first display area may be the left area of the screen or display screen, and the second display area may be the right area of the screen or display screen. Accordingly, the above split-screen display process is that the terminal displays the interface of the first application in the left area of the screen or display screen, and displays the interface of the third application in the right area of the screen or display screen. Alternatively, the first display area may be the upper area of the screen or display screen, and the second display area may be the lower area of the screen or display screen. Accordingly, the above split-screen display process is that the terminal displays the interface of the first application in the upper area of the screen or display screen, and displays the interface of the third application in the lower area of the screen or display screen.
[0221] For example, Fig.11 A schematic diagram of a split screen display provided in an embodiment of the present application. It should be understood that upon receiving a user's Fig.10 After the trigger operation of the third application logo in the interface shown, see Fig.11 In response, the terminal may display the interface of the first application and the interface of the third application in split screen, that is, Fig.11 The left area 1101 of the screen shows the interface of the first application. Fig.11The right area 1102 of the screen is shown to display the interface of the third application, wherein the left area 1101 may be the first display area, and the right area 1102 may be the second display area.
[0222] For example, Fig.12 This is an interactive flow chart of a split-screen display provided in an embodiment of the present application. Fig.12 , taking the interaction process between the system interface management module, the activity management service module and the shortcut bar management module as an example, the split-screen display process is explained, including the following S1201-S1211.
[0223] S1201. The system interface management module displays the interface of the first application.
[0224] S1202: The system interface management module receives a trigger operation of a first control in the interface by a user.
[0225] S1203: In response to the triggering operation on the first control, the system interface management module displays the first window, and calls the activity management service module to bind the split-screen service process provided by the shortcut bar management module.
[0226] S1204: After the activity management service module successfully binds to the split-screen service process provided by the shortcut bar management module, the activity management service module starts the shortcut bar management module.
[0227] S1205. After the shortcut bar management module is started, the application data of at least one second application installed in the terminal is loaded through the split-screen service process.
[0228] S1206. The system interface management module receives a trigger operation of the user on the split-screen control in the first window.
[0229] S1207: In response to the triggering operation on the split-screen control, the system interface management module calls the activity management service module and starts the split-screen selector.
[0230] Among them, the split-screen selector is used to execute the processing of split-screen display.
[0231] S1208. After the activity management service module starts the split-screen selector, pull up the selector interface through the split-screen selector.
[0232] The selector interface refers to an interface used to display the identifier of the at least one second application.
[0233] S1209. After the split-screen selector successfully pulls up the selector interface, the shortcut bar management module displays the interface of the first application and the selector interface in split screen according to the application data of the at least one second application, that is, the interface of the first application and the logo of the at least one second application are displayed in split screen.
[0234] S1210. The shortcut bar management module receives a triggering operation of a user on an identifier of a third application among identifiers of at least one second application.
[0235] S1211. The shortcut bar management module displays the interface of the first application and the interface of the third application in split screen in response to a triggering operation on the identifier of the third application.
[0236] Above Fig.12 Taking the interaction process between the system interface management module, the activity management service module and the shortcut bar management module as an example, the split screen display process is described. Fig.13 This is an interactive flow chart of a split-screen display provided in an embodiment of the present application. Fig.13 Taking the interaction process among the interface management submodule and pop-up window management submodule included in the system interface management module, the application management submodule and loading management submodule included in the shortcut bar management module, the activity management service module, the multi-window management module and the package management service module as an example, the split-screen display process is explained, including the following S1301-S1314.
[0237] S1301. The interface management submodule displays the interface of the first application.
[0238] S1302: The interface management submodule receives a trigger operation of a user on a first control in the interface.
[0239] S1303: In response to the triggering operation on the first control, the interface management submodule calls the pop-up window management submodule to display the first window, and calls the activity management service module to bind the split-screen service process provided by the shortcut bar management module.
[0240] S1304: After the activity management service module successfully binds to the split-screen service process provided by the shortcut bar management module, the activity management service module calls the multi-window management module to link to the split-screen service process.
[0241] S1305. After the multi-window management module is successfully linked to the split-screen service process, the application management submodule in the shortcut bar management module is started.
[0242] S1306. After the application management submodule is started, the split-screen service process is used to load the identifier of at least one second application installed in the terminal, and the loading management submodule is called to load the split-screen reference information of at least one second application installed in the terminal.
[0243] Through S1306, preloading of application data of at least one second application installed in the terminal can be achieved.
[0244] S1307: The loading management submodule stores the loaded application data of the at least one second application to the package management service module.
[0245] S1308. The pop-up window management submodule receives a trigger operation of the user on the split-screen control in the first window.
[0246] S1309: In response to the triggering operation on the split-screen control, the pop-up window management submodule calls the activity management service module to instruct to start the split-screen selector.
[0247] S1310. The activity management service module calls the multi-window management module to start the split-screen selector to pull up the selector interface.
[0248] S1311. After the multi-window management module pulls up the selector interface, the multi-window management module starts the application management submodule.
[0249] S1312. After the application management submodule is started, determine whether the application data of the at least one second application has been loaded; if the application data of the at least one second application has been loaded, then display the interface of the first application and the logo of the at least one second application in split screen according to the application data of the at least one second application; if the application data of the at least one second application has not been loaded, wait for the application data of the at least one second application to be loaded, and then execute the split screen display process.
[0250] It should be understood that if the application data has been loaded when the application management submodule is started, it can be directly used for split-screen display. If the application data has not been loaded, it needs to wait until it is loaded before being used for split-screen display.
[0251] S1313. The application management submodule receives a triggering operation of a user on an identifier of a third application among identifiers of at least one second application.
[0252] S1314. The application management submodule displays the interface of the first application and the interface of the third application in split screen in response to the triggering operation of the identifier of the third application.
[0253] The technical solution provided in the embodiment of the present application, when the trigger operation is implemented on the first control in the interface, can not only trigger the display of the first window containing the split-screen control, but also trigger the loading of the application data of at least one second application installed in the terminal, so that the application data is pre-loaded, and the data basis is provided for the subsequent split-screen display of the terminal. Furthermore, when the trigger operation is implemented on the split-screen control in the first window, the interface of the first application and the logo of the at least one second application can be directly displayed in split-screen according to the application data of the at least one second application that has been loaded, so that the user can select the logo of the third application that he wants to split-screen from the logo of the at least one second application displayed, thereby completing the split-screen display of the application, effectively improving the efficiency of the split-screen display, and thus improving the effect of the split-screen display.
[0254] It is understandable that the electronic device (such as terminal) in the embodiment of the present application includes a hardware structure and / or software module corresponding to each function in order to realize the above functions. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel 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 embodiments of the present application.
[0255] The embodiment of the present application also provides an electronic device, including: a processor and a memory. The processor is connected to the memory, the memory is used to store program codes, and the processor executes the program codes stored in the memory, thereby realizing the split-screen display method provided in the embodiment of the present application.
[0256] An embodiment of the present application further provides a computer-readable storage medium having program code stored thereon. When the program code is executed on an electronic device, the electronic device executes each function or step executed by the electronic device in the above method embodiment.
[0257] An embodiment of the present application also provides a computer program product, including program code. When the program code is executed on an electronic device, the electronic device executes each function or step executed by the electronic device in the above method embodiment.
[0258] Among them, the electronic device, computer-readable storage medium or computer program product provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0259] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device (such as an electronic device) is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device (such as an electronic device) and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0260] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices (such as electronic devices) and methods can be implemented in other ways. For example, the device (such as electronic device) embodiments described above are only schematic. For example, the division of the module or unit is only a logical function division. There may be other division methods in actual implementation, such as 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 mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0261] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0262] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0263] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the method of each embodiment of the present application. The aforementioned storage medium includes: flash memory, mobile hard disk, read-only memory, random access memory, disk or optical disk and other media that can store program codes.
[0264] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A split-screen display method, characterized in that: include: Displaying the interface of the first application; Receiving a trigger operation of a user on a first control in the interface of the first application; In response to the triggering operation of the first control, a first window is displayed and a split-screen service process is bound; the split-screen service process is used to provide a function of loading application data; through the split-screen service process, application data of at least one second application installed in the terminal is loaded; the first window includes a split-screen control; the application data includes an application identifier, and the application identifier includes an application name and an application icon; the terminal is used to monitor whether the split-screen service process is in an idle state, and in response to the split-screen service process being in an idle state for a preset time, the split-screen service process is closed; Receiving a trigger operation of the split-screen control by a user; In response to a triggering operation on the split-screen control, a selector interface is pulled up, and according to the loaded application data of the at least one second application, an interface of the first application and the selector interface are displayed in split screen, wherein the selector interface is used to display an identifier of the at least one second application; receiving a triggering operation of a user on an identifier of a third application among the identifiers of the at least one second application; In response to a triggering operation on the identifier of the third application, the interface of the first application and the interface of the third application are displayed in split screen.
2. The method according to claim 1, characterized in that The loading, through the split-screen service process, application data of at least one second application installed in the terminal includes: Acquire application data of at least one second application installed by the terminal and meeting the split-screen requirement from an application information library; the application information library is used to store application data of multiple applications installed by the terminal; The application data of the at least one second application is stored in a target storage space; the target storage space is used to store the application data of applications that meet the split-screen requirement.
3. The method according to claim 2, characterized in that The split-screen requirement includes at least one of the following: belonging to an application whitelist, the application whitelist includes the identification of applications that allow split-screen; if the application does not belong to the application whitelist or the application blacklist, the application supports split-screen, and the application blacklist includes the identification of applications that do not allow split-screen.
4. The method according to claim 1, characterized in that: After loading the application data of at least one second application installed in the terminal, the method further includes: Registering an application listener, and monitoring whether a target event occurs on the terminal through the application listener; the target event includes an application installation event or an application uninstallation event; When it is monitored that the target event occurs on the terminal, the application data of the at least one second application is updated according to the target event.
5. The method according to claim 4, characterized in that In the case where the target event occurs on the terminal, updating the application data of the at least one second application according to the target event includes at least one of the following: When monitoring the occurrence of the application installation event on the terminal, adding the application data of the newly installed application to the application data of the at least one second application; When it is monitored that the application uninstall event occurs on the terminal, the application data of the uninstalled application is deleted from the application data of the at least one second application.
6. The method according to claim 1, characterized in that The step of pulling up a selector interface in response to a triggering operation on the split-screen control, and displaying the interface of the first application and the selector interface in a split-screen according to the loaded application data of the at least one second application, comprises: In response to the triggering operation of the split-screen control and the application data of the at least one second application has been loaded, the selector interface is pulled up, and the interface of the first application and the selector interface are displayed in split screen according to the application data of the at least one second application.
7. The method according to claim 1 or 6, characterized in that: The method further comprises: In response to a triggering operation on the split-screen control but the application data of the at least one second application has not been loaded completely, waiting for the application data of the at least one second application to be loaded completely.
8. An electronic device, characterized in that: It comprises a memory and a processor; the memory is used to store program code; the processor is used to call the program code to execute the method according to any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that: The method comprises a program code, and when the program code is executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Method and device for switching applications in split screen mode and related equipment of method and device
CN107256129A
Interface display method and device, terminal equipment and storage medium
CN109992336A
Application management method and display equipment
CN115048073A